Re: Query parameters

2010-08-20 Thread Howard Lewis Ship
Yep, that's a problem with Confluence.  Perhaps after the FAQ takes
more form, we'll merge them into a single large document instead of
including; the include option doesn't work well with footnotes.

On Thu, Aug 19, 2010 at 10:24 PM, Dmitry Gusev dmitry.gu...@gmail.com wrote:
 Footnotes are broken in the FAQ, see
 https://cwiki.apache.org/confluence/display/TAPESTRY/Frequently+Asked+Questions#FrequentlyAskedQuestions-HowdoIaddnewcomponentstoanexistingpagedynamically%3F
 https://cwiki.apache.org/confluence/display/TAPESTRY/Frequently+Asked+Questions#FrequentlyAskedQuestions-HowdoIaddnewcomponentstoanexistingpagedynamically%3Fthere
 is a footnote about POJO, but it leads to footnote about Jetty.

 On Fri, Aug 20, 2010 at 01:25, Inge Solvoll inge.tapes...@gmail.com wrote:

 Loving the FAQ!!!

 On Thu, Aug 19, 2010 at 10:34 PM, Igor Drobiazko
 igor.drobia...@gmail.comwrote:

  This is really nice.
 
  On Thu, Aug 19, 2010 at 8:56 PM, Howard Lewis Ship hls...@gmail.com
  wrote:
 
   I'm very excited by the new process; ask a FAQ and I can update the
   FAQ page live and return a link to that.
  
   On Thu, Aug 19, 2010 at 11:22 AM, Michael Gentry 
 mgen...@masslight.net
   wrote:
Wish I had known that one about 4 months ago ... :-)
   
   
On Thu, Aug 19, 2010 at 1:03 PM, Howard Lewis Ship hls...@gmail.com
 
   wrote:
Just added to the FAQ:
   
   
  
 
 https://cwiki.apache.org/confluence/display/TAPESTRY/Frequently+Asked+Questions#FrequentlyAskedQuestions-HowdoIaddqueryparametersaPageLinkorActionLink%3F
   
   
On Thu, Aug 19, 2010 at 3:44 AM, Davor Hrg hrgda...@gmail.com
  wrote:
I'm posting this to user group since it is mostly usage question.
   
The new query parameter binding is a welcome addition, especialy in
combination
with replacing the page pool with static instaces. All nice and
 well,
   but
how do I pass
query parameters through PageLink or AcionLink ?
   
Best to explain it through the example I'm using it with:
There is a page that lists documents, and there is a search form
 with
   few
fields.
One field is the year which tells the page to limit to docs from
  that
year.
So I changed the @Persist to @ActivationRequestParameter and after
submitting
the search form I get a nice ur: docs/list?year=2009.
Ok, this works well, I can have multiple tabs with different
 filters,
   much
like php which I
like very much and use often.
but there are more things that do not work:
1. using PageLink from another page to jump to
   @ActivationRequestParameter
2. using ActionLink to pass query parameters (annotated with
@RequestParameter)
   
3. If there are more than one such param there is no way to create
 a
   link to
it self with one of them changed
  for example on page: docs/list?year=2009type=FI I can not create
 a
   link
directly to docs/list?year=2010type=FI
  it would be nice to be able to write this: t:SelfLink
q:year=20102010/... to get the mentioned result
   
for that matter a namespace xmln:p=tapestry:parameter or new one
  like
xmlns:q=tapestry:query would be nice
for the ActionLink and PageLink.
   
   
Davor Hrg
   
   
   
   
--
Howard M. Lewis Ship
   
Creator of Apache Tapestry
   
The source for Tapestry training, mentoring and support. Contact me
 to
learn how I can get you up and productive in Tapestry fast!
   
