struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhou" <j...@netspread.com>
Subject Re: How do I implement a Master/Detail maintenance form?
Date Wed, 16 Jul 2003 01:51:13 GMT

----- Original Message ----- 
From: "Shane Mingins" <shane.mingins@assureinternational.com>
To: <struts-user@jakarta.apache.org>
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: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message