Can we override the properties within widget.properties

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

Can we override the properties within widget.properties

Sameer Apte
Hi All,

I think subject line covers my question pretty much. :-)
What i noticed is few properties as below in the widget.properties

screen.name=html

screen.screenrenderer=component://widget/templates/Html11ScreenMacroLibrary.ftl
screen.formrenderer=component://widget/templates/Html11FormMacroLibrary.ftl
screen.menurenderer=component://widget/templates/Html11MenuMacroLibrary.ftl
screen.treerenderer=component://widget/templates/Html11TreeMacroLibrary.ftl

I was wondering if there is any easy way out to not touch this and override
the renderer properties to point to my own macro library ftl files in my
custom component?

Any hints, pointers or even examples will be greatly appreciated.
Thanks in advance.


Regards,
Sameer Apte
Reply | Threaded
Open this post in threaded view
|

Re: Can we override the properties within widget.properties

Sameer Apte
Kindly ignore the 11 from the values.. It was just my attempt to find if
that causes any -ve impact and therefore indicating location which i might
look at to override.

On Sat, Mar 17, 2018 at 6:36 PM, Sameer Apte <[hidden email]> wrote:

> Hi All,
>
> I think subject line covers my question pretty much. :-)
> What i noticed is few properties as below in the widget.properties
>
> screen.name=html
>
> screen.screenrenderer=component://widget/templates/Html11ScreenMacroLibrary.ftl
> screen.formrenderer=component://widget/templates/Html11FormMacroLibrary.ftl
> screen.menurenderer=component://widget/templates/Html11MenuMacroLibrary.ftl
> screen.treerenderer=component://widget/templates/Html11TreeMacroLibrary.ftl
>
> I was wondering if there is any easy way out to not touch this and
> override the renderer properties to point to my own macro library ftl files
> in my custom component?
>
> Any hints, pointers or even examples will be greatly appreciated.
> Thanks in advance.
>
>
> Regards,
> Sameer Apte
>
Reply | Threaded
Open this post in threaded view
|

Re: Can we override the properties within widget.properties

Deepak Dixit-3
Hi Sameer,

Could you please share which release you are using?


If you are using R17.12 or trunk, You can achieve this by Theme development.
Please refer following doc, for theme deve
https://cwiki.apache.org/confluence/x/YgFk


Thanks & Regards
--
Deepak Dixit

On Sun, Mar 18, 2018 at 1:44 AM, Sameer Apte <[hidden email]> wrote:

> Kindly ignore the 11 from the values.. It was just my attempt to find if
> that causes any -ve impact and therefore indicating location which i might
> look at to override.
>
> On Sat, Mar 17, 2018 at 6:36 PM, Sameer Apte <[hidden email]> wrote:
>
> > Hi All,
> >
> > I think subject line covers my question pretty much. :-)
> > What i noticed is few properties as below in the widget.properties
> >
> > screen.name=html
> >
> > screen.screenrenderer=component://widget/templates/
> Html11ScreenMacroLibrary.ftl
> > screen.formrenderer=component://widget/templates/
> Html11FormMacroLibrary.ftl
> > screen.menurenderer=component://widget/templates/
> Html11MenuMacroLibrary.ftl
> > screen.treerenderer=component://widget/templates/
> Html11TreeMacroLibrary.ftl
> >
> > I was wondering if there is any easy way out to not touch this and
> > override the renderer properties to point to my own macro library ftl
> files
> > in my custom component?
> >
> > Any hints, pointers or even examples will be greatly appreciated.
> > Thanks in advance.
> >
> >
> > Regards,
> > Sameer Apte
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Can we override the properties within widget.properties

Sameer Apte
Thanks indeed Deepak.
I am still on 16.11 but the wiki link provided by you is tempting me to
upgrade.
Will give it a try.
Hopefully I don't have to invest too much time in upgrading.

On Mon, Mar 19, 2018 at 3:32 AM, Deepak Dixit <
[hidden email]> wrote:

