altering controls for select1

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

altering controls for select1

Don Smith-9
Is it possible to use different controls for a select1
than the usual drop-down box or check boxes?

If, say, I wanted to present the user with 3 options,
forcing the choice of 1, but wanted to lay it out
across the page as a row in table, with each cell
containing a button labeled "Select", is that
possible? (Each cell would also have various images
and explanatory text, as well as the Select button.)

Thanks,

Don


      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



--
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
Reply | Threaded
Open this post in threaded view
|

Re: altering controls for select1

fl.schmitt(ops-users)
Don,

> If, say, I wanted to present the user with 3 options,
> forcing the choice of 1, but wanted to lay it out
> across the page as a row in table, with each cell
> containing a button labeled "Select", is that
> possible? (Each cell would also have various images
> and explanatory text, as well as the Select button.)

i think you will have to create that "by hand", but it should be
possible using the usual xforms controls. To create the table, just use
a xforms:repeat iterating over the nodeset that would act as datasource
for the select1. To implement the "select1 functionality", you will have
to react on the user's selection manually. Depending on which control
you use to let the user choose one of the table rows (you could use a
boolean checkbox), you will have to implement a combination of
xforms:setvalue actions to deactivate a previous selection and copy the
selected value into your data instance.


HTH
florian



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