Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsf submit and ie7

 
Bill Zelan
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This issue is resolved. The issue was related to incorrect code in some t:panelTab.
 
Tim Holloway
Saloon Keeper
Posts: 18303
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic