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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

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

BJ Freeman
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()
Reply | Threaded
Open this post in threaded view
|

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

BJ Freeman
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()
>
>
>
Reply | Threaded
Open this post in threaded view
|

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

BJ Freeman
In reply to this post by BJ Freeman
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()
>
>
>
Reply | Threaded
Open this post in threaded view
|

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

Jacques Le Roux
Administrator
Hi BJ,

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

Jacques

De : "BJ Freeman" <[hidden email]>

> 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()
> >
> >
> >
>
Reply | Threaded
Open this post in threaded view
|

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

BJ Freeman
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" <[hidden email]>
>> 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()
>>>
>>>
>>>
>
>
>
Reply | Threaded
Open this post in threaded view
|

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

Jacques Le Roux
Administrator
Don't know who does it but it's done :o)

Jacques

De : "BJ Freeman" <[hidden email]>

> 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" <[hidden email]>
> >> 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()
> >>>
> >>>
> >>>
> >
> >
> >
>