Query string

2011-04-27 Thread Tim Koop
I have some third party code that calls one of my Tapestry pages, passing in some values in the query string. From in my Tapestry page (the Java class), how can I retrieve this query string? Thanks. -- Tim Koop t...@timkoop.com mailto:t...@timkoop.com www.timkoop.com http://www.timkoop.com

Re: Query string

2011-04-27 Thread Sven Homburg
that calls one of my Tapestry pages, passing in some values in the query string.  From in my Tapestry page (the Java class), how can I retrieve this query string? Thanks. -- Tim Koop t...@timkoop.com mailto:t...@timkoop.com www.timkoop.com http://www.timkoop.com

Re: Query string

2011-04-27 Thread Josh Canfield
@ActivationRequestParameter It's not easy to find on the docs... On Wed, Apr 27, 2011 at 11:30 AM, Tim Koop t...@timkoop.com wrote: I have some third party code that calls one of my Tapestry pages, passing in some values in the query string.  From in my Tapestry page (the Java class), how can

Re: Query string

2011-04-27 Thread Mark
On Wed, Apr 27, 2011 at 1:30 PM, Tim Koop t...@timkoop.com wrote: I have some third party code that calls one of my Tapestry pages, passing in some values in the query string. From in my Tapestry page (the Java class), how can I retrieve this query string? Lets say you have something like

Re: Query string

2011-04-27 Thread Mark
On Wed, Apr 27, 2011 at 2:29 PM, Mark mark-li...@xeric.net wrote: On Wed, Apr 27, 2011 at 1:30 PM, Tim Koop t...@timkoop.com wrote: I have some third party code that calls one of my Tapestry pages, passing in some values in the query string. From in my Tapestry page (the Java class), how

Re: Page Navigation - Link vs Page when appending a query string to the result

2010-06-20 Thread Joel Halbert
} } Whch gets me the URL: http://localhost:8080/web/buy/product But what's the easiest way of then tacking on the query string I want? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional

Page Navigation - Link vs Page when appending a query string to the result

2010-06-18 Thread Joel Halbert
the correct context Buy { String onPassivate90{return product} } Whch gets me the URL: http://localhost:8080/web/buy/product But what's the easiest way of then tacking on the query string I want?

Re: Page Navigation - Link vs Page when appending a query string to the result

2010-06-18 Thread Howard Lewis Ship
(product)        return buy;    } And in Buy have an onPassivate to get the correct context Buy {    String onPassivate90{return product} } Whch gets me the URL: http://localhost:8080/web/buy/product But what's the easiest way of then tacking on the query string I want? -- Howard M

Re: t5: passing query string when redirect

2009-06-10 Thread Ulrich Stärk
(...) prior to returning it. Uli Angelo Chen schrieb: Hi, In index page my app will do a return MyPage.class, so browser address bar shows localhost/mypage instead of localhost, now I'd like to pass any query string from the url to the new page, it should look like this: if user type : http

Re: t5: passing query string when redirect

2009-06-10 Thread Angelo Chen
Hi, Thanks for the quick reply and I think your first answer should work, reason for using query string is, it is from Google, it passes ?glid=test something to the site. Thiago H. de Paula Figueiredo wrote: On Wed, Jun 10, 2009 at 11:21 AM, Angelo Chenangelochen...@yahoo.com.hk wrote

Re: t5: appending a query string to a page name?

2009-05-03 Thread Geoff Callender
(); String country = req.getParameter(country); String state = req.getParameter(state); } Angelo Chen wrote: Hi, the problem is, when it is this which is very common in the query string, T5 will not accept: mysearch/results/country=USstate=NY ஸ்ரீராம் கீர்த்தி wrote: Angelo, you

t5: grid's pager with query string as links

2009-05-02 Thread Angelo Chen
=USstateNYpage=2 http://localhost/search?country=USstateNYpage=3 Is this possible with grid? Angelo -- View this message in context: http://www.nabble.com/t5%3A-grid%27s-pager-with-query-string-as-links-tp23345871p23345871.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: t5: appending a query string to a page name?

2009-05-01 Thread Harald Geritzer
mysearch: Object onSuccessFromMySearchForm() { return mysearch/results; } now I need to append a query string after the page name: return mysearch/results?12345; this will trigger an exception: Unable to resolve 'mysearch/results?12345' to a known page name. question: how to append

Re: t5: appending a query string to a page name?

2009-05-01 Thread Geoffrey Wiseman
On Fri, May 1, 2009 at 9:16 AM, Angelo Chen angelochen...@yahoo.com.hkwrote: Hi, following code redirects to a results page under mysearch: Object onSuccessFromMySearchForm() { return mysearch/results; } now I need to append a query string after the page name: return mysearch

Re: t5: appending a query string to a page name?

2009-05-01 Thread Angelo Chen
Hi, MySearchResuls can be directly called by: http://localhost:8080/mysearchresults?type=1group=2 thus need to find a way to activate those page in another class with query string approach. Harald Geritzer-2 wrote: you could inject the mysearchresults page: @Inject private

Re: t5: appending a query string to a page name?

2009-05-01 Thread ஸ்ரீராம் கீர்த்தி
Angelo, you can make it like this... Object onSuccessFromMySearchForm() { return mysearch/results/12345; // note the '/' 12345 is not a part of the query string but part of the url path itself } and in Results.java use onActivation method ... something like ... @Property private String

Re: Tap 5.0.5 Cannot parse url in href which contains query string page

2007-07-07 Thread Shing Hing Man
Replacing by amp; does the trick. Thanks! Shing --- Marcus Schulte [EMAIL PROTECTED] wrote: did you try fooamp;page=Show ? 2007/7/7, Shing Hing Man [EMAIL PROTECTED]: Tap 5.0.5 Cannot parse url in href which contains query string page To: tapestry Tapestry [EMAIL PROTECTED

AW: encrypt query string

2007-01-23 Thread Peter Schröder
Oestereter [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 23. Januar 2007 21:06 An: Tapestry users Betreff: encrypt query string Hi I want to encrypt (most of) the query string part of a tapestry webapp. So instead of having an URL like.. http://localhost:8080/myapp/dir/Page