Thierry Boileau thboileau at gmail.com writes:
Ooops,
I forget : you also need to set the equals mode when routing to
fooListFinder, otherwise this route will catch the garbage URLs.
Best regards,
Thierry Boileau
Thanks, that worked for me. I did need the ?{fooQuery} part, although I
Hello Stokes,
the behaviour of variables is based on the URI specification
(http://gbiv.com/protocols/uri/rfc/rfc3986.html).
This spec definies precisely each part of an Uri, give them a name and a
list of allowed characters.
For example :
- a segment can contain alphabetical characters,
Hello Stokes,
The routing mechanism is based on Template objects
(http://www.restlet.org/documentation/1.0/api/index.html?org/restlet/util/Template.html)
and Variable objects.
When defining a route with the attach method, a Template object is
created and then associated with this route. This
Hi Stokes,
Depending on the type of routing it maybe desirable to require an exact
match of the target URI (like in your case) or simply a match of the start
of the target URI (like in the case of a Directory finder).
The Router class uses the second mode (Template.START_WITH) by default when
Ooops,
I forget : you also need to set the equals mode when routing to
fooListFinder, otherwise this route will catch the garbage URLs.
Best regards,
Thierry Boileau
Hello Stokes,
The routing mechanism is based on Template objects
5 matches
Mail list logo