Readonly based on value of another control

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

Readonly based on value of another control

Alan Skorkin
Readonly based on value of another control

Hi,

I am currently, evaluating the costs for us to upgrade to OPS 3.0, (we are currenly using 2.8), and I've run into the following problem.

I need functionality whereby a control becomes readwrite or readonly based on the value of another control. E.g. ther are two controls on the page both are select1, both have two possible values (yes and no), initially when the page loads the second select1 is readonly, and the first one has a value of Yes, when the value of the first one is changed to No by the user, I need the second control to become readwrite. Unfortunately this doesn't quite work correctly in either IE6 or Firefox. In IE6, the text for the control becomes enabled, while the actual radio buttons don't (see attached screenshots), while in Firefox it doesn't work at all.

However if the second control starts out readwrite initially, everything works fine in IE6, I can make it readonly and then put it back to readwrite by selecting the Yes or No in the first select1 control. But in Firefox this even this case doesn't work.

My view looks something like this (I cut out the irrelevant bits):

<xhtml:html xsl:version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    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:xi="http://www.w3.org/2001/XInclude"
    xmlns:f="http://orbeon.org/oxf/xml/formatting"
    xmlns:xhtml="http://www.w3.org/1999/xhtml">

    <xhtml:head>
        <xhtml:title>XForms Wizard - Step 1</xhtml:title>
        <xforms:model id="main-model" xmlns:xforms="http://www.w3.org/2002/xforms">
 
            <xforms:instance id="text">
                <xi:include href="input:instance"/>
            </xforms:instance>
            <xforms:instance id="data"> 
                <data> 
                    <yesno> 
                        <item> 
                            <value>yes</value>
                            <label>yes</label> 
                        </item> 
                        <item> 
                            <value>no</value>
                            <label>no</label> 
                        </item> 
                    </yesno> 
                </data>
            </xforms:instance>

            <xforms:bind nodeset="instance('text')/user/anotherbody2" readonly="instance('text')/user/body != 'no'"/>

        </xforms:model>
    </xhtml:head>
    <xhtml:body>
        <xforms:group ref="instance('text')">
            <xhtml:p>
                <xforms:select1 ref="user/body" appearance="full"> 
                    <xforms:label class="fixed-width">Body:</xforms:label>
                    <xforms:itemset nodeset="instance('data')/yesno/item"> 
                        <xforms:label ref="label"/> 
                        <xforms:value ref="value"/> 
                    </xforms:itemset>
            </xhtml:p>

            <xhtml:p>
                <xforms:select1 ref="user/anotherbody2" appearance="full"> 
                    <xforms:label class="fixed-width">Another Body2:</xforms:label>
                    <xforms:itemset nodeset="instance('data')/yesno/item"> 
                        <xforms:label ref="label"/> 
                        <xforms:value ref="value"/> 
                    </xforms:itemset> 
                </xforms:select1>
            </xhtml:p>
        </xforms:group>
    </xhtml:body>
</xhtml:html>

The instance is (once again only the relevant bits):

<form>
    <action/>
    <user>
        <body>yes</body>
        <anotherbody2>yes</anotherbody2>
    </user>
</form>

Is this a bug, or am I doing something wrong/missing something?

Cheers,

Alan

<<initial_load.GIF>> <<after_value_change.GIF>>


