From jira-events at lists.jboss.org Mon Apr 14 12:19:05 2008
Content-Type: multipart/mixed; boundary="===============4492979335799821927=="
MIME-Version: 1.0
From: =?utf-8?q?Andreas_H=C3=B6hmann_=28JIRA=29_=3Cjira-events_at_lists=2Ejboss?=
=?utf-8?q?=2Eorg=3E?=
To: richfaces-issues at lists.jboss.org
Subject: [richfaces-issues] [JBoss JIRA] Commented: (RF-3033) a4j:support -
oncomplete handle js-code incorrect
Date: Mon, 14 Apr 2008 12:19:05 -0400
Message-ID: <15645232.1208189945270.JavaMail.jira@cloud.prod.atl2.jboss.com>
In-Reply-To: 13426582.1207903195791.JavaMail.jira@cloud.prod.atl2.jboss.com
--===============4492979335799821927==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
[ http://jira.jboss.com/jira/browse/RF-3033?page=3Dcomments#action_1240=
8643 ] =
=
Andreas H=C3=B6hmann commented on RF-3033:
-------------------------------------
The extracted js-code is working fine ... perhaps there is a rerender-probl=
em for the "oncomplete-js"?
=
> a4j:support - oncomplete handle js-code incorrect
> -------------------------------------------------
>
> Key: RF-3033
> URL: http://jira.jboss.com/jira/browse/RF-3033
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.0
> Environment: myfaces 1.2.2
> jdk 1.5
> tomcat 6.0.14
> Reporter: Andreas H=C3=B6hmann
>
> I have a selectbox with 5 options: 1..4 numbers and -1 as a "special valu=
e" :)
> If the user select the special value i want open a dialog ... here is my =
code:
>
>
>
>
>
>
> oncomplete=3D"if(this.value =3D=3D -1){Ri=
chfaces.showModalPanel('orderQuantityDialog')}" />
>
> The dialog will not open ... but ... if i change the code to this:
>
>
>
>
>
>
> oncomplete=3D"alert(this.value);if(this.v=
alue =3D=3D -1){Richfaces.showModalPanel('orderQuantityDialog')}" />
>
> a alertbox is shown (-1) and then the dialog is shown.
> is this a bug?
-- =
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: htt=
p://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
=
--===============4492979335799821927==--