IMHO passing page number as page activation context is not RESTFull :)
depends on the use cases off course.
I think you would better use parameter for that.

Renat

2008/7/30 Algirdas <[EMAIL PROTECTED]>:
>
> I'm writing custom grid component with paging, sorting, etc.
> (also migrating from Tapestry 4.0.2 to T5).
>
> I need to pass page number, page size, sorting order and so on in url.
> There is this new "context" thing and wonder if I should use it.
>
> That is, my old implementation was
> myapp/product?id=10&pnum=2&psize=5
>
> with context I could do
> myapp/product/10/pnum/2/psize/5
>
> Any suggestions on which implementation I should choose?
>
> In both cases I would generate links manually.
>
> I would rather go with the first one, but passing "psize=5" to context of
> PageLink
> encodes into "psize%3D5". Any thoughts about this?
>
> --
> View this message in context: 
> http://n2.nabble.com/URL-parameters-or-context--tp661050p661050.html
> Sent from the Tapestry Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Best regards,
Renat Zubairov

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

Reply via email to