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="&"
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: mailto:
ops-users-unsubscribe@...
For general help: mailto:
sympa@...?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws