If modal panel contains its own form, you should not have one more form outside.
What it a reason you want model panel inside the form?
Thanks in Advance...
I have a page with form and i want to a modal Panel with that page like forgot password, Change Password...
so that i want to work with form with modal panel
I want to use JSF command button. This button will work in form only..
I don't understand it very well, but I think what you want to do is create a commandButton inside a rich:modalPanel, right?
Have you seen the examples?
If you want to create a h:commandButton (and other things) where the text is (in the example on the link) just replace the text with the jsf tags.
I also encourage you to read chapter 6.20 of the user guide (http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/pdf/richfaces-usersguide.pdf ).
I saw the examples of Rich Faces. Its very superp.
I solve my problem.
Thanks a lot...