[
https://jira.jboss.org/jira/browse/JBIDE-3336?page=com.atlassian.jira.plu...
]
Alexey Kazakov commented on JBIDE-3336:
---------------------------------------
Let me show some examples.
For instance we have components.xml:
...
<component name="itemmm" class="....."/>
...
and page.xhtml:
...
<h:outputText value="#{item.name}"/>
...
And Seam validator can't resolve #{item.name}.
When you save any file (xml, java, xhtml, jsp, properties) then page.xhtml will be
validated (may be changed file declares unresolved #{item} now?)
In our example it makes sence to revalidate page.xhtml if we changed components.xml:
<component name="item" class="....."/>
So #{item} is valid EL now and we remove an error marker from page.xhtml.
Of course if there is a lot of files with at least one unresolved EL then Seam validator
could do a lot of work even if you change only one file.
What we can do here:
1. Disable this feature (add new preference or just remove it from code)
2. Try to make it clever. For example revalidate unresolved EL only if we change *.java or
components.xml. Where else we can declare Seam context variable?
Seam validator is called too often
----------------------------------
Key: JBIDE-3336
URL:
https://jira.jboss.org/jira/browse/JBIDE-3336
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 3.0.0.beta1
Environment: Windows XP, eclipse 3.4.1, wtp 3.0.3, jboss tools nightly build
N200812020037
Reporter: Adrian Mitev
Assignee: Alexey Kazakov
Fix For: 3.0.0.GA
The Seam validator is called even if i save a build.xml file and it scans all pages.
Quite heavy, i have over 50 pages.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira