tapestry-user@jakarta.apache.org
[Top] [All Lists]

Sitemesh Tapestry

Subject: Sitemesh Tapestry
From: "Naveen Nagulapally"
Date: Wed, 20 Apr 2005 12:20:30 -0700
Hi Erik,

I am trying to use tapestry sitemesh integration that you provided. It works
pretty well, unfortunately, I have a problem.

I configured sitemesh to use the decorator that you have designed.

 

If I go to myJSP.jsp,

Address: http://localhost:8080/myApp/myJSP.jsp

 

The decorator is applied but all the other URLs generated by tapestry
components reference to myJSP.jsp rather than /app

Example,

1.      The url referencing any image is :
http://localhost:8080/myJSP.jsp?service= asset amp
sp=S%2Fimages%2Ffolder-closed.gif amp sp=S47614fcee6bd1c46b4ef12eab4896642 

Instead of

http://localhost:8080/app?service=asset
<http://localhost:8080/app?service=asset&sp=S%2Fimages%2Ffolder-closed.gif&s
p=S47614fcee6bd1c46b4ef12eab4896642>
&sp=S%2Fimages%2Ffolder-closed.gif&sp=S47614fcee6bd1c46b4ef12eab4896642

 

As you can  see, the request URL is myJSP,so url generated is wrong.

What would be the easiest way to change this.


Thanks,

Naveen.

 

<Prev in Thread] Current Thread [Next in Thread>