On 9/29/01 6:05 PM, "Dan Bachelder" <[EMAIL PROTECTED]> wrote:

>>> 
> http://127.0.0.1:80C:\dev\tdk\webapps\law//resources/ui/skins/default/images
>>> /yo
>>>> 
>>>> Oops, that's my fault I'll fix that I used the application root instead
> of
>>>> the context path there.
>>> 
>>> It looks like contextpath is being used now...
>> 
>> What do you mean being used now? It has always been used.
> 
> Oh... that is not what i inferred from the "oops" line above...
> 
>>> but what is needed is
>>> scriptname...
>> 
>> No the script name is not what's needed.
> 
> right... i need the webapp name (is that the context path?)... sorry..
> 
>> if id = logo.gif in your skin.props file than
>> 
>> $image.id
>> 
>> Should render to:
>> 
>> http://host:port/<contextpath>/resources/ui/skins/default/images/logo.gif
> 
> $ui.image("$ui.id")
> 
> renders to
> 
> http://127.0.0.1:80C:\dev\tdk\webapps\law//resources/ui/skins/default/images
> /logo.gif
> 
>> I think the getContextPath() is pulling up the getScriptName(). I
> mentioned
>> this the last time you asked and I said I would fix it but I forgot. I'll
>> take a look at it now.
> 
> okay... i assume this will fix the above... I made a change in my UIManager
> to fix it for now...
> why hasn't this broken anyone elses code i wonder? am i not using this
> correctly?

Are you using CVS code? I think it's busted in there.

In tambora we use $ui.image($ui.logo, $data) which is probably why
I never noticed the problem.
 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to