[jbosstools-commits] JBoss Tools SVN: r9406 - in trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces: src/org/jboss/tools/jsf/vpe/richfaces/template and 1 other directory.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Tue Jul 29 12:52:18 EDT 2008


Author: estherbin
Date: 2008-07-29 12:52:17 -0400 (Tue, 29 Jul 2008)
New Revision: 9406

Modified:
   trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF
   trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesAbstractInplaceTemplate.java
Log:
Implements https://jira.jboss.org/jira/browse/JBIDE-2582

Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF	2008-07-29 16:50:45 UTC (rev 9405)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF	2008-07-29 16:52:17 UTC (rev 9406)
@@ -20,3 +20,4 @@
 Bundle-Vendor: Red Hat, Inc.
 Bundle-ClassPath: lib/jhighlight-1.0.jar,
  .
+Export-Package: org.jboss.tools.jsf.vpe.richfaces

Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesAbstractInplaceTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesAbstractInplaceTemplate.java	2008-07-29 16:50:45 UTC (rev 9405)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesAbstractInplaceTemplate.java	2008-07-29 16:52:17 UTC (rev 9406)
@@ -304,15 +304,15 @@
         if (ComponentUtil.isBlank(this.sourceValue)) {
             this.sourceValue = DEFAULT_NULL_VALUE;
         }
-        if ((source.getAttributeNode("value") != null) && ComponentUtil.isNotBlank(this.sourceValue)
-                && (this.sourceValue != DEFAULT_NULL_VALUE) && this.sourceValue.startsWith("#{")) {
-            this.sourceValue = ComponentUtil.getBundleValue(pageContext, source.getAttributeNode("value"));
-        }
-
-        if ((source.getAttributeNode("defaultLabel") != null) && ComponentUtil.isNotBlank(this.defaultLabel)
-                && (this.defaultLabel != DEFAULT_NULL_VALUE) && this.defaultLabel.startsWith("#{")) {
-            this.defaultLabel = ComponentUtil.getBundleValue(pageContext, source.getAttributeNode("defaultLabel"));
-        }
+//        if ((source.getAttributeNode("value") != null) && ComponentUtil.isNotBlank(this.sourceValue)
+//                && (this.sourceValue != DEFAULT_NULL_VALUE) && this.sourceValue.startsWith("#{")) {
+//            this.sourceValue = ComponentUtil.getBundleValue(pageContext, source.getAttributeNode("value"));
+//        }
+//
+//        if ((source.getAttributeNode("defaultLabel") != null) && ComponentUtil.isNotBlank(this.defaultLabel)
+//                && (this.defaultLabel != DEFAULT_NULL_VALUE) && this.defaultLabel.startsWith("#{")) {
+//            this.defaultLabel = ComponentUtil.getBundleValue(pageContext, source.getAttributeNode("defaultLabel"));
+//        }
         
         this.showControls = Boolean.parseBoolean(source.getAttribute("showControls"));
         this.controlsVerticalPosition = source.getAttribute("controlsVerticalPosition");




More information about the jbosstools-commits mailing list