> Hi Sameer,
>
> Could you please share which release you are using?
>
>
> If you are using R17.12 or trunk, You can achieve this by Theme
> development.
> Please refer following doc, for theme deve
> https://cwiki.apache.org/confluence/x/YgFk
>
>
> Thanks & Regards
> --
> Deepak Dixit
>
> On Sun, Mar 18, 2018 at 1:44 AM, Sameer Apte <[hidden email]> wrote:
>
> > Kindly ignore the 11 from the values.. It was just my attempt to find if
> > that causes any -ve impact and therefore indicating location which i
> might
> > look at to override.
> >
> > On Sat, Mar 17, 2018 at 6:36 PM, Sameer Apte <[hidden email]>
> wrote:
> >
> > > Hi All,
> > >
> > > I think subject line covers my question pretty much. :-)
> > > What i noticed is few properties as below in the widget.properties
> > >
> > > screen.name=html
> > >
> > > screen.screenrenderer=component://widget/templates/
> > Html11ScreenMacroLibrary.ftl
> > > screen.formrenderer=component://widget/templates/
> > Html11FormMacroLibrary.ftl
> > > screen.menurenderer=component://widget/templates/
> > Html11MenuMacroLibrary.ftl
> > > screen.treerenderer=component://widget/templates/
> > Html11TreeMacroLibrary.ftl
> > >
> > > I was wondering if there is any easy way out to not touch this and
> > > override the renderer properties to point to my own macro library ftl
> > files
> > > in my custom component?
> > >
> > > Any hints, pointers or even examples will be greatly appreciated.
> > > Thanks in advance.
> > >
> > >
> > > Regards,
> > > Sameer Apte
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Can we override the properties within widget.properties

Sameer Apte
Hi All,

I was looking at git repo of ofbiz so that I can give the upgrade an try.
However failing to see any branch or tag named after release 17.12
Am I missing anything?
The git repo I am trying to look at is https://github.com/apache/ofbiz

Regards,
Sameer Apte

On Mon, Mar 19, 2018 at 10:00 AM, Sameer Apte <[hidden email]> wrote:

> Thanks indeed Deepak.
> I am still on 16.11 but the wiki link provided by you is tempting me to
> upgrade.
> Will give it a try.
> Hopefully I don't have to invest too much time in upgrading.
>
> On Mon, Mar 19, 2018 at 3:32 AM, Deepak Dixit <deepak.dixit@hotwaxsystems.
> com> wrote:
>
>> Hi Sameer,
>>
>> Could you please share which release you are using?
>>
>>
>> If you are using R17.12 or trunk, You can achieve this by Theme
>> development.
>> Please refer following doc, for theme deve
>> https://cwiki.apache.org/confluence/x/YgFk
>>
>>
>> Thanks & Regards
>> --
>> Deepak Dixit
>>
>> On Sun, Mar 18, 2018 at 1:44 AM, Sameer Apte <[hidden email]>
>> wrote:
>>
>> > Kindly ignore the 11 from the values.. It was just my attempt to find if
>> > that causes any -ve impact and therefore indicating location which i
>> might
>> > look at to override.
>> >
>> > On Sat, Mar 17, 2018 at 6:36 PM, Sameer Apte <[hidden email]>
>> wrote:
>> >
>> > > Hi All,
>> > >
>> > > I think subject line covers my question pretty much. :-)
>> > > What i noticed is few properties as below in the widget.properties
>> > >
>> > > screen.name=html
>> > >
>> > > screen.screenrenderer=component://widget/templates/
>> > Html11ScreenMacroLibrary.ftl
>> > > screen.formrenderer=component://widget/templates/
>> > Html11FormMacroLibrary.ftl
>> > > screen.menurenderer=component://widget/templates/
>> > Html11MenuMacroLibrary.ftl
>> > > screen.treerenderer=component://widget/templates/
>> > Html11TreeMacroLibrary.ftl
>> > >
>> > > I was wondering if there is any easy way out to not touch this and
>> > > override the renderer properties to point to my own macro library ftl
>> > files
>> > > in my custom component?
>> > >
>> > > Any hints, pointers or even examples will be greatly appreciated.
>> > > Thanks in advance.
>> > >
>> > >
>> > > Regards,
>> > > Sameer Apte
>> > >
>> >
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Can we override the properties within widget.properties

Jacques Le Roux
Administrator
You should rather use SVN which is the official repo

But anyway, here you go https://ofbiz.apache.org/source-repositories.html

Jacques


Le 19/03/2018 à 11:33, Sameer Apte a écrit :

