• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Page form or SubComponent form Design Pattern?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Page form or SubComponent form Design Pattern?


  • Subject: Re: Page form or SubComponent form Design Pattern?
  • From: David LeBer <email@hidden>
  • Date: Thu, 17 Feb 2005 18:39:22 -0500

On Feb 17, 2005, at 10:39 AM, Kieran Kelleher wrote:

I follow a design pattern whereby I have a reusable subcomponent for every Entity and each Entity's reusable subcomponent has an "isEditable" flag and contains two conditionals .... one showing "editable version" of the EO with input fields, etc. and the other showing display only with WOStrings, etc.

Completely separate from the original form question. If you are building this kind of page (Edit-Or-View), I highly suggest you take a look at Paul Suh's SwitchableStrings (I blogged about them a while back <http://david.codebase.ca/index.php?p=32>).


Essentially they are replacements for the common standard WOElements with an "editable" binding (Editable while true, View only while false). I find they greatly reduce the complexity of my pages.

;david

--
David LeBer
Codebase Software Systems
site:   http://www.codebase.ca
blog: http://david.codebase.ca

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Page form or SubComponent form Design Pattern? (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: Page form or SubComponent form Design Pattern?
  • Next by Date: Re: EOModel java type and Value Type Question?
  • Previous by thread: Page form or SubComponent form Design Pattern?
  • Next by thread: Re: Page form or SubComponent form Design Pattern?
  • Index(es):
    • Date
    • Thread