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