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 JSF 1.1 - problems with h:commandButton Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF 1.1 - problems with h:commandButton" Watch "JSF 1.1 - problems with h:commandButton" New topic
Author

JSF 1.1 - problems with h:commandButton

Bruno Weninger
Greenhorn

Joined: Apr 08, 2011
Posts: 2
Hello people, here's the deal: I have a fully-working JSF 1.1 app, but when I deploy it from Tomcat to Websphere 6.1, my h.commandButtons stop working. I wonder why does that happen. Do you have any idea?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15665
    
  15

Depending on what service packs are in place, WAS 6.1 may have JSF built into it. In my case, I was using a newer JSF, so I had to override the default classloading sequence to prevent conflicts with the built-in JSF.

I recommend you ask over in the WebSphere forum, since it's a server-specific problem with a server-specific solution.


Customer surveys are for companies who didn't pay proper attention to begin with.
Bruno Weninger
Greenhorn

Joined: Apr 08, 2011
Posts: 2
I tried that, thanks. Still waiting for reply, though.
Shasi Mitra
Ranch Hand

Joined: Nov 27, 2008
Posts: 101

Did you deploy in websphere directly or import the application into RAD and then deployed? In the latter case, check your web.xml for any unwanted IBM's code. Also try changing the class loading mode to parent_last and see..hope your command button is enclosed in a form..try removing any rendered attribute for your command button and check..hope there are no validation errors..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSF 1.1 - problems with h:commandButton
 
Similar Threads
Is JBoss 3.2 compatible with JSF 1.1?
JSF 1.2 vs JSF 1.1
Problem Using the <f:ajax /> Tag
confirm of h:commandLink
JSF support in WebSphere?