You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by BJ Freeman <bj...@free-man.net> on 2007/10/01 23:31:18 UTC

Re: https://issues.apache.org/jira/browse/OFBIZ-1274 --UtilURL.fromResource(templateName)

figured out the fix thanks


BJ Freeman sent the following on 9/30/2007 10:48 AM:
> It looks like UtilURL does not have a way to read widgets and return a URL.
> This is a learning experience for me so I am asking some dumb questions.
> 
>  should that be part of the public static URL fromResource(String
> resourceName, ClassLoader loader)
> 
> or should make a new one
> public static URL fromxml(String resourceName)
> 
> and put in the NotificationServices to check for an xml extention and
> call the new method.
> 
> I think I can muddle thru to make the code work for fromxml()
> 
> 
>