• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

list shuttle exception

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
 
siraj baig
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi jsf professionals,

waiting for your reply
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which value do you mean?
 
Saloon Keeper
Posts: 27752
196
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

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
 
She'll be back. I'm just gonna wait here. With this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic