On Mon, 2004-02-16 at 08:12, Jan Hoskens wrote:
> > to test that the sitemap really calls this code, i changed the value of
> > the continuation like this <map:call continuation="{1}/{2}"/> and i get
> > - correctly - an error, so it runs the correct code in the sitemap
> >
> > finally my question: isn't it possible to submit the continuation-id
> > with any other information in the URI? if i switch back all my files to
> > a URI without locale everythings ok again!
>
> I use flowscript with my continuation id in a hidden request field. My uri
> is whatever I like, just something to recognize the uri so I know when I
> have to check the requestparameter and call the continuation (sometthing
> like edit.continue).
I prefer to see the the continuation ID's in the URL. I see the
continuations as resources existing on the server (temporary resources
then), and a resource should be addressed by an URL.
The URL-structure I'm currently using is as follows. Suppose the thing
we're editing is an "order", then I would have the following URL's:
/orders/<order-id> : displays the order
/orders/<order-id>/edit : start the flow for editing
/orders/<order-id>/edit/<continuation-id> : continue the editing flow
/orders/new : creates a new order
(flow then continues at /orders/new/edit/...)
/orders : display list of all orders
the paths can of course be prefixed by whatever you like (like an
application and language identifying part).
Note that I don't use (and don't need to use) the ".continue" part after
the continuation-id.
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]