Re: Q : Select using value encoder ?

2008-12-21 Thread dwi ardi irawan
i just want to try this...but it doesn't wor for me. could anybody help me On Sun, Dec 21, 2008 at 4:07 AM, Olle Hallin wrote: > Why not use an enum and BeanEditForm? > Olle > > >

Re: Q : Select using value encoder ?

2008-12-20 Thread Olle Hallin
Why not use an enum and BeanEditForm? Olle 2008/12/20 dwi ardi irawan > hi alli got a little problem here > > i want to make this into a select component : > if the label is "user" then the value would be : 0(Integer) > if the label is "administrator" then the value would be : 1(Integer) >

Q : Select using value encoder ?

2008-12-20 Thread dwi ardi irawan
hi alli got a little problem here i want to make this into a select component : if the label is "user" then the value would be : 0(Integer) if the label is "administrator" then the value would be : 1(Integer) i did that in this way : *User.java* private String username; private String passwor