tag:robotlegs.tenderapp.com,2009-10-18:/discussions/questions/100-mediator-interfacesRobotlegs: Discussion 2018-10-18T16:35:10Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/12522782010-03-18T09:25:16Z2010-03-18T09:25:16ZMediator Interfaces<div><p>Hi Conrad, the answer is yes!</p>
<p>You can do:</p>
<p>// In your mediator [Inject] public var helloForm:IHelloForm</p>
<p>then in your context:</p>
<p>mediatorMap.mapView(HelloFormA, HelloFormMediator,
IHelloForm);</p>
<p>mediatorMap.mapView(HelloFormB, HelloFormMediator,
IHelloForm);</p>
<p>and so on.</p>
<p>The demos just can't cover every possible usecase, and if you
know you've only got one view then creating an interface for it is
a task of debatable value... but where you've got the need,
robotlegs can handle it.</p></div>Straytag:robotlegs.tenderapp.com,2009-10-18:Comment/12522782010-03-18T10:34:47Z2010-03-18T10:34:48ZMediator Interfaces<div><p>Fantastic :-) thanks - Thiw weekend is Robotlegs all the
way!</p></div>Conrad Winchester