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

Adrian Crum commented on OFBIZ-4358:
------------------------------------

Example:

{code}
        <field name="removeBtn" widget-style="smallSubmit" 
title="${uiLabelMap.CommonEmptyHeader}">
            <hyperlink description="${uiLabelMap.CommonRemove}" 
target="deleteItem">
                <parameter param-name="param1"/>
                <parameter param-name="param2"/>
                <parameter param-name="param3"/>
            </hyperlink>
        </field>
{code}

If param2 does not exist in the rendering context, the URL will contain 
"param2=null". It should be rendered as "param2=" or the parameter should be 
left out of the URL.


> Form Widget Hyperlink Field Renders Non-Existant Parameters As "null"
> ---------------------------------------------------------------------
>
>                 Key: OFBIZ-4358
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4358
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Adrian Crum
>
> If you use the <parameter> sub-element in a form widget <hyperlink> element, 
> and the parameter's field (variable) does not exist, the parameter is 
> rendered as "parameter=null". The correct rendering should be "parameter=".

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to