It is not a good idea to reference the Session instance in models directly as it may lead to serialization problems.

2012-01-04 Thread Rahman USTA
g ide me so that ; *WARN - AbstractPropertyModel - It is not a good idea to reference the Session instance in models directly as it may lead to serialization problems. If you need to access a property of the session via the model use the page instance as the model object and 'session.attri

Re: It is not a good idea to reference the Session instance in models directly as it may lead to serialization problems.

2012-01-04 Thread Sven Meier
())," user.name"))); I have a User user; in MySession, then initialized in constructor. my Goal is to save name and surname user's own session. i did it above, but warning ide me so that ; *WARN - AbstractPropertyModel - It is not a good idea to reference the Session

RE: It is not a good idea to reference the Session instance in models directly as it may lead to serialization problems.

2012-01-04 Thread Wilhelmsen Tor Iver
] Sent: 4. januar 2012 10:45 To: users@wicket.apache.org Subject: It is not a good idea to reference the Session instance in models directly as it may lead to serialization problems. Hi, i have a MySession. form.add(new TextField("name",new PropertyModel(((MySession)getSession())," us

Re: It is not a good idea to reference the Session instance in models directly as it may lead to serialization problems.

2012-01-04 Thread Rahman USTA
> } > > - Tor Iver > > -Original Message- > From: Rahman USTA [mailto:rahman.usta...@gmail.com] > Sent: 4. januar 2012 10:45 > To: users@wicket.apache.org > Subject: It is not a good idea to reference the Session instance in models > directly as it may lead to se

Re: It is not a good idea to reference the Session instance in models directly as it may lead to serialization problems.

2012-01-04 Thread Rahman USTA
on())," >> user.name"))); >> >> I have a User user; in MySession, then initialized in constructor. >> >> my Goal is to save name and surname user's own session. i did it above, >> but >> warning ide me so that ; >> >> *WARN -