• 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

Richfaces listShuttle inside a modalPanel missing data

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I’m having a problem combining the listShuttle and modalPanel components of RichFaces. I’m currently working on a page where you would click an icon that pops up a rich:modalPanel. Inside that modal window would be a tabPanel, and inside one of the tabs would be a listShuttle.

When you open the modal panel, the window pops up, and the listShuttle renders, but both lists are empty. I had this on the page, not in a modal, and the shuttle was working without problem. I took that code, and wrapped it inside a modalPanel, and now it’s not working. I've verified that the lists that the shuttle is bound to DO have data in them, and the getter methods for those lists are being called.

Here’s what my code looks like:




As always, any help would be appreciated!
 
J Miller
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Never mind. As it turns out when I moved the code into the modal, I also stopped calling the method that loaded the list objects. Dumb mistake
 
Everybody's invited. Except 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