[richfaces-issues] [JBoss JIRA] Closed: (RF-1488) a4j:support onsubmit with return confirm('question') not working
Tsikhon Kuprevich (JIRA)
jira-events at lists.jboss.org
Thu Dec 20 09:11:49 EST 2007
[ http://jira.jboss.com/jira/browse/RF-1488?page=all ]
Tsikhon Kuprevich closed RF-1488.
---------------------------------
> a4j:support onsubmit with return confirm('question') not working
> ----------------------------------------------------------------
>
> Key: RF-1488
> URL: http://jira.jboss.com/jira/browse/RF-1488
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.3
> Environment: Jboss 4.2.2, RF 3.1.3 snapshot
> Reporter: Tomislav Jakopec
> Assigned To: Tsikhon Kuprevich
> Fix For: 3.2.0
>
>
> working example, but when I click cancel it also does ajax request.
> <t:outputText styleClass="velikaSlova" id="strucnaSprema"
> value="#{radnoMjesto.strucnaSprema.naziv.naziv}">
> <a:support event="onclick"
> action="#{radnoMjesto.setStrucnaSprema(null)}"
> onsubmit="confirm('#{messages['zajednicke.ponistiVrijednost']}');"
> reRender="strucnaSprema" />
> </t:outputText>
> not working example
> <t:outputText styleClass="velikaSlova" id="strucnaSprema"
> value="#{radnoMjesto.strucnaSprema.naziv.naziv}">
> <a:support event="onclick"
> action="#{radnoMjesto.setStrucnaSprema(null)}"
> onsubmit="return confirm('#{messages['zajednicke.ponistiVrijednost']}');"
> reRender="strucnaSprema" />
> </t:outputText>
> when I click OK it doesn't do ajax request
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list