Thanks for the reply

All the java VO classes are having accessor methods for the private
properties and a default constructor.

One more thing after including a single attribute for AddressVO in
CustomerVO in action script it starts working.

after removing this attribute also it is working consistantly

I didn't understand this behaviour.

Thanks,
ssdevi.

--- In flexcoders@yahoogroups.com, "Michael BADEN"
<[EMAIL PROTECTED]> wrote:
>
> Be sure that ALL your java VO classes have getter setter method for
private
> properties, and a default constructor.
>
>
>
> 2006/5/10, ssdevi_2002 <[EMAIL PROTECTED]>:
> >
> > Hi,
> >
> > I am getting a weird problem when passing value objects from Flex
1.5
> > to Java. Initially it is not able to decode the action script
value
> > object to java value object. But after restarting the server
multiple
> > times it starts working.
> >
> > In the application we are having a CustomerVO. CustomerVO is
having a
> > Collection of AddressVO objects. Both value objects are having an
> > equivalent Action script classes in the actionscript side.
> >
> > Both actionscript classes are using Object.registerClass to
create a
> > mapping to a Java class. In the java side both value objects are
> > implementing Serializable.
> >
> > In the Flex side CustomerVO is having values for Collection of
> > AddressVO.
> >
> > In the delegate class in the java side the CustomerVO is having
> > values
> > for other attributes but Collection of AddressVO is empty.
> >
> > After restarting the server(Tomcat 5.0) multiple times it is
working
> > fine.
> >
> > Any thoughts?
> >
> > Thanks,
> > ssdevi
> >
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> >
> >
> >
> > SPONSORED LINKS
> >   Web site design development<http://groups.yahoo.com/gads?
t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=C
omputer+software+development&w3=Software+design+and+development&w4=Mac
romedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-
4QTvxB_quFDtMyhrQaHQ> Computer
> > software development<http://groups.yahoo.com/gads?
t=ms&k=Computer+software+development&w1=Web+site+design+development&w2
=Computer+software+development&w3=Software+design+and+development&w4=M
acromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lv
QjSRfQDfWudJSe1lLjHw> Software
> > design and development<http://groups.yahoo.com/gads?
t=ms&k=Software+design+and+development&w1=Web+site+design+development&
w2=Computer+software+development&w3=Software+design+and+development&w4
=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=
1pMBCdo3DsJbuU9AEmO1oQ>  Macromedia
> > flex<http://groups.yahoo.com/gads?
t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+soft
ware+development&w3=Software+design+and+development&w4=Macromedia+flex
&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36
cYzBjw> Software
> > development best practice<http://groups.yahoo.com/gads?
t=ms&k=Software+development+best+practice&w1=Web+site+design+developme
nt&w2=Computer+software+development&w3=Software+design+and+development
&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.s
ig=f89quyyulIDsnABLD6IXIw>
> >  ------------------------------
> > YAHOO! GROUPS LINKS
> >
> >
> >    -  Visit your
group "flexcoders<http://groups.yahoo.com/group/flexcoders>"
> >    on the web.
> >
> >    -  To unsubscribe from this group, send an email to:
> >     [EMAIL PROTECTED]<flexcoders-
[EMAIL PROTECTED]>
> >
> >    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> >    Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> >  ------------------------------
> >
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to