• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

listShuttle problem

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think one of them has to be Set.

Max
http://mkblog.exadel.com
 
Saloon Keeper
Posts: 26267
186
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic