You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Doug Leeper <do...@yahoo.com> on 2011/08/22 22:16:39 UTC
StatelessForm on BookmarkablePage and its action url
I have a stateless page (LocationPage) that contains an StatelessForm.
@StatelessComponent
public class LocationPage extends AppBasePage {
...
}
The LocationPage is mounted as:
mount(new MixedParamUrlCodingStrategy("/b", LocationPage.class,
new String[] { "name", "city", "state", "category",
"businessID" }));
I access the page via:
http://localhost:8080/b/ben-bridge-jeweler/redondo-beach/ca/gift/53109
However, when I view the generated source for this page the action URL is:
../../../../../b/?wicket:interface=:0:layoutPanel:emailPanel:emailForm::IFormSubmitListener::
Shouldn't this be:
../../../../../b/ben-bridge-jeweler/redondo-beach/ca/gift/53109??wicket:interface=:0:layoutPanel:emailPanel:emailForm::IFormSubmitListener::
I am using Wicket 1.4.18
Thanks
- Doug
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/StatelessForm-on-BookmarkablePage-and-its-action-url-tp3761160p3761160.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: StatelessForm on BookmarkablePage and its action url
Posted by Doug Leeper <do...@yahoo.com>.
Urgghhh. It does work. Just have to pass the PageParameters to the super
class in the constructor.
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/StatelessForm-on-BookmarkablePage-and-its-action-url-tp3761160p3763192.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org