ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shi Jinghai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-6504) how to Create PDF with password Protected in Ofbiz
Date Mon, 27 Jul 2015 06:22:04 GMT

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

Shi Jinghai commented on OFBIZ-6504:
------------------------------------

Hi Jacques,

When locale is fr, the error message in error.log is:
|http-bio-8443-exec-1 |MacroFormRenderer             |E| Error rendering screen thru ftl,
macro: <@renderDropDownField name="statusId" className="required" alert="false" id="EditExample_statusId"
multiple="" formName="EditExample" otherFieldName="" event="" action="" size="1" firstInList="first-in-list"
currentValue="EXST_DEFINED" explicitDescription="Paramétré" allowEmpty="" options=[{'key':'EXST_APPROVED','description':'Approuver
(Paramétré)'},{'key':'EXST_CANCELLED','description':'Annuler l'exemple (Paramétré)'}]
fieldName="" otherFieldName="" otherValue="" otherFieldSize=0 dDFCurrent="first-in-list" ajaxEnabled=false
noCurrentSelectedKey="" ajaxOptions="" frequency="" minChars="" choices="" autoSelect="" partialSearch=""
partialChars="" ignoreCase="" fullSearch="" tabindex="" />

The error is caused by the description value: ,'description':'Annuler l'exemple (Paramétré)'.
If changing the "Annuler l'exemple" to "Annuler lexemple" in CommonEntityLabels.xml, the error
will disappear. I tested changing to "Annuler l'exemple" and failed. "Annuler l`exemple" works.

I guess the "Annuler l'exemple" has to be changed to other expression but I don't know how
to do it.


> how to Create PDF with password Protected in Ofbiz
> --------------------------------------------------
>
>                 Key: OFBIZ-6504
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6504
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL APPLICATIONS
>         Environment: linux
>            Reporter: Sachin Manjule
>            Assignee: Shi Jinghai
>            Priority: Trivial
>             Fix For: Upcoming Branch
>
>         Attachments: localhost.png, trunk demo.png
>
>
> We can create PDF using FTL that is OK, but how to generate PDF with Encryption password
protected?
> itext is best option for this. but can we emmber in ftl or other places?
> pleas Help us.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message