[jboss-user] [JBoss Seam] - Re: @Unwrap question
mnrz
do-not-reply at jboss.com
Tue Oct 16 08:34:13 EDT 2007
Hi all
I have a question about @Unwrap.
I tried @Unwrap in a test application and as I understood, the whole bean will play on behalf of the wrapped context variable.
for instance if I have method
| @name("bean")
| class MyBean {
| ....
| @Unwrap
| public User getUser(){
|
| }
| }
|
the "bean" is referring to an instance of type User, isn't it?
but the thing I want to know is if the values inside a page is changed by the user and press submit button, Are these new changes visible at the server side? for example, the user changes his address which is a property of class User, will this change being applied at context variable inside the MyBean?
thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095588#4095588
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095588
More information about the jboss-user
mailing list