[Yanel-dev] SerializerFactory and ResourceResolver patch

Josias Thöny josias.thoeny at wyona.com
Fri Jan 18 17:54:35 CET 2008


Evaldas Taroza wrote:
> I added TEXT serializer, it will use the internal Xalan text serializer.
> 
> I added Constants class, where I suggest to put all the constants, in 
> order to minimize hardcoded values in Yanel.
> 
> Modified ResourceResovler. The problem was that such request didn't work 
> properly:
> yanelresource:/en/sitetree.xml?yanel.resource.viewid=myview
> The problem was, that even though the parameters were passed to the 
> resolved resource, the view was not detected, so Resource.getView(null) 
> would be called instead of Resource.getView("myview").

Your patch is now checked in. Thanks a lot.
I made one minor modification: I don't use String.valueOf(...) in 
ResourceResolver, because it seems to return the string "null" if the 
parameter viewid does not exist.

josias

> 
> Evaldas
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development



More information about the Yanel-development mailing list