[ 
https://issues.apache.org/jira/browse/OFBIZ-12821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17818092#comment-17818092
 ] 

ASF subversion and git services commented on OFBIZ-12821:
---------------------------------------------------------

Commit e9dbb227a9c8fe4bdb84efc23ad3e07d2ea52145 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=e9dbb227a9 ]

Fixed: Improvement of the Check XML tag (OFBIZ-12821)

Like the 3 previous commits this fixes things rather than improve them.

During integration tests, the issue is in ***FormMacroLibrary.ftl files:
In a macro declaration, parameters without a default value must all occur before
the parameters with default values.


> Improvement of the Check xml tag
> --------------------------------
>
>                 Key: OFBIZ-12821
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12821
>             Project: OFBiz
>          Issue Type: Improvement
>    Affects Versions: Upcoming Branch
>            Reporter: Maxime Flammang
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>
> This improvement focuses on enhancing the syntax of the check XML tag in 
> Apache OFBiz. It introduces two new attributes, "checked-by-default" and 
> "unchecked-by-default," which allow the user to pre-select or pre-check boxes.
> XML Attributes:
>  # "all-checked "(Boolean):
>  ** Purpose: Check all options by default.
>  ** Note: Not compatible with "unchecked-by-default" and "checked-by-default" 
> attributes.
>  # "checked-by-default" (String):
>  ** Purpose: Specifies which values should be pre-selected or pre-checked.
>  ** Note: Not compatible with "all-checked" set to "true" and 
> "unchecked-by-default" attribute.
>  # "unchecked-by-default" (String):
>  ** Purpose: Similar to "checked-by-default" attribute, but represents the 
> variables whose values should be unchecked by default.
>  ** Note: Not compatible with "all-checked" set to "true" and 
> "checked-by-default" attribute.
> These enhancements provide greater flexibility and control over pre-selection 
> and pre-checking of boxes within the check XML tag in Apache OFBiz.
> EDIT : 
> In the latest commit, both the "checked-by-default" and 
> "unchecked-by-default" attributes were removed. The new approach for 
> pre-checking variables is as follows: if a variable with the same name as the 
> field exists, its value will be used to determine the pre-check status.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to