• 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

Need Help with <rich:modalPanel> please

 
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi RichFace experts, I just recently implemented RichFace library and <rich:modalPanel> is giving me weird problems
here is my facelets



When I have my facelets set up like this, the action doesn't get fired and I have <a4j:keepAlive> before the <h:dataTable> and the whole thing is within a <h:form>

The strange part is, if I commented out everything from <rich:modalPanel> to </rich:modalPanel>, the methods fires correctly but of course, I get an error that
Target component for id editDiv not found,

Can someone kindly tell me what I am doing wrong, or what I might be missing.

Thank you very much
 
Davie Lin
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have resolved this issue, after careful reading of <rich:modalPanel> documentation. This tag needs to be outside of the <h:form> in order to work correctly.

Thanks to Max Katz's blog that help out a lot

An Introduction to JBoss Rich Faces

maybe I should get a copy of his "Practical Rich Faces"

 
reply
    Bookmark Topic Watch Topic
  • New Topic