[
https://issues.apache.org/jira/browse/OFBIZ-6690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14966600#comment-14966600 ]
Jacques Le Roux commented on OFBIZ-6690:
----------------------------------------
I agree about your conclusions. We should replace all instances and completely remove <<widget-style="required">> from code generation. I guess we have both for history reasons. I checked themes have no major impacts on this.
About "HTML" generation, for instance at catalog/control/EditProductStore?productStoreId=9000 the only difference is 1 char: the "*"
> 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)