(971) 678-5210
http://howardlewisship.com
   
   
 -
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
   
   
   
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
   
   
  
  
  
   --
   Howard M. Lewis Ship
  
   Creator of Apache Tapestry
  
   The source for Tapestry training, mentoring and support. Contact me to
   learn how I can get you up and productive in Tapestry fast!
  
   (971) 678-5210
   http://howardlewisship.com
  
   -
   To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
   For additional commands, e-mail: users-h...@tapestry.apache.org
  
  
 
 
  --
  Best regards,
 
  Igor Drobiazko
  http://tapestry5.de
 




 --
 Dmitry Gusev

 AnjLab Team
 http://anjlab.com




-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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



Query parameters

2010-08-19 Thread Davor Hrg
I'm posting this to user group since it is mostly usage question.

The new query parameter binding is a welcome addition, especialy in
combination
with replacing the page pool with static instaces. All nice and well, but
how do I pass
query parameters through PageLink or AcionLink ?

Best to explain it through the example I'm using it with:
There is a page that lists documents, and there is a search form with few
fields.
One field is the year which tells the page to limit to docs from that
year.
So I changed the @Persist to @ActivationRequestParameter and after
submitting
the search form I get a nice ur: docs/list?year=2009.
Ok, this works well, I can have multiple tabs with different filters, much
like php which I
like very much and use often.
but there are more things that do not work:
1. using PageLink from another page to jump to @ActivationRequestParameter
2. using ActionLink to pass query parameters (annotated with
@RequestParameter)

3. If there are more than one such param there is no way to create a link to
it self with one of them changed
   for example on page: docs/list?year=2009type=FI I can not create a link
directly to docs/list?year=2010type=FI
   it would be nice to be able to write this: t:SelfLink
q:year=20102010/... to get the mentioned result

for that matter a namespace xmln:p=tapestry:parameter or new one like
xmlns:q=tapestry:query would be nice
for the ActionLink and PageLink.


Davor Hrg


Re: Query parameters

2010-08-19 Thread Howard Lewis Ship
Just added to the FAQ:

https://cwiki.apache.org/confluence/display/TAPESTRY/Frequently+Asked+Questions#FrequentlyAskedQuestions-HowdoIaddqueryparametersaPageLinkorActionLink%3F


On Thu, Aug 19, 2010 at 3:44 AM, Davor Hrg hrgda...@gmail.com wrote:
 I'm posting this to user group since it is mostly usage question.

 The new query parameter binding is a welcome addition, especialy in
 combination
 with replacing the page pool with static instaces. All nice and well, but
 how do I pass
 query parameters through PageLink or AcionLink ?

 Best to explain it through the example I'm using it with:
 There is a page that lists documents, and there is a search form with few
 fields.
 One field is the year which tells the page to limit to docs from that
 year.
 So I changed the @Persist to @ActivationRequestParameter and after
 submitting
 the search form I get a nice ur: docs/list?year=2009.
 Ok, this works well, I can have multiple tabs with different filters, much
 like php which I
 like very much and use often.
 but there are more things that do not work:
 1. using PageLink from another page to jump to @ActivationRequestParameter
 2. using ActionLink to pass query parameters (annotated with
 @RequestParameter)

 3. If there are more than one such param there is no way to create a link to
 it self with one of them changed
   for example on page: docs/list?year=2009type=FI I can not create a link
 directly to docs/list?year=2010type=FI
   it would be nice to be able to write this: t:SelfLink
 q:year=20102010/... to get the mentioned result

 for that matter a namespace xmln:p=tapestry:parameter or new one like
 xmlns:q=tapestry:query would be nice
 for the ActionLink and PageLink.


 Davor Hrg




-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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



Re: Query parameters

2010-08-19 Thread Michael Gentry
Wish I had known that one about 4 months ago ... :-)


