Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 85799 invoked from network); 19 Mar 2011 00:05:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Mar 2011 00:05:04 -0000 Received: (qmail 32755 invoked by uid 500); 19 Mar 2011 00:05:01 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 32729 invoked by uid 500); 19 Mar 2011 00:05:01 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 32721 invoked by uid 99); 19 Mar 2011 00:05:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Mar 2011 00:05:01 +0000 X-ASF-Spam-Status: No, hits=3.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of apachemaven0@gmail.com designates 74.125.83.48 as permitted sender) Received: from [74.125.83.48] (HELO mail-gw0-f48.google.com) (74.125.83.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Mar 2011 00:04:56 +0000 Received: by gwj22 with SMTP id 22so2328973gwj.35 for ; Fri, 18 Mar 2011 17:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=vtHbG1D0A7DgynbwEDVYu302I22qh0JrXMRe321F1I0=; b=YBnVrNyEAP8p2gvTYqvM6pQKYGFoY4ymL0BqbBW1A1aSM6W9h30prPvDrnPvmQ3yJD MfQNafNgxUiZP+DXxhjJiEi6jOePNHPk5Ytp8F7db6psOCV4YDNbohWXtFalAhpkwSsH 7usiCitXntNUn6lFFwqneiUrB+D6qabRyrgxE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=LvPq51NAEe2P44RtA96rU+DD/eXAW8YrAQ0hzlIkw6n1UQ2ZSZ4Dtpxasz4ha7dw08 TmLCu9RP5BiaBvOdicUqQRNMepQ3uYLYJxl/0eFfMFO0IztfB1/KGBzLSZOyrv4axtmD 8i3ykFAd73jAQ0Mr6iJGWADXRXpDiGbrw+EY8= Received: by 10.151.142.3 with SMTP id u3mr1793323ybn.214.1300493075474; Fri, 18 Mar 2011 17:04:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.147.40.4 with HTTP; Fri, 18 Mar 2011 17:04:15 -0700 (PDT) In-Reply-To: References: From: maven apache Date: Sat, 19 Mar 2011 08:04:15 +0800 Message-ID: Subject: Re: update a complex object through struts2 To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=00151750da36cbe8e1049ecaa336 --00151750da36cbe8e1049ecaa336 Content-Type: text/plain; charset=ISO-8859-1 Hi: I update my question and make a simple example, Please take a look this example:http://jsfiddle.net/mbwwg/ Suppose the name of the task is "Task1",it belog to Department2,and it own two tasksteps(step01 and step02). And the operators of step1 contain "jhon" and "bill",while the step02 contain "bill" and "susan".Also there are other attributes. The user can modfiy the project name,group of the project,and the name,status of its tasks. Also he can add or remove the operator of one task. So, I can just read the attribute to page,but I do not know how to submit the updated information to the server side when a user make some modifination. --00151750da36cbe8e1049ecaa336--