Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

efmiii
efmiii
Offline

Badges

Badges
5

Accepted Solutions

Accepted Solutions
0

Likes

Likes
0

Posts

Posts
9

Discussions

Discussions
0

Questions

Questions
9

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by efmiii
Customize the badges you want to showcase on your profile
Re: Flex Remoting - Deeply Nested ArrayCollections not Stongly Typed - Adobe LiveCycle 22-05-2009
No worries, all help appreciated. The world makes sense again and I can enjoy my weekend .Thanks again for the help!~e

Views

259

Likes

0

Replies

0
Re: Flex AMF channel problem only with few IE8 installation - Adobe LiveCycle 22-05-2009
I think I stumbled on a solution: from: http://flexdiary.blogspot.com/2008/11/thoughts-on-remoting.html "I think the real reason the serialization wasn't working was the last thing I discovered, which is that you have to have a dummy variable typed as your custom class in the same class as the RemoteObject that you're using to retrieve the values. This makes sure that the class definition gets compiled into the class where it can be used." If I add a Dummy Variable in my Flex ProductVO: …public ...

Views

402

Likes

0

Replies

0
Re: Flex Remoting - Deeply Nested ArrayCollections not Stongly Typed - Adobe LiveCycle 22-05-2009
I think I stumbled on a soltuotion:from: http://flexdiary.blogspot.com/2008/11/thoughts-on-remoting.html"I think the real reason the serialization wasn't working was the last thing I discovered, which is that you have to have a dummy variable typed as your custom class in the same class as the RemoteObject that you're using to retrieve the values. This makes sure that the class definition gets compiled into the class where it can be used."If I add a Dummy Variable in my Flex ProductVO:public var...

Views

260

Likes

0

Replies

0
Re: Flex Remoting - Deeply Nested ArrayCollections not Stongly Typed - Adobe LiveCycle 22-05-2009
Thanks for looking at the code.The import(s) weren't required for the other example ( since the first example didn't need to use a List or ArrayList ), so that's ok.According to the Adobe docs, all you need to ensure the RO and VO match up is the same # of properties, and the same property names ( case sensitive ). AFAIK, all looks ok.Too bad you cannot use Meta tags like you can with Flex Arrays ( [ArrayElementType("...")] ) with ArrayCollections to aid in the matching... or use generics ArrayC...

Views

259

Likes

0

Replies

0
Re: Flex Remoting - Deeply Nested ArrayCollections not Stongly Typed - Adobe LiveCycle 22-05-2009
Hey Michael, this code works:BTW - I changed Flex package path to match that on server.Flex VO======package com.mypackage.admin.vo{ import mx.collections.ArrayCollection; [RemoteClass(alias="com.mypackage.admin.vo.BrandVO")] public class BrandVO { public var brandId:int; public var name:String; public var displayName:String; [Bindable] public var productLine:ArrayCollection = new ArrayCollection(); public function BrandVO(){} }}Java RO======package com.mypackage.admin.vo;import java.util.List;im...

Views

260

Likes

0

Replies

0
Re: Flex AMF channel problem only with few IE8 installation - Adobe LiveCycle 22-05-2009
Thanks for the feedback. I'm running on IE 7 and have the prob. It seems strange that it works with some classes and not others, which would suggest a prob with the class definition ( the RO vs. the VO ), but I don't see any discrepancies.~e

Views

399

Likes

0

Replies

0
Re: Flex Remoting - Deeply Nested ArrayCollections not Stongly Typed - Adobe LiveCycle 22-05-2009
Thanks again for the feedback.I tried what you suggested and still have the same problem.Plus the other VO's follow the same convention and they seem to corrolate to the ROs w/o a prob.Very strange.~e

Views

259

Likes

0

Replies

0
Re: Flex Remoting - Deeply Nested ArrayCollections not Stongly Typed - Adobe LiveCycle 22-05-2009
Hey Michael,Thank you for the quick response and helpful suggestion.Sure enough, if I just call for a CaseVO, it still is generically typed as an Object; so your theory that Flex cannot match up the RO and VO seems to be the correct. I have reviewed the code however and can't see any discrepancies. If you have a moment, can you take a look at the following and see if any errors seem evident:The Flex VO==========package com.mypackage.vo{ [RemoteClass(alias="com.mypackage.admin.vo.CaseVO")] public...

Views

259

Likes

0

Replies

0
Flex Remoting - Deeply Nested ArrayCollections not Stongly Typed - Adobe LiveCycle 22-05-2009
I have a Flex 3 app which uses remoting. All works relatively well except for the following...I have a deeply nested object graph as follows:( btw: each VO uses [RemoteClass(alias="com.mypackage.xxx")] meta tags )The main class is called "BrandVO" which contains an ArrayCollection on ProductLineVOs.each "ProductLineVO" has an ArrayCollection of "ProductVO"seach "ProductVO" has an ArrayCollection of "CaseVO"s, "UseVO"s, and "IngredientVO"s.Pseudo Graphically:+-BrandVO+----ProductLineVO+-------Pro...

Views

3.2K

Likes

0

Replies

12