« Return to Thread: problem with xform-value-change event.

Re: Re: problem with xform-value-change event.

by manish_suriya :: Rate this Message:

Reply to Author | View in Thread


Hi Erik,

Please find the attached sample application.

In this when i select  a drop down..    it goes in an infinite loop.


Thanks
Manish Suriya
ASE
Tata Consultancy Services
UNIT NO.801, 901 & 1001, A-WING, HIRANANDANI BUSINESS PARK
HIRANANDANI BUILDERS SPECIAL ECONOMIC ZONE,
Mumbai - 400076,Maharashtra
India
Cell:- 09819863849
Mailto: manish.suriya@...
Website:
http://www.tcs.com
____________________________________________
Experience certainty.        IT Services
                       Business Solutions
                       Outsourcing
____________________________________________



Erik Bruchez <ebruchez@...>

10/14/2008 12:38 AM
Please respond to
ops-users@...

To
ops-users@...
cc
Subject
[ops-users] Re: problem with xform-value-change event.





Can you please send a complete example that runs in the XForms  
sandbox? That will be much easier to deal with. Thanks,

-Erik

On Oct 13, 2008, at 10:04 AM, Manish Suriya wrote:

>
> Hi All,
>
>
> I m having this instance.
>
>         <xforms:instance id="name-instance">
>                 <po:options  xmlns:po="........." xmlns="">
>
>                         <po:option>
>                                 <po:optionData type="DROPDOWN">
>                                         <po:businessName>Product : </
> po:businessName>
>                                         <po:name>PRODUCT</po:name>
>                                         <po:selectedValue></
> po:selectedValue>
>                                         <po:param value="Product 1  
> ">123</po:param>
>                                         <po:param value="Product 2  
> ">456</po:param>
>                                         <po:param value="Product  
> 3">789</po:param>
>                                         <po:validation  
> validationType="REQUIRED">true</po:validation>
>                                         <po:helpText>Products..</
> po:helpText>
>
>                         </po:optionData>
>                       </po:option>
>                 </po:options>
>
>         </xforms:instance>
>
> On select of this i m calling an xforms-value-changed event. which  
> will display other couple of drop down based on the selected product .
>
> <xforms:repeat nodeset="instance('name-instance')/po:option">
>         <xforms:select1 ref="po:optionData[@type='DROPDOWN']/
> po:selectedValue"
>                 incremental="true">
>                 <xforms:help ref="../po:helpText"></xforms:help>
>                 <xforms:hint ref="../po:helpText"></xforms:hint>
>                 <xforms:label ref="../po:businessName">
>                 </xforms:label>
>                 <xforms:item>
>                         <xforms:label>Choose One...</xforms:label>
>                         <xforms:value />
>                 </xforms:item>
>                 <xforms:itemset nodeset="../po:param">
>                         <xforms:label ref="@value" />
>                         <xforms:value ref="@value" />
>                 </xforms:itemset>
>                 <xforms:send submission="action" ev:event="xforms-
> value-changed" />
>         </xforms:select1>
>
> </xforms:repeat>
>
>
> =====================
> <xforms:submission id="action" separator="&amp;" resource="/refine"
>                 action="/refine" method="post" ref="/"  
> replace="instance"
>                 instance="option-instance">
>         </xforms:submission>
>
> ====================
>
>
> Whne i select the Product first time .. other dropdowns  displays  
> nicely..
>
> But when i select other Product.. the page is not refreshing.. its  
> goes in a infinite loop.. so my secondary dropdowns are not being  
> displaying.
>
> Please suggest what shuld i do. Am i using the right event ??
>
>
>
>
>
>
>
> Manish Suriya
> Tata Consultancy Services
> Cell:- 09819863849
> Mailto: manish.suriya@...
> Website:
http://www.tcs.com
> ____________________________________________
> Experience certainty.        IT Services
>                        Business Solutions
>                        Outsourcing
> ____________________________________________
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>
> --
> You receive this message as a subscriber of the ops-users@...  
> mailing list.
> To unsubscribe:
ops-users-unsubscribe@...
> For general help:
sympa@...
> OW2 mailing lists service home page:
http://www.ow2.org/wws

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/


--
You receive this message as a subscriber of the ops-users@... mailing list.
To unsubscribe:
ops-users-unsubscribe@...
For general help:
sympa@...
OW2 mailing lists service home page:
http://www.ow2.org/wws

ForwardSourceID:NT00007652    
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you





--
You receive this message as a subscriber of the ops-users@... mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

New WinZip File.zip (3K) Download Attachment

 « Return to Thread: problem with xform-value-change event.