Hello.
I have a problem with xforms:select1. The information is:
1. orbeon version: 3.7
2. example is that:
<?xml version="1.0" encoding="UTF-8"?>
<xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/1999/xhtml"> <xhtml:head id="head"> <xforms:model> <xforms:instance id="data"> <form xmlns=""> <items> </items> </form> </xforms:instance> <xforms:instance id="template"> <form xmlns=""> <item/> </form> </xforms:instance> <xforms:instance id="values"> <forms xmlns=""> <item> <label>value 1</label> <value>http://www.justep.com/x5#OA_AS_AssetClass_D:3FB47FB5-AF59-418A-B116-D6E76DB6CB01</value> </item> <item> <label>value 2</label> <value>http://www.justep.com/x5#OA_AS_AssetClass_D:3FB47FB5-AF59-418A-B116-D6E76DB6CB02</value> </item> <item> <label>value 3</label> <value>http://www.justep.com/x5#OA_AS_AssetClass_D:3FB47FB5-AF59-418A-B116-D6E76DB6CB03</value> </item> </forms> </xforms:instance> </xforms:model> </xhtml:head> <xhtml:body> <xhtml:h1>select bug</xhtml:h1> <xhtml:div> 1. Please click the 'insert' trigger. It will add a item to instance 'data'. <xhtml:p/> 2. Please change one of select1 control's value. <xhtml:span style="background-color:red">The other select1 isn't changed(This is wrong). </xhtml:span> </xhtml:div> <xhtml:table> <xforms:repeat id="repeat" nodeset="instance('data')/items/item"> <xhtml:tr> <xhtml:td> <xforms:select1 ref="."> <xforms:itemset nodeset="instance('values')/item"> <xforms:value ref="value" /> <xforms:label ref="label" /> </xforms:itemset> </xforms:select1> </xhtml:td> <xhtml:td> <xforms:select1 ref="."> <xforms:itemset nodeset="instance('values')/item"> <xforms:value ref="value" /> <xforms:label ref="label" /> </xforms:itemset> </xforms:select1> </xhtml:td> </xhtml:tr> </xforms:repeat> </xhtml:table> <xforms:trigger> <xforms:label>insert</xforms:label> <xforms:action ev:event="DOMActivate"> <xforms:insert nodeset="item" context="instance('data')/items" origin="instance('template')/item" /> </xforms:action> </xforms:trigger> </xhtml:body> </xhtml:html> [广告] 金秋最关注楼盘-房不胜房 -- 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 test-2.xhtml (3K) Download Attachment |
Administrator
|
Interesting one. The length of the values you are using was causing this issue. Erik just checked in the fix, so you can try it out in the next nightly build. You'll let us know how this works for you. For reference, we added this bug: http://forge.objectweb.org/tracker/index.php?func=detail&aid=311721&group_id=168&atid=350207 Alex |
Thank you for response.
在2008-11-06,"Alessandro Vernet" <[hidden email]> 写道: > > >hcr wrote: >> >> I have a problem with xforms:select1. The information is: >> [...] >> > >Interesting one. The length of the values you are using was causing this >issue. Erik just checked in the fix, so you can try it out in the next >nightly build. You'll let us know how this works for you. > >For reference, we added this bug: > >http://forge.objectweb.org/tracker/index.php?func=detail&aid=311721&group_id=168&atid=350207 > >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 >-- >View this message in context: http://www.nabble.com/select-probem-tp20299439p20352805.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 |
Administrator
|
No problem! And if you get a chance to test this, I would be curious to know if the fix works for you as expected. Alex |
Free forum by Nabble | Edit this page |