Make sure you're using the correct assignment class, the RHS key is the correct one for your localized string, and that the d2wContext is actually being used in the localized template string method.
On Oct 16, 2012, at 10:35 AM, Flavio Donadio wrote: > > On 16/10/2012, at 12:42, Ramsey Gurley wrote: > >> Yes but you still need a rule if you're using d2w :-) Something like >> >> 20: propertyType = 'a' and smartAttribute.userInfo.indefiniteArticles.count >> > 0 and session.localizer.languageCode = 'en' => indefiniteArticle = >> smartAttribute.userInfo.indefiniteArticles.en [ERDKeyValueAssignment] >> >> Or just put together a custom assignment, since this approach would result >> in at least two rules per language. > > I can't make this work. I opted for a simpler approach, creating only one key > in the userInfo dictionary. The key is "indefiniteArticle" and it's value is > the String "uma". > > No matter how I write my d2w rule, I can't get > smartAttribute.userInfo.indefiniteArticle's value. > > Where did I got wrong? > > > Cheers, > Flavio > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
