Hi, everybody! How is it possible to use entity-auto? I tried to use it, created service according to begiiner's guide
my service <service name="updatePracticePerson" default-entity-name="Person" engine="entity-auto" invoke="update" auth="true"> <description>update a Person</description> <permission-service service-name="basePermissionCheck" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <attribute name="salutation" mode="IN" type="String" optional="true"/> <attribute name="firstName" mode="IN" type="String" optional="false"/> <attribute name="middleName" mode="IN" type="String" optional="true"/> <attribute name="lastName" mode="IN" type="String" optional="false"/> <attribute name="suffix" mode="IN" type="String" optional="true"/> </service> <service name="basePermissionCheck" engine="simple" location="component://rt/script/PracticeServices.xml" invoke="basePermissionCheck"> <description> Performs a basic security check. The user must have one of the base CRUD+ADMIN permissions. </description> <implements service="permissionInterface"/> </service> in controller I added entry <request-map uri="updatePracticePerson"> <security https="true" auth="true"/> <event type="service" invoke="updatePracticePerson"/> <response name="success" type="view" value="PersonForm"/> </request-map> I've tested it, but it doesn't work. It shows me update and delete buttons, but data were not updated. Best regards, Alexey.
