Take a look here: http://www.jguru.com/faq/view.jsp?EID=445910

I modify the HTML code and wrap it with a <form method="post"> and I still have a PageLink on the Wicket end. The problem is that Wicket will then rewrite the href attribute from "javascript:document.submitForm.submit()" to the URL of the link.

Now, I could very well do more work to fix Wicket so it does not do this but what I'm expecting is that Wicket will make it very easy to change a link from GET to POST and vice versa. It simply shouldn't be this hard. If I remember correctly, it is much easier to do under JSP.

In theory, I should be able to tell Wicket PageLink.setMethod(POST) or PageLink.setMethod(GET) and it will take care of the rest. No?

Gili

Juergen Donnerstag wrote:
On 5/27/05, Gili <[EMAIL PROTECTED]> wrote:

       In other words, the change has to be made in the HTML files, not Wicket
code, so this is outside Wicket's scope? Ok, sorry for the false alarm :)



something like <form ..action=POST>. I'd appreciate it if someone yould test it.


Juergen


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to