You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2015/05/21 15:15:00 UTC
[jira] [Closed] (OFBIZ-4481) Adding a new attribute ignore-when
(verry similar to use-when) that enable rendering or not a field in list or
multi form.
[ https://issues.apache.org/jira/browse/OFBIZ-4481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-4481.
----------------------------------
Resolution: Implemented
Fix Version/s: Upcoming Branch
Thanks Youseef and Wei,
Youseef your patch updated by Wei is committed in trunk at revision: 1680865
Wei I quickly had a look at the ignored tag. I thought it was much easier to follow the use-when way and the code was ready, so here it is :)
> Adding a new attribute ignore-when (verry similar to use-when) that enable 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
> Assignee: Jacques Le Roux
> Priority: Minor
> Labels: form, list, use-when
> Fix For: Upcoming Branch
>
> Attachments: ignoreField.patch, ignoreFiled based on trunk r1680459.zip
>
>
> 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)