- From: Naresh Bhatia <NBhatia@sapient.com>
- Date: Mon, 21 Jan 2002 07:58:43 -0500
- To: www-forms@w3.org
- Message-ID: <FDC3B7209AC0DB46AD9BAC16B43646B1024D189D@cammmsx01.sapient.com>
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 Monday, 21 January 2002 07:59:14 UTC