... and it doesn't work... :)
This is a WW1.4 bug?
I must use email and getEmail()....
 
Gio
-----Messaggio originale-----
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Per conto di Volnei
Inviato: mercoledě 11 febbraio 2004 14.13
A: [EMAIL PROTECTED]
Oggetto: Re: [OS-webwork] A ww1.4 bug or i mistake?

Ok, if you have an variable called eMail then use methods getEMail and setEMail.
And use our ww tag <webwork:property value="eMail"/> 
 
 
Please, it forgives the errors in the English, therefore I am Brazilian... :-), any error corrects me.
 
 
Volnei Granado Munhoz
Programador de Sistemas Jr.
Unopar - Coordenadoria de Informática
Visite nosso Portal: www.unopar.br
(43) 3371-7928


----- Original Message -----
Sent: Wednesday, February 11, 2004 6:03 AM
Subject: Re: [OS-webwork] A ww1.4 bug or i mistake?

> -----Messaggio originale-----
> Da: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] conto di
> Wayland Chan
> Inviato: martedi 10 febbraio 2004 20.35
> A: [EMAIL PROTECTED]
> Oggetto: RE: Re: [OS-webwork] A ww1.4 bug or i mistake?
>
>
> If you have an instance variable called 'email' in your
> bean/action. Standard JavaBean naming practice dictates that your
> accessor methods should be:
> getEmail()
> setEmail()

This is right!
But if I have a variable called 'eMail' my methods should be:
getEMail()
setEMail()
or i mistake?

Gio

>
> And as Volnei mentioned, because WW uses introspection, it is
> important that you name your properties correctly in order for WW
> to invoke the proper getter/setter method.
>
> >   ----- Original Message -----
> >   From: Giovanni Formenti
> >   To: Webwork Mailinglist
> >   Sent: Tuesday, February 10, 2004 9:17 AM
> >   Subject: [OS-webwork] A ww1.4 bug or i mistake?
> >
> >
> >   I write an action with:
> >   public String getEMail()
> >   but when i try to call this from within a JSP page with:
> >   <webwork:property value="eMail"/>
> >   i can't have the getEMail value.
> >   I must use:
> >   public String getEmail() with <webwork:property value="email"/>
> >
> >   It's a strange behavior, don't u think? Or i miss something?
> >
> >   Gio
>
>
>
>
> Wayland Chan
> email: wchanATtrekspaceDOTcom
>
> ----------------------------------------------------------
> Get your free email account from http://www.trekspace.com
>           Your Internet Virtual Desktop!
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to