[ https://issues.apache.org/jira/browse/OFBIZ-4481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14526394#comment-14526394 ]
Wei Zhang commented on OFBIZ-4481: ---------------------------------- How about enhance the OOTB field <ignore/>, such as <field name="conditionalDesc"><ignore ignore-when="'Y'.equals(ignoreDescription)/></field>? > adding a new attribute ignore-when(verry similar to use-when) taht enabe > rendering or not a field in list or multi form. > ------------------------------------------------------------------------------------------------------------------------ > > Key: OFBIZ-4481 > URL: https://issues.apache.org/jira/browse/OFBIZ-4481 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS > Affects Versions: Trunk > Reporter: youssef khaye > Priority: Minor > Labels: form, list, use-when > Attachments: ignoreField.patch > > > I need to define some parameters (using portlet attributes) that enable > showing or not some field in my portlet taht contains a form of type "list". > Or on a form of type list or multi, it is not possible to completely ignore a > field via use-when attribute. Instead it hides the title and the column > header became shifted from the table content. > For example I want to hide the description column from my form when > exampleName is choosen as sort-field. -- This message was sent by Atlassian JIRA (v6.3.4#6332)