conditionally showing control dependent on selected repeat

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

conditionally showing control dependent on selected repeat

Mathias Picker
I have two simple repeats: agents (name/login) and pbx's (name and
dial-in number).

I also want to show one select per agent with around 10 visible items.
This makes my page way to long.

How can I show only one select, which would edit the values of the
selected repeat / agent.

Maybe I'm to tired, but I don't see a way right now. Is there a way?

Thanks, Mathias




--
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: conditionally showing control dependent on selected repeat

Erik Bruchez
Administrator
Mathias Picker wrote:

> I have two simple repeats: agents (name/login) and pbx's (name and
> dial-in number).
>
> I also want to show one select per agent with around 10 visible items.
> This makes my page way to long.
>
> How can I show only one select, which would edit the values of the
> selected repeat / agent.
>
> Maybe I'm to tired, but I don't see a way right now. Is there a way?
You can use relevance to make only one of the repeated items visible at
any time. See the attached example (which also comes with OPS) which
does something similar, if I understand your problem well.

You need then a mechanism to switch the visible item. Here, it's a
select1 control, but you could use anything you like.

-Erik

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/


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

select-repeat.xhtml (5K) Download Attachment