Sample code for using FreeMarker with Restlets

2008-12-25 Thread Mark Petrovic
Good day, and Merry Christmas to all who are celebrating it. Would someone be kind enough to post a few lines of example config and code showing how you use FreeMarker with Restlets in returning html views. Thanks much. -- Mark Petrovic m...@petrovic.org http://www.petrovic.org

RE: Metadata service

2008-12-25 Thread fabio . mancinelli
Yes I was able to solve the issue. It was the getTunnelService().setExtensionsTunnel(true); that had to be called to enable conneg via extensions. Thank you for your help and merry xmas! :) Fabio -- http://restlet.tigris.org/ds/viewMessage.do?

RE: Response message before redirection

2008-12-25 Thread Mohamed Abdel-Aziz Bayoumi
Hi Jerome, Thanks very much for replying my post ... i got over my problem by checking the referrer to the FileUpload resource as follows: @Override //==> at FileUploader resource public void acceptRepresentation(Representation entity) throws ResourceException { try {