[
https://issues.apache.org/jira/browse/OFBIZ-12026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17247895#comment-17247895 ]
ASF subversion and git services commented on OFBIZ-12026:
---------------------------------------------------------
Commit ce2f66b7204d6695240acbb5c5e7e4364f7f999f in ofbiz-framework's branch refs/heads/release17.12 from Jacques Le Roux
[
https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=ce2f66b ]
Fixed: Hyperlink title under form widget doesn't support character encoding for special characters (OFBIZ-12026)
When we use any title with special characters for hyperlink tag, it shows broken
string on UI, eg:
<hyperlink description="${uiLabelMap.CommonImportExport}" target="ImportExport">
should render a button with the title "Import/Export. But it shows as
Import/Export
jleroux: I have noticed that the same happens with special French characters.
So it's a general issue.
The title (description in code) is HTML encoded and that does not work for
special characters. I simply used a string encoder.
Thanks: Pradeep Choudhary for report, Sourabh Jain for a possible but not
general solution at OFBIZ-12023, ie using target-type="plain"
> 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/Export{code}
> Please check attached image for the same.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)