You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Enrico De Benetti <de...@gmail.com> on 2007/06/25 16:32:41 UTC
Tomahawk 1.1.5 inputCalendar imageLocation tag seem doesn't work!!!
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
Re: Tomahawk 1.1.5 inputCalendar imageLocation tag seem doesn't work!!!
Posted by Werner Punz <we...@gmail.com>.
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
>
>
Re: Tomahawk 1.1.5 inputCalendar imageLocation tag seem doesn't work!!!
Posted by Enrico De Benetti <de...@gmail.com>.
No i tried also without '..' and it doesn't work.
On 6/25/07, Bruno Aranda <br...@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 <de...@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
>
Re: Tomahawk 1.1.5 inputCalendar imageLocation tag seem doesn't work!!!
Posted by Bruno Aranda <br...@gmail.com>.
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 <de...@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