struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Thomas <>
Subject Re: How do I implement a Master/Detail maintenance form?
Date Wed, 16 Jul 2003 08:39:56 GMT

On 15/07/2003 22:58 Shane Mingins wrote:
> Hi
> Are there any *best practices* or examples around showing the best way of
> implementing the maintenance of a master/detail relationship using the
> Struts framework?
> For example if I provide a form with a supplier and list of products
> where
> you can edit the supplier details and/or edit the product details, to
> select
> the product to edit I need to provide a key to identify that product.  I
> can
> use a link but then any changes to the supplier are not kept as the link
> does not submit the form.

What I do is have the submit button on the detail page return the user to 
the master page. They they press submit/save or whatever on the master 
page to save all changes.


Paul Thomas
| Thomas Micro Systems Limited | Software Solutions for the Smaller 
Business |
| Computer Consultants         |   |

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message