initial_load.GIF (32K) Download Attachment
after_value_change.GIF (11K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Readonly based on value of another control

Ryan Puddephatt
Readonly based on value of another control

Alan,

            I tried your example, but couldn’t get the readonly to work. I have managed to get it to work as relevant though, with a few changes. I changed the condition in your bind and removed the instance(‘text’) grouping as both of these seemed to be stopping it. Looks like it might be a bug though as it works with one bind, but not another (Alex/Eric?) I’ve attached the file so you can test it in the sandbox

 

Ryan Puddephatt

Web Developer

TFX Group

1 Michaelson Square

Livingston

West Lothian

Scotand

EH54 7DP

 

* [hidden email]

( 01506 407 110

7  01506 407 108

 


From: Alan Skorkin [mailto:[hidden email]]
Sent: 18 January 2006 05:25
To: [hidden email]
Subject: [ops-users] Readonly based on value of another control

 

Hi,

I am currently, evaluating the costs for us to upgrade to OPS 3.0, (we are currenly using 2.8), and I've run into the following problem.

I need functionality whereby a control becomes readwrite or readonly based on the value of another control. E.g. ther are two controls on the page both are select1, both have two possible values (yes and no), initially when the page loads the second select1 is readonly, and the first one has a value of Yes, when the value of the first one is changed to No by the user, I need the second control to become readwrite. Unfortunately this doesn't quite work correctly in either IE6 or Firefox. In IE6, the text for the control becomes enabled, while the actual radio buttons don't (see attached screenshots), while in Firefox it doesn't work at all.

However if the second control starts out readwrite initially, everything works fine in IE6, I can make it readonly and then put it back to readwrite by selecting the Yes or No in the first select1 control. But in Firefox this even this case doesn't work.

My view looks something like this (I cut out the irrelevant bits):

<xhtml:html xsl:version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    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:xi="http://www.w3.org/2001/XInclude"
    xmlns:f="http://orbeon.org/oxf/xml/formatting"
    xmlns:xhtml="http://www.w3.org/1999/xhtml">

    <xhtml:head>
        <xhtml:title>XForms Wizard - Step 1</xhtml:title>
        <xforms:model id="main-model" xmlns:xforms="http://www.w3.org/2002/xforms">
 
            <xforms:instance id="text">
                <xi:include href="input:instance"/>
            </xforms:instance>
            <xforms:instance id="data"> 
                <data> 
                    <yesno> 
                        <item> 
                            <value>yes</value>
                            <label>yes</label> 
                        </item> 
                        <item> 
                            <value>no</value>
                            <label>no</label> 
                        </item> 
                    </yesno> 
                </data>
            </xforms:instance>

            <xforms:bind nodeset="instance('text')/user/anotherbody2" readonly="instance('text')/user/body != 'no'"/>

        </xforms:model>
    </xhtml:head>
    <xhtml:body>
        <xforms:group ref="instance('text')">
            <xhtml:p>
                <xforms:select1 ref="user/body" appearance="full"> 
                    <xforms:label class="fixed-width">Body:</xforms:label>
                    <xforms:itemset nodeset="instance('data')/yesno/item"> 
                        <xforms:label ref="label"/> 
                        <xforms:value ref="value"/> 
                    </xforms:itemset>
            </xhtml:p>

            <xhtml:p>
                <xforms:select1 ref="user/anotherbody2" appearance="full"> 
                    <xforms:label class="fixed-width">Another Body2:</xforms:label>
                    <xforms:itemset nodeset="instance('data')/yesno/item"> 
                        <xforms:label ref="label"/> 
                        <xforms:value ref="value"/> 
                    </xforms:itemset> 
                </xforms:select1>
            </xhtml:p>
        </xforms:group>
    </xhtml:body>
</xhtml:html>

The instance is (once again only the relevant bits):

<form>
    <action/>
    <user>
        <body>yes</body>
        <anotherbody2>yes</anotherbody2>
    </user>
</form>

Is this a bug, or am I doing something wrong/missing something?

Cheers,

Alan

<<initial_load.GIF>> <<after_value_change.GIF>>



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

test.xsl (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Readonly based on value of another control

Erik Bruchez
Administrator
In reply to this post by Alan Skorkin
Alan,

This looks like a bug:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=304533&group_id=168&atid=350207

-Erik

Alan Skorkin wrote:

> Hi,
>
> I am currently, evaluating the costs for us to upgrade to OPS 3.0, (we
> are currenly using 2.8), and I've run into the following problem.
>
> I need functionality whereby a control becomes readwrite or readonly
> based on the value of another control. E.g. ther are two controls on the
> page both are select1, both have two possible values (yes and no),
> initially when the page loads the second select1 is readonly, and the
> first one has a value of Yes, when the value of the first one is changed
> to No by the user, I need the second control to become readwrite.
> Unfortunately this doesn't quite work correctly in either IE6 or
> Firefox. In IE6, the text for the control becomes enabled, while the
> actual radio buttons don't (see attached screenshots), while in Firefox
> it doesn't work at all.
>
> However if the second control starts out readwrite initially, everything
> works fine in IE6, I can make it readonly and then put it back to
> readwrite by selecting the Yes or No in the first select1 control. But
> in Firefox this even this case doesn't work.
>
> My view looks something like this (I cut out the irrelevant bits):
>
> <xhtml:html xsl:version="2.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>     xmlns:xs="http://www.w3.org/2001/XMLSchema"
>     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:xi="http://www.w3.org/2001/XInclude"
>     xmlns:f="http://orbeon.org/oxf/xml/formatting"
>     xmlns:xhtml="http://www.w3.org/1999/xhtml">
>
>     <xhtml:head>
>         <xhtml:title>XForms Wizard - Step 1</xhtml:title>
>         <xforms:model id="main-model"
> xmlns:xforms="http://www.w3.org/2002/xforms">
>  
>             <xforms:instance id="text">
>                 <xi:include href="input:instance"/>
>             </xforms:instance>
>             <xforms:instance id="data">
>                 <data>
>                     <yesno>
>                         <item>
>                             <value>yes</value>
>                             <label>yes</label>
>                         </item>
>                         <item>
>                             <value>no</value>
>                             <label>no</label>
>                         </item>
>                     </yesno>
>                 </data>
>             </xforms:instance>
>
>             <xforms:bind nodeset="instance('text')/user/anotherbody2"
> readonly="instance('text')/user/body != 'no'"/>
>
>         </xforms:model>
>     </xhtml:head>
>     <xhtml:body>
>         <xforms:group ref="instance('text')">
>             <xhtml:p>
>                 <xforms:select1 ref="user/body" appearance="full">
>                     <xforms:label class="fixed-width">Body:</xforms:label>
>                     <xforms:itemset nodeset="instance('data')/yesno/item">
>                         <xforms:label ref="label"/>
>                         <xforms:value ref="value"/>
>                     </xforms:itemset>
>             </xhtml:p>
>
>             <xhtml:p>
>                 <xforms:select1 ref="user/anotherbody2" appearance="full">
>                     <xforms:label class="fixed-width">Another
> Body2:</xforms:label>
>                     <xforms:itemset nodeset="instance('data')/yesno/item">
>                         <xforms:label ref="label"/>
>                         <xforms:value ref="value"/>
>                     </xforms:itemset>
>                 </xforms:select1>
>             </xhtml:p>
>         </xforms:group>
>     </xhtml:body>
> </xhtml:html>
>
> The instance is (once again only the relevant bits):
>
> <form>
>     <action/>
>     <user>
>         <body>yes</body>
>         <anotherbody2>yes</anotherbody2>
>     </user>
> </form>
>
> Is this a bug, or am I doing something wrong/missing something?
>
> Cheers,
>
> Alan
>
> <<initial_load.GIF>> <<after_value_change.GIF>>
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Readonly based on value of another control

Erik Bruchez
Administrator
In reply to this post by Ryan Puddephatt
Ryan,

Yes your version works (it also works with the original instance(‘text’)
on my machine BTW). This appears to be a bug impacting readonly but not
relevant.

-Erik

Ryan Puddephatt wrote:

> Alan,
>
>             I tried your example, but couldn’t get the readonly to work.
> I have managed to get it to work as relevant though, with a few changes.
> I changed the condition in your bind and removed the instance(‘text’)
> grouping as both of these seemed to be stopping it. Looks like it might
> be a bug though as it works with one bind, but not another (Alex/Eric?)
> I’ve attached the file so you can test it in the sandbox
>
>  
>
> *Ryan Puddephatt*
>
> Web Developer
>
> TFX Group
>
> 1 Michaelson Square
>
> Livingston
>
> West Lothian
>
> Scotand
>
> EH54 7DP
>
>  
>
> * [hidden email]
>
> ( 01506 407 110
>
> 7  01506 407 108
>
>  
>
> ------------------------------------------------------------------------
>
> *From:* Alan Skorkin [mailto:[hidden email]]
> *Sent:* 18 January 2006 05:25
> *To:* [hidden email]
> *Subject:* [ops-users] Readonly based on value of another control
>
>  
>
> Hi,
>
> I am currently, evaluating the costs for us to upgrade to OPS 3.0, (we
> are currenly using 2.8), and I've run into the following problem.
>
> I need functionality whereby a control becomes readwrite or readonly
> based on the value of another control. E.g. ther are two controls on the
> page both are select1, both have two possible values (yes and no),
> initially when the page loads the second select1 is readonly, and the
> first one has a value of Yes, when the value of the first one is changed
> to No by the user, I need the second control to become readwrite.
> Unfortunately this doesn't quite work correctly in either IE6 or
> Firefox. In IE6, the text for the control becomes enabled, while the
> actual radio buttons don't (see attached screenshots), while in Firefox
> it doesn't work at all.
>
> However if the second control starts out readwrite initially, everything
> works fine in IE6, I can make it readonly and then put it back to
> readwrite by selecting the Yes or No in the first select1 control. But
> in Firefox this even this case doesn't work.
>
> My view looks something like this (I cut out the irrelevant bits):
>
> <xhtml:html xsl:version="2.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>     xmlns:xs="http://www.w3.org/2001/XMLSchema"
>     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:xi="http://www.w3.org/2001/XInclude"
>     xmlns:f="http://orbeon.org/oxf/xml/formatting"
>     xmlns:xhtml="http://www.w3.org/1999/xhtml">
>
>     <xhtml:head>
>         <xhtml:title>XForms Wizard - Step 1</xhtml:title>
>         <xforms:model id="main-model"
> xmlns:xforms="http://www.w3.org/2002/xforms">
>  
>             <xforms:instance id="text">
>                 <xi:include href="input:instance"/>
>             </xforms:instance>
>             <xforms:instance id="data">
>                 <data>
>                     <yesno>
>                         <item>
>                             <value>yes</value>
>                             <label>yes</label>
>                         </item>
>                         <item>
>                             <value>no</value>
>                             <label>no</label>
>                         </item>
>                     </yesno>
>                 </data>
>             </xforms:instance>
>
>             <xforms:bind nodeset="instance('text')/user/anotherbody2"
> readonly="instance('text')/user/body != 'no'"/>
>
>         </xforms:model>
>     </xhtml:head>
>     <xhtml:body>
>         <xforms:group ref="instance('text')">
>             <xhtml:p>
>                 <xforms:select1 ref="user/body" appearance="full">
>                     <xforms:label class="fixed-width">Body:</xforms:label>
>                     <xforms:itemset nodeset="instance('data')/yesno/item">
>                         <xforms:label ref="label"/>
>                         <xforms:value ref="value"/>
>                     </xforms:itemset>
>             </xhtml:p>
>
>             <xhtml:p>
>                 <xforms:select1 ref="user/anotherbody2" appearance="full">
>                     <xforms:label class="fixed-width">Another
> Body2:</xforms:label>
>                     <xforms:itemset nodeset="instance('data')/yesno/item">
>                         <xforms:label ref="label"/>
>                         <xforms:value ref="value"/>
>                     </xforms:itemset>
>                 </xforms:select1>
>             </xhtml:p>
>         </xforms:group>
>     </xhtml:body>
> </xhtml:html>
>
> The instance is (once again only the relevant bits):
>
> <form>
>     <action/>
>     <user>
>         <body>yes</body>
>         <anotherbody2>yes</anotherbody2>
>     </user>
> </form>
>
> Is this a bug, or am I doing something wrong/missing something?
>
> Cheers,
>
> Alan
>
> <<initial_load.GIF>> <<after_value_change.GIF>>
>
>
> ------------------------------------------------------------------------
>
> <xhtml:html xsl:version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>     xmlns:xs="http://www.w3.org/2001/XMLSchema"
>     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:xi="http://www.w3.org/2001/XInclude"
>     xmlns:f="http://orbeon.org/oxf/xml/formatting"
>     xmlns:xhtml="http://www.w3.org/1999/xhtml">
>     <xhtml:head>
>         <xhtml:title>XForms Wizard - Step 1</xhtml:title>
>         <xforms:model id="main-model" xmlns:xforms="http://www.w3.org/2002/xforms">
>  
>             <xforms:instance id="text">
>                 <form>
>    <action/>
>    <user>
>    <body>no</body>
>    <anotherbody2>yes</anotherbody2>
>    </user>
> </form>
>             </xforms:instance>
>             <xforms:instance id="data">  
>                 <data>  
>                     <yesno>  
>                         <item>  
>                             <value>yes</value>
>                             <label>yes</label>  
>                         </item>  
>                         <item>  
>                             <value>no</value>
>                             <label>no</label>  
>                         </item>  
>                     </yesno>  
>                 </data>
>             </xforms:instance>
>
>             <xforms:bind nodeset="instance('text')/user/anotherbody2" relevant="if(instance('text')/user/body = 'no') then true() else false()"/>
>
>         </xforms:model>
>     </xhtml:head>
>     <xhtml:body>
>         <xforms:group ref="instance('text')">
>             <xhtml:p>
>                 <xforms:select1 ref="instance('text')/user/body" appearance="full">  
>                     <xforms:label class="fixed-width">Body:</xforms:label>
>                     <xforms:itemset nodeset="instance('data')/yesno/item">  
>                         <xforms:label ref="label"/>  
>                         <xforms:value ref="value"/>  
>                     </xforms:itemset>
> </xforms:select1>
>             </xhtml:p>
>
>             <xhtml:p>
>                 <xforms:select1 ref="instance('text')/user/anotherbody2" appearance="full">  
>                     <xforms:label class="fixed-width">Another Body2:</xforms:label>
>                     <xforms:itemset nodeset="instance('data')/yesno/item">  
>                         <xforms:label ref="label"/>  
>                         <xforms:value ref="value"/>  
>                     </xforms:itemset>  
>                 </xforms:select1>
>             </xhtml:p>
>         </xforms:group>
>     </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
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Readonly based on value of another control

Alessandro  Vernet
Administrator
In reply to this post by Erik Bruchez
This is now fixed. If you have a recent build, you can just replace in
your resource directory the xforms-style.js from one you get from an
"unstable build".

Alex

On 1/19/06, Erik Bruchez <[hidden email]> wrote:

> Alan,
>
> This looks like a bug:
>
> http://forge.objectweb.org/tracker/index.php?func=detail&aid=304533&group_id=168&atid=350207
>
> -Erik
>
> Alan Skorkin wrote:
> > Hi,
> >
> > I am currently, evaluating the costs for us to upgrade to OPS 3.0, (we
> > are currenly using 2.8), and I've run into the following problem.
> >
> > I need functionality whereby a control becomes readwrite or readonly
> > based on the value of another control. E.g. ther are two controls on the
> > page both are select1, both have two possible values (yes and no),
> > initially when the page loads the second select1 is readonly, and the
> > first one has a value of Yes, when the value of the first one is changed
> > to No by the user, I need the second control to become readwrite.
> > Unfortunately this doesn't quite work correctly in either IE6 or
> > Firefox. In IE6, the text for the control becomes enabled, while the
> > actual radio buttons don't (see attached screenshots), while in Firefox
> > it doesn't work at all.
> >
> > However if the second control starts out readwrite initially, everything
> > works fine in IE6, I can make it readonly and then put it back to
> > readwrite by selecting the Yes or No in the first select1 control. But
> > in Firefox this even this case doesn't work.
> >
> > My view looks something like this (I cut out the irrelevant bits):
> >
> > <xhtml:html xsl:version="2.0"
> > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> >     xmlns:xs="http://www.w3.org/2001/XMLSchema"
> >     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:xi="http://www.w3.org/2001/XInclude"
> >     xmlns:f="http://orbeon.org/oxf/xml/formatting"
> >     xmlns:xhtml="http://www.w3.org/1999/xhtml">
> >
> >     <xhtml:head>
> >         <xhtml:title>XForms Wizard - Step 1</xhtml:title>
> >         <xforms:model id="main-model"
> > xmlns:xforms="http://www.w3.org/2002/xforms">
> >
> >             <xforms:instance id="text">
> >                 <xi:include href="input:instance"/>
> >             </xforms:instance>
> >             <xforms:instance id="data">
> >                 <data>
> >                     <yesno>
> >                         <item>
> >                             <value>yes</value>
> >                             <label>yes</label>
> >                         </item>
> >                         <item>
> >                             <value>no</value>
> >                             <label>no</label>
> >                         </item>
> >                     </yesno>
> >                 </data>
> >             </xforms:instance>
> >
> >             <xforms:bind nodeset="instance('text')/user/anotherbody2"
> > readonly="instance('text')/user/body != 'no'"/>
> >
> >         </xforms:model>
> >     </xhtml:head>
> >     <xhtml:body>
> >         <xforms:group ref="instance('text')">
> >             <xhtml:p>
> >                 <xforms:select1 ref="user/body" appearance="full">
> >                     <xforms:label class="fixed-width">Body:</xforms:label>
> >                     <xforms:itemset nodeset="instance('data')/yesno/item">
> >                         <xforms:label ref="label"/>
> >                         <xforms:value ref="value"/>
> >                     </xforms:itemset>
> >             </xhtml:p>
> >
> >             <xhtml:p>
> >                 <xforms:select1 ref="user/anotherbody2" appearance="full">
> >                     <xforms:label class="fixed-width">Another
> > Body2:</xforms:label>
> >                     <xforms:itemset nodeset="instance('data')/yesno/item">
> >                         <xforms:label ref="label"/>
> >                         <xforms:value ref="value"/>
> >                     </xforms:itemset>
> >                 </xforms:select1>
> >             </xhtml:p>
> >         </xforms:group>
> >     </xhtml:body>
> > </xhtml:html>
> >
> > The instance is (once again only the relevant bits):
> >
> > <form>
> >     <action/>
> >     <user>
> >         <body>yes</body>
> >         <anotherbody2>yes</anotherbody2>
> >     </user>
> > </form>
> >
> > Is this a bug, or am I doing something wrong/missing something?
> >
> > Cheers,
> >
> > Alan
> >
> > <<initial_load.GIF>> <<after_value_change.GIF>>
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > --
> > 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
>
>
>

--
Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/



--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet