I am currently using the tomahawk inputDate (I believe it internally uses
the inputCalendar or something similar).  I can change the locale of the
calendar to Chinese just by changing the locale of the browser language
setting.

Give that a shot it might work for the inputCalendar too.  When I looked in
the code I believe it is getting the locale value from the UIViewRoot - so
you should be able to override that programmatically too.  You can also pass
in the timezone to use as well.

-Jay

On 1/25/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote:

I'm surprised that the style only applied to the inputText part.
Glad to hear it worked for you, though.

This url gives a list of all attributes for inputCalendar.   There are
a number of ones for internationalization, although I don't see the
ones for month and day.   There's also one for imageLocation.

http://myfaces.apache.org/tomahawk/tlddoc/t/inputCalendar.html


On 1/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Thank you for the solution; style="display:none" worked.
>
> Going to be demanding now...
>
> I noticed that the JS code generated creates arrays with English words
> for days and months (Monday, etc. and January, etc.).  Is there a way to
> internationalize this?
>
> Also, is there a way to change the imgDir variable so I can set my own
> image to use?
>
> Thanks a bunch!
>
> ----- Original Message -----
> From: Mike Kienenberger <[EMAIL PROTECTED]>
> Date: Thursday, January 25, 2007 12:14 pm
> Subject: Re: removing inputText when using inputCalendar
> To: MyFaces Discussion <[email protected]>
>
> > I don't think there is a way to do this yet.  It'd be a good
> > improvement.   Add an attribute (inputTextRendered=false?) and create
> > a patch.
> >
> > Another possiblity would be "inputTextStyle" -- then you could
> > probably use inputTextStyle="display:none"
> >
> > On 1/25/07, Josué Alcalde González <[EMAIL PROTECTED]> wrote:
> > > El jue, 25-01-2007 a las 10:04 -0600, [EMAIL PROTECTED]
> > escribió:> > Is there anyway to not have the inputText when using
> > the inputCalendar
> > > > tag?  I am setting the renderPopupButtonAsImage to true, but
> > dont want
> > > > to show the inputText box.
> > >
> > > style="display:none"
> > > --
> > > _______________________________________________
> > > Josué Alcalde Gon?alez
> > > [EMAIL PROTECTED]
> > > Dpto. Desarrollo
> > >
> > > CSA - Centro Regional de Servicios Avanzados
> > > C/ López Bravo, 1
> > > Pol. Ind. Villalonquéjar (Burgos)
> > >
> > > Tel. (+34) 947 256 250
> > > Fax. (+34) 947 256 583
> > >
> > > Web: http://www.csa.es
> > >
> > >
> > >
> >
>

Reply via email to