> Hi All,
>
> I was looking at git repo of ofbiz so that I can give the upgrade an try.
> However failing to see any branch or tag named after release 17.12
> Am I missing anything?
> The git repo I am trying to look at is https://github.com/apache/ofbiz
>
> Regards,
> Sameer Apte
>
> On Mon, Mar 19, 2018 at 10:00 AM, Sameer Apte <[hidden email]> wrote:
>
>> Thanks indeed Deepak.
>> I am still on 16.11 but the wiki link provided by you is tempting me to
>> upgrade.
>> Will give it a try.
>> Hopefully I don't have to invest too much time in upgrading.
>>
>> On Mon, Mar 19, 2018 at 3:32 AM, Deepak Dixit <deepak.dixit@hotwaxsystems.
>> com> wrote:
>>
>>> Hi Sameer,
>>>
>>> Could you please share which release you are using?
>>>
>>>
>>> If you are using R17.12 or trunk, You can achieve this by Theme
>>> development.
>>> Please refer following doc, for theme deve
>>> https://cwiki.apache.org/confluence/x/YgFk
>>>
>>>
>>> Thanks & Regards
>>> --
>>> Deepak Dixit
>>>
>>> On Sun, Mar 18, 2018 at 1:44 AM, Sameer Apte <[hidden email]>
>>> wrote:
>>>
>>>> Kindly ignore the 11 from the values.. It was just my attempt to find if
>>>> that causes any -ve impact and therefore indicating location which i
>>> might
>>>> look at to override.
>>>>
>>>> On Sat, Mar 17, 2018 at 6:36 PM, Sameer Apte <[hidden email]>
>>> wrote:
>>>>> Hi All,
>>>>>
>>>>> I think subject line covers my question pretty much. :-)
>>>>> What i noticed is few properties as below in the widget.properties
>>>>>
>>>>> screen.name=html
>>>>>
>>>>> screen.screenrenderer=component://widget/templates/
>>>> Html11ScreenMacroLibrary.ftl
>>>>> screen.formrenderer=component://widget/templates/
>>>> Html11FormMacroLibrary.ftl
>>>>> screen.menurenderer=component://widget/templates/
>>>> Html11MenuMacroLibrary.ftl
>>>>> screen.treerenderer=component://widget/templates/
>>>> Html11TreeMacroLibrary.ftl
>>>>> I was wondering if there is any easy way out to not touch this and
>>>>> override the renderer properties to point to my own macro library ftl
>>>> files
>>>>> in my custom component?
>>>>>
>>>>> Any hints, pointers or even examples will be greatly appreciated.
>>>>> Thanks in advance.
>>>>>
>>>>>
>>>>> Regards,
>>>>> Sameer Apte
>>>>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: Can we override the properties within widget.properties

Sameer Apte
Thanks for quick reply Jacques.
I don't know why but I felt that you guys are already moving towards Git as
well.
I think I had seen some conversation in past suggesting that.
(or may be it was my wishful thinking :-))

On Mon, Mar 19, 2018 at 10:44 AM, Jacques Le Roux <
[hidden email]> wrote:

> You should rather use SVN which is the official repo
>
> But anyway, here you go https://ofbiz.apache.org/source-repositories.html
>
> Jacques
>
>
>
> Le 19/03/2018 à 11:33, Sameer Apte a écrit :
>
>> Hi All,
>>
>> I was looking at git repo of ofbiz so that I can give the upgrade an try.
>> However failing to see any branch or tag named after release 17.12
>> Am I missing anything?
>> The git repo I am trying to look at is https://github.com/apache/ofbiz
>>
>> Regards,
>> Sameer Apte
>>
>> On Mon, Mar 19, 2018 at 10:00 AM, Sameer Apte <[hidden email]>
>> wrote:
>>
>> Thanks indeed Deepak.
>>> I am still on 16.11 but the wiki link provided by you is tempting me to
>>> upgrade.
>>> Will give it a try.
>>> Hopefully I don't have to invest too much time in upgrading.
>>>
>>> On Mon, Mar 19, 2018 at 3:32 AM, Deepak Dixit
>>> <deepak.dixit@hotwaxsystems.
>>> com> wrote:
>>>
>>> Hi Sameer,
>>>>
>>>> Could you please share which release you are using?
>>>>
>>>>
>>>> If you are using R17.12 or trunk, You can achieve this by Theme
>>>> development.
>>>> Please refer following doc, for theme deve
>>>> https://cwiki.apache.org/confluence/x/YgFk
>>>>
>>>>
>>>> Thanks & Regards
>>>> --
>>>> Deepak Dixit
>>>>
>>>> On Sun, Mar 18, 2018 at 1:44 AM, Sameer Apte <[hidden email]>
>>>> wrote:
>>>>
>>>> Kindly ignore the 11 from the values.. It was just my attempt to find if
>>>>> that causes any -ve impact and therefore indicating location which i
>>>>>
>>>> might
>>>>
>>>>> look at to override.
>>>>>
>>>>> On Sat, Mar 17, 2018 at 6:36 PM, Sameer Apte <[hidden email]>
>>>>>
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>>
>>>>>> I think subject line covers my question pretty much. :-)
>>>>>> What i noticed is few properties as below in the widget.properties
>>>>>>
>>>>>> screen.name=html
>>>>>>
>>>>>> screen.screenrenderer=component://widget/templates/
>>>>>>
>>>>> Html11ScreenMacroLibrary.ftl
>>>>>
>>>>>> screen.formrenderer=component://widget/templates/
>>>>>>
>>>>> Html11FormMacroLibrary.ftl
>>>>>
>>>>>> screen.menurenderer=component://widget/templates/
>>>>>>
>>>>> Html11MenuMacroLibrary.ftl
>>>>>
>>>>>> screen.treerenderer=component://widget/templates/
>>>>>>
>>>>> Html11TreeMacroLibrary.ftl
>>>>>
>>>>>> I was wondering if there is any easy way out to not touch this and
>>>>>> override the renderer properties to point to my own macro library ftl
>>>>>>
>>>>> files
>>>>>
>>>>>> in my custom component?
>>>>>>
>>>>>> Any hints, pointers or even examples will be greatly appreciated.
>>>>>> Thanks in advance.
>>>>>>
>>>>>>
>>>>>> Regards,
>>>>>> Sameer Apte
>>>>>>
>>>>>>
>>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Can we override the properties within widget.properties

