Author: akazakov
Date: 2009-08-21 06:44:28 -0400 (Fri, 21 Aug 2009)
New Revision: 17211
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageProcessor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3875
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageProcessor.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageProcessor.java 2009-08-21
10:44:07 UTC (rev 17210)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageProcessor.java 2009-08-21
10:44:28 UTC (rev 17211)
@@ -21,6 +21,7 @@
import org.jboss.tools.jst.web.kb.taglib.IAttribute;
import org.jboss.tools.jst.web.kb.taglib.IComponent;
import org.jboss.tools.jst.web.kb.taglib.ICustomTagLibrary;
+import org.jboss.tools.jst.web.kb.taglib.IFacesConfigTagLibrary;
import org.jboss.tools.jst.web.kb.taglib.ITagLibrary;
/**
@@ -54,6 +55,9 @@
if (!isQueryForELProposals(query, context)) {
ITagLibrary[] libs = context.getLibraries();
for (int i = 0; libs != null && i < libs.length; i++) {
+ if(libs[i] instanceof IFacesConfigTagLibrary) {
+ continue;
+ }
TextProposal[] libProposals = libs[i].getProposals(query, context);
for (int j = 0; libProposals != null && j < libProposals.length; j++) {
proposals.add(libProposals[j]);
@@ -122,6 +126,9 @@
ArrayList<IComponent> components = new ArrayList<IComponent>();
ITagLibrary[] libs = context.getLibraries();
for (int i = 0; i < libs.length; i++) {
+ if(libs[i] instanceof IFacesConfigTagLibrary) {
+ continue;
+ }
IComponent[] libComponents = libs[i].getComponents(query, context);
for (int j = 0; j < libComponents.length; j++) {
if(includeComponentExtensions || !libComponents[j].isExtended()) {