You have to add an entry for the new entity in the entitygroup.xml file.

G.Venkata Phanindra wrote:
> Thanks for the reply ........i am able to define my table.......they r even
> visible in webtools but when i look at individual table i am gettin
> gfollowing error Page
>
> javax.servlet.ServletException: javax.servlet.jsp.JspException: Helper name
> not found for entity HolidayList
>
> Thnks
> Phani
>
> On 9/29/06, Jacopo Cappellato <[EMAIL PROTECTED]> wrote:
>>
>> There are many examples of this in the OFBiz codebase; for example have a
>> look at the definition of the ProductFacility entity (in
>> applications/product/entitydef/) that has a primary key composed of
>> productId and facilityId.
>>
>> Jacopo
>>
>>
>> G.Venkata Phanindra wrote:
>> > Hi ,
>> > I want to add my own Entity in ofbiz, from the document i have seen its
>> > very easy to do it using the entitymodel.xml files .
>> > but i wantted to create a key which will be combination of two keys.
>> > following is my data Model defination
>> >    <entity entity-name="GeoHoliday"
>> >            package-name="com.ecomzera.ezoz"
>> >            title="Geo Holidays list">
>> >      <field name="geoId" type="id-ne"></field>
>> >      <field name="holidayId" type="id-ne"></field>
>> >      <field name="description" type="description"></field>
>> >      <!-- TODO specify the forieng key constraints -->
>> >    </entity>
>> > Now i want to relate geoId to Ofbiz Geo Table geoid and also create a
>> > primary key as a combination of geoid n holiday id.
>> > how do i define this
>> > G.Venkata Phanindra
>> > Mob:: 9849852989
>> >
>>
>>
>>
>
>


Reply via email to