RE: Need to create two lists and add remove data between them.... ?

2003-02-25 Thread Turner, John

This is a Javascript question.

http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=javascript+multiple+s
elect+list

John

 -Original Message-
 From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 24, 2003 11:52 PM
 To: Tomcat List
 Subject: Need to create two lists and add remove data between 
 them ?
 
 
 
 Hi,
 
 I have a JSP page on which i need to create two lists side by 
 side and 
 have two buttons between them - Add and Remove. I have other stuff on 
 the same JSP page as well. like text boxes, check boxes etc.
 
 How do I get my add and remove buttons to work so that i can 
 capture a 
 mouse click on add to transfer the selected item from list1 
 to list2 ? 
 (the same for the remove button .. remove a selected item from list2 
 and add it back to list1).
 
 Does anybody know how to solve this problem ? Sample code would be 
 highly appreciated to.
 
 Thanks,
 Mufaddal.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Need to create two lists and add remove data between them.... ?

2003-02-25 Thread Mike Jackson
Javascript would be the only way that I can think of (without doing a page
submittion, which I'm assuming is what you're trying to avoid).  I don't
have an example however.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 24, 2003 8:52 PM
 To: Tomcat List
 Subject: Need to create two lists and add remove data between them ?



 Hi,

 I have a JSP page on which i need to create two lists side by side and
 have two buttons between them - Add and Remove. I have other stuff on
 the same JSP page as well. like text boxes, check boxes etc.

 How do I get my add and remove buttons to work so that i can capture a
 mouse click on add to transfer the selected item from list1 to list2 ?
 (the same for the remove button .. remove a selected item from list2
 and add it back to list1).

 Does anybody know how to solve this problem ? Sample code would be
 highly appreciated to.

 Thanks,
 Mufaddal.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Need to create two lists and add remove data between them.... ?

2003-02-25 Thread Mufaddal Khumri
Is there a way to do this with using just java and html and not use  
Java Script ?

On Tuesday, February 25, 2003, at 10:58  PM, Turner, John wrote:

This is a Javascript question.

http://www.google.com/search?hl=enie=UTF-8oe=UTF- 
8q=javascript+multiple+s
elect+list

John

-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 11:52 PM
To: Tomcat List
Subject: Need to create two lists and add remove data between
them ?


Hi,

I have a JSP page on which i need to create two lists side by
side and
have two buttons between them - Add and Remove. I have other stuff on
the same JSP page as well. like text boxes, check boxes etc.
How do I get my add and remove buttons to work so that i can
capture a
mouse click on add to transfer the selected item from list1
to list2 ?
(the same for the remove button .. remove a selected item from list2
and add it back to list1).
Does anybody know how to solve this problem ? Sample code would be
highly appreciated to.
Thanks,
Mufaddal.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Need to create two lists and add remove data between them.... ?

2003-02-25 Thread Turner, John

No.

Buttons are form elements.  To dynamically change form elements as a result
of user action, you need client-side scripting, not server-side.
Javascript.  Or a Java applet that executes on the client.  

John

 -Original Message-
 From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, February 25, 2003 12:09 AM
 To: Tomcat Users List
 Subject: Re: Need to create two lists and add remove data between
 them ? 
 
 
 Is there a way to do this with using just java and html and not use  
 Java Script ?
 
 On Tuesday, February 25, 2003, at 10:58  PM, Turner, John wrote:
 
 
  This is a Javascript question.
 
  http://www.google.com/search?hl=enie=UTF-8oe=UTF- 
  8q=javascript+multiple+s
  elect+list
 
  John
 
  -Original Message-
  From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
  Sent: Monday, February 24, 2003 11:52 PM
  To: Tomcat List
  Subject: Need to create two lists and add remove data between
  them ?
 
 
 
  Hi,
 
  I have a JSP page on which i need to create two lists side by
  side and
  have two buttons between them - Add and Remove. I have 
 other stuff on
  the same JSP page as well. like text boxes, check boxes etc.
 
  How do I get my add and remove buttons to work so that i can
  capture a
  mouse click on add to transfer the selected item from list1
  to list2 ?
  (the same for the remove button .. remove a selected item 
 from list2
  and add it back to list1).
 
  Does anybody know how to solve this problem ? Sample code would be
  highly appreciated to.
 
  Thanks,
  Mufaddal.
 
 
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: 
 [EMAIL PROTECTED]
 
 
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Need to create two lists and add remove data between them.... ?

2003-02-25 Thread Tam, Michael
You may consider using an applet as the interface instead of html if you
don't want to go with javascript.

