Re: Rendering of xf:input with integer binding

On Tue, 12 Oct 2010 02:12:48 +0200, Philipp Wagner  
<news@philipp-wagner.com> wrote:

> Hello,
>
> in Mozilla XForms we currently render a xf:input with a bind to an
> integer type as a spinbox (like those:
> http://img.brothersoft.com/screenshots/softimage/s/spinbox.js-212215-1234938073.jpeg;
> a textbox with those small up and down arrows). Recently a user
> complained about this behavior, he expected a simple input box (without
> the arrows).
>
> How do other XForms processors render this type? I tried Orbeon, which
> always displays a simple input box (and I didn't get formsPlayer to
> work, and its website formsplayer.com seems to be down).

Usually they use a simple input box, but I don't see what the problem  
could be as long as the spinbox also lets you type a value in.

> I thought about making appearance="full" showing the spinbox with
> arrows, and all minimal and compact only a simple input box.

Using @appearance is a good solution if it is really needed.

Steven

>
> Philipp
>

Received on Wednesday, 13 October 2010 13:58:41 UTC