RE: Re: Setting cookies

2010-10-20 Thread webpost
Yes, this worked, it looks like I was missing the 'getResponse()' in 'this.getResponse().getCookieSettings().add(new CookieSetting(0, "cookieName", "cookieValue"));' Thanks so much for your help, I spent so long trying to figure this out. -- h

Re: Using a REST layer for UI and services

2010-10-20 Thread Tim Peierls
On Wed, Oct 20, 2010 at 10:18 AM, Tal Liron wrote: > I think you can improve your own idea by automatically handling etags or > modification dates in wrapIfHtml, perhaps storing a timestamp in the > calendar data itself. If you can't cache, at least conditionalize the HTTP. > Thanks, Tal. I focus

Re: Using a REST layer for UI and services

2010-10-20 Thread Tal Liron
I'll only say that without caching somewhere along the line, making any kind of front-facing UIs with Restlet is going to be painful. When this comes (Restlet 2.1?), the proper Restlety route for this may suggest itself. fetchCalendar may cache, but does wrapIfHtml cache? Though, I do like the

Re: Using a REST layer for UI and services

2010-10-20 Thread Tim Peierls
I went ahead and did this as I outlined (see quoted message below), for Freemarker and Jackson only, no Atom. there were several issues along the way. I had to replace the built-in ConverterHelpers that come with the Restlet extensions with my own subclasses of those ConverterHelpers. (The Jackson

RE: Setting cookies

2010-10-20 Thread Thierry Boileau
Hello, I've just tested with Restlet 2.0.1 and IE7/Firefox 3.6 and it works for me. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2673811

Re: Getting 2.0.1 jars from a maven repository

2010-10-20 Thread Jim Alateras
it's okay i figured it out :-) cheers On 20/10/2010, at 6:46 PM, Jim Alateras wrote: > Apologies if this has already been asked but is there a maven repository that > is hosting v2.0.1 restlet libraries? > > cheers > > > -- > http://rest

Getting 2.0.1 jars from a maven repository

2010-10-20 Thread Jim Alateras
Apologies if this has already been asked but is there a maven repository that is hosting v2.0.1 restlet libraries? cheers -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2673736