• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jsf submit and ie7

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This issue is resolved. The issue was related to incorrect code in some t:panelTab.
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic