Hi Jitendra ,

i am having setter and getter methods for empobj.

i placed the sysout statement in java to see whether it is calling the
setter and getter methods.
I observed , while assigning value to flex variable it is calling getter
method of empobj and displays null in flex variable.

Thanks,
Kiran Singh

On Sat, Jan 24, 2009 at 12:11 PM, Jitendra Jain <
[email protected]> wrote:

> *Hi Kiran,
>
>    while converting the Asynchronous Message into respective flex class.
> Flex looks for getter and setter method except the data types which are
> specified by Flex(Automatic conversion).  Since your class has a list
> variable. You need proper getter and setter method for this class. Oh one
> more point the function should be public so flex can access it while
> converting the class.
>
> Please take a look.
>
> class* DepartmentVO
>
> {
>   *private* *List* empobj = *new* *ArrayList*();
>
> public function setEmpobj(List empobj){
>
> //Put ur business logic here or else pass the list object after performing
> business operation on list argument which is passes to the function
>
>
>
> }
>
> public List getEmpObj(){
> return empobj;
> }
>
>  thanks,
>
> with regards,
> JJain
>
>
>
> >
>


-- 
N.Kiran Singh
mca

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