struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fulgencio Comendeiro, Eduardo" <Eduardo.Fulgen...@getronics.com>
Subject RE: Problem: <bean:define...>
Date Tue, 22 Nov 2005 09:40:37 GMT
Try to put lowercase

    private int Cmax = 0 ; --->  private int cmax = 0 ;



-----Mensaje original-----
De: Eider Iturbe [mailto:eiturbe@emedica.es] 
Enviado el: martes, 22 de noviembre de 2005 10:33
Para: Struts Users Mailing List
Asunto: Problem: <bean:define...>


Hi!

I have a problem with defining an scripting variable with:

/<bean:define id="Cmax" name="adminFormBean" property="Cmax" 
type="java.lang.Integer"/>

/and this property is defined into the bean called adminFormBean like
this:

/    private int Cmax = 0 ;

    public void setCmax(int cmax) {
        this.Cmax = cmax;
    }

    public int getCmax() {
        return Cmax;
    }

/But I get one JspException: "/No getter method for property Cmax of 
bean adminFormBean"

/Can anyone help me, please? Thanks!!!

Eider



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message