]
Pete Muir updated JBSEAM-144:
-----------------------------
Fix Version/s: 2.1.0.GA
(was: 2.0.2.GA)
Display validation messages on components for validation issues on
child objects
--------------------------------------------------------------------------------
Key: JBSEAM-144
URL:
http://jira.jboss.com/jira/browse/JBSEAM-144
Project: JBoss Seam
Issue Type: Feature Request
Components: JSF Integration
Affects Versions: 1.0 beta 2
Reporter: Andrew
Fix For: 2.1.0.GA
Attachments: JBSEAM-144.diff
Original Estimate: 4 hours
Remaining Estimate: 4 hours
I have submitted a patch to hibernate-annotations: ANN-208
(
http://opensource2.atlassian.com/projects/hibernate/browse/ANN-208)
This patch creates validation issues for child objects. The format is:
mbean.collection[collection-index].childProperty
Example:
user.addresses[1].street
This patch allows the ValidationInterceptor to attempt to find the "street"
UIComponent. It does this by using the "dataTable" naming:
addresses:1:street
Which would be produced by:
<t:dataTable var="address" value="#{user.addresses}">
<t:column>
<t:inputText value="#{addresss.street}" />
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: