• Post Reply Bookmark Topic Watch Topic
  • New Topic

listShuttle problem

 
Predrag Ristic
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think one of them has to be Set.

Max
http://mkblog.exadel.com
 
Tim Holloway
Bartender
Posts: 18413
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!