tag:robotlegs.tenderapp.com,2009-10-18:/discussions/robotlegs-2/2822-propertyvalueinjectors-to-mediatorsRobotlegs: Discussion 2013-07-09T13:43:48Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/271273432013-06-05T11:18:23Z2013-06-05T11:18:23ZPropertyValueInjector's to mediators<div><p>Hi Brndn,</p>
<p>Sorry for the delay. There isn't currently a good solution for
this. Looking at it now, "hooks" could be a way to do this if they
were expanded a little. Will think it over..</p></div>Shaun Smithtag:robotlegs.tenderapp.com,2009-10-18:Comment/271273432013-06-05T14:28:04Z2013-06-05T14:28:07ZPropertyValueInjector's to mediators<div><p>Hi Shaun<br>
I opted to do it at runtime.<br>
** viewProcessorMap.map(View) .toProcess(new
PropertyValueInjector({prop:this.prop}));</p>
<pre>
<code> viewProcessorMap
.map(View)
.toProcess(new MediatorCreator(MyMediator)) **</code>
</pre>
<p>then once the mediator is initialised I<br>
** viewProcessorMap.unmap(View).fromAll(); **</p></div>brndn