How to do HTML formatting in Text Output control of builder?

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

How to do HTML formatting in Text Output control of builder?

Kamlesh
Hi,

This sounds a very simple question, still I am stuck in it :(
How can I format a text which I am entering in the Text Output control of
Orbeon Form Builder.
For example if I want to achieve something like below:
<B>Message in Bold</B><BR/><U>Underlined message in new line</U>

How can I do this?

- Kamlesh


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

Re: How to do HTML formatting in Text Output control of builder?

Hank Ratzesberger
Kamlesh,

If your content IS html, then you can instruct the engine
to render it as html using the mediatype attribute
(which also works for images, i.e., image/*)

<output mediatype="text/html">

If the content is text, I believe you can apply a CSS
class style to the whole thing, class="myclass" as class
and style attributes are passed along to the content.

http://www.orbeon.com/blog/2008/04/14/image-display-and-upload-with- 
xforms-11/

Cheers,
Hank


On May 5, 2009, at 11:15 PM, <[hidden email]> wrote:

> Hi,
>
> This sounds a very simple question, still I am stuck in it :(
> How can I format a text which I am entering in the Text Output  
> control of
> Orbeon Form Builder.
> For example if I want to achieve something like below:
> <B>Message in Bold</B><BR/><U>Underlined message in new line</U>
>
> How can I do this?
>
> - Kamlesh
>
> --
> 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
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







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