You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2020/09/27 07:51:00 UTC

[jira] [Commented] (OFBIZ-12026) Hyperlink title under form widget doesn't support character encoding for special characters

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

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

Hi Pradeep,

This should no be, the hyperlink  element has by default encode="false". It seems that it wrongly inherits from the field element which has encode-output="true". I don't know since how it's like that but it was certainly not implement as is. I'll have a deeper look...

> Hyperlink title under form widget doesn't support character encoding for special characters
> -------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-12026
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12026
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 17.12, Trunk
>            Reporter: Pradeep Choudhary
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: Screenshot from 2020-09-26 18-16-25.png
>
>
> When we use any title with special characters for hyperlink tag, it shows broken string on UI.
> here,
> {code:java}
>  <field name="importexport" title=" " use-when="hasBasicPermission" widget-style="buttontext">
>  <hyperlink description="${uiLabelMap.CommonImportExport}" target="ImportExport">
>  <parameter param-name="organizationPartyId" from-field="partyId"/>
>  </hyperlink>
> </field>
> {code}
> <hyperlink description="${uiLabelMap.CommonImportExport}"  target="ImportExport">
> It should render a button with the title "Import/Export. But it shows as 
> {code:java}
> Import&#x2f;Export{code}
> Please check attached image for the same.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)