Re: WO 5.4 templateWithHTMLString ?
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