Login  Register

Re: Questions about localization and more

Posted by Erik Bruchez on Dec 11, 2010; 1:43am
URL: https://discuss.orbeon.com/Questions-about-localization-and-more-tp3080477p3082935.html

Tambet,

> 1. How can I change the decimal separator and digit grouping symbol?
> oxf.xforms.format.output.decimal only allows to set placement of symbols,
> not those symbols itself.

IIRC format-number() uses default symbols. In XSLT, you also have
xsl:decimal-format which allows configuring the symbols used, but this
is missing in our implementation at the moment.

You might be able to work around this by using e.g.:

translate(format-decimal(), 'X', 'Y') where 'X' is the symbol produced
by format-decimal(), and 'Y' the one you actually want.

> 2. What are the properties oxf.epilogue.xforms.preprocessing and
> oxf.epilogue.xforms.preprocessing.uri for? I found them at the end of
> standard XForms properties file:
> https://github.com/orbeon/orbeon-forms/blob/master/src/resources-packaged/config/properties-xforms.xml

To implement a preprocessing pipeline or XSLT transformation on your
XForms page before it reaches the XForms engine.

> 3. Is it safe to assume, that XForms fields that are not shown in browser
> cannot be modified by user (using custom AJAX calls for example)? Of course
> a form made with such assumption cannot be used with client-side XForms
> plugins.

Only XForms controls that are relevant and not readonly can be
modified from the client. This is for security reasons, so that
someone can't inject values into an instance.

-Erik

>
> Regards,
> Tambet
>
>
>
> --
> 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
>
>


--
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