Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getting options from select list

 
Anthony Leroy
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
When i move from page A to page b, I want to get all the options of a select list on page A to manipulate and display on page B, whether they are selected or not.
How do I get all the list elements?
thanks,
Ryan
 
Sandeep Jain
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,
I dont undestand this is regarding what . ....
If its a servlet
-----------------
In that case u can dirrectly say get request.getParameter()
and get the values and check it .
If it is about awt and swing.
-------------------------------
In that case ur program will be extending the Frame and JFrame class So u will be haveing the refrencd of the object with u .
So On the page ,where u need to check the values .call the function object.getSelectedValues()
If its two different proframs and both are extending from two different JFrame in that case u need to dynamically load the class and then u need to change it .
That u can do by loading the class with
Class.forname function

------------------
Try and Try Till u succeed
Sandeep Jain
 
edward william
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have the same problem.Do u have any answer for this problem.If yes please let me know.thanx in advance.
bye,
edward
Originally posted by Anthony Leroy:
Hi,
When i move from page A to page b, I want to get all the options of a select list on page A to manipulate and display on page B, whether they are selected or not.
How do I get all the list elements?
thanks,
Ryan

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic