This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to add URL in Tile defination?

 
ujjval pandya
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am using Tiles framework.
I want to give Absolute URL to tile defination.
But it is alwayes taking relatiove path to the cuurent project even thought i have specified the absolute path.
Can you please help me ? its urgent....

i use the following statment.....

<definition name="sitestruts.index.page" extends="main.layout" >
<put name="title" value="Struts" />
<put name="body" type="page" value="..//10.76.177.67:17199/classic_layout/" type="page"/>
</definition>
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, but all includes in tiles definition have to be from the current web app. The reason for this is that tiles uses the dispatcher's include method, which can only act on resources within the web app.
 
ujjval pandya
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so do i have to always add all the files in one prj?
i wanna keep seperate the diff portal files in diff projects.....

if i keep them in one prj then redability will be lsot and wont get clear picture.
so if i wanna access otehr prj's file then ?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic