XForms select1 control (remove entry after it's selected)

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

XForms select1 control (remove entry after it's selected)

Josh Joy
Hi All,

With XForms, after a user selects an entry from a
select1 control, how
can remove that choice from being selected again?
Also, once I remove it
how can I add it back?

Thanks,
Josh



--
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 select1 control (remove entry after it's selected)

Alessandro  Vernet
Administrator
On 3/29/06, Josh Joy <[hidden email]> wrote:
> With XForms, after a user selects an entry from a
> select1 control, how
> can remove that choice from being selected again?
> Also, once I remove it
> how can I add it back?

Hi Josh,

I am not sure to understand the behavior of the UI you are describing.
What is the appearance of your select1? Assuming it is "compact" (a
list), are you saying that as soon as the user clicks on an item, you
want this item to disappear from the the list?

Alex
--
Blog (XML, Web apps, Open Source):
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: XForms select1 control (remove entry after it's selected)

Josh Joy
In reply to this post by Josh Joy
Yes...

Alessandro Vernet wrote:

> On 3/29/06, Josh Joy <[hidden email]> wrote:
>  
>> With XForms, after a user selects an entry from a
>> select1 control, how
>> can remove that choice from being selected again?
>> Also, once I remove it
>> how can I add it back?
>>    
>
> Hi Josh,
>
> I am not sure to understand the behavior of the UI
you are describing.
> What is the appearance of your select1? Assuming it
is "compact" (a
> list), are you saying that as soon as the user
clicks on an item, you
> want this item to disappear from the the list?
>
> Alex
> --
> Blog (XML, Web apps, Open Source):
> 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
>  



--
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 select1 control (remove entry after it's selected)

Alessandro  Vernet
Administrator
On 3/30/06, Josh Joy <[hidden email]> wrote:
> >> With XForms, after a user selects an entry from a
> >> select1 control, how
> >> can remove that choice from being selected again?

Hi Josh,

I created an example that does what you are looking for. It's one of
those cases where the code is simpler than the explanation :).

Alex
--
Blog (XML, Web apps, Open Source):
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

select1-delete.xhtml (2K) Download Attachment
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: XForms select1 control (remove entry after it's selected)

Josh Joy
In reply to this post by Josh Joy
Excellent. Thanks!

Alessandro Vernet wrote:

> On 3/30/06, Josh Joy <[hidden email]> wrote:
>  
>>>> With XForms, after a user selects an entry from a
>>>> select1 control, how
>>>> can remove that choice from being selected again?
>>>>        
>
> Hi Josh,
>
> I created an example that does what you are looking
for. It's one of
> those cases where the code is simpler than the
explanation :).
>
> Alex
> --
> Blog (XML, Web apps, Open Source):
> 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
>  



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