This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

listShuttle problem  RSS feed

 
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: 18531
61
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!