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

Jacques Le Roux commented on OFBIZ-4119:
----------------------------------------

Sorry Ankit,

There is still an issue, at least with multi-forms. I tried with 
https://localhost:28443/ordermgr/control/ManageQuotePrices?quoteId=CQ10000 (I 
quickly created a new quote) and I get this in Firefox source

Result: 2 erreurs / 0 avertissements

line 244 column 69 - Erreur: ID "ManageQuotePrices_quoteItemSeqId_o_0" already 
defined
line 222 column 7 - Info: ID "ManageQuotePrices_quoteItemSeqId_o_0" first 
defined here

Actually it create 2 hidden fields but whithout the "h_ " before their ids, so 
there is a problem in this line

if (UtilValidate.isNotEmpty(modelFormField.getId()) && fieldInfo.getFieldType() 
!= ModelFormField.FieldInfo.HIDDEN) {

I gave up at this stage, and let you handle it... I did not test with a simple 
form yet  since, from Jacopo comment in thread, it's mostly interesting for 
multi. BTW I ever you read this thread Jacopo, is there a such  need for the 
single form and why the hidden field is not generated for simple list, is this 
a normal behaviour?

> Form Widget hyperlink issue.
> ----------------------------
>
>                 Key: OFBIZ-4119
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4119
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Release Branch 10.04, SVN trunk
>            Reporter: Ankit Jain
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-4119.patch, OFBIZ-4119.patch
>
>
> If we take hyperlink field in form widget then an hidden input field created 
> by the name same as the field name, which should not be done,  and the id 
> attribute is not set in the <a> tag. 
> By adding id attribute in the <a> tag then its helpful for developers to 
> perform action on it using js or css. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to