On Thu, Aug 19, 2010 at 1:03 PM, Howard Lewis Ship hls...@gmail.com wrote:
 Just added to the FAQ:

 https://cwiki.apache.org/confluence/display/TAPESTRY/Frequently+Asked+Questions#FrequentlyAskedQuestions-HowdoIaddqueryparametersaPageLinkorActionLink%3F


 On Thu, Aug 19, 2010 at 3:44 AM, Davor Hrg hrgda...@gmail.com wrote:
 I'm posting this to user group since it is mostly usage question.

 The new query parameter binding is a welcome addition, especialy in
 combination
 with replacing the page pool with static instaces. All nice and well, but
 how do I pass
 query parameters through PageLink or AcionLink ?

 Best to explain it through the example I'm using it with:
 There is a page that lists documents, and there is a search form with few
 fields.
 One field is the year which tells the page to limit to docs from that
 year.
 So I changed the @Persist to @ActivationRequestParameter and after
 submitting
 the search form I get a nice ur: docs/list?year=2009.
 Ok, this works well, I can have multiple tabs with different filters, much
 like php which I
 like very much and use often.
 but there are more things that do not work:
 1. using PageLink from another page to jump to @ActivationRequestParameter
 2. using ActionLink to pass query parameters (annotated with
 @RequestParameter)

 3. If there are more than one such param there is no way to create a link to
 it self with one of them changed
   for example on page: docs/list?year=2009type=FI I can not create a link
 directly to docs/list?year=2010type=FI
   it would be nice to be able to write this: t:SelfLink
 q:year=20102010/... to get the mentioned result

 for that matter a namespace xmln:p=tapestry:parameter or new one like
 xmlns:q=tapestry:query would be nice
 for the ActionLink and PageLink.


 Davor Hrg




 --
 Howard M. Lewis Ship

 Creator of Apache Tapestry

 The source for Tapestry training, mentoring and support. Contact me to
 learn how I can get you up and productive in Tapestry fast!

 (971) 678-5210
 http://howardlewisship.com

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



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



Re: Query parameters

2010-08-19 Thread Howard Lewis Ship
I'm very excited by the new process; ask a FAQ and I can update the
FAQ page live and return a link to that.

On Thu, Aug 19, 2010 at 11:22 AM, Michael Gentry mgen...@masslight.net wrote:
 Wish I had known that one about 4 months ago ... :-)


 On Thu, Aug 19, 2010 at 1:03 PM, Howard Lewis Ship hls...@gmail.com wrote:
 Just added to the FAQ:

 https://cwiki.apache.org/confluence/display/TAPESTRY/Frequently+Asked+Questions#FrequentlyAskedQuestions-HowdoIaddqueryparametersaPageLinkorActionLink%3F


 On Thu, Aug 19, 2010 at 3:44 AM, Davor Hrg hrgda...@gmail.com wrote:
 I'm posting this to user group since it is mostly usage question.

 The new query parameter binding is a welcome addition, especialy in
 combination
 with replacing the page pool with static instaces. All nice and well, but
 how do I pass
 query parameters through PageLink or AcionLink ?

 Best to explain it through the example I'm using it with:
 There is a page that lists documents, and there is a search form with few
 fields.
 One field is the year which tells the page to limit to docs from that
 year.
 So I changed the @Persist to @ActivationRequestParameter and after
 submitting
 the search form I get a nice ur: docs/list?year=2009.
 Ok, this works well, I can have multiple tabs with different filters, much
 like php which I
 like very much and use often.
 but there are more things that do not work:
 1. using PageLink from another page to jump to @ActivationRequestParameter
 2. using ActionLink to pass query parameters (annotated with
 @RequestParameter)

 3. If there are more than one such param there is no way to create a link to
 it self with one of them changed
   for example on page: docs/list?year=2009type=FI I can not create a link
 directly to docs/list?year=2010type=FI
   it would be nice to be able to write this: t:SelfLink
 q:year=20102010/... to get the mentioned result

 for that matter a namespace xmln:p=tapestry:parameter or new one like
 xmlns:q=tapestry:query would be nice
 for the ActionLink and PageLink.


 Davor Hrg




 --
 Howard M. Lewis Ship

 Creator of Apache Tapestry

 The source for Tapestry training, mentoring and support. Contact me to
 learn how I can get you up and productive in Tapestry fast!

 (971) 678-5210
 http://howardlewisship.com

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



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





-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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



Re: Query parameters

