KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: kapitany on February 01, 2012, 10:56:41 pm

Title: Adding new field to EditCartForm
Post by: kapitany on February 01, 2012, 10:56:41 pm
Hi,

I would need to add some customization to the EditCartForm. These new fields should be saved in the DB as well. Could you please let me know how I can get the source code of the EditCartForm <form-bean name="EditCartForm" type="com.konakart.forms.EditCartForm">
I would also need to change the action class as well and not so sure how the additional value could be saved in the database.
So far I don't find the source code for the Form and Action class. I would need to add some modifications to those classes or shall I simply extend those with my additional fields?
Any help would be appreciated.

Regards,
Kapi
Title: Re: Adding new field to EditCartForm
Post by: julie on February 02, 2012, 07:42:01 am
Look in KonaKart\custom\appn\src\com\konakart\forms and KonaKart\custom\appn\src\com\konakart\actions .
Title: Re: Adding new field to EditCartForm
Post by: kapitany on February 05, 2012, 01:26:49 pm
Thanks found it. Is there an easy way to import to Eclipse this appn folder strucure? The project related settings are missing from this folder. Do we have an ANT script to compile these new changes?