Hi!
I actually have three problems with the project I am doing. First is with the <link> tag, second is with pre-population problem and third is how to call a javasript first before anything else happens.
I'm trying to pass a value from a link when a user clicks on a submit button (an image button). It's suppose to pass a value from a listbox (the one selected by the user) which was pre-populated by options taken from a database.
My problem is, how do I reference the value in my action bean? I wanted to use the ParamId and ParamName in the <html:link> tag. Here's my
JSP code:
Next is, I managed to pre-populate a drop down box already, but whenever I refresh or do something on that same page, the values get repeated in the listbox (re-populated) again and again. What can I do to fix this (the page is technically the 'first page' - I forward an index page to this so that it performs the actions I need)?
3rd, when a user submits the form, I forward it to an action to pre-populate the next page. But, I have a date list box that is populated by a javascript (because it only gets the dates of every saturday of a selected month - and changed when the month selected is changed). So this means that when I load the page, my day listbox 'default' is not the one in the database, instead it is the first option. Is there a way to get this fixed?
[ October 04, 2003: Message edited by: Gregg Bolinger ]
[ October 05, 2003: Message edited by: Bianca Deloso ]