PDA

View Full Version : CheckBoxListView



Estefan
25 Aug 2009, 3:06 AM
How can i use a CheckBoxListView with a bean not a model? to more specific how to implement the prepareData method()/
Can anyone help me?
Best Regards

micgala
25 Aug 2009, 5:22 AM
Hi.

You need to use a Model.
Can't you just change your bean, and make it Model implementation?

Estefan
25 Aug 2009, 11:38 PM
Thanks micgala
of course i can do it but i was wondering if we can use it with a bean.Thanks for your reply.
Best Regards

sven
25 Aug 2009, 11:42 PM
You can also use BeanModel, simple add the BeanModelTag interface to your beans and you can use them without any further modification.

Estefan
26 Aug 2009, 3:47 AM
sven i used the BeanModelTag and it is working.
thanks a lot :)

micgala
26 Aug 2009, 4:11 AM
Cool stuff.

Nice to know that there is this, in case of future need...