Re: Creating a component without a template
Re: Creating a component without a template
- Subject: Re: Creating a component without a template
- From: Paul Hoadley <email@hidden>
- Date: Thu, 26 Nov 2009 11:14:06 +1030
On 26/11/2009, at 10:38 AM, Chuck Hill wrote: 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.
That's the same as I observed: log entry, no obvious problem with the HTML output. You could try overriding template() and returning null.
OK...
Hmm. Doing this:
@Override public WOElement template() { System.out.println("ENTRY"); return null; }
doesn't seem to be sufficient. I still get log whining—in fact, AFAICS that method is not being called. Not a big deal. I can create an empty template.
|
_______________________________________________
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