new PModel(this) should do the trick without casting.
This usage is really defeating the purpose of the Presentation Model pattern
though. The PM should not know anything about the view it works for.
regards,
Christophe
--
Christophe Herreman
http://www.herrodius.com
http://www.springactionscri
Hello all
I need to pass my view to the presentation model I have created for the view. I
need to pass the view object in the constructor of presentation model. How can
I do that? I tried doing this...
public var pmodel:PModel = new PModel( View(this) );
// This gives an undefined View functi
2 matches
Mail list logo