• Post Reply Bookmark Topic Watch Topic
  • New Topic

error listshuttle - has invalid value expression  RSS feed

 
florian brunet
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello

Why i have this error on my listshutle ?
"Component modificationProfil:listes_droits has invalid value expression Gérer les collaborateurs"






I have juste make a converter "listShuttleconverter" and i have the an error.. Someone can help me please?

this is the code of my rich:listShuttle :


and this is the code of the converter :





Thank you for your help.


Florian Brunet
 
Tim Holloway
Bartender
Posts: 18662
71
Android Eclipse IDE Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Note: there is a "Code" button on our message editor. It generates tags that wrap pre-formatted text such as java code and XML. It makes them easier to read.

I have a lot of trouble with the shuttle control in RichFaces. In addition to being cumbersome to use, it is also somewhat insecure. I was hoping that RichFaces 4 had remedied that, but alas, not so.

Your error is coming from the fact that the actual selection controls are HTML style, where each item has a label and a value. The label is what the user sees, the value is what the application works with. You have managed to confuse the label and the value, and since the label is not in the set of values defined (because, it is a label and not a value), you are getting an error.
 
florian brunet
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello Tim,

I don't understand why this don't work beacause :
I can load the listshuttle but not send the listshuttle .
I don't know how i can answer for this problem.
I don't know what i must change in my code after to read your last message.

Thank you for your answer and your help.
 
florian brunet
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,

Here it's my file module-administration.xml


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!