• 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: Creating a component without a template
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a component without a template


  • Subject: Re: Creating a component without a template
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 25 Nov 2009 16:08:39 -0800


On Nov 25, 2009, at 4:02 PM, Mike Schrag wrote:

ERXStyleSheet does have a component ... If you don't have a component you need to be a dynamic element.

Do you _need_ to be? I think I have some template-less components. WO whines in the log, but they seem to work. You could try overriding template() and returning null.



Chuck



On Nov 25, 2009, at 6:50 PM, Paul Hoadley wrote:

On 25/11/2009, at 10:56 PM, Mike Schrag wrote:

are you extending WODynamicElement?

Ah, no. Should I be? WOComponent. I started by looking at what ERXStyleSheet does, just because I figured that was doing close to what I wanted—generating a HTML 'link' element in the header. It extends WOComponent (through some other classes), but AFAICS has no HTML template. (It's not that I think ERXStyleSheet is the final arbiter on what's right here, just that that's where I started.)



-- Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/




_______________________________________________
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

-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects








_______________________________________________
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: Creating a component without a template
      • From: Paul Hoadley <email@hidden>
References: 
 >Creating a component without a template (From: Paul Hoadley <email@hidden>)
 >Re: Creating a component without a template (From: Mike Schrag <email@hidden>)
 >Re: Creating a component without a template (From: Paul Hoadley <email@hidden>)
 >Re: Creating a component without a template (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Creating a component without a template
  • Next by Date: Re: Creating a component without a template
  • Previous by thread: Re: Creating a component without a template
  • Next by thread: Re: Creating a component without a template
  • Index(es):
    • Date
    • Thread