A, B, and C all need to call registerClass

On 7/11/05, Kent Henneuse <[EMAIL PROTECTED]> wrote:

I should also add some info about the structure of my Java classes.  I am using inheritance on both sides:

 

  SimpleObject                   Section A

        |                            |

        |                   --------------------

        |                   |                  |

    UberObject             Section B        Section C

 

 

UberObject is composed of a 'Section B' and a 'Section C'(Yes it should be an Array of 'Section A' objects but that doesn't seem to be happy with the dataproviders I am trying to do.)  When I look at event.result it is an UberObject.  If I cast event.result into an UberObject and try to look at uberObject.sectionB _remoteClass is UberObject not SectionB even if I cast it to SectionB.

 

Section B and Section C each have arrays of objects that I am looking display in a repeater but arrays are undefined.

 

In my UI I am getting one of the String properties that exists in Section A but not the any of the items in the Array.  Maybe it is how I am registering the classes with the server side class.  Should Section A, Section B, and Section C all call registerClass or just Section B and Section C? 

 

I have been unable to find any inheritance examples online or in the docs.

 

      Thanks,

 

      -Kent

 


From: [email protected] [mailto: [email protected]] On Behalf Of Kent Henneuse
Sent: Monday, July 11, 2005 12:11 PM
To: [email protected]
Subject: RE: [flexcoders] Debuging Java to AS Object conversion?

 

Unfortunately I am building against an existing application that is in JBoss so no JRun. 

 


From: [email protected] [mailto: [email protected]] On Behalf Of Clint Modien
Sent: Monday, July 11, 2005 12:06 PM
To: [email protected]
Subject: Re: [flexcoders] Debuging Java to AS Object conversion?

 

Enable Remote Object debugging in the flex-config.xml file (located at {flex-web-app-install-dir}/WEB-INF/flex/flex-config.xml):
<remote-objects-debug>true </remote-objects-debug>

Then reboot your flex server (or recycle the app if you can it's quicker)

the debugging info will be output to the stdout ... if your using the integrated JRun server it will be output to the console window...

happy hunting

On 7/11/05, Kent Henneuse <[EMAIL PROTECTED]> wrote:

Does anybody have any ways to debug the Java to AS object conversion that is
done with the RemoteObject call?  Or can you answer why the Net Connection
Debugger seems to only grab the initial connection?

I have been trying to use the NetConnectionDebugger but am having a problem
with.  The first connection I make to a remote object to do a login displays
fine in it but every other remote object attempt is never displayed.  Is
there something that I am missing in debugging someplace?  What should I be
looking for to correct the issue?

        Thanks,

        -Kent


A hypothetical paradox:
        What would happen in a battle between an Enterprise security
team, who always get killed soon after appearing, and a squad of
Imperial Stormtroopers, who can't hit the broad side of a planet?
                -- Tom Galloway




--
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
Computer software testing Macromedia flex Development
Software developer


YAHOO! GROUPS LINKS






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




YAHOO! GROUPS LINKS




Reply via email to