[jira] [Updated] (OFBIZ-5552) Problems in single form when use-when and position are used together
[ https://issues.apache.org/jira/browse/OFBIZ-5552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leila Mekika updated OFBIZ-5552: Attachment: OFBIZ-5552 v2.patch Problems in single form when use-when and position are used together Key: OFBIZ-5552 URL: https://issues.apache.org/jira/browse/OFBIZ-5552 Project: OFBiz Issue Type: Bug Components: ALL COMPONENTS Affects Versions: SVN trunk Reporter: Leila Mekika Assignee: Jacques Le Roux Priority: Minor Fix For: Release Branch 11.04, SVN trunk, Release Branch 12.04, Release Branch 13.07 Attachments: OFBIZ-5552 v2.patch, OFBIZ-5552.patch The service renderSingleFormString check the previous field position to see if the current field must be displayed after the previous field or on a new line. When the previous field has a use-when condition that is not valid, it remains as the currentFormField and the next field is compared with this not rendered field. If the position of this previous field is the same as the current field, the current is displayed on the next line. To reproduce, add in a single form the three fields below : field position=1 name=firstdisplay description=first//field field position=2 name=second use-when=truedisplay description=second//field field position=2 name=second use-when=falsedisplay description=second//field The field second is rendered on a new line -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (OFBIZ-5552) Problems in single form when use-when and position are used together
[ https://issues.apache.org/jira/browse/OFBIZ-5552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leila Mekika updated OFBIZ-5552: Summary: Problems in single form when use-when and position are used together (was: Problems in singel form when use-when and position are used together) Problems in single form when use-when and position are used together Key: OFBIZ-5552 URL: https://issues.apache.org/jira/browse/OFBIZ-5552 Project: OFBiz Issue Type: Bug Components: ALL COMPONENTS Affects Versions: SVN trunk Reporter: Leila Mekika Priority: Minor The service renderSingleFormString check the previous field position to see if the current field must be displayed after the previous field or on a new line. When the previous field has a use-when condition that is not valid, it remains as the currentFormField and the next field is compared with this not rendered field. If the position of this previous field is the same as the current field, the current is displayed on the next line. To reproduce, add in a single form the three fields below : field position=1 name=firstdisplay description=first//field field position=2 name=second use-when=truedisplay description=second//field field position=2 name=second use-when=falsedisplay description=second//field The field second is rendered in a new line -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (OFBIZ-5552) Problems in single form when use-when and position are used together
[ https://issues.apache.org/jira/browse/OFBIZ-5552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leila Mekika updated OFBIZ-5552: Attachment: OFBIZ-5552.patch Problems in single form when use-when and position are used together Key: OFBIZ-5552 URL: https://issues.apache.org/jira/browse/OFBIZ-5552 Project: OFBiz Issue Type: Bug Components: ALL COMPONENTS Affects Versions: SVN trunk Reporter: Leila Mekika Priority: Minor Attachments: OFBIZ-5552.patch The service renderSingleFormString check the previous field position to see if the current field must be displayed after the previous field or on a new line. When the previous field has a use-when condition that is not valid, it remains as the currentFormField and the next field is compared with this not rendered field. If the position of this previous field is the same as the current field, the current is displayed on the next line. To reproduce, add in a single form the three fields below : field position=1 name=firstdisplay description=first//field field position=2 name=second use-when=truedisplay description=second//field field position=2 name=second use-when=falsedisplay description=second//field The field second is rendered in a new line -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (OFBIZ-5552) Problems in single form when use-when and position are used together
[ https://issues.apache.org/jira/browse/OFBIZ-5552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leila Mekika updated OFBIZ-5552: Description: The service renderSingleFormString check the previous field position to see if the current field must be displayed after the previous field or on a new line. When the previous field has a use-when condition that is not valid, it remains as the currentFormField and the next field is compared with this not rendered field. If the position of this previous field is the same as the current field, the current is displayed on the next line. To reproduce, add in a single form the three fields below : field position=1 name=firstdisplay description=first//field field position=2 name=second use-when=truedisplay description=second//field field position=2 name=second use-when=falsedisplay description=second//field The field second is rendered on a new line was: The service renderSingleFormString check the previous field position to see if the current field must be displayed after the previous field or on a new line. When the previous field has a use-when condition that is not valid, it remains as the currentFormField and the next field is compared with this not rendered field. If the position of this previous field is the same as the current field, the current is displayed on the next line. To reproduce, add in a single form the three fields below : field position=1 name=firstdisplay description=first//field field position=2 name=second use-when=truedisplay description=second//field field position=2 name=second use-when=falsedisplay description=second//field The field second is rendered in a new line Problems in single form when use-when and position are used together Key: OFBIZ-5552 URL: https://issues.apache.org/jira/browse/OFBIZ-5552 Project: OFBiz Issue Type: Bug Components: ALL COMPONENTS Affects Versions: SVN trunk Reporter: Leila Mekika Priority: Minor Attachments: OFBIZ-5552.patch The service renderSingleFormString check the previous field position to see if the current field must be displayed after the previous field or on a new line. When the previous field has a use-when condition that is not valid, it remains as the currentFormField and the next field is compared with this not rendered field. If the position of this previous field is the same as the current field, the current is displayed on the next line. To reproduce, add in a single form the three fields below : field position=1 name=firstdisplay description=first//field field position=2 name=second use-when=truedisplay description=second//field field position=2 name=second use-when=falsedisplay description=second//field The field second is rendered on a new line -- This message was sent by Atlassian JIRA (v6.1.5#6160)