Re: WO 5.4 templateWithHTMLString ?
Re: WO 5.4 templateWithHTMLString ?
- Subject: Re: WO 5.4 templateWithHTMLString ?
- From: Lachlan Deck <email@hidden>
- Date: Sat, 24 Nov 2007 10:09:05 +1100
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?
-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? :-)
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