2010-08-19 Thread Igor Drobiazko
This is really nice.

On Thu, Aug 19, 2010 at 8:56 PM, Howard Lewis Ship hls...@gmail.com wrote:

 I'm very excited by the new process; ask a FAQ and I can update the
 FAQ page live and return a link to that.

 On Thu, Aug 19, 2010 at 11:22 AM, Michael Gentry mgen...@masslight.net
 wrote:
  Wish I had known that one about 4 months ago ... :-)
 
 
  On Thu, Aug 19, 2010 at 1:03 PM, Howard Lewis Ship hls...@gmail.com
 wrote:
  Just added to the FAQ:
 
 
 https://cwiki.apache.org/confluence/display/TAPESTRY/Frequently+Asked+Questions#FrequentlyAskedQuestions-HowdoIaddqueryparametersaPageLinkorActionLink%3F
 
 
  On Thu, Aug 19, 2010 at 3:44 AM, Davor Hrg hrgda...@gmail.com wrote:
  I'm posting this to user group since it is mostly usage question.
 
  The new query parameter binding is a welcome addition, especialy in
  combination
  with replacing the page pool with static instaces. All nice and well,
 but
  how do I pass
  query parameters through PageLink or AcionLink ?
 
  Best to explain it through the example I'm using it with:
  There is a page that lists documents, and there is a search form with
 few
  fields.
  One field is the year which tells the page to limit to docs from that
  year.
  So I changed the @Persist to @ActivationRequestParameter and after
  submitting
  the search form I get a nice ur: docs/list?year=2009.
  Ok, this works well, I can have multiple tabs with different filters,
 much
  like php which I
  like very much and use often.
  but there are more things that do not work:
  1. using PageLink from another page to jump to
 @ActivationRequestParameter
  2. using ActionLink to pass query parameters (annotated with
  @RequestParameter)
 
  3. If there are more than one such param there is no way to create a
 link to
  it self with one of them changed
for example on page: docs/list?year=2009type=FI I can not create a
 link
  directly to docs/list?year=2010type=FI
it would be nice to be able to write this: t:SelfLink
  q:year=20102010/... to get the mentioned result
 
  for that matter a namespace xmln:p=tapestry:parameter or new one like
  xmlns:q=tapestry:query would be nice
  for the ActionLink and PageLink.
 
 
  Davor Hrg
 
 
 
 
  --
  Howard M. Lewis Ship
 
  Creator of Apache Tapestry
 
  The source for Tapestry training, mentoring and support. Contact me to
  learn how I can get you up and productive in Tapestry fast!
 
  (971) 678-5210
  http://howardlewisship.com
 
  -
  To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
  For additional commands, e-mail: users-h...@tapestry.apache.org
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
  For additional commands, e-mail: users-h...@tapestry.apache.org
 
 



 --
 Howard M. Lewis Ship

 Creator of Apache Tapestry

 The source for Tapestry training, mentoring and support. Contact me to
 learn how I can get you up and productive in Tapestry fast!

 (971) 678-5210
 http://howardlewisship.com

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




-- 
Best regards,

Igor Drobiazko
http://tapestry5.de


Re: Query parameters

2010-08-19 Thread Inge Solvoll
Loving the FAQ!!!

