Re: Spring + Restlet + Tomcat

2008-03-20 Thread Rhett Sutphin
Hi Stephen, On Mar 20, 2008, at 10:27 AM, Stephen Mc Namara wrote: I'm trying without much success to bootstrap a new project using both Spring (2.5) and restlet(1.1-M2). The plan goes something like this; * Restlet resources on the front end which interact with a service layer. The serv

Spring + Restlet + Tomcat

2008-03-20 Thread Stephen Mc Namara
I'm trying without much success to bootstrap a new project using both Spring (2.5) and restlet(1.1-M2). The plan goes something like this; * Restlet resources on the front end which interact with a service layer. The service layer contains some business logic but mostly passes off calls t

Series.getValues()

2008-03-20 Thread Paul J. Lucas
Sorry if this is a duplicate, but I never say my original message echo to the list. Begin forwarded message: Date: March 19, 2008 4:19:32 PM PDT To: discuss@restlet.tigris.org Subject: Series.getValues() This method, as written in Restlet 1.0.8, specifically this variant: getValues(St

Re: File extensions to select variants

2008-03-20 Thread keke
Good for me :) On Thu, Mar 20, 2008 at 6:19 PM, Jerome Louvel <[EMAIL PROTECTED]> wrote: > > Hi all, > > I agree with Stephan that only recognized extensions in the last URI > segment > should be cut. The feature could be deactivated on a per-application > basis. > > Also, the supporting filter i

RE: Velocity MVC

2008-03-20 Thread Jerome Louvel
Hi Ozhan, Yes, the handlePost() can specify a response entity directly: getResponse().setEntity(myFormRepresentation); You should also consider using the post(Representation entity) method (in v1.0) or acceptRepresentation(Representation) (in v1.1) instead of the lower-level handlePost() m

RE: Specifying a specific client connector

2008-03-20 Thread Jerome Louvel
Hi Dan, This is an advanced need but I can see how useful it can be. I've added an extra constructor to Client and Server that takes the qualified class name of the connector helper to use (such as "com.noelios.restlet.ext.grizzly.HttpServerHelper"). I didn't want to add it to other shortcut con

RE: Reference with baseref and absolute path

2008-03-20 Thread Jerome Louvel
Hi Jeroen, [...] > I was expecting that calling getTargetRef() on a reference with an > absolute path would clear the baseref. This is also how I > understand it from the javadoc: > "This relative URI reference can then be resolved against a base > reference via the getTargetRef() method whi

RE: File extensions to select variants

2008-03-20 Thread Jerome Louvel
Hi all, I agree with Stephan that only recognized extensions in the last URI segment should be cut. The feature could be deactivated on a per-application basis. Also, the supporting filter in the NRE packages could always be used manually, but from an API user point of view, it is easier to exp

Re: File extensions to select variants

2008-03-20 Thread Stephan Koops
Hello keke, I am afraid that making this a default feature of application a bit dangerous. it will be possible, to disable this feature. I prefer, to disable it by default. Why not create a filter to do this? Users can then apply the filter if they want this feature. My first proposal was also

Re: changing the router's route list

2008-03-20 Thread Stephan Koops
Hello Jim What method on Router actually selects the Route? Have a look into Router.getNext(). The Route-s score itself in Route.score(..) best regards Stephan