problem in getting combo box values
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
hi,
in my modify jsp page..im getting values from the existing ones....im getting all the values..the problem with combo box...im using two combo boxes for one label..first combo box contains 2 values..if i select 1st value in 1st combo box it is showing correct value...in other combo box..but if i select 2nd value in 1st combo box..it is showing always the first value of second one..example
in my xml file...for 'Validity' so many values can be taken...eg..'SET_MAX','DEFAULT','ADD_TO_CURRENT'....etc.. here is my code
can anyone help me out..
in my modify jsp page..im getting values from the existing ones....im getting all the values..the problem with combo box...im using two combo boxes for one label..first combo box contains 2 values..if i select 1st value in 1st combo box it is showing correct value...in other combo box..but if i select 2nd value in 1st combo box..it is showing always the first value of second one..example
in my xml file...for 'Validity' so many values can be taken...eg..'SET_MAX','DEFAULT','ADD_TO_CURRENT'....etc.. here is my code
can anyone help me out..
madhuri kunchala
Ranch Hand
Posts: 350
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
any help regarding my post
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
are you doing it on onClik event i am not seeing any js function onClick just seeing "" there , can you please what you actually want to achieved
madhuri kunchala
Ranch Hand
Posts: 350
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
im getting the values from EL..i used bean..here is my bean code...
madhuri kunchala
Ranch Hand
Posts: 350
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
im calling the values in jsp page using bean concept...for first combo it is taking...for second combo it is not taking...
ravindra patil
Ranch Hand
Posts: 234
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
I think , You need to write onClick event there , I dont know what you actually want .
My Assumtopn is if you select first value in first combobox then second commbo box shuld disply first value , if you select 2nd value then value in 2nd also need to be change accordignly
My Assumtopn is if you select first value in first combobox then second commbo box shuld disply first value , if you select 2nd value then value in 2nd also need to be change accordignly
madhuri kunchala
Ranch Hand
Posts: 350
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
what you assumed is right...im showing here my jsp form and what i need is..
the above will be in login.jsp page...if i want to modify...im getting output as
modify.jsp
-------------if in xml file user chosses 'Low Balance' it is getting output as above...its working fine
but the problem with 'Validity' combo..if in xml file user has 'Validity----ADD_TO_CURREENT'
im getting output as
but it is taking as showend above...
i hope you got what im facing the problem
the above will be in login.jsp page...if i want to modify...im getting output as
modify.jsp
-------------if in xml file user chosses 'Low Balance' it is getting output as above...its working fine
but the problem with 'Validity' combo..if in xml file user has 'Validity----ADD_TO_CURREENT'
im getting output as
but it is taking as showend above...
i hope you got what im facing the problem
madhuri kunchala
Ranch Hand
Posts: 350
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
i tried again by changing my code...eventhough im getting same problem..can anyone check it and provide me the solution
ravindra patil
Ranch Hand
Posts: 234
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
I dont know abour EL , but you need to write js function what values is coming then need to set as selected
madhuri kunchala
Ranch Hand
Posts: 350
ravindra patil
Ranch Hand
Posts: 234
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
i Did not see any code calling that js function
| Squanch that. And squanch this tiny ad: Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing |






