[
http://jira.jboss.com/jira/browse/JBIDE-999?page=comments#action_12397659 ]
Alexey Kazakov commented on JBIDE-999:
--------------------------------------
1.) We don't have any JSF validation at all. Only seam validation (including Seam EL
validation).
Seam validator works with projects with seam nature (yes, these extensions contributed by
seam core plugin).
Now var validation for jsf projects (not seam projects) is useless because we don't
validate EL in JSF at all.
When we add jsf validation (if we need that) then we will be able to use that code fo it.
2.) We need to parse tld/xmlns declarations in jsp/xhtml to resolve uri and prefixes and
after that ask KB.
And it won't work with unknown/custom/new tag libs. It looks like that using var/value
is a common approach.
So may be is better just use these attributes for all jsf tags?
var attributes in JSF datatable not recognized by Seam Validator
----------------------------------------------------------------
Key: JBIDE-999
URL:
http://jira.jboss.com/jira/browse/JBIDE-999
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: JSF
Affects Versions: 2.0.0.Beta3
Reporter: Jacob Orshalick
Assigned To: Alexey Kazakov
Priority: Critical
Fix For: 2.1
Named "var" attributes in a JSF datatable are not being recognized and are
therefore evaluated by the Seam Validator as an Invalid Expression. For instance if I have
the following:
Code:
...
<h:dataTable var="entry" value="#{myList}">
<h:column>
<h:outputText value="#{entry.value}" />
</h:column>
...
myList is recognized but entry is not. #{entry.value} is shown as an Invalid Expression.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira