I have two objects a customer and a bill. when completing the bill information the bill must be assigned to a customer. To do this on the bill.jsp I have a link next to the customer Id field which brings up the search customer.jsp.
From here the user finds a customer whos Id willbe added to the bill. Can anyone tell me how to keep the information populated that the user entered about the bill on the bill.jsp after I have found a customer to add.
So the flow would be as follows:
1. User enters data about bill. 2. User decides to find a customer to associate with bill. 3. User is directed to search customer jsp. 4. User selects a customer Id to add to bill.jsp
How would I keep the information still populated that the user entered in step 1.
If I used the seeion scope then the form would be populated throughout the whole session. However if the user after entering the first bill wanted to enter another bill the form would already be populated and I dont want that to happen.
Also I have thought about opening a pop up window when the user searches for a client ID. How would I use the <html:link tag and not actually forward to anywhere when I click on the link but open a window.