Enhancements contributed by Mridul Pathal for Ajax InPlaceEditor for form widget Display field. Mridul, Thanks for your effort.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@678979 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Anil Patel
2008-07-23 02:20:39 +00:00
parent a9e3b1ee5e
commit 73f15bf2bd
7 changed files with 89 additions and 36 deletions
@@ -68,6 +68,24 @@ under the License.
<actions>
<entity-condition entity-name="Example"><order-by field-name="exampleName"/></entity-condition>
</actions>
<field name="exampleName" title="${uiLabelMap.CommonName}" id-name="exampleName" widget-style="tabletext">
<display>
<in-place-editor url="/example/control/updateExample" cancel-control="button" saving-text="Updating..." text-between-controls=" ">
<simple-editor/>
<field-map field-name="exampleId" env-name="exampleId"/>
<field-map field-name="statusId" env-name="statusId"/>
</in-place-editor>
</display>
</field>
<field name="description" title="${uiLabelMap.CommonDescription}" id-name="description" widget-style="tabletext">
<display>
<in-place-editor url="/example/control/updateExample" cancel-control="button" saving-text="Updating..." text-between-controls=" ">
<simple-editor/>
<field-map field-name="exampleId" env-name="exampleId"/>
<field-map field-name="statusId" env-name="statusId"/>
</in-place-editor>
</display>
</field>
<on-event-update-area event-type="paginate" area-id="ListExamplesAjax" area-target="ListExampleFormOnly"/>
</form>