Creating a component without a template
Creating a component without a template
- Subject: Creating a component without a template
- From: Paul Hoadley <email@hidden>
- Date: Wed, 25 Nov 2009 16:27:09 +1030
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?
|
_______________________________________________
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