No you don't have to change Java files.  They refer to page names in your
.application file.

You just have to make sure you've updated your application file:

<page name="Result" specification-path="app/Result.page"/> 

Sergiy

-----Original Message-----
From: Yura Tkachenko [mailto:[EMAIL PROTECTED] 
Sent: Sunday, January 08, 2006 3:52 PM
To: tapestry-user@jakarta.apache.org
Subject: Navigation rules

Hello,
Actually I just started learning Tapestry. I always like to structure my
application, but in all examples I saw that prefer to place pages to
WEB-INF. So I decided to move it to /app directory, if I wish to go to my
page Home.html for example, I should type in browser:
http://localhost/SomeExmapleApp/app?service=page&page=app/Home
So it works I can move all my pages from one directory to another, but what
if I have some navigation rule on Home page. After submit I should go to
Result.html page? I have code listener for Home page which redirected to
Result page. But I moved Home page to /app directory it still try to load it
from WEB-INF directory, should I change code in Java class to redirect to
"app/Result" ?

Best regards,
Yura Tkachenko.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to