• 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: Ryan Klems <email@hidden>
  • Date: Sat, 24 Nov 2007 11:35:42 -0700


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.


-Ryan

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

-Ryan

_______________________________________________
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: WO 5.4 templateWithHTMLString ?
      • From: Lachlan Deck <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>)

  • Prev by Date: WebObjects 5.4 examples
  • Next by Date: Wonder using WO 5.4 and Eclipse/WOLips ?
  • Previous by thread: Re: WO 5.4 templateWithHTMLString ?
  • Next by thread: Re: WO 5.4 templateWithHTMLString ?
  • Index(es):
    • Date
    • Thread