On 21 February 2010 02:11, Alexander Kiel <alexanderk...@gmx.net> wrote:
> * /articles/                         list all articles available
> * /articles/{a-id}/                  show one article
> * /customers/                        list all customers
> * /customers/{c-id}/                 show one customer
> * /customers/{c-id}/orders/          list all orders of the customer
> * /customers/{c-id}/orders/{o-id}/   show one order of the customer

You could simply check in the onActivate of your Articles page whether
you have received a context or not. Set a boolean and use that in your
tml to determine what to display.

I don't know if you can (easily) mix and match page names and contexts
as in customers/c-id/orders/o-id. I've never tried that.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to