File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 17421

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: jsf submit and ie7
It's not a secret anymore!