[ 
https://issues.apache.org/jira/browse/OFBIZ-12026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pradeep Choudhary updated OFBIZ-12026:
--------------------------------------
    Description: 
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  
'+{color:#172b4d}Import&#x2f;Export'{color}+

Please check attached image for the same.

 

  was:
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 
"Import&#x2f;Export"

Please check attached image for the same.

 


> 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
>            Priority: Minor
>
> 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  
> '+{color:#172b4d}Import&#x2f;Export'{color}+
> Please check attached image for the same.
>  



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

Reply via email to