Problems with binds and labels

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

Problems with binds and labels

Ryan Puddephatt

Hi,

            I’ve found a problem when using the bind attribute rather than the ref attribute on controls. I have

 

<xforms:group>

  <xforms:label>Group Label</xforms:label>

  <xforms:input bind=”some-bind”>

    <xforms:label>Control Label</xforms:label>

  </xforms:input>

</xforms:group>

 

This gives me the following error

 

A sequence of more than one item is not allowed as the value of variable $label


If I remove one of the labels it works, but I can’t use them both together, I’ve also tried most of the controls, they all cause the error.

 

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 binds and labels

Alessandro  Vernet
Administrator
Hi Ryan,

I am not getting the exception, but the label for the input doesn't
show. I created a  bug for this:

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

Alex

On 4/15/06, Ryan Puddephatt <[hidden email]> wrote:

>
>
>
> Hi,
>
>             I've found a problem when using the bind attribute rather than
> the ref attribute on controls. I have
>
>
>
> <xforms:group>
>
>   <xforms:label>Group Label</xforms:label>
>
>   <xforms:input bind="some-bind">
>
>     <xforms:label>Control Label</xforms:label>
>
>   </xforms:input>
>
> </xforms:group>
>
>
>
> This gives me the following error
>
>
>
> A sequence of more than one item is not allowed as the value of variable
> $label
>
>
>  If I remove one of the labels it works, but I can't use them both together,
> I've also tried most of the controls, they all cause the error.
>
>
>
> 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
>
>
>

--
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 binds and labels

Erik Bruchez
Administrator
This bug is now fixed.

-Erik

Alessandro Vernet wrote:

> Hi Ryan,
>
> I am not getting the exception, but the label for the input doesn't
> show. I created a  bug for this:
>
> http://forge.objectweb.org/tracker/index.php?func=detail&aid=305091&group_id=168&atid=350207 
>
>
> Alex
>
> On 4/15/06, Ryan Puddephatt <[hidden email]> wrote:
>>
>>
>>
>> Hi,
>>
>>             I've found a problem when using the bind attribute rather
>> than
>> the ref attribute on controls. I have
>>
>>
>>
>> <xforms:group>
>>
>>   <xforms:label>Group Label</xforms:label>
>>
>>   <xforms:input bind="some-bind">
>>
>>     <xforms:label>Control Label</xforms:label>
>>
>>   </xforms:input>
>>
>> </xforms:group>
>>
>>
>>
>> This gives me the following error
>>
>>
>>
>> A sequence of more than one item is not allowed as the value of variable
>> $label
>>
>>
>>  If I remove one of the labels it works, but I can't use them both
>> together,
>> I've also tried most of the controls, they all cause the error.
>>
>>
>>
>> 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
--
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