[jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity

bfo81 do-not-reply at jboss.com
Tue Jul 25 06:35:16 EDT 2006


You still don't need
@Out(scope=ScopeType.CONVERSATION, required=false)

This is sufficient:
@Out(required=false)

Why? The ClientPersonEditAction has already the Conversation Scope, and so its properties have that scope, too. You only have to write down a scope for a property explicitly if it differs from its class's scope.

And yes: Seam's Scopes are powerful but not always easy to understand. Before developing web apps the easy way you have to learn it the hard way ;).

PS: If you would have posted the xhtml containing "Kundenverwaltung" earlier, we could have made a phone call ;). It's really weird how many guys are talking English to each other here (and often having problems with it) though they could have it easier... in Thomas Heute's native language ;D.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960630



More information about the jboss-user mailing list