Author: mareshkau
Date: 2010-10-26 04:31:12 -0400 (Tue, 26 Oct 2010)
New Revision: 26045
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/messages/messages.properties
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/jsf2/action/JSF2ResourcesFolderProposal.java
Log:
https://jira.jboss.org/browse/JBIDE-6685
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/messages/messages.properties
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/messages/messages.properties 2010-10-26
04:25:09 UTC (rev 26044)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/messages/messages.properties 2010-10-26
08:31:12 UTC (rev 26045)
@@ -104,8 +104,8 @@
Missing_JSF_2_Composite_Component=Composite component "{0}" was not found in a
project resources directory
Missing_JSF_2_Component_Attr=Attribute "{0}" is not defined for "{1}"
composite component
Create_JSF_2_Interface_Attr=Create attribute "{0}" in an interface declaration
"{2}" of a composite component "{1}"
-Missing_JSF_2_Resources_Folder=JSF 2 Resources folder "{0}" is missing in a
project root directory
-Create_JSF_2_Resources_Folder=Create a folder "{0}" container for JSF 2
resources for URL "{1}"
+Missing_JSF_2_Resources_Folder=JSF 2 Resources folder "{0}" is missing in a
project web directory
+Create_JSF_2_Resources_Folder=Create a folder "{0}" JSF 2 resources container
for URL "{1}"
Rename_JSF_2_Composite_Components=Rename JSF 2 composite components
Refactoring_JSF_2_resources=Refactoring JSF 2 resources
Refactoring_JSF_2_Rename_Action=Refactoring is not available in the current place
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/jsf2/action/JSF2ResourcesFolderProposal.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/jsf2/action/JSF2ResourcesFolderProposal.java 2010-10-26
04:25:09 UTC (rev 26044)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/jsf2/action/JSF2ResourcesFolderProposal.java 2010-10-26
08:31:12 UTC (rev 26045)
@@ -51,7 +51,7 @@
public String getDisplayString() {
return MessageFormat.format(JSFUIMessages.Create_JSF_2_Resources_Folder,
- JSF2ResourceUtil.calculateProjectRelativeJSF2ResourceProposal(validateResource.getProject())+componentPath,URL);
+ JSF2ResourceUtil.calculateProjectRelativeJSF2ResourceProposal(validateResource.getProject()),URL);
}
@Override