a Variable.TYPE_URI_PATH constant supported in SVN trunk.
It will be part of 1.1 M2!
Best regards,
Jerome
-Message d'origine-
De : Makunas, Michael [mailto:[EMAIL PROTECTED]
Envoyé : mardi 5 février 2008 19:10
À : discuss@restlet.tigris.org
Objet : RE: RE: template question
Thanks. Using
Thanks. Using Variable.TYPE_URI_ALL works. Though it would be nice to have
something like Variable.TYPE_URI_ALL_WITHOUT_QUERY or something like that since
{id} now includes the query string. That's not an issue in my case, though, so
it works well enough.
Cheers,
Michael
-Original
Hi all-
I've got a question regarding templates.
In my restlet application I'm attaching a custom finder based on a
URI pattern like this:
router.attach(/{foo}/{bar}/{baz}/{id}, myCustomFinder);
router.attach(/{foo}/{bar}/{baz}, myCustomFinder);
router.attach(/{foo}/{bar}, myCustomFinder);
Hi all-
Anyone going to JavaPolis in Antwerp next month? If so, do you know if
anyone is doing a REST/Restlet BOF or meetup type of thing?
Cheers,
Michael
-
De : Makunas, Michael [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 16 novembre 2007 17:53 À :
discuss@restlet.tigris.org Objet : Resource convention over
configuration
Hi all-
I'm trying to employ a bit of convention over
configuration with my
restlet based webapp, and I'm
Hi all-
I'm trying to employ a bit of convention over configuration with my
restlet based webapp, and I'm wondering if anyone has dome something
similar.
For sake of argument, let's say my URI space is based on the following
template:
/{foo}/{bar}/{baz}/{id}
I want to establish a convention
-Original Message-
From: Adam Taft [mailto:[EMAIL PROTECTED]
It should be either one of two ways:
a) bean id=fooResource scope=request class=FooResource /
b) bean id=fooResource scope=prototype class=FooResource /
-a- should theoretically work in a servlet environment (like
he's
Hi-
In a quest to improve the springyness of the current spring/restlet
integration I'm using, I've been playing around with some of the new
Spring related classes in the 1.1 development trunk. I think I've
managed to achieve a better fit than I had before, so I thought I'd
share it and get some
I understand your frustration with having to create the application outside of
Spring. One potential solution I've thought might work is to have a version of
restlet's ServerServlet that extends Springs HttpServletBean. In the meantime,
we've been able to get everything except the application
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Stokes
Sent: 05 March 2007 20:27
To: discuss@restlet.tigris.org
Subject: Re: mapping domain objects to resources
Makunas, Michael Makunas.Michael at mtvne.com writes:
My question is where do people generally
Hi all-
This may really be more of an OOP question rather than a Restlet
question, but I'm curious as what people are using as a general strategy
for mapping resources to domain objects. Specifically in cases where
there are properties of the resource that that are not part of the
domain object.
();
if (result != null) {
result.init(getContext(), request, response);
}
return result;
}
The new org.restlet.ext.spring.SpringFinder class has this all setup
for you.
Jonathan
Makunas, Michael wrote:
Hi-
Been lurking for a while but this is my first post so
12 matches
Mail list logo