taher
Hi

If you prefer git, the correct repo is
https://github.com/apache/ofbiz-framework. If you want to contribute and
for official support, svn is what the project uses.

On Mon, Mar 19, 2018, 1:49 PM Sameer Apte <[hidden email]> wrote:

> Thanks for quick reply Jacques.
> I don't know why but I felt that you guys are already moving towards Git as
> well.
> I think I had seen some conversation in past suggesting that.
> (or may be it was my wishful thinking :-))
>
> On Mon, Mar 19, 2018 at 10:44 AM, Jacques Le Roux <
> [hidden email]> wrote:
>
> > You should rather use SVN which is the official repo
> >
> > But anyway, here you go
> https://ofbiz.apache.org/source-repositories.html
> >
> > Jacques
> >
> >
> >
> > Le 19/03/2018 à 11:33, Sameer Apte a écrit :
> >
> >> Hi All,
> >>
> >> I was looking at git repo of ofbiz so that I can give the upgrade an
> try.
> >> However failing to see any branch or tag named after release 17.12
> >> Am I missing anything?
> >> The git repo I am trying to look at is https://github.com/apache/ofbiz
> >>
> >> Regards,
> >> Sameer Apte
> >>
> >> On Mon, Mar 19, 2018 at 10:00 AM, Sameer Apte <[hidden email]>
> >> wrote:
> >>
> >> Thanks indeed Deepak.
> >>> I am still on 16.11 but the wiki link provided by you is tempting me to
> >>> upgrade.
> >>> Will give it a try.
> >>> Hopefully I don't have to invest too much time in upgrading.
> >>>
> >>> On Mon, Mar 19, 2018 at 3:32 AM, Deepak Dixit
> >>> <deepak.dixit@hotwaxsystems.
> >>> com> wrote:
> >>>
> >>> Hi Sameer,
> >>>>
> >>>> Could you please share which release you are using?
> >>>>
> >>>>
> >>>> If you are using R17.12 or trunk, You can achieve this by Theme
> >>>> development.
> >>>> Please refer following doc, for theme deve
> >>>> https://cwiki.apache.org/confluence/x/YgFk
> >>>>
> >>>>
> >>>> Thanks & Regards
> >>>> --
> >>>> Deepak Dixit
> >>>>
> >>>> On Sun, Mar 18, 2018 at 1:44 AM, Sameer Apte <[hidden email]>
> >>>> wrote:
> >>>>
> >>>> Kindly ignore the 11 from the values.. It was just my attempt to find
> if
> >>>>> that causes any -ve impact and therefore indicating location which i
> >>>>>
> >>>> might
> >>>>
> >>>>> look at to override.
> >>>>>
> >>>>> On Sat, Mar 17, 2018 at 6:36 PM, Sameer Apte <[hidden email]>
> >>>>>
> >>>> wrote:
> >>>>
> >>>>> Hi All,
> >>>>>>
> >>>>>> I think subject line covers my question pretty much. :-)
> >>>>>> What i noticed is few properties as below in the widget.properties
> >>>>>>
> >>>>>> screen.name=html
> >>>>>>
> >>>>>> screen.screenrenderer=component://widget/templates/
> >>>>>>
> >>>>> Html11ScreenMacroLibrary.ftl
> >>>>>
> >>>>>> screen.formrenderer=component://widget/templates/
> >>>>>>
> >>>>> Html11FormMacroLibrary.ftl
> >>>>>
> >>>>>> screen.menurenderer=component://widget/templates/
> >>>>>>
> >>>>> Html11MenuMacroLibrary.ftl
> >>>>>
> >>>>>> screen.treerenderer=component://widget/templates/
> >>>>>>
> >>>>> Html11TreeMacroLibrary.ftl
> >>>>>
> >>>>>> I was wondering if there is any easy way out to not touch this and
> >>>>>> override the renderer properties to point to my own macro library
> ftl
> >>>>>>
> >>>>> files
> >>>>>
> >>>>>> in my custom component?
> >>>>>>
> >>>>>> Any hints, pointers or even examples will be greatly appreciated.
> >>>>>> Thanks in advance.
> >>>>>>
> >>>>>>
> >>>>>> Regards,
> >>>>>> Sameer Apte
> >>>>>>
> >>>>>>
> >>>
> >
>