Problems with select in repeat

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

Problems with select in repeat

Ryan Puddephatt

Hi All,

I have the following attached code, which goes through all my <display> elements and creates a checkbox, I’ve used an <xforms:repeat> instead of the <xforms:itemset> because I need the values stored in separate elements rather than concatenated in one element. The attached doesn’t work in the sandbox, is it a bug?

 

Thanks

 

Ryan

 

Ryan Puddephatt

Software Engineer

TFX Group - IT UK

1 Michaelson Square

Livingston

West Lothian

Scotand

EH54 7DP

 

* [hidden email]

( 01506 407 110

7  01506 407 108

 

 



--
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: Problems with select in repeat

Erik Bruchez
Administrator
Ryan,

I think you forgot the attachment ;-)

-Erik

Ryan Puddephatt wrote:

> Hi All,
>
> I have the following attached code, which goes through all my <display>
> elements and creates a checkbox, I’ve used an <xforms:repeat> instead of
> the <xforms:itemset> because I need the values stored in separate
> elements rather than concatenated in one element. The attached doesn’t
> work in the sandbox, is it a bug?
>
>  
>
> Thanks
>
>  
>
> Ryan
>
>  
>
> *Ryan Puddephatt*
>
> Software Engineer
>
> TFX Group - IT UK
>
> 1 Michaelson Square
>
> Livingston
>
> West Lothian
>
> Scotand
>
> EH54 7DP
>
>  
>
> * [hidden email]
>
> ( 01506 407 110
>
> 7  01506 407 108
>
>  
>
>  
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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

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

RE: Problems with select in repeat

Ryan Puddephatt
Sorry, I've attached it

Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

>-----Original Message-----
>From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
>Sent: 05 July 2006 15:17
>To: [hidden email]
>Subject: Re: [ops-users] Problems with select in repeat
>
>Ryan,
>
>I think you forgot the attachment ;-)
>
>-Erik
>
>Ryan Puddephatt wrote:
>> Hi All,
>>
>> I have the following attached code, which goes through all my <display>
>> elements and creates a checkbox, I've used an <xforms:repeat> instead of
>> the <xforms:itemset> because I need the values stored in separate
>> elements rather than concatenated in one element. The attached doesn't
>> work in the sandbox, is it a bug?
>>
>>
>>
>> Thanks
>>
>>
>>
>> Ryan
>>
>>
>>
>> *Ryan Puddephatt*
>>
>> Software Engineer
>>
>> TFX Group - IT UK
>>
>> 1 Michaelson Square
>>
>> Livingston
>>
>> West Lothian
>>
>> Scotand
>>
>> EH54 7DP
>>
>>
>>
>> * [hidden email]
>>
>> ( 01506 407 110
>>
>> 7  01506 407 108
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> --
>> 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
>
>
>--
>Orbeon - XForms Everywhere:
>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

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

Re: Problems with select in repeat

Alessandro  Vernet
Administrator
Hi Ryan,

I was able to reproduce this. You can track this at the URL below.
This looks like a fairly simple case and it may be a regression. So I
think Erik will be looking at this soon.

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

Alex

On 7/5/06, Ryan Puddephatt <[hidden email]> wrote:

> Sorry, I've attached it
>
> Ryan Puddephatt
> Software Engineer
> TFX Group - IT UK
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotand
> EH54 7DP
>
> * [hidden email]
> ( 01506 407 110
> 7  01506 407 108
>
> >-----Original Message-----
> >From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
> >Sent: 05 July 2006 15:17
> >To: [hidden email]
> >Subject: Re: [ops-users] Problems with select in repeat
> >
> >Ryan,
> >
> >I think you forgot the attachment ;-)
> >
> >-Erik
> >
> >Ryan Puddephatt wrote:
> >> Hi All,
> >>
> >> I have the following attached code, which goes through all my <display>
> >> elements and creates a checkbox, I've used an <xforms:repeat> instead of
> >> the <xforms:itemset> because I need the values stored in separate
> >> elements rather than concatenated in one element. The attached doesn't
> >> work in the sandbox, is it a bug?
> >>
> >>
> >>
> >> Thanks
> >>
> >>
> >>
> >> Ryan
> >>
> >>
> >>
> >> *Ryan Puddephatt*
> >>
> >> Software Engineer
> >>
> >> TFX Group - IT UK
> >>
> >> 1 Michaelson Square
> >>
> >> Livingston
> >>
> >> West Lothian
> >>
> >> Scotand
> >>
> >> EH54 7DP
> >>
> >>
> >>
> >> * [hidden email]
> >>
> >> ( 01506 407 110
> >>
> >> 7  01506 407 108
> >>
> >>
> >>
> >>
> >>
> >>
> >> ------------------------------------------------------------------------
> >>
> >>
> >> --
> >> 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
> >
> >
> >--
> >Orbeon - XForms Everywhere:
> >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
>
>
>
>

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

Re: Problems with select in repeat

Erik Bruchez
Administrator
All,

This is a bug (i.e. the XForms engine shouldn't fail when encountering
this), but note that this is caused by the fact that you have
xforms:label as a child of xforms:repeat. If I read correctly the XForms
schema, this is not allowed:

http://www.w3.org/MarkUp/Forms/2002/XForms-Schema.xsd

-Erik

Alessandro Vernet wrote:

> Hi Ryan,
>
> I was able to reproduce this. You can track this at the URL below.
> This looks like a fairly simple case and it may be a regression. So I
> think Erik will be looking at this soon.
>
> http://forge.objectweb.org/tracker/index.php?func=detail&aid=305650&group_id=168&atid=350207 
>
>
> Alex
>
> On 7/5/06, Ryan Puddephatt <[hidden email]> wrote:
>> Sorry, I've attached it
>>
>> Ryan Puddephatt
>> Software Engineer
>> TFX Group - IT UK
>> 1 Michaelson Square
>> Livingston
>> West Lothian
>> Scotand
>> EH54 7DP
>>
>> * [hidden email]
>> ( 01506 407 110
>> 7  01506 407 108
>>
>> >-----Original Message-----
>> >From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
>> >Sent: 05 July 2006 15:17
>> >To: [hidden email]
>> >Subject: Re: [ops-users] Problems with select in repeat
>> >
>> >Ryan,
>> >
>> >I think you forgot the attachment ;-)
>> >
>> >-Erik
>> >
>> >Ryan Puddephatt wrote:
>> >> Hi All,
>> >>
>> >> I have the following attached code, which goes through all my
>> <display>
>> >> elements and creates a checkbox, I've used an <xforms:repeat>
>> instead of
>> >> the <xforms:itemset> because I need the values stored in separate
>> >> elements rather than concatenated in one element. The attached doesn't
>> >> work in the sandbox, is it a bug?
>> >>
>> >>
>> >>
>> >> Thanks
>> >>
>> >>
>> >>
>> >> Ryan
>> >>
>> >>
>> >>
>> >> *Ryan Puddephatt*
>> >>
>> >> Software Engineer
>> >>
>> >> TFX Group - IT UK
>> >>
>> >> 1 Michaelson Square
>> >>
>> >> Livingston
>> >>
>> >> West Lothian
>> >>
>> >> Scotand
>> >>
>> >> EH54 7DP
>> >>
>> >>
>> >>
>> >> * [hidden email]
>> >>
>> >> ( 01506 407 110
>> >>
>> >> 7  01506 407 108
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> ------------------------------------------------------------------------
>> >>
>> >>
>> >> --
>> >> 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
>> >
>> >
>> >--
>> >Orbeon - XForms Everywhere:
>> >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
>>
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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

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

RE: Problems with select in repeat

Ryan Puddephatt
Thanks Erik, I think I originally had this as a child of a group, but I
guess this got mixed up when I added a repeat, my example works when I
remove the xforms:label

Ryan

Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

>-----Original Message-----
>From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
>Sent: 06 July 2006 10:18
>To: [hidden email]
>Subject: Re: [ops-users] Problems with select in repeat
>
>All,
>
>This is a bug (i.e. the XForms engine shouldn't fail when encountering
>this), but note that this is caused by the fact that you have
>xforms:label as a child of xforms:repeat. If I read correctly the XForms
>schema, this is not allowed:
>
>http://www.w3.org/MarkUp/Forms/2002/XForms-Schema.xsd
>
>-Erik
>
>Alessandro Vernet wrote:
>> Hi Ryan,
>>
>> I was able to reproduce this. You can track this at the URL below.
>> This looks like a fairly simple case and it may be a regression. So I
>> think Erik will be looking at this soon.
>>
>>
>http://forge.objectweb.org/tracker/index.php?func=detail&aid=305650&group_i
>d=168&atid=350207
>>
>>
>> Alex
>>
>> On 7/5/06, Ryan Puddephatt <[hidden email]> wrote:
>>> Sorry, I've attached it
>>>
>>> Ryan Puddephatt
>>> Software Engineer
>>> TFX Group - IT UK
>>> 1 Michaelson Square
>>> Livingston
>>> West Lothian
>>> Scotand
>>> EH54 7DP
>>>
>>> * [hidden email]
>>> ( 01506 407 110
>>> 7  01506 407 108
>>>
>>> >-----Original Message-----
>>> >From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik
>Bruchez
>>> >Sent: 05 July 2006 15:17
>>> >To: [hidden email]
>>> >Subject: Re: [ops-users] Problems with select in repeat
>>> >
>>> >Ryan,
>>> >
>>> >I think you forgot the attachment ;-)
>>> >
>>> >-Erik
>>> >
>>> >Ryan Puddephatt wrote:
>>> >> Hi All,
>>> >>
>>> >> I have the following attached code, which goes through all my
>>> <display>
>>> >> elements and creates a checkbox, I've used an <xforms:repeat>
>>> instead of
>>> >> the <xforms:itemset> because I need the values stored in separate
>>> >> elements rather than concatenated in one element. The attached
>doesn't
>>> >> work in the sandbox, is it a bug?
>>> >>
>>> >>
>>> >>
>>> >> Thanks
>>> >>
>>> >>
>>> >>
>>> >> Ryan
>>> >>
>>> >>
>>> >>
>>> >> *Ryan Puddephatt*
>>> >>
>>> >> Software Engineer
>>> >>
>>> >> TFX Group - IT UK
>>> >>
>>> >> 1 Michaelson Square
>>> >>
>>> >> Livingston
>>> >>
>>> >> West Lothian
>>> >>
>>> >> Scotand
>>> >>
>>> >> EH54 7DP
>>> >>
>>> >>
>>> >>
>>> >> * [hidden email]
>>> >>
>>> >> ( 01506 407 110
>>> >>
>>> >> 7  01506 407 108
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> ------------------------------------------------------------------------
>>> >>
>>> >>
>>> >> --
>>> >> 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
>>> >
>>> >
>>> >--
>>> >Orbeon - XForms Everywhere:
>>> >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
>>>
>>>
>>>
>>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> --
>> 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
>
>
>--
>Orbeon - XForms Everywhere:
>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
Reply | Threaded
Open this post in threaded view
|

Re: Problems with select in repeat

Erik Bruchez
Administrator
The bug is now fixed. This should also take care of possible issues with
having xforms:label as a child of xforms:case (which is allowed).

-Erik

Ryan Puddephatt wrote:

> Thanks Erik, I think I originally had this as a child of a group, but I
> guess this got mixed up when I added a repeat, my example works when I
> remove the xforms:label
>
> Ryan
>
> Ryan Puddephatt
> Software Engineer
> TFX Group - IT UK
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotand
> EH54 7DP
>  
> * [hidden email]
> ( 01506 407 110
> 7  01506 407 108
>  
>> -----Original Message-----
>> From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
>> Sent: 06 July 2006 10:18
>> To: [hidden email]
>> Subject: Re: [ops-users] Problems with select in repeat
>>
>> All,
>>
>> This is a bug (i.e. the XForms engine shouldn't fail when encountering
>> this), but note that this is caused by the fact that you have
>> xforms:label as a child of xforms:repeat. If I read correctly the XForms
>> schema, this is not allowed:
>>
>> http://www.w3.org/MarkUp/Forms/2002/XForms-Schema.xsd
>>
>> -Erik
>>
>> Alessandro Vernet wrote:
>>> Hi Ryan,
>>>
>>> I was able to reproduce this. You can track this at the URL below.
>>> This looks like a fairly simple case and it may be a regression. So I
>>> think Erik will be looking at this soon.
>>>
>>>
>> http://forge.objectweb.org/tracker/index.php?func=detail&aid=305650&group_i
>> d=168&atid=350207
>>>
>>> Alex
>>>
>>> On 7/5/06, Ryan Puddephatt <[hidden email]> wrote:
>>>> Sorry, I've attached it
>>>>
>>>> Ryan Puddephatt
>>>> Software Engineer
>>>> TFX Group - IT UK
>>>> 1 Michaelson Square
>>>> Livingston
>>>> West Lothian
>>>> Scotand
>>>> EH54 7DP
>>>>
>>>> * [hidden email]
>>>> ( 01506 407 110
>>>> 7  01506 407 108
>>>>
>>>>> -----Original Message-----
>>>>> From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik
>> Bruchez
>>>>> Sent: 05 July 2006 15:17
>>>>> To: [hidden email]
>>>>> Subject: Re: [ops-users] Problems with select in repeat
>>>>>
>>>>> Ryan,
>>>>>
>>>>> I think you forgot the attachment ;-)
>>>>>
>>>>> -Erik
>>>>>
>>>>> Ryan Puddephatt wrote:
>>>>>> Hi All,
>>>>>>
>>>>>> I have the following attached code, which goes through all my
>>>> <display>
>>>>>> elements and creates a checkbox, I've used an <xforms:repeat>
>>>> instead of
>>>>>> the <xforms:itemset> because I need the values stored in separate
>>>>>> elements rather than concatenated in one element. The attached
>> doesn't
>>>>>> work in the sandbox, is it a bug?
>>>>>>
>>>>>>
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>>
>>>>>>
>>>>>> Ryan
>>>>>>
>>>>>>
>>>>>>
>>>>>> *Ryan Puddephatt*
>>>>>>
>>>>>> Software Engineer
>>>>>>
>>>>>> TFX Group - IT UK
>>>>>>
>>>>>> 1 Michaelson Square
>>>>>>
>>>>>> Livingston
>>>>>>
>>>>>> West Lothian
>>>>>>
>>>>>> Scotand
>>>>>>
>>>>>> EH54 7DP
>>>>>>
>>>>>>
>>>>>>
>>>>>> * [hidden email]
>>>>>>
>>>>>> ( 01506 407 110
>>>>>>
>>>>>> 7  01506 407 108
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>> --
>>>>>> 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
>>>>>
>>>>> --
>>>>> Orbeon - XForms Everywhere:
>>>>> 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
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> --
>>> 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
>>
>> --
>> Orbeon - XForms Everywhere:
>> 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

--
Orbeon - XForms Everywhere:
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