W3C home > Mailing lists > Public > www-forms@w3.org > July 2011

Re: How to move selected items from one select drop down to another one in xforms on click of a button

From: John Boyer <boyerj@ca.ibm.com>
Date: Fri, 8 Jul 2011 19:30:23 -0400
To: shuklacs.jc@gmail.com
Cc: www-forms@w3.org
Message-ID: <OF2EF56A2D.BAB9D6EF-ON882578C7.0080E95B-882578C7.0081206A@ca.ibm.com>
I got a bit more time to update the IBM Form that was attached to the 
previous version of this email.  Here is a new version that shows both of 
the methods working as described in my blog post:
https://www.ibm.com/developerworks/mydeveloperworks/blogs/JohnBoyer/entry/moving_choices_from_one_list_to_another_in_xforms34?lang=en 




I hope these two methods help you.

Cheers,
John M. Boyer, Ph.D.
Distinguished Engineer, IBM Forms and Smarter Web Applications
IBM Canada Software Lab, Victoria
E-Mail: boyerj@ca.ibm.com 

Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer
Blog RSS feed: 
http://www.ibm.com/developerworks/blogs/rss/JohnBoyer?flavor=rssdw





From:   John Boyer/CanWest/IBM@IBMCA
To:     shuklacs.jc@gmail.com
Cc:     www-forms@w3.org
Date:   07/07/2011 05:26 PM
Subject:        Re: How to move selected items from one select drop down 
to another one  in  xforms on click of a button
Sent by:        www-forms-request@w3.org



Hi, 

For a comprehensive answer to your question, please visit this new entry 
on my blog: 
https://www.ibm.com/developerworks/mydeveloperworks/blogs/JohnBoyer/entry/moving_choices_from_one_list_to_another_in_xforms34?lang=en 


Here is a demo IBM Form for the first of the two methods: 



You can either pull the XForms markup from this file and use it in another 
XForms processor, or you can test it directly using a free trial download 
of the IBM Forms Viewer from here: 
http://www.ibm.com/software/lotus/products/forms/ 

Best regards, 
John M. Boyer, Ph.D.
Distinguished Engineer, IBM Forms and Smarter Web Applications
IBM Canada Software Lab, Victoria
E-Mail: boyerj@ca.ibm.com 

Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer
Blog RSS feed: 
http://www.ibm.com/developerworks/blogs/rss/JohnBoyer?flavor=rssdw

==================================================================== 
Replying to: 
Hi,

I have two compact list boxes if a select one or more item from right list
box and click on << button it should move to the left box , same if i 
select
one or more items from left list box and click on >> button it should move
items to the right list box...

Thanks in advance

-- 
b.s.shashikiran
[attachment "Chooser.xfdl" deleted by John Boyer/CanWest/IBM] 


Received on Friday, 8 July 2011 23:30:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:23 GMT