Problem comes how to bypass the model and command can talk to view
directly.
Well in cairngorm we cant have the view's refrence in command class,
but still there is a wrok around, go to my previous post below and you
will find it.

http://groups.google.com/g/7e77fd17/t/1d522c915d67ee12/.../349a66c8f48cde33?...



Thanks,
Vaibhav.

On May 12, 5:31 am, Ravi Mishra <[email protected]> wrote:
> Hi,
>
> You can do this simply using Model. Just add a property in model and
> assign it with appropriate value when fault occurs, then access by the
> instance of model in your add view. May be you will require the help
> of ChangeWatcher to check if the value of model property has got
> changed or not.
>
> HTH,
>
> -Ravi
>
> On May 12, 1:12 pm, riaflexible <[email protected]> wrote:
>
>
>
> > Hi :
>
> > The project which I am working uses ethe cairngorm framework .
>
> > Basically we have a List view , Add / Edit view .
>
> > Example : Users
>
> > In user add view , Once we fill the data's in Users add view , An
> > event is dispatched  and the appropriate command class is called which
> > makes the service call.
>
> > If any error returned by the service call , I want to display the Add
> > View again and want to pass the service call error and display the
> > error message to the appropriate form field in the Addview .
>
> > I can Display the AddView , If any service call error is encountered ,
> > But how to pass the data to that view .
>
> > Or another sense how to call  a method in the View . mxmls from the
> > command class .
>
> > Please can any one provide some inputs how to achieve it .
>
> > Thanks,
> > Satish- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to