On Jan 24, 2008 4:52 PM, Kevin Menard <[EMAIL PROTECTED]> wrote:
> I like writing emails to the list, because most times 30 seconds after I do,
> I come up with the solution.
>
> Anyway, for those interested, the answer was to just include the text in the
> body of the Label component.  Wrapping that up in an OutputRaw did the
> trick.

Well, I did only write that code this morning ...

>
> --
> Kevin
>
>
> On 1/24/08 7:43 PM, in article [EMAIL PROTECTED], "Kevin
>
> Menard" <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > I've had the need to convert newlines into <br/> tags, much like the T4
> > Insert component can.  I needed to do this in a label for a radio button, so
> > I decided to write a new binding that will do the conversion for me.  This
> > portion works fine and I can bind the value to the label parameter of the
> > radio.  The problem I'm running into is that the Radio component uses
> > write() rather than writeRaw(), which means my translated string still
> > doesn't render correctly.
> >
> > Is there a straightforward way to workaround things like this?  It's come up
> > a few times before as well, where I needed to output raw but the component
> > doesn't do so.
> >
> > The obvious solution is to write my own Label component, but this strikes me
> > as something that might be configurable somehow.
> >
> > Any help would be appreciated.
> >
> > Thanks,
> > Kevin
> >
> > Kevin Menard
> > Servprise International, Inc.
> > +1 508.892.3823 x308
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> ---------------------------------------------------------------------
> 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