--- carmi_cd <[EMAIL PROTECTED]> wrote:
> Hi I have an application in Struts 2, my problem is when
> i try to submit the form even if there are values in the
> form input box it stills give validation message to the
> user to enter values for the required fields.
>
> here is my form fields.
> <s:textfield name="employeeId" label="Employee ID" labelposition="left"
> value="%{edituser.empId}" size="10"/>
> <s:textfield name="lastname" label="Lastname" labelposition="left"
> value="%{edituser.lastName}" size="30"/>
You're validating on "lastName" etc; do you have getters and setters for
"lastName" and so on, or are you assuming there's a getEdituser() and all the
values are being set on the edituser bean?
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]