[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3687) Seam vaildator doesn't validate EL with arguments properly. Such as #{items[p]}
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Fri Jan 30 07:08:44 EST 2009
[ https://jira.jboss.org/jira/browse/JBIDE-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12450377#action_12450377 ]
Viacheslav Kabanovich commented on JBIDE-3687:
----------------------------------------------
This is a result of the same problem as in JBIDE-3688. It was not the failure to resolve 'product', but the failure to find member 'product' in interface Map to which 'searchSelections' variable resolves. The fix is the same as for JBIDE-3688, we should take into account that expression 'searchSelections[product]' is a correct way in EL to address an element in a map.
> Seam vaildator doesn't validate EL with arguments properly. Such as #{items[p]}
> -------------------------------------------------------------------------------
>
> Key: JBIDE-3687
> URL: https://jira.jboss.org/jira/browse/JBIDE-3687
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml source editing, Seam
> Affects Versions: 3.0.0.CR2
> Reporter: Alexey Kazakov
> Assignee: Viacheslav Kabanovich
> Fix For: 3.0.0.GA
>
> Attachments: screenshot-1.jpg
>
>
> 1. Help -> Project Examples -> Seam -> DVD Store Example
> 2. Download that example.
> 3. Open /dvdstore/WebContent/browse.xhtml
> 4. See screenshot. There is an warning: "product can not be resolved" for #{searchSelections[product]} (Line 90).
> But:
> - product is not property of searchSelection. It's independent context variable. And context variable validation is disabled in my preferences.
> - product comes from parent <h:dataTable value="#{searchResults}" var="product" /> and should be resolved.
> If we change #{searchSelections[product]} to #{product} then product will be resolved.
--
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
More information about the jbosstools-issues
mailing list