• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

How to add URL in Tile defination?

 
Greenhorn
Posts: 10
  • 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>
 
Ranch Hand
Posts: 4864
  • 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: 10
  • 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 ?
 
Humans and their filthy friendship brings nothing but trouble. My only solace is this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic