General customization

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

General customization

Bubbly
Hi,

I have tried some first step customizations of ofbiz. And I learned that I have to edit the basic configuration xmls. So if I install the patch that would overwrite  my customizations, isnt it?
If i am changing entitydef.xml, is there any other better way to extend the entity definition with out touching the out of the box components/files?

Thanking in advance.

Kind regards,
Bubbly
Wai
Reply | Threaded
Open this post in threaded view
|

Re: General customization

Wai
You can extend an existing entity by adding the following (or some form of it) in your own entitymodel.xml

<extend-entity entity-name="someExistingEntityName">
    <field name="yourExtraFieldInExistingEntity" type="id" />
</extend-entity>
Reply | Threaded
Open this post in threaded view
|

Re: General customization

Jacques Le Roux
Administrator
Please use rather user ML for such questions/answers, see why here :
http://cwiki.apache.org/confluence/display/OFBADMIN/Mailing+Lists#MailingLists-DesignanddevelopmentList:dev@...

Thanks

Jacques
From: "Wai" <[hidden email]>

>
> You can extend an existing entity by adding the following (or some form of
> it) in your own entitymodel.xml
>
> <extend-entity entity-name="someExistingEntityName">
>    <field name="yourExtraFieldInExistingEntity" type="id" />
> </extend-entity>
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/General-customization-tp2303367p2303695.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: General customization

Bubbly
In reply to this post by Wai
But the new file we create has to be refered in some existing file, rt?

What I am thinking of is a confuguration file that will b touched only by ppl who customizes, not ppl who develops this product

On 27 July 2010 20:56, Wai [via OFBiz] <[hidden email]> wrote:
You can extend an existing entity by adding the following (or some form of it) in your own entitymodel.xml

<extend-entity entity-name="someExistingEntityName">
    <field name="yourExtraFieldInExistingEntity" type="id" />
</extend-entity>



View message @ http://ofbiz.135035.n4.nabble.com/General-customization-tp2303367p2303695.html
To unsubscribe from General customization, click here.




--
Thanks n regards.

Dhanya Unnithiriparambil

Wai
Reply | Threaded
Open this post in threaded view
|

Re: General customization

Wai
Please check my reply at  "OFBiz - User" mailing list:

http://ofbiz.135035.n4.nabble.com/General-customization-td2303922.html#a2303922