• 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: Mike Schrag <email@hidden>
  • Date: Wed, 25 Nov 2009 07:26:52 -0500

are you extending WODynamicElement?

On Nov 25, 2009, at 12:57 AM, Paul Hoadley wrote:

Hello,

I have created a component that doesn't need a HTML template.  It's for adding a specific 'link' element to the head, so I started by looking at ERXStyleSheet, and it just adds the HTML content directly in appendToResponse(), just as ERXStyleSheet does.  It all works just fine, except for a log message every time it's used:

DEBUG NSLog  - <com.webobjects.appserver._private.WOComponentDefinition> No template found for component ...

As far as I can see, ERXStyleSheet doesn't have a template, just an API file, so I did the same.  What's the last step I'm missing to stop WOComponentDefinition complaining up there?


-- 
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
  • 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>)

  • Prev by Date: Re: EOF in a Jar!
  • Next by Date: Re: D2W: Does it work with one sided relationships ?
  • Previous by thread: Creating a component without a template
  • Next by thread: Re: Creating a component without a template
  • Index(es):
    • Date
    • Thread