> Erik, I modified the Address Book example - please replace the
> "view.xsl" and "xforms-model.xml" files on your computer with the
> attached ones and you should be able to reproduce the issue.
>
> A.
>
>
>
> On Dec 21, 2005, at 1:28 PM, Erik Bruchez wrote:
>
>> Alex,
>>
>> This should work. Is there any way you could send an example which
>> runs directly in the XForms Sandbox? This would facilitate our looking
>> into the issue. Thanks,
>>
>> -Erik
>>
>> Alexander Zatko wrote:
>>
>>> Using XForms classic engine with OPS 3b3.
>>> It looks like OPS has problem with "ref" (or bind) attribute of the
>>> "label" and "value" elements of the xforms:item. My select control
>>> looks like this:
>>> <xforms:select ref="selected-buyer">
>>> <xforms:choices>
>>> <xforms:item>
>>> <xforms:label ref="./@label"/>
>>> <xforms:value ref="."/>
>>> </xforms:item>
>>> <xforms:itemset nodeset="../buyers/company">
>>> <xforms:label ref="@label"/>
>>> <xforms:copy ref="."/>
>>> </xforms:itemset>
>>> </xforms:choices>
>>> </xforms:select>
>>> Model looks like this:
>>> <xforms:model xmlns:xforms="
http://www.w3.org/2002/xforms" >
>>> <xforms:instance>
>>> <view-concepts>
>>> * <selected-buyer label="Select All">selectAll</selected-buyer>
>>> * <buyers>
>>> <company label="Global Supply">global</company>
>>> </buyers>
>>> <show-orders>
>>> <new>true</new>
>>> <part-fulfill>true</part-fulfill>
>>> <fulfilled>false</fulfilled>
>>> </show-orders>
>>> </view-concepts>
>>> </xforms:instance>
>>> <xforms:bind id="b_test"
>>> nodeset="/view-concepts/selected-buyer/@label"/>
>>> <xforms:submission method="post" action="/view-orders" replace="all"/>
>>> </xforms:model>
>>> ...the rendered view looks like this:
>>> Within itemset, the attributes work as expected, but if the label and
>>> value elements are not within itemset, the control is not rendered
>>> correctly.
>>> Is it me, or is this s bug?
>>> Alex
>>
>>
>>
>> --
>> 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>
>
> ------------------------------------------------------------------------
>
>
> --
> 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