I do have one more question if anyone has an idea how to solve it.

My Index page is ok as nothing is pointing to it. However all of the other
pages are now at problem since they reside inside of a folder so when I use

t:pagelink t:page="MyPageThatIsNowInFolder1"

it complains that it cant find this page and if I add

t:pagelink t:page="folder1/MyPageThatIsNowInFolder1"

then it link is broken since it will try to go to

folder1/folder1/MyPageThatIsNowInFolder1

Any ideas how I can save the old links (ie t:pagelink
t:page="MyPageThatIsNowInFolder1") and still use pagelink component?

Cheers



On Mon, May 27, 2013 at 1:18 AM, Boris Horvat <horvat.z.bo...@gmail.com>wrote:

> I spoke too soon. A bit of testing got me the answer that I can just
> insert the folder as a string.
>
> Cheers
>
>
> On Mon, May 27, 2013 at 1:05 AM, Boris Horvat <horvat.z.bo...@gmail.com>wrote:
>
>> Hi all,
>>
>> I was looking into this example here
>> http://blog.tapestry5.de/index.php/2010/09/06/new-url-rewriting-api/ however
>> I am not sure if what I want is possible as I am not really sure how to do
>> it.
>>
>> What I want to do is separate my application into 2 folders but I need to
>> keep my urls as they are. The example of my mapping should be
>>
>> www.my-website.com = www.my-website.com/folder1/
>> www.my-website.com/mypage = www.my-website.com/folder1//mypage
>>
>> custom.my-website.com=custom.my-website.com/folder2
>> custom.my-website.com/mypage=custom.my-website.com/folder2/mypage
>>
>> What i am puzzled by is is it possible to somehow insert the path into
>> the url or should I try to return the actual page when I see some path?
>>
>> So how would you implement this?
>>
>> Cheers
>> --
>> Sincerely
>> *Boris Horvat*
>>
>
>
>
> --
> Sincerely
> *Boris Horvat*
>



-- 
Sincerely
*Boris Horvat*

Reply via email to