You can easily write a component to handle this task; something based
on OutputText, but using a different Regexp to determine where a
paragraph ends.

On Feb 4, 2008 8:18 PM, Mark W. Shead <[EMAIL PROTECTED]> wrote:
> I have a textarea field that users may enter multiple paragraphs.
> Paragraphs are separated by two carriage returns.  Obviously when I
> show the contents in HTML the paragraphs don't show up.
>
> I'm sure  can also do some type of regex to add <p/> at the end of
> each line and package it into my own component.
>
> Is there another way of doing this using existing components that I'm
> overlooking.  I
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to