On Thu, Aug 19, 2010 at 10:34 PM, Igor Drobiazko
igor.drobia...@gmail.comwrote:

 This is really nice.

 On Thu, Aug 19, 2010 at 8:56 PM, Howard Lewis Ship hls...@gmail.com
 wrote:

  I'm very excited by the new process; ask a FAQ and I can update the
  FAQ page live and return a link to that.
 
  On Thu, Aug 19, 2010 at 11:22 AM, Michael Gentry mgen...@masslight.net
  wrote:
   Wish I had known that one about 4 months ago ... :-)
  
  
   On Thu, Aug 19, 2010 at 1:03 PM, Howard Lewis Ship hls...@gmail.com
  wrote:
   Just added to the FAQ:
  
  
 
 https://cwiki.apache.org/confluence/display/TAPESTRY/Frequently+Asked+Questions#FrequentlyAskedQuestions-HowdoIaddqueryparametersaPageLinkorActionLink%3F
  
  
   On Thu, Aug 19, 2010 at 3:44 AM, Davor Hrg hrgda...@gmail.com
 wrote:
   I'm posting this to user group since it is mostly usage question.
  
   The new query parameter binding is a welcome addition, especialy in
   combination
   with replacing the page pool with static instaces. All nice and well,
  but
   how do I pass
   query parameters through PageLink or AcionLink ?
  
   Best to explain it through the example I'm using it with:
   There is a page that lists documents, and there is a search form with
  few
   fields.
   One field is the year which tells the page to limit to docs from
 that
   year.
   So I changed the @Persist to @ActivationRequestParameter and after
   submitting
   the search form I get a nice ur: docs/list?year=2009.
   Ok, this works well, I can have multiple tabs with different filters,
  much
   like php which I
   like very much and use often.
   but there are more things that do not work:
   1. using PageLink from another page to jump to
  @ActivationRequestParameter
   2. using ActionLink to pass query parameters (annotated with
   @RequestParameter)
  
   3. If there are more than one such param there is no way to create a
  link to
   it self with one of them changed
 for example on page: docs/list?year=2009type=FI I can not create a
  link
   directly to docs/list?year=2010type=FI
 it would be nice to be able to write this: t:SelfLink
   q:year=20102010/... to get the mentioned result
  
   for that matter a namespace xmln:p=tapestry:parameter or new one
 like
   xmlns:q=tapestry:query would be nice
   for the ActionLink and PageLink.
  
  
   Davor Hrg
  
  
  
  
   --
   Howard M. Lewis Ship
  
   Creator of Apache Tapestry
  
   The source for Tapestry training, mentoring and support. Contact me to
   learn how I can get you up and productive in Tapestry fast!
  
   (971) 678-5210
   http://howardlewisship.com
  
   -
   To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
   For additional commands, e-mail: users-h...@tapestry.apache.org
  
  
  
   -
   To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
   For additional commands, e-mail: users-h...@tapestry.apache.org
  
  
 
 
 
  --
  Howard M. Lewis Ship
 
  Creator of Apache Tapestry
 
  The source for Tapestry training, mentoring and support. Contact me to
  learn how I can get you up and productive in Tapestry fast!
 
  (971) 678-5210
  http://howardlewisship.com
 
  -
  To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
  For additional commands, e-mail: users-h...@tapestry.apache.org
 
 


 --
 Best regards,

 Igor Drobiazko
 http://tapestry5.de



Re: Query parameters

2010-08-19 Thread Dmitry Gusev
Footnotes are broken in the FAQ, see
https://cwiki.apache.org/confluence/display/TAPESTRY/Frequently+Asked+Questions#FrequentlyAskedQuestions-HowdoIaddnewcomponentstoanexistingpagedynamically%3F
https://cwiki.apache.org/confluence/display/TAPESTRY/Frequently+Asked+Questions#FrequentlyAskedQuestions-HowdoIaddnewcomponentstoanexistingpagedynamically%3Fthere
is a footnote about POJO, but it leads to footnote about Jetty.

On Fri, Aug 20, 2010 at 01:25, Inge Solvoll inge.tapes...@gmail.com wrote:

 Loving the FAQ!!!

 On Thu, Aug 19, 2010 at 10:34 PM, Igor Drobiazko
 igor.drobia...@gmail.comwrote:

  This is really nice.
 
  On Thu, Aug 19, 2010 at 8:56 PM, Howard Lewis Ship hls...@gmail.com
  wrote:
 
   I'm very excited by the new process; ask a FAQ and I can update the
   FAQ page live and return a link to that.
  
   On Thu, Aug 19, 2010 at 11:22 AM, Michael Gentry 
 mgen...@masslight.net
   wrote:
