Thanks, I do appreciate your fast response! Regards, Istvan
On Wed, Jan 6, 2010 at 3:44 PM, Martijn Dashorst <[email protected]> wrote: > <form wicket:id="form">....</form> > > add(new WebMarkupContainer("form").add(new > SimpleAttributeModifier("action", urlFor(pageClass))); > > Martijn > > On Wed, Jan 6, 2010 at 3:41 PM, Istvan Soos <[email protected]> wrote: >> Sorry, missed an important part: >> >> What is the best way to populate the form's action attribute with a >> page's bookmarkable url (without knowning it either in the HTML or in >> the Java code, just the Page class is known)? >> >> Regards, >> Istvan >> >> On Wed, Jan 6, 2010 at 3:39 PM, Istvan Soos <[email protected]> wrote: >>> Okay, this was too easy... :) what is the best way to populate the >>> form's action attribute? >>> >>> Regards, >>> Istvan >>> >>> On Wed, Jan 6, 2010 at 3:37 PM, Martijn Dashorst >>> <[email protected]> wrote: >>>> <form action="/mount/path/to/otherpage" method="get"> >>>> <input type="text" name="q" /> >>>> <input type="submit" value="Search" /> >>>> </form> >>>> >>>> No wicket required.... >>>> >>>> Martijn >>>> >>>> On Wed, Jan 6, 2010 at 3:30 PM, Istvan Soos <[email protected]> wrote: >>>>> Hi, >>>>> >>>>> I'd like to create traditional form processing in wicket: to direct a >>>>> form target to a (bookmarkable) page and receive the form content as >>>>> PageParameters on that page. Is there any easy and supported way to >>>>> achieve this? >>>>> >>>>> E.g. I have a search page that receives the parameters that way, and >>>>> I'd like to have a form that targets that page with visible input >>>>> field and a hidden field. With the usual way, I'd create it as part of >>>>> a stateless form, but I'd like to skip the processing on the old page. >>>>> >>>>> Thanks and regards, >>>>> Istvan >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [email protected] >>>>> For additional commands, e-mail: [email protected] >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> Become a Wicket expert, learn from the best: http://wicketinaction.com >>>> Apache Wicket 1.4 increases type safety for web applications >>>> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4 >>>> >>>> --------------------------------------------------------------------- >>>> 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] >> >> > > > > -- > Become a Wicket expert, learn from the best: http://wicketinaction.com > Apache Wicket 1.4 increases type safety for web applications > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4 > > --------------------------------------------------------------------- > 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]
