[
https://issues.apache.org/jira/browse/OFBIZ-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Blas Rodriguez Somoza updated OFBIZ-3753:
-----------------------------------------
Attachment: OFBIZ-3753_framework_js_xhtml.diff
> XHTML Validation. javascript function to select a row in a multirow form
> (needed to correct the markup of multiline forms)
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-3753
> URL: https://issues.apache.org/jira/browse/OFBIZ-3753
> Project: OFBiz
> Issue Type: Sub-task
> Components: framework
> Affects Versions: Release Branch 10.04, SVN trunk
> Reporter: Blas Rodriguez Somoza
> Priority: Trivial
> Fix For: Release Branch 10.04, SVN trunk
>
> Attachments: OFBIZ-3753_framework_js_xhtml.diff
>
>
> This function allows to submit one row from a multirow form.
> The syntax is selectFormRow(formName, rowNumber) and should be used in the
> onclick event of the submit button.
> The form row fields are expected to have id's following the pattern
> id="<formName>_<fieldName>_<rowNumber>"
> and the correct names to be submitted.
> The function disables the form elements which name start with "formName_" and
> don't ends with "_rowNumber" and aren't disabled.
> The global fields of the form, which don't start with the form name, are not
> modified.
> After selecting the needed fields, the function sends a javascript timeout
> command to restore the field state of fields disabled in the previous step,
> after the form is submitted.
> The function don't modify the submit mechanism, only disable some fields
> before the submit, to exclude it from the form parameters.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.