Wish I had known that one about 4 months ago ... :-)
   
   
On Thu, Aug 19, 2010 at 1:03 PM, Howard Lewis Ship hls...@gmail.com
 
   wrote:
Just added to the FAQ:
   
   
  
 
 https://cwiki.apache.org/confluence/display/TAPESTRY/Frequently+Asked+Questions#FrequentlyAskedQuestions-HowdoIaddqueryparametersaPageLinkorActionLink%3F
   
   
On Thu, Aug 19, 2010 at 3:44 AM, Davor Hrg hrgda...@gmail.com
  wrote:
I'm posting this to user group since it is mostly usage question.
   
The new query parameter binding is a welcome addition, especialy in
combination
with replacing the page pool with static instaces. All nice and
 well,
   but
how do I pass
query parameters through PageLink or AcionLink ?
   
Best to explain it through the example I'm using it with:
There is a page that lists documents, and there is a search form
 with
   few
fields.
One field is the year which tells the page to limit to docs from
  that
year.
So I changed the @Persist to @ActivationRequestParameter and after
submitting
the search form I get a nice ur: docs/list?year=2009.
Ok, this works well, I can have multiple tabs with different
 filters,
   much
like php which I
like very much and use often.
but there are more things that do not work:
1. using PageLink from another page to jump to
   @ActivationRequestParameter
2. using ActionLink to pass query parameters (annotated with
@RequestParameter)
   
3. If there are more than one such param there is no way to create
 a
   link to
it self with one of them changed
  for example on page: docs/list?year=2009type=FI I can not create
 a
   link
directly to docs/list?year=2010type=FI
  it would be nice to be able to write this: t:SelfLink
q:year=20102010/... to get the mentioned result
   
for that matter a namespace xmln:p=tapestry:parameter or new one
  like
xmlns:q=tapestry:query would be nice
for the ActionLink and PageLink.
   
   
Davor Hrg
   
   
   
   
--
Howard M. Lewis Ship
   
Creator of Apache Tapestry
   
The source for Tapestry training, mentoring and support. Contact me
 to
learn how I can get you up and productive in Tapestry fast!
   
(971) 678-5210
http://howardlewisship.com
   
   
 -
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
   
   
   
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
   
   
  
  
  
   --
   Howard M. Lewis Ship
  
   Creator of Apache Tapestry
  
   The source for Tapestry training, mentoring and support. Contact me to
   learn how I can get you up and productive in Tapestry fast!
  
   (971) 678-5210
   http://howardlewisship.com
  
   -
   To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
   For additional commands, e-mail: users-h...@tapestry.apache.org
  
  
 
 
  --
  Best regards,
 
  Igor Drobiazko
  http://tapestry5.de
 




-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com


[t5] form method=get, old school query parameters

2008-06-25 Thread Lutz Hühnken
Hi everybody,

what is the way to create a form with method=GET in Tapestry 5?

I would like to create a simple form that produces a GET request
with query parameters, such as
www.example.com/books?author=kingcategory=crime. What is the
straight-forward way to do that?

Thanks for your help,

Lutz

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [t5] form method=get, old school query parameters

2008-06-25 Thread Thiago H. de Paula Figueiredo
Em Wed, 25 Jun 2008 10:23:27 -0300, Lutz Hühnken  
[EMAIL PROTECTED] escreveu:



what is the way to create a form with method=GET in Tapestry 5?

I would like to create a simple form that produces a GET request
with query parameters, such as
www.example.com/books?author=kingcategory=crime. What is the
straight-forward way to do that?


As long you don't want or need to process this form in T5's way (with  
event handler methods, binding HTML fields to values, etc), just don't use  
T5's Form component and use an ordinary HTML form.


Thiago

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [t5] form method=get, old school query parameters

2008-06-25 Thread Kristian Marinkovic
hi lutz,

by default the tapestry form will generate method=post. 
there is no way to change the method... you could add a 
jira issue to change the form component to accept an 
additional method parameter.

alternativley you could create a mixin that is attached to 
your form. The mixin could then overwrite the method 
property:

