[ 
https://issues.apache.org/jira/browse/OFBIZ-6690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Taher Alkhateeb updated OFBIZ-6690:
-----------------------------------
    Attachment: OFBIZ-6690-removewidgetstyle.patch

Hi Pierre, I counted in total about 140 instances of this modification. If we 
are going to apply it, perhaps we should do so across the board in all 
components in one shot. The attached patch can do that.

Did you test this change though? Is there any effect in the translated HTML 
that we need to worry about?

> replace widget-style="required" with required-field="true"
> ----------------------------------------------------------
>
>                 Key: OFBIZ-6690
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6690
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL APPLICATIONS
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>              Labels: validation
>         Attachments: OFBIZ-6690-SetupForms.xml.patch, 
> OFBIZ-6690-removewidgetstyle.patch
>
>
> Currently many fields have 'widget-style="required" to indicate that input 
> for the field is required. Better is it to have 'required-field="true". This 
> not only opens up the possibility to define additional validation rules, but 
> the rendered also incorporates the aspects associated with 
> 'widget-style="required".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to