[Yanel-dev] ViewableV2.getMimeType()

Jonathan Addison jon at wyona.com
Wed Nov 28 02:19:53 CET 2007


Michael Wechner wrote:
> Hi
>
> I gave ViewableV2.getMimeType() some more thought and suddenly thought 
> that this is needed if the resource writes into the response directly 
> and sets
>
> View.setResponse(false)
>
> resp. which is being checked by the YanelServlet for instance
>
> view.isResponse()
>
> but I didn't find any place where this method is actually being used.

I'm not sure if it's actually being used either but I think it exists in 
e.g. the Calendar resource.

>
> I have commented it locally
>
>     /**
>      * Mime type of resource, e.g. application/xhtml+xml, whereas it 
> can depend on view id
>      */
> -    public String getMimeType(String viewId) throws Exception;
> +    //public String getMimeType(String viewId) throws Exception;
> }
>
> and Yanel and all resources build fine.
>
> Since ViewableV2 is not released yet, shall we delete it?
>
> WDYT?
>
> Cheers
>
> Michi
>



More information about the Yanel-development mailing list