Create your own IOptionRenderer
that uses printRaw to output the values....

See
https://svn.apache.org/repos/asf/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/DefaultOptionRenderer.java

On 9/21/07, manugarciac <[EMAIL PROTECTED]> wrote:
>
>
> I have a big select with several elements. I'm showing them in the select
> with this method:
>
>         public String getIndentedDescription(){
>                 String indentation = "";
>                 for(int i=0; i<this.levels; i++){
>                         indentation += "\t";
>                 }
>                 return indentation + this.description;
>         }
>
>
> But even though the HTML source has the tabulations, I only see one space
> (because HTML ignores spaces). I tried replacing the "\t" with some
> "&nbsp;"s, but the "&" changes to its code so I end up seeing
> "&nbsp;" inside the select, not int the source as intended...
> --
> View this message in context:
> http://www.nabble.com/Need-to-tabulate-something-inside-a-select-tf4497817.html#a12827342
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

Reply via email to