[richfaces-issues] [JBoss JIRA] Resolved: (RF-1488) a4j:support onsubmit with return confirm('question') not working
Alexej Kushunin (JIRA)
jira-events at lists.jboss.org
Tue Dec 4 11:47:53 EST 2007
[ http://jira.jboss.com/jira/browse/RF-1488?page=all ]
Alexej Kushunin resolved RF-1488.
---------------------------------
Resolution: Rejected
It's not a bug.
Before calling a ajax request processed appended onsubmit function.
http://jira.jboss.com/jira/browse/AJSF-62
> 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: Alexej Kushunin
> 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