-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 9:09 PM
To: Tomcat Users List
Subject: Re: Need to create two lists and add remove data between
them ? 


Is there a way to do this with using just java and html and not use  
Java Script ?

On Tuesday, February 25, 2003, at 10:58  PM, Turner, John wrote:


 This is a Javascript question.

 http://www.google.com/search?hl=enie=UTF-8oe=UTF- 
 8q=javascript+multiple+s
 elect+list

 John

 -Original Message-
 From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 24, 2003 11:52 PM
 To: Tomcat List
 Subject: Need to create two lists and add remove data between
 them ?



 Hi,

 I have a JSP page on which i need to create two lists side by
 side and
 have two buttons between them - Add and Remove. I have other stuff on
 the same JSP page as well. like text boxes, check boxes etc.

 How do I get my add and remove buttons to work so that i can
 capture a
 mouse click on add to transfer the selected item from list1
 to list2 ?
 (the same for the remove button .. remove a selected item from list2
 and add it back to list1).

 Does anybody know how to solve this problem ? Sample code would be
 highly appreciated to.

 Thanks,
 Mufaddal.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Need to create two lists and add remove data between them.... ?

2003-02-25 Thread Mike Jackson
You'd still need javascript to fill in the form elements even if you used an
applet.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Tam, Michael [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, February 25, 2003 9:44 AM
 To: 'Tomcat Users List'
 Subject: RE: Need to create two lists and add remove data between
 them ?


 You may consider using an applet as the interface instead of html if you
 don't want to go with javascript.

 -Original Message-
 From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 24, 2003 9:09 PM
 To: Tomcat Users List
 Subject: Re: Need to create two lists and add remove data between
 them ?


 Is there a way to do this with using just java and html and not use
 Java Script ?

 On Tuesday, February 25, 2003, at 10:58  PM, Turner, John wrote:

 
  This is a Javascript question.
 
  http://www.google.com/search?hl=enie=UTF-8oe=UTF-
  8q=javascript+multiple+s
  elect+list
 
  John
 
  -Original Message-
  From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
  Sent: Monday, February 24, 2003 11:52 PM
  To: Tomcat List
  Subject: Need to create two lists and add remove data between
  them ?
 
 
 
  Hi,
 
  I have a JSP page on which i need to create two lists side by
  side and
  have two buttons between them - Add and Remove. I have other stuff on
  the same JSP page as well. like text boxes, check boxes etc.
 
  How do I get my add and remove buttons to work so that i can
  capture a
  mouse click on add to transfer the selected item from list1
  to list2 ?
  (the same for the remove button .. remove a selected item from list2
  and add it back to list1).
 
  Does anybody know how to solve this problem ? Sample code would be
  highly appreciated to.
 
  Thanks,
  Mufaddal.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Need to create two lists and add remove data between them.... ?

2003-02-25 Thread Tam, Michael
What I meant is to build the html form as an applet not just the list
components.  Then you can controll all the form components using JAVA.

-Original Message-
From: Mike Jackson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 9:59 AM
To: Tomcat Users List
Subject: RE: Need to create two lists and add remove data between
them ? 


You'd still need javascript to fill in the form elements even if you used an
applet.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Tam, Michael [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, February 25, 2003 9:44 AM
 To: 'Tomcat Users List'
 Subject: RE: Need to create two lists and add remove data between
 them ?


 You may consider using an applet as the interface instead of html if you
 don't want to go with javascript.

 -Original Message-
 From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 24, 2003 9:09 PM
 To: Tomcat Users List
 Subject: Re: Need to create two lists and add remove data between
 them ?


 Is there a way to do this with using just java and html and not use
 Java Script ?

 On Tuesday, February 25, 2003, at 10:58  PM, Turner, John wrote:

 
  This is a Javascript question.
 
  http://www.google.com/search?hl=enie=UTF-8oe=UTF-
  8q=javascript+multiple+s
  elect+list
 
  John
 
  -Original Message-
  From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
  Sent: Monday, February 24, 2003 11:52 PM
  To: Tomcat List
  Subject: Need to create two lists and add remove data between
  them ?
 
 
 
  Hi,
 
  I have a JSP page on which i need to create two lists side by
  side and
  have two buttons between them - Add and Remove. I have other stuff on
  the same JSP page as well. like text boxes, check boxes etc.
 
  How do I get my add and remove buttons to work so that i can
  capture a
  mouse click on add to transfer the selected item from list1
  to list2 ?
  (the same for the remove button .. remove a selected item from list2
  and add it back to list1).
 
  Does anybody know how to solve this problem ? Sample code would be
  highly appreciated to.
 
  Thanks,
  Mufaddal.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]