• 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: WO 5.4 templateWithHTMLString ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO 5.4 templateWithHTMLString ?


  • Subject: Re: WO 5.4 templateWithHTMLString ?
  • From: Lachlan Deck <email@hidden>
  • Date: Mon, 26 Nov 2007 09:40:04 +1100

On 25/11/2007, at 5:35 AM, Ryan Klems wrote:

On Nov 23, 2007, at 4:09 PM, Lachlan Deck wrote:

On 22/11/2007, at 4:56 AM, Ryan Klems wrote:

If you want the same default behavior, pass null for the referenceName, WOApplication.application().associationFactory() and WOApplication.application().namespaceProvider() .

Thanks Ryan... good to know. And how is referenceName used?

It's really only used for exceptions, to give a little context, e.g. a component generating its own template would pass name() for the referenceName.

Ahh... yeah that will be helpful. Thanks.

On Nov 20, 2007, at 11:27 PM, Gaastra Dennis - WO Lists wrote:

Hi List:

The following method of WOComponent has been deprecated:

public static WOElement templateWithHTMLString(String anHTMLString,
String aDeclarationString,
NSArray<String> aLanguageArray)


Now, we are recommended to use:

public static WOElement templateWithHTMLString(String referenceName,
String anHTMLString,
String aDeclarationString,
NSArray<String> aLanguageArray,
WOAssociationFactory associationFactory,
WOMLNamespaceProvider namespaceProvider)


However, the new fields are not documented.

Perhaps Ryan you could throw your suggestions straight into the JavaDocs so they come out with the next build? :-)

I'll see what I can do, it could definitely use a little improvement :-)

It's good to see you guys active on the list...

with regards,
--

Lachlan Deck
_______________________________________________
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: 
 >WO 5.4 templateWithHTMLString ? (From: Gaastra Dennis - WO Lists <email@hidden>)
 >Re: WO 5.4 templateWithHTMLString ? (From: Ryan Klems <email@hidden>)
 >Re: WO 5.4 templateWithHTMLString ? (From: Lachlan Deck <email@hidden>)
 >Re: WO 5.4 templateWithHTMLString ? (From: Ryan Klems <email@hidden>)

  • Prev by Date: Re: Xcode 3 - No WebObjects entry in New Project list
  • Next by Date: Re: Webobjects-dev Digest, Vol 4, Issue 866
  • Previous by thread: Re: WO 5.4 templateWithHTMLString ?
  • Next by thread: JavaEOGenerator Eclipse
  • Index(es):
    • Date
    • Thread