File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes How to submit two forms in jsf with Ajax or without Ajax? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "How to submit two forms in jsf with Ajax or without Ajax?" Watch "How to submit two forms in jsf with Ajax or without Ajax?" New topic
Author

How to submit two forms in jsf with Ajax or without Ajax?

Sami Nurmi
Greenhorn

Joined: Mar 13, 2012
Posts: 2
Hi!

I have basically two problems.

When I press the button in Form1, it is working fine, but I can't see the messages from FacesContext.
Another problem is in Form2. When I press the button only once, it goes to the server but nothing happens, no submit. But when I press it on second time, it is working fine. There is of course the same problem like in form one, that I can't see the messages from FacesContext. Could you please help and tell me what is causing that?



Controller:



Thank you!
Sami
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to submit two forms in jsf with Ajax or without Ajax?