traditional(?) form processing

2010-01-06 Thread Istvan Soos
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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: traditional(?) form processing

2010-01-06 Thread Martijn Dashorst
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 istvan.s...@gmail.com 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: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: traditional(?) form processing

2010-01-06 Thread Istvan Soos
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
martijn.dasho...@gmail.com 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 istvan.s...@gmail.com 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: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 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: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: traditional(?) form processing

2010-01-06 Thread Martijn Dashorst
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 istvan.s...@gmail.com 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 istvan.s...@gmail.com 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
 martijn.dasho...@gmail.com 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 istvan.s...@gmail.com 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: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 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: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: traditional(?) form processing

2010-01-06 Thread Martin Makundi
http://old.nabble.com/Bookmarkable-page-absolute-url-td15825082.html

2010/1/6 Istvan Soos istvan.s...@gmail.com:
 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 istvan.s...@gmail.com 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
 martijn.dasho...@gmail.com 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 istvan.s...@gmail.com 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: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 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: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: traditional(?) form processing

2010-01-06 Thread Istvan Soos
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 istvan.s...@gmail.com 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
 martijn.dasho...@gmail.com 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 istvan.s...@gmail.com 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: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 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: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: traditional(?) form processing

2010-01-06 Thread Istvan Soos
Thanks, I do appreciate your fast response!

Regards,
   Istvan

On Wed, Jan 6, 2010 at 3:44 PM, Martijn Dashorst
martijn.dasho...@gmail.com 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 istvan.s...@gmail.com 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 istvan.s...@gmail.com 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
 martijn.dasho...@gmail.com 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 istvan.s...@gmail.com 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: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 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: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 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: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org