xforms:input format

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

xforms:input format

victor panizza-2
Hello all!!!

I have a next little question.
I've been trying to format a xforms:input and a bound int type. The format have to be applied when the user just insert the info to the input control, I've been trying everything but it does not works .

Here's the xhtml code:
<xforms:input class="input" ref="field" xxforms:format="format-number(., '###,##0')">
                    <xforms:label class="fixed-width">field:</xforms:label>
                    <xforms:alert>bip!! bip!!! Wrong!!!</xforms:alert>
                    <xforms:help>field</xforms:help>
                    <xforms:hint>field</xforms:hint>
                </xforms:input>


Any idea pls, THANKSSSSS IN ADVANCEEE!!!!


Get your own web address.
Have a HUGE year through Yahoo! Small Business.

--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: xforms:input format

Erik Bruchez
Administrator
Victor,

xxforms:format only works with xforms:output and with xforms:input when
bound to an xs:date type.

We have an RFE to support better input formatting for different types,
including integers:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=306181&group_id=168&atid=350207

-Erik

victor panizza wrote:

> Hello all!!!
>
> I have a next little question.
> I've been trying to format a xforms:input and a bound int type. The
> format have to be applied when the user just insert the info to the
> input control, I've been trying everything but it does not works .
>
> Here's the xhtml code:
> <xforms:input class="input" ref="field" xxforms:format="format-number(.,
> '###,##0')">
>                     <xforms:label class="fixed-width">field:</xforms:label>
>                     <xforms:alert>bip!! bip!!! Wrong!!!</xforms:alert>
>                     <xforms:help>field</xforms:help>
>                     <xforms:hint>field</xforms:hint>
>                 </xforms:input>
>
>
> Any idea pls, THANKSSSSS IN ADVANCEEE!!!!
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: xforms:input format

victor panizza-2
Thanks Erik for this one and all the previous replys!!!!

Erik Bruchez <[hidden email]> wrote:
Victor,

xxforms:format only works with xforms:output and with xforms:input when
bound to an xs:date type.

We have an RFE to support better input formatting for different types,
including integers:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=306181&group_id=168&atid=350207

-Erik

victor panizza wrote:

> Hello all!!!
>
> I have a next little question.
> I've been trying to format a xforms:input and a bound int type. The
> format have to be applied when the user just insert the info to the
> input control, I've been trying everything but it does not works .
>
> Here's the xhtml code:
>
> field:
> bip!! bip!!! Wrong!!!
> field
> field
>

>
>
> Any idea pls, THANKSSSSS IN ADVANCEEE!!!!

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/


--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.

--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws