I consider /page2/UPDATE/24 restful, but I'm very, very far from being an
expert in this subject.
My approach is to use /something/edit for new object creation and
/something/edit/1111 for existing object edition. In other words, the
first activation context value is always the id of the object to edit and
the other ones would be other parameters.
On Wed, 19 Oct 2011 16:45:13 -0200, hese <1024h...@gmail.com> wrote:
/page2/24 (for create), /page2/24 (for update)
Notice that page1 does not have any id in the url in create mode
(obviously), but page2 has id in the url in create mode (passed from
page1).
Instead, I'd pass (null, 24) as the activation context of page2. The URL
would be /page2/$N/24.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org