RE: Re: Multiple content types

2009-07-05 Thread Jerome Louvel
://www.noelios.com -Message d'origine- De : Sherif Ahmed [mailto:sherifah...@hotmail.com] Envoyé : mercredi 1 juillet 2009 20:00 À : discuss@restlet.tigris.org Objet : RE: Re: Multiple content types Okay.. I had to add an XLS Representation for a resource and I wan to support a suffix

RE: Re: Multiple content types

2009-07-01 Thread Sherif Ahmed
Okay.. I had to add an XLS Representation for a resource and I wan to support a suffix of .json for JSON and .XLS for Excel , but using the code below (and rest of the code in the previous thread). no matter what extension I use (even other than XLS OR JSON). the Variant.Representation in my