You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Werner Punz <we...@gmail.com> on 2008/01/29 19:17:42 UTC

Re: Tomahawk 1.1.5 inputCalendar imageLocation tag seem doesn't work!!!

Ok since I was investigating again into this
for a few hours today due to a bug reported, this thread
is rather old, but to keep things documented.

The image location property now works fine
(1.1.6 and trunk)
there however is one instance where it still can fail.
If you use t:inputCalendar with facelets
imageLocation is somewhat different to other property values

to make it work either use:
org.apache.myfaces.IMAGE_LOCATION as attribute instead of imageLocation

or use

a custom tag handler like the one I dropped today
into the tomahawk facelets page in the wiki.

This information applies to all components which use
internal mappings like imageLocation, styleLocation, etc...

Werner





Enrico De Benetti schrieb:
> No i tried also without  '..' and it doesn't work.
> 
> On 6/25/07, *Bruno Aranda* <brunoaranda@gmail.com 
> <ma...@gmail.com>> wrote:
> 
>     Is there a reason why the imageLocation has ".." in front of the URL,
>     whereas styleLocation and javascriptLocation don't?
> 
>     Cheers,
> 
>     Bruno
> 
>     On 25/06/07, Enrico De Benetti <debe78@gmail.com
>     <ma...@gmail.com>> wrote:
>      > Hi
>      > I'm using Tomahawk 1.1.5 inputCalendar tag; i created a folder in
>     wich i
>      > put:
>      > close,gif, date.js, divider,gif, drop1.gif, drop2.gif,
>     left1,gif,left1.gif,
>      > left2.gif, popcalendar.js, protoype.js,  right1.gif , rigth2.gif
>     , theme.css.
>      >
>      > I wrote te inputCalendar like this:
>      >  <t:inputCalendar
>      >                popupTheme="ThemeTest"
>      >                styleLocation="/inputCalendar/ThemeTest"
>      >
>      > javascriptLocation="/inputCalendar/ThemeTest"
>      >                imageLocation="../inputCalendar/ThemeTest"
>      >                monthYearRowClass="menuBackground"
>      >                weekRowClass="menuBackground"
>      >                currentDayCellClass="menuBackground"
>      >                styleClass="inputControl" style="width: 85%;"
>      >
>      > value="#{listaTracciamentoOrdiniSessionInfo.dataConsegnaPo }"
>      >                renderAsPopup="true"
>      >            ecc.
>      >
>      > and the styleLocation  and the javascriptLocation run OK, but the
>      > imageLoocation, does,t work.
>      > Thanks
>      > Enrico
> 
>