- From: Thierry Michel <tmichel@w3.org>
- Date: Tue, 3 Sep 2002 18:17:40 +0200
- To: "GILCHRIST Roland" <Roland.Gilchrist@state.or.us>, <www-forms@w3.org>
Moderator: Sent to www-forms@w3.org ----- Original Message ----- From: "GILCHRIST Roland" <Roland.Gilchrist@state.or.us> To: "IPM Return requested (Receipt notification requested)" <NBhatia@sapient.com>; "IPM Return requested (Receipt notification requested)" <www-forms@w3.org> Sent: Tuesday, August 06, 2002 9:59 PM Subject: [Moderator Action] Re: Repeating nested structures > > > Please remove my address from your future mailings. Thank you very much. > roland.gilchrist@state.or.us > > > > >>> NBhatia@sapient.com 01/21/02 05:03AM >>> > > I am trying to access how I would implement the following use case using > XForms. I would appreciate if the group can give me some direction on it. > > My application uses a nested data structure shown below: > > class Assembly { > Collection parts; > } > > class Part { > int partNumber; > String partName; > PhysicalProperties pp; > ChemicalProperties cp; > } > > class PhysicalProperties { > ... > } > > class ChemicalProperties { > ... > } > > 1) I would like to show an assembly using a table of parts. Each row in the > table represents a part and always shows the partNumber and its name. The > PhysicalProperties and ChemicalProperties are shown in two tabs within the > same table (or two tabs in a different table that is aligned and > synchronized with the first table). The idea is that the basic properties > (partNumber and partName) are always shown, but only one of the two other > property groups, PhysicalProperties or ChemicalProperties, is visible at any > one time depending on the tab selected by the user. Can this behavior be > represented using XForms? > > 2) When entering or displaying an assembly, if any part breaks business > rules, the entire row representing that part should be colored red. How can > this behavior be achieved using XForms? > > I have read the spec, but I do not yet completely understand concepts such > as repeat and events. > Thanks. > > Naresh Bhatia > Sapient > One Memorial Drive, Cambridge, MA 02142 > Tel: 617-761-1771 Fax: 617-621-1300 > Email: nbhatia@sapient.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Received on Tuesday, 3 September 2002 12:18:29 UTC