You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adrian Crum (JIRA)" <ji...@apache.org> on 2011/08/03 02:22:26 UTC
[jira] [Created] (OFBIZ-4358) Form Widget Hyperlink Field Renders
Non-Existant Parameters As "null"
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
[jira] [Closed] (OFBIZ-4358) Form Widget Hyperlink Field Renders
Non-Existant Parameters As "null"
Posted by "Adrian Crum (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Crum closed OFBIZ-4358.
------------------------------
Resolution: Fixed
Fix Version/s: SVN trunk
Fixed in rev 1153752.
> 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
> Fix For: SVN trunk
>
>
> 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
[jira] [Commented] (OFBIZ-4358) Form Widget Hyperlink Field Renders
Non-Existant Parameters As "null"
Posted by "Adrian Crum (JIRA)" <ji...@apache.org>.
[ 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