Author: yradtsevich
Date: 2010-06-30 09:06:53 -0400 (Wed, 30 Jun 2010)
New Revision: 23124
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesListShuttleTemplate.java
Log:
https://jira.jboss.org/browse/JBIDE-6542 :
VPE Templates affected by changes in
org.eclipse.wst.xml.core.internal.document.ElementImpl
- minor change: added missing NON-NLS tags
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesListShuttleTemplate.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesListShuttleTemplate.java 2010-06-30
12:53:55 UTC (rev 23123)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesListShuttleTemplate.java 2010-06-30
13:06:53 UTC (rev 23124)
@@ -699,7 +699,7 @@
.getAttribute(RichFaces.ATTR_SHOW_BUTTON_LABELS));
for (String key : labelsKeys) {
- if (sourceElement.hasAttribute(key + "Label")) {
+ if (sourceElement.hasAttribute(key + "Label")) { //$NON-NLS-1$
String label = sourceElement.getAttribute(key + "Label"); //$NON-NLS-1$
labels.put(key, label);
}
@@ -710,7 +710,7 @@
// prepare style classes
Set<String> styleClassesKeys = defaultStyleClasses.keySet();
for (String key : styleClassesKeys) {
- if (sourceElement.hasAttribute(key + "Class")) {
+ if (sourceElement.hasAttribute(key + "Class")) { //$NON-NLS-1$
String styleClass = sourceElement.getAttribute(key + "Class");
//$NON-NLS-1$
styleClasses.put(key, defaultStyleClasses.get(key) + " " //$NON-NLS-1$
+ styleClass);