This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSF and the fly likes CommandButton is not working in Trindad 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 is not working in Trindad" Watch "CommandButton is not working in Trindad" New topic
Author

CommandButton is not working in Trindad

Shasi Mitra
Ranch Hand

Joined: Nov 27, 2008
Posts: 101

Hi all,
<tr:commandButton is not at all getting submitted.
This is the code i wrote
<tr:commandButton id="button1" action="#{myBean.doAction}" binding="#{myBean.myButton}" text="Go To Next Page">.
I've included it in the form.But still no improvement. Can anybody help..
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Include <h:messages/> in your page to get notified of any validation and conversion error which missed your attention (since JSF 1.2 those should also be logged in the server's log, give it a look too).

If that doesn't help, then there is not much to do than running the debugger.
Shasi Mitra
Ranch Hand

Joined: Nov 27, 2008
Posts: 101

Hi thanks for the reply.I am using
myfaces-api-1.1.6.jar
trinidad-api-1.0.10.jar
and jdk1.4. I am using retro fitted version of trinidad jar as i have to stick to jdk1.4. Is it creating problem?
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Include <h:messages/> in your page to get notified of any validation and conversion error which missed your attention.

If that doesn't help, then there is not much to do than running the debugger.
 
wood burning stoves
 
subject: CommandButton is not working in Trindad