Hi all,
Iam trying to create a user(ie store the data of a user). I have questions
regarding this....please I would be obliged if someone clears my doubts
I have an entity in entitymodel.xml.
That entity has four fields in it.(There is no primary key in it for now....)
In data dir I guess there should be a xml file starting with
entity-engine-xml--What exactly is the use of this file and what data do we
write in it and what is seed data(is it the data we see in our dropdown lists?)
Is entitygroup.xml mantatory or optional.
Iam refering the "example" application for this..
What does entity-one tag means ...
<entity-one entity-name="Example" value-name="example"/>
What does:
use-when="example==null" mean?
when example is null it targets to"createExample" in controller.xml
and createExample in controller points to service name=createExample in
services.xml which is:
<service name="createExample" default-entity-name="Example"
engine="entity-auto" invoke="create" auth="true">
<description>Create a Example</description>
<permission-service service-name="exampleGenericPermission"
main-action="CREATE"/>
<auto-attributes include="pk" mode="OUT" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
<override name="exampleTypeId" optional="false"/>
<override name="statusId" optional="false"/>
<override name="exampleName" optional="false"/>
</service>
Iam not clear with this service can someone explain this in detail please
Thankyou very much..