• 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
Page form or SubComponent form Design Pattern?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Page form or SubComponent form Design Pattern?


  • Subject: Page form or SubComponent form Design Pattern?
  • From: Kieran Kelleher <email@hidden>
  • Date: Thu, 17 Feb 2005 10:39:12 -0500

Hi All,

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.

I struggle with the decision as to whether to
1) put a form wrapper with enclosing Submit button in the editable section of each reusable component which is what I do right now or
2) just have one page level form wrapped around all reusable components and use page-level hyperlink or button submit the page via javascript.

Before I go beyond the point of no return, can anyone give advice/feedback/pros/cons as to which approach has turned out to be the most effective?


-Thanks, Kieran
________________________________________________________________
Blog: http://webobjects.webhop.org/

 _______________________________________________
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

  • Follow-Ups:
    • Re: Page form or SubComponent form Design Pattern?
      • From: David LeBer <email@hidden>
  • Prev by Date: Re: The great disappearing model trick!
  • Next by Date: Re: EOF and PostgreSQL Serial primary keys
  • Previous by thread: Re: The great disappearing model trick!
  • Next by thread: Re: Page form or SubComponent form Design Pattern?
  • Index(es):
    • Date
    • Thread