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

Christian Carlow commented on OFBIZ-6350:
-----------------------------------------

I'm unsure if this has adverse side-affects.  A better method of implementation 
is probably to extend the form widgets to support some element that controls 
the skipping of row rendering when a use-when="${condition}" is met.  There 
might be scenarios where blank rows should still appear and this patch would 
probably prevent that from happening.  The form widget extension would support 
both scenarios.

> Hide blank form widget rows
> ---------------------------
>
>                 Key: OFBIZ-6350
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6350
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Christian Carlow
>         Attachments: OFBIZ-6350.patch
>
>
> Sometimes blank form widget rows occur causing extra undesirable spacings.  
> Form widgets should be enhanced to hide rows that are determined to be 
> rendered blank.  This need was encountered when using the position="2" 
> attribute for the form widget to replace the FTL in OFBIZ-6349.



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

Reply via email to