Can't quite think of anything right now... but tacos-snapshot of 4.1 has an absoluteAsset binding prefix which makes sure the url that the asset produces will be an absolute one (assuming that you're looking for a quick workaround)
On Dec 6, 2007 11:57 PM, Chris Chiappone <[EMAIL PROTECTED]> wrote: > Anyone have any idea on this. It is utterly annoying to have to hard > code the Context in the page spec. > > > On Dec 5, 2007 10:13 AM, Chris Chiappone <[EMAIL PROTECTED]> wrote: > > I have an assets defined in my page spec as follows: > > > > <asset name="deleteDisImg" path="/images/delete_dis.gif"/> > > <asset name="msi" path="/installer/agent_setup.msi"/> > > > > The images seem to be using the correct context (/esp) as the source output > > is: > > > > <span> > > <img src="/esp/images/delete.gif" border="0" /> > > </span> > > > > The msi though comes out like this: > > > > <button type="button" > > onclick="window.location='/installer/agent_setup.msi'" id="dlButton"> > > Download > > </button> > > > > which does not include the context of /esp > > > > Does anyone know why this may be? > > > > Thanks, > > > > -- > > ~chris > > > > > > -- > ~chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr Tapestry / Tacos developer Open Source / JEE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]