Hello,
I want to fire the xforms-select event on a
xforms:item in a xforms:select1 :
example :
<xforms:select1 ref="/form//mbAssoLoi1901" appearance="full" > <xforms:item> <xforms:label>Oui</xforms:label> <xforms:value>true</xforms:value>
<xforms:action
ev:event="xforms-select">
<xxforms:script> alert('select'); </xxforms:script> </xforms:action> </xforms:item> <xforms:item> <xforms:label>Non</xforms:label> <xforms:value>false</xforms:value> </xforms:item> </xforms:select1> but the event is never fired !
Could you help me ? thank you. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Julien,
On 10/24/07, Bittard, Julien <[hidden email]> wrote: > I want to fire the xforms-select event on a xforms:item in a xforms:select1 xforms-select is not supported on select/select1 at this point, largely because there are not many use cases that call for it. Instead, you can use the xforms-value-changed event, place your listener directly inside the <xforms:select1> and use an if="..." expression if you only want to react to one particular value being selected. 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
ok thank you, I try this.
-- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
In reply to this post by Alessandro Vernet
I was going to use xforms-select to insert an instance into another
instance when the value='some_value' and then delete it from the instance when value=''. Does anyone have any suggestions for how I can do that? I've tried to get it to work with xforms-value-changed. I can successfully insert but not delete... thx -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro Vernet Sent: Wednesday, October 24, 2007 1:16 PM To: [hidden email] Subject: Re: [ops-users] xforms-select event on xforms:item Julien, On 10/24/07, Bittard, Julien <[hidden email]> wrote: > I want to fire the xforms-select event on a xforms:item in a xforms:select1 xforms-select is not supported on select/select1 at this point, largely because there are not many use cases that call for it. Instead, you can use the xforms-value-changed event, place your listener directly inside the <xforms:select1> and use an if="..." expression if you only want to react to one particular value being selected. 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Michael,
On 10/25/07, Park, Michael <[hidden email]> wrote: > I was going to use xforms-select to insert an instance into another > instance when the value='some_value' and then delete it from the > instance when value=''. Does anyone have any suggestions for how I can > do that? I've tried to get it to work with xforms-value-changed. I can > successfully insert but not delete... I don't quite see why the delete would not work. Could you attach an example that runs in the XForms sandbox and that shows what you describe? 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
In reply to this post by Alessandro Vernet
CONTENTS DELETED
The author has deleted this message.
|
In reply to this post by Alessandro Vernet
CONTENTS DELETED
The author has deleted this message.
|
Hi,
On Apr 6, 2009, at 12:05 AM, Libelah wrote: > > I just read the following: > > This event only occurs on xforms:select and xforms:select1 options > that > include an <xforms:itemset> element. If the option includes a list of > <xforms:item> elements instead, use the xforms-select and xforms- > deselect > events. > > So no chance for me to react to selection/deselection of a checkbox > with > orbeon? Did no one here ever need this? action element is a child of the checkbox (select) then it will be the first to get the event. Cheers, Hank > > Thx in advance for any replies! > > > Alessandro Vernet wrote: >> >> Julien, >> >> On 10/24/07, Bittard, Julien <[hidden email]> >> wrote: >>> I want to fire the xforms-select event on a xforms:item in a >>> xforms:select1 >> >> xforms-select is not supported on select/select1 at this point, >> largely because there are not many use cases that call for it. >> Instead, you can use the xforms-value-changed event, place your >> listener directly inside the <xforms:select1> and use an if="..." >> expression if you only want to react to one particular value being >> selected. >> >> 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 >> OW2 mailing lists service home page: http://www.ow2.org/wws >> >> >> ----- >> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise >> Orbeon's Blog: http://www.orbeon.com/blog/ >> Personal Blog: http://avernet.blogspot.com/ >> Twitter - http://twitter.com/avernet >> > > -- > View this message in context: http://www.nabble.com/xforms-select- > event-on-xforms%3Aitem-tp13390297p22903265.html > Sent from the ObjectWeb OPS - Users mailing list archive at > Nabble.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 > OW2 mailing lists service home page: http://www.ow2.org/wws NEES@UCSB Institute for Crustal Studies, University of California, Santa Barbara 805-893-8042 -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
In reply to this post by Libelah
On Apr 6, 2009, at 12:05 AM, Libelah wrote:
> This event only occurs on xforms:select and xforms:select1 options > that > include an <xforms:itemset> element. If the option includes a list of > <xforms:item> elements instead, use the xforms-select and xforms- > deselect > events. > > So no chance for me to react to selection/deselection of a checkbox > with > orbeon? Did no one here ever need this? The xforms-select and xforms-deselect are working with both <xforms:itemset> and static <xforms:item>. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |