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/09/30 19:48:39 UTC

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

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()

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

Posted by BJ Freeman <bj...@free-man.net>.
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()
> 
> 
> 

Re: Re:Product Store emails need overhoaul was OFBIZ-1274 --UtilURL.fromResource(templateName)

Posted by Jacques Le Roux <ja...@les7arts.com>.
Don't know who does it but it's done :o)

Jacques

De : "BJ Freeman" <bj...@free-man.net>

> https://issues.apache.org/jira/browse/OFBIZ-1278
> is the main
> don't know how to make 1274 as sub task.
> 
> Jacques Le Roux sent the following on 10/2/2007 12:06 AM:
> > Hi BJ,
> > 
> > Why not starting a new Jira and make 1274 a subtask of this new issue ?
> > 
> > Jacques
> > 
> > De : "BJ Freeman" <bj...@free-man.net>
> >> I am finding a lot of things that need to be cleaned up or fixed in the
> >> product store emails
> >> Should I make a sub task of this for those or start a new Jira
> >>
> >> 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()
> >>>
> >>>
> >>>
> > 
> > 
> > 
> 

Re:Product Store emails need overhoaul was OFBIZ-1274 --UtilURL.fromResource(templateName)

Posted by BJ Freeman <bj...@free-man.net>.
https://issues.apache.org/jira/browse/OFBIZ-1278
is the main
don't know how to make 1274 as sub task.

Jacques Le Roux sent the following on 10/2/2007 12:06 AM:
> Hi BJ,
> 
> Why not starting a new Jira and make 1274 a subtask of this new issue ?
> 
> Jacques
> 
> De : "BJ Freeman" <bj...@free-man.net>
>> I am finding a lot of things that need to be cleaned up or fixed in the
>> product store emails
>> Should I make a sub task of this for those or start a new Jira
>>
>> 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()
>>>
>>>
>>>
> 
> 
> 

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

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi BJ,

Why not starting a new Jira and make 1274 a subtask of this new issue ?

Jacques

De : "BJ Freeman" <bj...@free-man.net>
> I am finding a lot of things that need to be cleaned up or fixed in the
> product store emails
> Should I make a sub task of this for those or start a new Jira
> 
> 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()
> > 
> > 
> > 
> 

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

Posted by BJ Freeman <bj...@free-man.net>.
I am finding a lot of things that need to be cleaned up or fixed in the
product store emails
Should I make a sub task of this for those or start a new Jira

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()
> 
> 
>