Wrapping text for <fr:repeat> control header

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

Wrapping text for <fr:repeat> control header

JL
Hi Everyone. Is it possible to wrap text for control header as the image below? Thank you. Jon
Reply | Threaded
Open this post in threaded view
|

Re: Wrapping text for <fr:repeat> control header

Erik Bruchez
Administrator
In general, you can put literal HTML markup labels:


If the resources are not inline but come from an instance:

<xforms:label ref="$form-resources/plate-number/label"/>

To get HTML out, you would have to to something like this:

<xforms:label><xforms:output mediatype="text/html" ref="$form-resources/plate-number/label"/></xforms:label>

where the resource contains serialized HTML, e.g.:

<label>Foo&lt;br/>Bar</label>

BTW I just fixed a bug whereby 2 <br> were present in the HTML:


-Erik

On Tue, Oct 12, 2010 at 1:23 PM, JL <[hidden email]> wrote:
Hi Everyone. Is it possible to wrap text for control header as the image below? Thank you. Jon

View this message in context: Wrapping text for control header
Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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
OW2 mailing lists service home page: http://www.ow2.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
OW2 mailing lists service home page: http://www.ow2.org/wws
JL
Reply | Threaded
Open this post in threaded view
|

Re: Wrapping text for <fr:repeat> control header

JL
Thank you for the prompt response, Erik. It works like a charm.

BTW, Is there any way to merge two labels into one?

Thanks,

Jon
Reply | Threaded
Open this post in threaded view
|

Re: Re: Wrapping text for <fr:repeat> control header

Erik Bruchez
Administrator
> Thank you for the prompt response, Erik. It works like a charm.
>
> BTW, Is there any way to merge two labels into one?

Not sure I understand: could you please provide an example?

-Erik

>
> Thanks,
>
> Jon
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Wrapping-text-for-fr-repeat-control-header-tp2992675p2993822.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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
> OW2 mailing lists service home page: http://www.ow2.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
OW2 mailing lists service home page: http://www.ow2.org/wws
JL
Reply | Threaded
Open this post in threaded view
|

Re: Re: Wrapping text for <fr:repeat> control header

JL
Here is a example as image below. I hope it make sense. Thanks, Jon
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Wrapping text for <fr:repeat> control header

Erik Bruchez
Administrator
I see. Currently this is not supported. You would have to figure out the syntax to enable this, and then modify:


-Erik

On Thu, Oct 14, 2010 at 7:55 AM, JL <[hidden email]> wrote:
Here is a example as image below. I hope it make sense. Thanks, Jon

View this message in context: Re: Re: Wrapping text for control header

Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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
OW2 mailing lists service home page: http://www.ow2.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
OW2 mailing lists service home page: http://www.ow2.org/wws