xforms-value-changed event of select control not working fine in mozilla

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

xforms-value-changed event of select control not working fine in mozilla

Jency Chackummoottil

Hi,

I have a list box control(xforms:select) in my form whose  xforms-value-changed event triggers a setvalue action. In IE, this works fine. But in Mozilla, when I first select a value from the list box, this event(xforms-value-changed event) is not triggered. Further selection from list box triggers the event. Why it behaves so in Mozilla?

 

Here’ s a sample code:

<xforms:select ref="instance('searchlist')/search-list">

      <xforms:label/>

      <xforms:itemset nodeset="instance('list')/item">

             <xforms:label ref="label"/>

             <xforms:value ref="value"/>

      </xforms:itemset>

      <xforms:action ev:event="xforms-value-changed">  

         <xforms:setvalue ref="instance('INSTANCE')/PAGE1/policyNoField" value="instance('searchlist')/search-list"/>

       </xforms:action>

</xforms:select>

 

Thanks

Jency

 

 

 



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: xforms-value-changed event of select control not working fine in mozilla

Alessandro Vernet
Administrator
Jency,

On 7/3/07, Jency Chackummoottil <[hidden email]> wrote:
> I have a list box control(xforms:select) in my form whose
> xforms-value-changed event triggers a setvalue action. In IE, this works
> fine. But in Mozilla, when I first select a value from the list box, this
> event(xforms-value-changed event) is not triggered. Further selection from
> list box triggers the event. Why it behaves so in Mozilla?

It should be triggered in Mozilla as well, and a difference in
behavior between IE and Mozilla seems to indicate a bug in Orbeon
Forms rather than a problem with your code. Would you be able to
create a full example that runs in the sandbox and shows the issue?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: xforms-value-changed event of select control not working fine in mozilla

Jency Chackummoottil

Hi Alex,

I have attached a sample which illustrates the bug with select
control(in Mozilla) when xforms-value-changed event is triggered. In
Mozilla, when you first select an item from the select control, the
xforms-value-changed event is not triggered. Further selection from list
box triggers the event. In IE, it works fine. Seems this is a bug with
Orbeon forms.

Thanks
Jency

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of
Alessandro Vernet
Sent: Saturday, July 07, 2007 6:28 AM
To: [hidden email]
Subject: Re: [ops-users] xforms-value-changed event of select control
not working fine in mozilla

Jency,

On 7/3/07, Jency Chackummoottil <[hidden email]>
wrote:
> I have a list box control(xforms:select) in my form whose
> xforms-value-changed event triggers a setvalue action. In IE, this
> works fine. But in Mozilla, when I first select a value from the list
> box, this event(xforms-value-changed event) is not triggered. Further
> selection from list box triggers the event. Why it behaves so in
Mozilla?

It should be triggered in Mozilla as well, and a difference in behavior
between IE and Mozilla seems to indicate a bug in Orbeon Forms rather
than a problem with your code. Would you be able to create a full
example that runs in the sandbox and shows the issue?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

sample.xsl (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: xforms-value-changed event of select control not working fine in mozilla

Alessandro Vernet
Administrator
Hi Jency,

On 7/18/07, Jency Chackummoottil <[hidden email]> wrote:
> I have attached a sample which illustrates the bug with select
> control(in Mozilla) when xforms-value-changed event is triggered. In
> Mozilla, when you first select an item from the select control, the
> xforms-value-changed event is not triggered. Further selection from list
> box triggers the event. In IE, it works fine. Seems this is a bug with
> Orbeon forms.

Very nice catch! Thank you for the test case. I fixed this one, and
you can test this out in the next nightly build. For reference, bug
is:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=307336&group_id=168&atid=350207

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: xforms-value-changed event of select control not working fine in mozilla

Alessandro Vernet
Administrator
Jency,

On 7/23/07, Alessandro Vernet <[hidden email]> wrote:
> Very nice catch! Thank you for the test case. I fixed this one, and
> you can test this out in the next nightly build. For reference, bug
> is:
>
> http://forge.objectweb.org/tracker/index.php?func=detail&aid=307336&group_id=168&atid=350207

This bug is now fixed. You can try it out in a nightly build.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws