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
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
@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
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>
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
{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
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
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?
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
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
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
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
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
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=
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
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
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
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 &
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 ..
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:
>
>
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
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
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
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
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
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
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
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
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
29 matches
Mail list logo