Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

list shuttle exception  RSS feed

 
siraj baig
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i am getting struck with rich listshuttle with list of beans. If i use list of strings it's fine.
please check the code.




When i call submit button on the page it's[eclipse] giving me warning message and not calling bean action method.
And in my action method i am calling target list.

sourceId=createworkflowform:myListShuttle[severity=(ERROR 2), summary=("Component createworkflowform:myListShuttle has invalid value expression com.test.workflow.TaskBean@40627c"), detail=("Component createworkflowform:myListShuttle has invalid value expression com.test.workflow.TaskBean@40627c")]


Please tell me how to do with List of Beans

thanks
siraj.
 
siraj baig
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
siraj baig
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi jsf professionals,

waiting for your reply
 
Jean-Francois Beauchef
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
siraj baig wrote:Hi jsf professionals,

waiting for your reply


What you did looks OK to me. I had the same problem. I fixed it by overriding the hashcode/equals methods in my listed bean class (your TaskBean).
 
Jean-Francois Beauchef
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jean-Francois Beauchef wrote:
siraj baig wrote:Hi jsf professionals,

waiting for your reply


What you did looks OK to me. I had the same problem. I fixed it by overriding the hashcode/equals methods in my listed bean class (your TaskBean).


Eeeehhh.... I still have the problem!

Long hours ahead.
 
Kavita Tipnis
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
siraj baig wrote:Hi,

i am getting struck with rich listshuttle with list of beans. If i use list of strings it's fine.
please check the code.




When i call submit button on the page it's[eclipse] giving me warning message and not calling bean action method.
And in my action method i am calling target list.

sourceId=createworkflowform:myListShuttle[severity=(ERROR 2), summary=("Component createworkflowform:myListShuttle has invalid value expression com.test.workflow.TaskBean@40627c"), detail=("Component createworkflowform:myListShuttle has invalid value expression com.test.workflow.TaskBean@40627c")]


Please tell me how to do with List of Beans

thanks
siraj.


As the error shows that listShuttle has invalid value expressions, check your value expressions.
 
bostian tov
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which value do you mean?
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
bostian tov wrote:Which value do you mean?


Don't hold your breath waiting for an answer. The question was last addressed over 6 months ago, and people have probably forgotten all about it by now.

http://faq.javaranch.com/java/DontWakeTheZombies
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!