I am using GWT.
I have a chkBox
and fileupload
which are added to formPanel
.
after formPanel.submit();
On Server Side
I want the value of chkbox
so
if (item.isFormField()) {
if (item.getFieldName().equalsIgnoreCase("chkbox")) {
chkbox= Streams.asString(item.openStream());
}
}
when chkbox.getvalue
is true
, the value on server side is On and chkbox.getValue
is false
the i get null
on the server side.
i need the values of chkbox
so that i can perform operation on file depending on the value of chkbox