Hi Oscar,
 
I am using Flex with JRUN and Java classes. Does this applies too? And what did you do to fix the problem. Thanks
 
Omar Ramos
System Developer

 
On 10/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:
Omar,

Are you using ColdFusion with Flex? Check out the "gateway-config.xml" file
and check the "serialization" section. I had the same problem, and you
actually have different options.

      <!-- Determines how complex objects/generic class data types are to
      be
          handled by the gateway. The two options are Classic or Flex.

          Classic mode performs shallow serialization on all non-static
      fields
          for classes implemeting java.io.Serializable.

          Flex mode uses improvements made for Flex's RemoteObject feature
          and performs deep serialization on fields with bean accessors for
      any
           class. -->
          <serialization>Classic</serialization>

          <!-- ActionScript 1.0 and ColdFusion use case insensitive data
      structures
          to store associative arrays, objects and structs - the Java
      representation
          of these datatypes requires a case-insensitive Map, which the
      gateway
          achieves by looking up all keys in lowercase.  If case
      insensitivity is desired
          then this setting should be set to true.  ActionScript 2.0 is now
      case sensitive,
          but setting this to true will allow ColdFusion to look up keys
      case insensitively, and
          will not actually change the case of the keys.  For AS 2.0 to
      java this should be false,
          since both are case sensitive. -->
          <lowercase-keys>true</lowercase-keys



                                                                                                                           
                                                                                                                           
             "Omar Ramos"                      To: [email protected]                                              
             <[EMAIL PROTECTED] >            cc:                                                                         
             Sent by:                          Subject:  Re: [flexcoders] Java VO.                                         
             [email protected]                                                                                    
             10/13/2005 09:38 AM                                                                                           
             Please respond to                                                                                             
             flexcoders                                                                                                    

                                                                                                                           
                                                                                                                           




Yes I have both VO identical and registered via registerObject. Java just
seams to put my properties to lowercase. I guess I will have to just go
with lowercase properties.


Omar Ramos
System Developer


On 10/12/05, Kelly Roman <[EMAIL PROTECTED]> wrote:
Are you making corresponding AS classes to match your Java VO classes?





If so are you declaring the remoteClass so that Flex knows which AS classes
match which Java VO classes?











From: [email protected] [mailto:[email protected]] On
Behalf Of Omar Ramos
Sent: Tuesday, October 11, 2005 9:12 AM
To: [email protected]
Subject: [flexcoders] Java VO.





Hi all,

I have a simple VO class in java and have a service that returns a
ArrayList of that vo. My question is that when I return this list to flex
via RemoteObject Tag (AMF) java or flash seams to put each property of the
VO in lowercase. For example if on the Java VO it had a property of Name
and LastName when it gets to flex is name and lastName. Any way to make it
return the VO as it is defined on the java class? Thanks for any help.


Omar Ramos
System Developer





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

       Visit your group "flexcoders" on the web.

       To unsubscribe from this group, send an email to:
        [EMAIL PROTECTED]

       Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.







--
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  Computer software  Software design 
development      development        and development 
                                                     
Macromedia flex  Software                           
                  development best                   
                  practice                           
                                                     


                            YAHOO! GROUPS LINKS

       Visit your group "flexcoders" on the web.

       To unsubscribe from this group, send an email to:
       [EMAIL PROTECTED]

       Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.





---------------------------------------------------------------------------
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---------------------------------------------------------------------------




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






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