File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes commandButton not working from an included JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "commandButton not working from an included JSP" Watch "commandButton not working from an included JSP" New topic

commandButton not working from an included JSP

Shaiju scientia

Joined: Jan 17, 2006
Posts: 15
Hi ,
I have dialog box opening from a main jsp page, say "list.jsp". I have put the dialog inside another jsp called details.jsp and included the same inside the list.jsp as follows

I am using primefaces component libraries for the dialog box.
The details.jsp (i.e the dialog) contains an edit button(a command button).

But when I click the edit button ,nothing is happening.
But if I put the button directly inside the list.jsp, the editAction method is getting invoked.
How can I get this working , from the included detals.jsp? Can anybody help?
Thanks in advance.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 61082

"Shaiju", please check your private messages for an important administrative matter prior to your next post.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Don't get me started about those stupid light bulbs.
subject: commandButton not working from an included JSP