Hi All,

I have seen shorty findout the solution  reload the viewstack component
data...

Same way i m using the code like this...

    if(event.newIndex==1){
                    /* var test1Obj:test1 = new test1();
                    getDocumentChildrens(test1Obj,
"test1");
                    Alert.show("execute"); */

                    var obj:test1 = VS1.getChildByName("test1") as test1;
                    obj.reload();
                }
for me i got build error like..
1061: Call to a possibly undefined method reload through a reference with
static type test1.

Please let me know what i did wrong in that
Thanks for any urgent help...

Regards,
Pradeep


On Wed, Feb 24, 2010 at 8:38 PM, Vaibhav Seth <[email protected]>wrote:

> Try declaring test1Obj :
>
> <comp:test1 id="test1Obj">
>
>
>
>
> On Wed, Feb 24, 2010 at 12:41 AM, pradeep gorijavolu <
> [email protected]> wrote:
>
>> Hi vaibhav,
>>
>> Can u please elaborate the getDocumentChildrens method in the post
>> why bcz i m getting the null values whn i use this one obj.getChildren()
>> method
>>
>> i m invoking this method like this...
>> var test1Obj:test1 = new test1();
>>  getDocumentChildrens(test1Obj,"test1");
>>
>> in the test1Obj have datagrid and button and combobox and textinput and
>> arrayCollection but i got the values of arrayCollection
>>
>> Regards,
>> Pradeep
>>
>>  On Wed, Feb 24, 2010 at 1:42 AM, Vaibhav Seth <[email protected]
>> > wrote:
>>
>>>  Alternatively, you can also check the last post:
>>>
>>>
>>> http://groups.google.com/group/flex_india/browse_thread/thread/e58a46afef9d927e/91fd053f52f1ee67?hl=en&q=#91fd053f52f1ee67
>>>
>>>
>>>
>>>
>>> On Tue, Feb 23, 2010 at 3:05 PM, Vaibhav Seth <[email protected]
>>> > wrote:
>>>
>>>> i think the problem lies in the architecture.
>>>> If you have prepared the VOs for each view and each view is binded to
>>>> the VO, then you have to just set yourVO = new yourVO(); and your screen is
>>>> reset.
>>>>
>>>>
>>>>
>>>> On Tue, Feb 23, 2010 at 11:54 AM, <[email protected]> wrote:
>>>>
>>>>> Hi Pradeep,
>>>>> I've been trying to figure this out for a couple of weeks.
>>>>> Can someone help us???
>>>>>
>>>>> Appreciate the help.
>>>>>
>>>>>
>>>>> On Tue, Feb 23, 2010 at 10:38 AM, pradeepflex <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Hello Friends,
>>>>>>
>>>>>> I have requirement like.......
>>>>>>
>>>>>> we are using viewstack in our pages apart from that i have one
>>>>>> viewstack in that i have let us take 3 child canvas components.
>>>>>> Each canvas component i m using lot of child components like combobox
>>>>>> and grids....
>>>>>> So the problem is when iclick back button in the second canvas or
>>>>>> third canvas to first component
>>>>>>
>>>>>> I have to rest all the components in the subsequent pages....
>>>>>>
>>>>>> i have one way like create second component object and reset all the
>>>>>> componenets manually..
>>>>>>
>>>>>> But its very diffcult and complex process.
>>>>>>
>>>>>> please let me know the solution asap
>>>>>>
>>>>>> Thanks for any information
>>>>>>
>>>>>> Regards,
>>>>>> Pradeep
>>>>>>
>>>>>> --
>>>>>> 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]<flex_india%[email protected]>
>>>>>> .
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/flex_india?hl=en.
>>>>>>
>>>>>>
>>>>>  --
>>>>> 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]<flex_india%[email protected]>
>>>>> .
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/flex_india?hl=en.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Thanks,
>>>> Vaibhav Seth.
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Vaibhav Seth.
>>>
>>>  --
>>> 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]<flex_india%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/flex_india?hl=en.
>>>
>>
>>  --
>> 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]<flex_india%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>
>
>
> --
> Thanks,
> Vaibhav Seth.
>
>  --
> 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]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>

-- 
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