Hi Meb,

 

If you are referring to index HTML pages, you can override the following 
methods:

 

 
<http://www.restlet.org/documentation/snapshot/jee/api/org/restlet/resource/Directory.html#getIndexRepresentation%28org.restlet.representation.Variant,%20org.restlet.data.ReferenceList%29>
 getIndexRepresentation( 
<http://www.restlet.org/documentation/snapshot/jee/api/org/restlet/representation/Variant.html>
 Variant variant,  
<http://www.restlet.org/documentation/snapshot/jee/api/org/restlet/data/ReferenceList.html>
 ReferenceList indexContent)

getIndexVariants 
<http://www.restlet.org/documentation/snapshot/jee/api/org/restlet/resource/Directory.html#getIndexVariants%28org.restlet.data.ReferenceList%29>
 (ReferenceList 
<http://www.restlet.org/documentation/snapshot/jee/api/org/restlet/data/ReferenceList.html>
  indexContent)

 

Best regards,
Jerome
--
Restlet ~ Founder and Technical Lead ~  <http://www.restlet.org/> 
http://www.restlet.o​rg
Noelios Technologies ~  <http://www.noelios.com/> http://www.noelios.com

 

 

 

De : Marc-Elian Bégin [mailto:m...@sixsq.com] 
Envoyé : jeudi 24 mars 2011 19:09
À : discuss@restlet.tigris.org
Objet : HTML decoration for Directory

 

Hi,

 

Is there a way to decorate/control the HTML used by Director class responses?

 

Thanks,

 

Meb

 

 

_________
Marc-Elian Bégin
Co-Founder
SixSq, Geneva, Switzerland
m...@sixsq.com
+41 77 44 68 119
twitter: lemeb
www.sixsq.com <http://www.sixsq.com/>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2715643

Reply via email to