• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need Help with <rich:modalPanel> please  RSS feed

 
Davie Lin
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • 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
  • 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"

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!