• 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: 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.


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

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>)
 >Re: Creating a component without a template (From: Chuck Hill <email@hidden>)

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