You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Travis Reeder <tr...@ecommstats.com> on 2005/02/22 01:31:13 UTC

commandButton and onclick, does not submit properly

If I use this:

<h:commandButton id="submit" action="#{adminBean.doStuff}" 
value="#{bundle['form.continue']}" onclick="hideAndWait(this)"/>

The form submits but the action never gets executed, just returns back 
to same page.

If I use this:

<h:commandButton id="submit" action="#{adminBean.doStuff}" 
value="#{bundle['form.continue']}"/>

The action gets executed. 

Is there a reason for this or is this bug material?

-- 
Travis Reeder
Ecommstats Web Analytics
www.ecommstats.com