Hi, I'm using ERRest framework and I've integrated the Rule System with the ERRest requests. I'm facing a situation and can't think about any possible solution out of the box.
In the rules file I've a rule as follows: 100 : (entity.name = 'CascadingMenuItem' and task = 'GET') => displayPropertyKeys = (menuTitle,"toParentMenu.menuTitle") [com.webobjects.directtoweb.Assignment], The issue is the value of menuTitle and toParentMenuItem.menuTitle are localized keys. I want to get the localized value. So for that I've to modify the above rule as follows: 100 : (entity.name = 'MenuItem' and task = 'GET') => displayPropertyKeys = (localizedMenuTitle,"toParentMenuItem.localizedMenuTitle") [com.webobjects.directtoweb.Assignment], The localizedMenuTitle takes "localizer" parameter and the above rule works okay with in WO Component. Where localizer is automatically passed to the method by the framework. In ERRest, I don't understand how should I handle this. Any ideas? or may be I've missed some documentation which could help with the problem with minimum effort? Thanks in advance, Farrukh
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
