You should type the url of your page in the browser and not the url of your
component: 
http://localhost:8080/myapp/index<http://localhost:8080/myapp/index.pageForm>

Typing an URL in the browser typically causes a GET-request instead of a
POST-request. The form-component is part of the page and will automatically
POST its query-parameters to http://localhost:8080/myapp/index.pageForm when
the form is submitted in the browser.


- Onno



On Mon, Apr 27, 2009 at 11:03 AM, wesleywj2 <wesley...@yahoo.co.uk> wrote:

>
> hi,
>
> when i type this url in my browser and hit enter,
> http://localhost:8080/myapp/index.pageForm
> it throws "Forms require that the request method be POST and that the
> t:formdata query parameter have values." exception. index is my first/login
> page, where pageForm is the id of my form. why it throws error? anyway to
> intercept it? and show other page other than the standard exception page?
>
> please advice,
> wesley
> --
> View this message in context:
> http://www.nabble.com/Exception-while-http%3A--localhost%3A8080-myapp-index.pageForm-tp23252483p23252483.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
*
Winston 
Churchill<http://www.brainyquote.com/quotes/authors/w/winston_churchill.html>
- "The best argument against democracy is a five-minute conversation
with
the average voter."

Reply via email to