[jboss-user] [JBoss Seam] - Re: time zone in Seam

petemuir do-not-reply at jboss.com
Thu Apr 19 16:29:38 EDT 2007


No.  Something like this should work:

@In User user;
  | @In TimeZone timeZone;
  | 
  | @Observer("org.jboss.seam.timeZoneSelected")
  | public updateTimeZone() {
  |    user.setTimeZone(timeZone);
  | }

You'll need to make sure the changes to User get persisted.

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

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



More information about the jboss-user mailing list