Is this correct? If so, by submitting the frame there would be no perceived effect on the page that the customer is currently looking at?
Thanks.
Daniel Perry wrote:
I've done similar things before. Use javascript to open an action to add it to the database. This can be in a new window, in another frame, or in a hidden iframe!
Daniel.
-----Original Message----- From: Brad Balmer [mailto:[EMAIL PROTECTED] Sent: 12 May 2004 13:46 To: Struts Users Mailing List Subject: Design Issue/Question
I have an application where a user is adding items for a customer. The form where the user will be on will have a list of products to choose from, and can add a product for the customer by clicking on the checkbox.
The issue I am having is that I need to have the application do an insert into the database when the user clicks on a checkbox. What I can't have is for the form to do a submit for each check (because of the time it would take to re-display the page) and I can't have the user click on all of their items and do one big submit at the end (requirements).
Is this even possible within the web and struts framework? (To have some sort of javascript kick off to tell something to do a database insert without submitting the form and without the user being redirected to another page).
Thanks to anybody who may have any insight into if there is anything I can do.
--------------------------------------------------------------------- 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]