Wouldn't those objects still be in memory with the SFSB still being alive? If 
you persist many objects and the persistence context closes, doesn't that mean 
the objects become detached only...aren't those objects still in memory though?

On an unrelated note, does <s:decorate> only work for per-field validation as 
defined in the annotations? Let's say a backing session bean figures out in its 
action method that multiple fields are invalid (based on business logic, not 
Hibernate Validator), how from the action method would you get <s:decorate> for 
certain fields to alert the user of invalid input?

The reason the validation can't be done directly on a per-field basis is 
because whether a form field is invalid depends on the value of another form 
field... Is what I'm suggesting even possible?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994867#3994867

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994867
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to