> > It looks good so far... some slight issues perhaps... in my Index.vm
> >
> > $ui.image("yo")
> >
> > renders to
> >
> >
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... but what is needed is
scriptname... unless I am just plain using this wrong... where can I get
that from in UIManager? it is not on TurbineServlet in CVS... Are people
using $ui.image?
public String image(String imageId)
{
StringBuffer sb = new StringBuffer();
sb.append(TurbineServlet.getServerScheme()).
append("://").
append(TurbineServlet.getServerName()).
append(":").
append(TurbineServlet.getServerPort()).
append(TurbineServlet.getContextPath()).
append("/").
append(resourcesDirectory).
append(SKINS_DIRECTORY).
append("/").
append(getSkin()).
append(IMAGES_DIRECTORY).
append("/").
append(imageId);
return sb.toString();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]