problem with xxforms:context() and xxforms:repeat-current() in nightly build

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

problem with xxforms:context() and xxforms:repeat-current() in nightly build

Alexander Žaťko
When I test the attached in sandbox on http://www.orbeon.com/ops/ I  
see the drop-down populated. When I test in 3.5.M1.200612070638 the  
drop-down is not populating. It looks like the culprit is that the  
xxforms:context() and xxforms:repeat-current() function lost their  
"magic powers" in the new build, but maybe (likely) it's me who lost  
(or missed) something. :-)

A.



--
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

view.xhtml (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: problem with xxforms:context() and xxforms:repeat-current() in nightly build

Alexander Zatko-2
The problem is not with the context functions. I changed the:

<xforms:select ref="xxforms:context('schema-item')/@filter" appearance="minimal">
    <xforms:itemset nodeset="../list/item">
        <xforms:label ref="@label"/>
        <xforms:copy ref="."/>
    </xforms:itemset>
</xforms:select>

...to:

<xforms:select ref="xxforms:context('schema-item')/@filter" appearance="minimal">
    <xforms:itemset nodeset="../list/item">
        <xforms:label ref="@label"/>
        <xforms:value ref="."/>
    </xforms:itemset>
</xforms:select>

...and the drop-down renders correctly. So it seems the <xforms:copy> element stopped working in this particular build (possibly later ones too).

A.



On Dec 12, 2006, at 7:30 AM, Alexander Zatko wrote:

When I test the attached in sandbox on http://www.orbeon.com/ops/ I see the drop-down populated. When I test in 3.5.M1.200612070638 the drop-down is not populating. It looks like the culprit is that the xxforms:context() and xxforms:repeat-current() function lost their "magic powers" in the new build, but maybe (likely) it's me who lost (or missed) something. :-)

A.

<view.xhtml>



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: problem with xxforms:context() and xxforms:repeat-current() in nightly build

Erik Bruchez
Administrator
Alex,

The issue is that you are using xforms:copy, which doesn't work at the
moment. We know, it's a shame :-(

-Erik

Alexander Zatko wrote:

> The problem is not with the context functions. I changed the:
>
> <xforms:select ref="xxforms:context('schema-item')/@filter"
> appearance="minimal">
>     <xforms:itemset nodeset="../list/item">
>         <xforms:label ref="@label"/>
>         *<xforms:copy ref="."/>*
>     </xforms:itemset>
> </xforms:select>
>
> ...to:
>
> <xforms:select ref="xxforms:context('schema-item')/@filter"
> appearance="minimal">
>     <xforms:itemset nodeset="../list/item">
>         <xforms:label ref="@label"/>
>        * <xforms:value ref="."/>*
>     </xforms:itemset>
> </xforms:select>
>
> ...and the drop-down renders correctly. So it seems the <xforms:copy>
> element stopped working in this particular build (possibly later ones too).
>
> A.
>
>
>
> On Dec 12, 2006, at 7:30 AM, Alexander Zatko wrote:
>
>> When I test the attached in sandbox on http://www.orbeon.com/ops/ I
>> see the drop-down populated. When I test in 3.5.M1.200612070638 the
>> drop-down is not populating. It looks like the culprit is that the
>> xxforms:context() and xxforms:repeat-current() function lost their
>> "magic powers" in the new build, but maybe (likely) it's me who lost
>> (or missed) something. :-)
>>
>> A.
>>
>> <view.xhtml>
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws