This content has been marked as final.
Show 6 replies
-
1. Re: Clean an input text
ilya_shaikovsky Nov 12, 2008 9:10 AM (in response to six-p4ck)do not use h:command with support. Just use a4j:commandButton.
-
-
3. Re: Clean an input text
six-p4ck Nov 13, 2008 7:14 AM (in response to six-p4ck)It's aways not work.
It's work fine with a submit button:<h:commandButton type="submit" value="Submit" label="Submit" styleClass="commandButton" id="button1" action="#{pc_Data.addPakNum}" />
The input text is clean.
But with<a4j:commandButton value="Ajax"> <a4j:support action="#{pc_Data.addPakNum}" event="onclick" reRender="packageList,InputPackageNumber" /> </a4j:commandButton>
It's add fine on my table but stay in my input text -
4. Re: Clean an input text
ilya_shaikovsky Nov 13, 2008 7:20 AM (in response to six-p4ck)you should realise that command component with a4j:support inside - rises two requests on click :)
use one of the a4j:command* or h:command*. But do not use *:command* with support inside. -
5. Re: Clean an input text
six-p4ck Nov 13, 2008 7:29 AM (in response to six-p4ck)ok i try it.
I haven't this bug under JBOSS -
6. Re: Clean an input text
six-p4ck Nov 13, 2008 7:44 AM (in response to six-p4ck)Yeah it was my stupid double request...
Thx man