----- Original Message ----- 
From: "Shane Mingins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 15, 2003 4:58 PM
Subject: How do I implement a Master/Detail maintenance form?


> 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.

I presume your supplier page is the master page and it contains a list of
links pointing to a product page. If this is the case, I use Java scripts to
force a submission in order to sync the supplier's data with the form bean
before forwarding to the product page.

>
> Thanks
> Shane
>
>
> Shane Mingins
> Analyst Programmer
> Assure NZ Ltd
> Ph 644 494 2522
>

Jing
Netspread Carrier
http://www.netspread.com

>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to