when you have a page: /items/itemslist
this seems not working:
return new PageRenderRequestParameters(ItemsList.class.getSimpleName() ...
but this works:
return new PageRenderRequestParameters("items/itemslist", ...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/EventC
I noticed code below, actually cause a http 302, that's actually a redirect,
not the thing I was expecting.
angelochen wrote
>
> works, thanks. a related question, I was rewriting the incoming url:
>
> /3/list
>
> it will be sent to /Mylist/3
>
> it works, but the url in the browser g
works, thanks. a related question, I was rewriting the incoming url:
/3/list
it will be sent to /Mylist/3
it works, but the url in the browser got changed to /Mylist/3 as well
which I don't want, I want the url to remain as /3/list, the old
URLRewrite was working as expected, her
Use URLEventContext:
http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/internal/URLEventContext.html
The ContextValueEncoder can be injected.
Hi,
this works:
new PageRenderRequestParameters(Sample.class.getSimpleName(),
new EmptyEventContext(), false);
but if I