[richfaces-issues] [JBoss JIRA] Updated: (RF-1488) a4j:support onsubmit with return confirm('question') not working

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Tue Dec 4 08:27:52 EST 2007


     [ http://jira.jboss.com/jira/browse/RF-1488?page=all ]

Nick Belaevski updated RF-1488:
-------------------------------

        Fix Version/s: 3.2.0
    Affects Version/s: 3.1.3
             Assignee: Alexej Kushunin

> 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