Re: Query string

2011-04-27 Thread Mark
On Wed, Apr 27, 2011 at 2:29 PM, Mark wrote: > On Wed, Apr 27, 2011 at 1:30 PM, Tim Koop 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 c

Re: Query string

2011-04-27 Thread Mark
On Wed, Apr 27, 2011 at 1:30 PM, Tim Koop 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 somet

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 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: Query string

2011-04-27 Thread Sven Homburg
hat 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>

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

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

2010-06-20 Thread Joel Halbert
{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? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apa

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

2010-06-18 Thread Howard Lewis Ship
tpage >    private Buy buy; >    public Object onSubmit() { >        buy.setProduct(product) >        return buy; >    } > > And in Buy have an onPassivate to get the correct context > Buy { >    String onPassivate90{return product} > } > > Whch gets me the

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

2010-06-18 Thread Joel Halbert
y 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?

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 Chen > wrote: > Coul

Re: t5: passing query string when redirect

2009-06-10 Thread Ulrich Stärk
dParameter(...) 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 u

Re: t5: passing query string when redirect

2009-06-10 Thread Thiago H. de Paula Figueiredo
On Wed, Jun 10, 2009 at 11:21 AM, Angelo Chen wrote: > 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 th

Re: t5: passing query string when redirect

2009-06-10 Thread Ulrich Stärk
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://localhost/?test=123 then after redirect, browser's address bar should show: http://localhost/mypage/?test=12

t5: passing query string when redirect

2009-06-10 Thread Angelo Chen
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://localhost/?test=123 then after redirect, brow

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

2009-05-03 Thread Geoff Callender
tGlobals.getRequest(); 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=

t5: grid's pager with query string as links

2009-05-02 Thread Angelo Chen
tp://localhost/search?country=US&stateNY&page=2 http://localhost/search?country=US&stateNY&page=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 Ta

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

2009-05-02 Thread Joachim Van der Auwera
sults"; } 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 a query string to a page name? Thanks, Ang

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

2009-05-02 Thread Andrew Court
ntry = 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=US&a

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

2009-05-02 Thread Angelo Chen
Hi, the problem is, when it is this which is very common in the query string, T5 will not accept: mysearch/results/country=US&state=NY ஸ்ரீராம் கீர்த்தி wrote: > > Angelo, > > you can make it like this... > Object onSuccessFromMySearchForm() { >return &

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 ..

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=1&group=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: > >

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 wrote: > > 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

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

2009-05-01 Thread Harald Geritzer
page under 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

t5: appending a query string to a page name?

2009-05-01 Thread Angelo Chen
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/results?12345"; this will trigger an exception: Unable

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

2007-07-07 Thread Shing Hing Man
Replacing & by & does the trick. Thanks! Shing --- Marcus Schulte <[EMAIL PROTECTED]> wrote: > did you try foo&page=Show ? > > 2007/7/7, Shing Hing Man <[EMAIL PROTECTED]>: > > > > Tap 5.0.5 Cannot parse url in href which contains > query

Re: encrypt query string

2007-01-24 Thread Mike Oestereter
thats also the way we do it -Ursprüngliche Nachricht- Von: Mike 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

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

RE: encrypt query string

2007-01-23 Thread Robert J. Walker
If you're using Tapestry 4, friendly URL support could probably help you here. Write a class that implements ServiceEncoder. Then implement decode(), where you read your encrypted data and translate it to standard Tapestry parameters, and encode(), where you do the reverse. Then apply the encode

Re: encrypt query string

2007-01-23 Thread Michael Gloegl
Hi, a custom encoder from the friendly-url guide http://tapestry.apache.org/tapestry4.1/usersguide/friendly-urls.html could be just as well used for unfriendly-urls Michael I want to encrypt (most of) the query string part of a tapestry webapp. So instead of having an URL like.. http

encrypt query string

2007-01-23 Thread Mike Oestereter
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,component.subcomponent.subsubcomp.subsubsubcomp.sdirect?sp=Sblahblah ..I would like something like.. http://localhost:8080/myapp