public class FormMethodOverrideMixin() {
..
public void afterRender(MarkupWriter writer) {
Element form = // get element representing from tag
form.forceAttributes(method,get);
   }
}

g,
kris



Thiago H. de Paula Figueiredo [EMAIL PROTECTED] 
25.06.2008 15:32
Bitte antworten an
Tapestry users users@tapestry.apache.org


An
Tapestry users users@tapestry.apache.org
Kopie

Thema
Re: [t5] form method=get, old school query parameters







Em Wed, 25 Jun 2008 10:23:27 -0300, Lutz Hühnken 
[EMAIL PROTECTED] escreveu:

 what is the way to create a form with method=GET in Tapestry 5?

 I would like to create a simple form that produces a GET request
 with query parameters, such as
 www.example.com/books?author=kingcategory=crime. What is the
 straight-forward way to do that?

As long you don't want or need to process this form in T5's way (with 
event handler methods, binding HTML fields to values, etc), just don't use 
 
T5's Form component and use an ordinary HTML form.

Thiago

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Tapestry read query parameters before page rendering [T4.0]

2007-07-09 Thread Josh Joy
Hi,

If I have a page like
http://www.website.com/report?id=12345 and I send 
someone this link

How can I use the information for the parameter id
with arg 12345 to 
generate the report using the custom information I
pull for this 
particular id? I know when dealing with forms, I can
implement a 
listener and pull the id info from the IRequestCycle
using the method 
getParameter(), though what about getting the
parameter information if 
someone access a page directly and I need to generate
this before the 
page renders?
Thanks in advance...

Thanks,
Josh



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to store the query parameters in a Table component?

2006-08-11 Thread Pratibha Gopalam

when you enter a new search parameter, try resetting the table

   Table table = (Table) this.getComponent(myTable);
   table.reset();


Jun Tsai wrote:


hi all,
  I have a search form and a talbe in a page.When I enter some search 
text

in form and click search button,results  was shown in table
component.ButWhen I click the second page
link.I found the results is all records not by search parameters.How to
store the search text in table pages?

I had used a property name=searchStr persist=session/ ,but it still
had a same problem .

How to ?

Thanks

Jun Tsai




--DISCLAIMER--
This message is for the named person's use only. It may contain 
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. 

If you receive this message in error, please immediately delete it and 
all copies of it from your system, destroy any hard copies of it and 
notify the sender. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the 
intended recipient. 

Lisle Technology Partners Pvt. Ltd. and any of its subsidiaries each 
reserve the right to monitor all e-mail communications through its 
networks. 

Any views expressed in this message are those of the 
individual sender, except where the message states otherwise and the 
sender is authorized to state them to be the views of any such entity.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to store the query parameters in a Table component?

2006-08-10 Thread Jun Tsai

use persist=client

2006/8/8, Gurps [EMAIL PROTECTED]:



Hi, this is exactly my problem too. Have you found the solution? many
thanks
--
View this message in context:
http://www.nabble.com/How-to-store-the-query-parameters-in-a-Table-component--tf1685056.html#a5701412
Sent from the Tapestry - User forum at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net


link to Service gettting ampersands encoded and fouling up my query parameters

2006-07-19 Thread John Menke

I create a url string which i use as src to an IFrame.  This url points to a
Tapestry service.  I have been having problems with the parameters being
encoded incorrectly intermittently.


Ampersands end up getting encoded like this:



http://mysite.com?service=MyServiceamp;acco
untID=1603272555amp;eventID=1780amp;


Can i prevent tapestry from encoding the params in a link?


How to store the query parameters in a Table component?

2006-05-25 Thread Jun Tsai

hi all,
  I have a search form and a talbe in a page.When I enter some search text
in form and click search button,results  was shown in table
component.ButWhen I click the second page
link.I found the results is all records not by search parameters.How to
store the search text in table pages?

I had used a property name=searchStr persist=session/ ,but it still
had a same problem .

How to ?

Thanks

Jun Tsai
--
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net