Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: [OT] [S2] Dojo date-picker net/prev arrows?

Musachy Barroso

2007-03-07

Replies:

There is a semi-trivial way. This is the template used by dojo to build the
html for the widget:

http://svn.apache.org/viewvc/struts/struts2/tags/STRUTS_2_0_6/core/src/main/resources/org/apache/struts2/static/dojo/src/widget/templates/DatePicker.html?view=markup

and this is the css:

http://svn.apache.org/viewvc/struts/struts2/tags/STRUTS_2_0_6/core/src/main/resources/org/apache/struts2/static/dojo/src/widget/templates/DatePicker.css?view=markup

The widget has properties to specify custom template and css paths, so you
can modify them

regards
musachy

On 3/7/07, Dave Newton <newton.dave@(protected):
>
> Is there a trivial way to minorly reformat the dojo
> datepicker?
>
> I really *hate* the up/down arrows for choosing
> next/prev month/year; I'd much rather use left/right
> arrows, which I believe makes a lot more sense. "Down"
> means "higher month value?"
>
> Meh.
>
> d.
>
>
>
>
>
> ____________________________________________________________________________________
> It's here! Your new message!
> Get new email alerts with the free Yahoo! Toolbar.
> http://tools.search.yahoo.com/toolbar/features/mail/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>


--
"Hey you! Would you help me to carry the stone?" Pink Floyd
©2008 junlu.com - Jax Systems, LLC, U.S.A.