You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Pedro Herrera <pe...@hotmail.com> on 2007/02/22 12:20:13 UTC

Re: [S2] [s2] autocompleter

look at struts2-showcase.war , there´re several examples about that.

Herrera



Ron Chan wrote:
> 
> where can I set the font of the dropdown list for the autocompleter?
> 
> thanks
> Ron
> 
> 

-- 
View this message in context: http://www.nabble.com/-s2--autocompleter-tf3271959.html#a9098123
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: [S2] [s2] autocompleter

Posted by Musachy Barroso <mu...@gmail.com>.
That's going to be a little tricky, there is a templateCssPath attribute
that you can specify, and Dojo will use it for the style of the
autocompleter. On the generated html, look at the "class" attributes of the
autocompleter, and create a css file with all the required styles, and
modify the one that you want to change.

regards

On 2/22/07, Ron Chan <rc...@i-tao.com> wrote:
>
>
> I'm using the code I copied from the showcase
> it doesn't set the font of the dropdown in any of the examples
> i would like to set it to monospace so that I can simulate a table with 2
> columns in the dropdown
>
> thanks
> Ron
>
>
>
> Pedro Herrera wrote:
> >
> > look at struts2-showcase.war , there´re several examples about that.
> >
> > Herrera
> >
> >
> >
> > Ron Chan wrote:
> >>
> >> where can I set the font of the dropdown list for the autocompleter?
> >>
> >> thanks
> >> Ron
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/-s2--autocompleter-tf3271959.html#a9098391
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

Re: [S2] [s2] autocompleter

Posted by Ron Chan <rc...@i-tao.com>.
I'm using the code I copied from the showcase
it doesn't set the font of the dropdown in any of the examples
i would like to set it to monospace so that I can simulate a table with 2
columns in the dropdown

thanks
Ron



Pedro Herrera wrote:
> 
> look at struts2-showcase.war , there´re several examples about that.
> 
> Herrera
> 
> 
> 
> Ron Chan wrote:
>> 
>> where can I set the font of the dropdown list for the autocompleter?
>> 
>> thanks
>> Ron
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-s2--autocompleter-tf3271959.html#a9098391
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org