|
Hi
IAm trying to start the application by following the "example"
application in webtools. but i am not clear with few things ..please somebody
help me out.. Someone suggest me if my flow which Iam following is correct.
In ExampleForms.xml, for EditExample form, the target is
"updateExample" does it mean that on click of submit it targets this
phrase "updateExample" and flows thru controller looks for
uri="updateExample" and there it finds the event:
<event type="service" invoke="updateExample"/> in:
<request-map uri="updateExample">
<security https="true"
auth="true"/>
<event type="service"
invoke="updateExample"/>
<response
name="success" type="view"
value="EditExample"/>
<response name="error"
type="view" value="EditExample"/>
</request-map>
it again is redirected to "EditExample" in screens and from there
again to EditExample in form.
Iam not clear with the flow here Can some one explain me please
and I dint understand the servies: updateExample in services.xml
<service name="updateExample"
default-entity-name="Example" engine="entity-auto"
invoke="update" auth="true">
<description>Update a
Example</description>
<permission-service
service-name="exampleGenericPermission"
main-action="UPDATE"/>
<auto-attributes
include="pk" mode="IN" optional="false"/>
<auto-attributes
include="nonpk" mode="IN" optional="true"/>
<attribute
name="oldStatusId" type="String" mode="OUT"
optional="false"/>
</service>
and where is: Example size,Example date,Another date ,Another test mentioned in
the code?? i cant find it ..but i can see it on the UI part in Editexample
Thankyou very much
Adithi
|