[jbosstools-commits] JBoss Tools SVN: r3015 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Aug 9 12:29:01 EDT 2007


Author: vrubezhny
Date: 2007-08-09 12:29:01 -0400 (Thu, 09 Aug 2007)
New Revision: 3015

Modified:
   trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamExpressionResolver.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-670 xhtml code completion does not update it's list of completions

Seam Scope isn't used anymore while searching the variables. 

Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamExpressionResolver.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamExpressionResolver.java	2007-08-09 15:11:06 UTC (rev 3014)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamExpressionResolver.java	2007-08-09 16:29:01 UTC (rev 3015)
@@ -53,8 +53,12 @@
 	 */
 	public static List<ISeamContextVariable> resolveVariables(ISeamProject project, ScopeType scope, String name, boolean onlyEqualNames) {
 		if (project == null || name == null) return null;
-		return (scope == null ? internalResolveVariables(project, name, onlyEqualNames) :
-				internalResolveVariablesByScope(project, scope, name, onlyEqualNames));
+/*  
+ * JBIDE-670 scope isn't used anymore
+ */		
+//		return (scope == null ? internalResolveVariables(project, name, onlyEqualNames) :
+//				internalResolveVariablesByScope(project, scope, name, onlyEqualNames));
+		return internalResolveVariables(project, name, onlyEqualNames);
 	}
 	
 	/**




More information about the jbosstools-commits mailing list