posted 14 years ago
There are two commandButtons in form, one works fine, but the other doesn't work. What's the problem?
code of two buttons:
Doesn't work: <a4j:commandButton action="#{MyBean.createUG}" reRender="ug_panel" limitToList="true" value="Add" styleClass="searchBtn" id="btnAdd"/>
Even I change it to "h:commandButton", still doesn't work!
Works: <h:commandButton action="#{MyBean.addUtoO}" id="btnSubmit" image="/images/btnSubmit.gif"/>