This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSF and the fly likes jsf submit and ie7  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » JSF
Bookmark "jsf submit and ie7  " Watch "jsf submit and ie7  " New topic

jsf submit and ie7

Bill Zelan
Ranch Hand

Joined: Jan 09, 2009
Posts: 46

I am able to successfully submit a page using javascript to click a commandButton (this commandButton is kept hidden from the user using css). The problem is that clicking the commandButton only executes the actionListener in firefox. When I try the same code in ie7 then I am not getting the page to submit or the actionListener to execute. I am attaching the code to this post. I am using tomahawk 1.1.8 and tomcat 6.0.18.

Here is the tag that I am using. This subform is part of a larger form. The larger form contains the f:view and the h:form tags

Here is the code for the backing bean method

Bill Zelan
Ranch Hand

Joined: Jan 09, 2009
Posts: 46
This issue is resolved. The issue was related to incorrect code in some t:panelTab.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17011

Word of caution: It's never a good idea to expect JavaScript to be the only way for a user to be able to submit a page. For a number of reasons - including occasional security alerts from Microsoft, the user may not have JavaScript running on the client. JavaScript as an augmentation to submit is great, but an unsubmittable page is another matter.

Customer surveys are for companies who didn't pay proper attention to begin with.
Have you checked out Aspose?
subject: jsf submit and ie7
It's not a secret anymore!