Rich modalpanel events not populating form values

Written by

in

So here is a problem I was running into, I usually use rich:modalpanel just to display some data to the user, but the other day I needed to collect some input. After happily submitting my page all the submitted values were null, what the hell. After some research here are my conclusions on this problem.

We need to put “form” elements inside the modalPanel in order for this to work, and make sure that the ui:insert in our template is not nested within out top form.

Reason for this is because of where modalpanel is appended to the DOM, that is also a reason why we have a4j:form inside the panel.



 
	 
		
	
		
			
	   
 
     CONTENT HERE
 
  
   

Using Facelets and JSF 1.2

Comments

3 responses to “Rich modalpanel events not populating form values”

  1. Leyond Avatar
    Leyond

    Hello Greg,
    I see your answer to the question about how to embed browser into java swing, I have a question, have you implemented the classes BrowserConroller and FindWindow, I can’t find any information about these two classes, I am wondering could you do me a favor? Thanks.

  2. Leyond Avatar
    Leyond

    Sorry, I forgot to tell you the url address of the question: http://stackoverflow.com/questions/2020854/embed-firefox-browser-in-java-swing

    1. Greg Avatar

      No I haven’t, I was just experimenting with that so I have not done any more work on it because of issues like you are having. I was just browsing via the FF source code and looking how they are using it.

Leave a Reply

Your email address will not be published. Required fields are marked *