On Fri, 10 Feb 2012 11:18:23 -0200, karthi <[email protected]> wrote:

Do you mean this?

private String gender;

public String getGender() {
        return gender;
        }

public void setGender(String gender) {
        this.gender = gender;
        }

Yep!

In form submission and for user selection this gender always give me the
value on.

Unless 'on' is a valid Gender value, which I think it isn't, what you've said doesn't make sense.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to