Hi everybody !, I have a problem with the date format of the generated pdf. I need to show date information like this 28/07/2012 in pdfs generated by orbeon. To show the correct date format in forms I configure Orbeon whit this :
<property as="xs:string" name="oxf.xforms.format.input.date" value="[D]/[M]/[Y]"/> The date picker looks like that (with correct format) :
But when pdf is generated with forms data this are the results (with and without template) :
Any help?. Thanks.
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi,
I think that you have to use also : <property as="xs:string" name="oxf.xforms.format.<b>output.date" value="[D]/[M]/[Y]"/> Wafa |
<property as="xs:string" name="oxf.xforms.format.output.date" value="[D]/[M]/[Y]"/>
|
Didn't work.
I add "<property as="xs:string" name="oxf.xforms.format.output.date" value="[D]/[M]/[Y]"/>", to the orbeon config.
The date format in pdf generated without template change to YYYY-MM-DD, and with template i have the same result. Samples : Without template i have this result :
With the template pdf i have the same output : On Fri, Jul 27, 2012 at 12:14 PM, wlau <[hidden email]> wrote: <property as="xs:string" name="oxf.xforms.format.output.date" José R. Pla -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Some updates.
With this config ( in properties-local.xml ) : <property as="xs:string" name="oxf.xforms.format.output.date" value="format-date(.,'[D01]/[M01]/[Y0001]')"/>
<property as="xs:string" name="oxf.xforms.format.output.*.*.date" value="format-date(.,'[D01]/[M01]/[Y0001]')"/> The generated pdf without template it's ok, date is show as 30/07/2012.
But with template i have the same problem. Any idea?
On Fri, Jul 27, 2012 at 1:07 PM, Jose R. <[hidden email]> wrote: Didn't work. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |