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* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 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 <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>> 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



Reply via email to