| Author |
listShuttle problem
|
Predrag Ristic
Greenhorn
Joined: Dec 07, 2009
Posts: 28
|
|
I'm trying to use rich:listShuttle component in my seam application.Source value and target value attributes are set like this:
sourceValue="#{myBeanClass.availableTrainingParticipants}",targetValue="#{myBeanClass.chosenTrainingParticipants}" (myBeanClass is manage bean class and availableTrainingParticipants and chosenTrainingParticipants are List<String>).I'me getting this error:
sourceValue="#{myBeanClass.availableTrainingParticipants}": Property 'availableTrainingParticipants' not found on type org.javassist.tmp.java.lang.Object_$$_javassist_seam_2
Can someone tell my why?
|
 |
Max Katz
Ranch Hand
Joined: Aug 03, 2009
Posts: 72
|
|
I think one of them has to be Set.
Max
http://mkblog.exadel.com
|
Blog: http://mkblog.exadel.com
HTML Prototypes: http://gotiggr.com
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14456
|
|
The ListShuttle control and its friends have a very irritating and under-documented core requirement.
The actual state of the control is not maintained on the backing bean, but in your browser, so the control has to be able to serialize the entire object being shuttled around as a character string (toString) which is then used as the sole argument to a a constructor (public MyObject(String serializedMyObject) ) used to re-create it in the server.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
 |
|
|
subject: listShuttle problem
|
|
|