Re: Directly requesting a page
You're off on the right foot, but you are missing the "enable friendly URLs" half of James's advice. See: http://jakarta.apache.org/tapestry/UsersGuide/friendly-urls.html On May 31, 2006, at 1:45 PM, Ryan Cuprak wrote: Yup, I am using version 4. That returns the page unprocessed - jwcid and everything. From the blog (http://howardlewisship.com/blog/2004/12/tapestry- urls-half-way-there.html) I added the following to my web.xml: app *.html However, I then get the login page for the application- servlet mapping is definitely doing something. Excluding some JAXRPC stuff, the other entries in my web.xml are: KMI org.apache.tapestry.ApplicationServletservlet-class> 0 KMI /app KMI *.page redirect org.apache.tapestry.RedirectFilterclass> redirect / /app Thanks, -Ryan On Wednesday, May 31, 2006, at 11:36AM, James Carman <[EMAIL PROTECTED]> wrote: Are you in tap4? If so, enable Friendly URLs and you can invoke the page by doing: http://localhost:8080/test.html -Original Message- From: Ryan Cuprak [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 2:33 PM To: users@tapestry.apache.org Subject: Directly requesting a page Hello, How do I directly invoke a page using the page service? I have a test page at the root of the application which I want to invoke. From the Manning book I thought the url would look like: http://127.0.0.1:8080/app?service=page/test This is just a page for tinkering... was trying to test a new component and thought I could throw it up on a test page (instead of logging into the app and drilling through the menus). Thanks, Ryan - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ "We're making a mystery here, so make it mysterious." -- Hayao Miyazaki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Directly requesting a page
That blog entry is about a year and a half old and doesn't apply to Tap 4. Try this: http://jakarta.apache.org/tapestry/UsersGuide/friendly-urls.html -Ryan Ryan Cuprak wrote: Yup, I am using version 4. That returns the page unprocessed - jwcid and everything. From the blog (http://howardlewisship.com/blog/2004/12/tapestry-urls-half-way-there.html) I added the following to my web.xml: app *.html However, I then get the login page for the application- servlet mapping is definitely doing something. Excluding some JAXRPC stuff, the other entries in my web.xml are: KMI org.apache.tapestry.ApplicationServlet 0 KMI /app KMI *.page redirect org.apache.tapestry.RedirectFilter redirect / /app Thanks, -Ryan On Wednesday, May 31, 2006, at 11:36AM, James Carman <[EMAIL PROTECTED]> wrote: Are you in tap4? If so, enable Friendly URLs and you can invoke the page by doing: http://localhost:8080/test.html -Original Message- From: Ryan Cuprak [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 2:33 PM To: users@tapestry.apache.org Subject: Directly requesting a page Hello, How do I directly invoke a page using the page service? I have a test page at the root of the application which I want to invoke. From the Manning book I thought the url would look like: http://127.0.0.1:8080/app?service=page/test This is just a page for tinkering... was trying to test a new component and thought I could throw it up on a test page (instead of logging into the app and drilling through the menus). Thanks, Ryan - 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] - 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]
RE: Directly requesting a page
Yup, I am using version 4. That returns the page unprocessed - jwcid and everything. From the blog (http://howardlewisship.com/blog/2004/12/tapestry-urls-half-way-there.html) I added the following to my web.xml: app *.html However, I then get the login page for the application- servlet mapping is definitely doing something. Excluding some JAXRPC stuff, the other entries in my web.xml are: KMI org.apache.tapestry.ApplicationServlet 0 KMI /app KMI *.page redirect org.apache.tapestry.RedirectFilter redirect / /app Thanks, -Ryan On Wednesday, May 31, 2006, at 11:36AM, James Carman <[EMAIL PROTECTED]> wrote: >Are you in tap4? If so, enable Friendly URLs and you can invoke the page by >doing: > >http://localhost:8080/test.html > > > >-Original Message- >From: Ryan Cuprak [mailto:[EMAIL PROTECTED] >Sent: Wednesday, May 31, 2006 2:33 PM >To: users@tapestry.apache.org >Subject: Directly requesting a page > >Hello, > How do I directly invoke a page using the page service? I have a test page >at the root of the application which I want to invoke. From the Manning book >I thought the url would look like: >http://127.0.0.1:8080/app?service=page/test > > This is just a page for tinkering... was trying to test a new component and >thought I could throw it up on a test page (instead of logging into the app >and drilling through the menus). > > Thanks, > Ryan > >- >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] > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Directly requesting a page
If you are using Tap4, try http://127.0.0.1:8080/app?page=test&service=page Shing --- Ryan Cuprak <[EMAIL PROTECTED]> wrote: > Hello, > How do I directly invoke a page using the page > service? I have a test page at the root of the > application which I want to invoke. From the Manning > book I thought the url would look like: > http://127.0.0.1:8080/app?service=page/test > > This is just a page for tinkering... was trying to > test a new component and thought I could throw it up > on a test page (instead of logging into the app and > drilling through the menus). > > Thanks, > Ryan > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > Home page : http://uk.geocities.com/matmsh/index.html ___ Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Directly requesting a page
Are you in tap4? If so, enable Friendly URLs and you can invoke the page by doing: http://localhost:8080/test.html -Original Message- From: Ryan Cuprak [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 2:33 PM To: users@tapestry.apache.org Subject: Directly requesting a page Hello, How do I directly invoke a page using the page service? I have a test page at the root of the application which I want to invoke. From the Manning book I thought the url would look like: http://127.0.0.1:8080/app?service=page/test This is just a page for tinkering... was trying to test a new component and thought I could throw it up on a test page (instead of logging into the app and drilling through the menus). Thanks, Ryan - 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]