You can't mount a form. Only bookmarkable pages can be mounted.
Martijn
On 3/12/08, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Hi,
I'm trying to mount forms in my wicket application more appropiate
URLs. For example I want to replace this:
Hi,
I'm trying to mount forms in my wicket application more appropiate
URLs. For example I want to replace this:
action=../?wicket:interface=:3:registerpanel:registerForm::IFormSubmitListener::
with something like this (I'm not sure yet if the version parameter is
necessary, or whatever that
That is not an acceptable answer. And from what I've seen, Wickets
RequestCodingStrategy-architecture allows you to mount forms just as
well - its just not exactly easy.
Any others?
On Wed, Mar 12, 2008 at 10:14 AM, Martijn Dashorst
[EMAIL PROTECTED] wrote:
You can't mount a form. Only
Jörn,
Sorry the answer is not acceptable to you but that is the correct answer. A
Form (i.e. org.apache.wicket.markup.html.form.Form or a subclass of such)
cannot be rendered unless it is added to a WebPage. Sorry, that is just how
Wicket works. I would suggest that you read the Getting Started
Jay: I didn't ask for rendering a form without a page - I just want to
control the url in the form's action attribute.
Johan: I can mount a page, but that doesn't affect the
action-attribute of the form at all.
I need to make it non-trivial for an attacker to find out which web
framework I'm
My simple form's action looks like:
action=?x=ddw0qAw21grCPRao*Ubfef2Sc3qqyFsw0T9XGN5CArkF*CTRiwidzg
when I use that along with the CachingSunJceCryptFactory.
On 3/12/08, James Carman [EMAIL PROTECTED] wrote:
Have you looked at:
Forms point back to the page. So the url that is generated for the form is
the page its url
so you have to mount the page where the form is on
And if you want a nice url you could try to use HybridUrlEncoding
But why do you want nice url for forms? They are just in the markup
they will not show
Have you looked at:
org.apache.wicket.protocol.http.request.CryptedUrlWebRequestCodingStrategy
On 3/12/08, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Hi,
I'm trying to mount forms in my wicket application more appropiate
URLs. For example I want to replace this:
You can just make a fork of WebRequestCodingStrategy and change the constants.
-Matej
On Wed, Mar 12, 2008 at 10:46 AM, Jörn Zaefferer
[EMAIL PROTECTED] wrote:
Jay: I didn't ask for rendering a form without a page - I just want to
control the url in the form's action attribute.
Johan: I
Hi,
I'm trying to mount a form, eg. a login form to /login/, resulting in
something like form action=/login//.
There are a lot of classes related to mounting, though everything I
found so far refers to pages. Just mounting a Form subclass doesn't
yield anything at all.
Thanks for any hints
Jörn
Think out of the box...
Mount a page, and pass the parameters to the form, exact same result as
mapping the form..
regards Nino
Jörn Zaefferer wrote:
Hi,
I'm trying to mount a form, eg. a login form to /login/, resulting in
something like form action=/login//.
There are a lot of classes
11 matches
Mail list logo