Hi,
I'm using a tr:commandNavigationItem with the icon attribute. It seems that
the tag render code always prefixes the path to the image with the path of
the web module. Is there a way to specify the path so that it does not get
prefixed with the module path?

Ex. If my Root Context of my web application is "appj/myApp" and my jspx
file contains this:
<tr:commandNavigationItem icon="/components/images/myImage.gif"...../>

The image path gets rendered as
<img src="/appj/myApp/components/images/myImage.gif".../>

This does not work in my production environment because we split off the
static content from the dynamic content so that it can be served from a web
server. What I would like to do is to have the path that is used for the
icon be unmodified when it is rendered. The tr:image tag also exhibits the
same behavior. In that case I am able to use this instead
  <f:verbatim>
    <img src="/myApp/components/images/myImage.gif".../>
  </f:verbatim>

Obviously, this does not work with the tr:commandNavigationItem.

Thanks for any help in advance.

Richard

Reply via email to