Hi Aldo,
 
I currently have it like this. The reason I wanted it the other way around is because I come more from a .NET programing language. In .NET you have your properties defined this way. This reflects the properties of a Sql Table which are defined the same way. So I wanted to maintain consistency in my programing that is why. Thanks for your feedback.
 
 
Omar Ramos
System Developer


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

I don't see the problem.
That's the way it should work.

Flex will find a "getName" getter and determine that the name of the
variable is "name" according to javabean naming conventions.

You should NEVER use uppercase initial letters in variables. period.
This is a widely used convention.

Best,
Aldo



On 10/13/05, Omar Ramos <[EMAIL PROTECTED] > wrote:
>
> Hi Oscar,
>
> I have my gateway.config with
>
> <serialization>Flex</ serialization>
>
> <lowercase-keys>false</ lowercase-keys>
>
> And my getter and setters like this
>
> private String _name_en;
>
>  public int getName() {
>   return this._name_en;
>  }
>  public void setName(int _name) {
>   this_name_en = _name;
>  }
>
> And still flex serializes the objects like this: name_en insted of Name_en.
>
> 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
>
>
>
>
>      SPONSORED LINKS
>                       Web site design development                                       Computer software development                                       Software design 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.
>
>    ________________________________




--
::::: Aldo Bucchi :::::
mobile (56) 8 429 8300


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




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