if u want to to be able to set the value of "daysVac" in the form to that in
the bean then u will have to write a "get" and "set" methods for the same in
the bean and it will be done automatically for ya. Something like the
following :
public class MyBean {
private int m_daysVac = 0;
hi sello,
It seems that you are trying to assign the value of the parameter named
"daysVac"
to a property of the bean by the same name. Then you need to correct the
setProperty
tag as follows:
Saravanan R
Hi! Whenever I have something like this:
with the function defined below in Javascri
Hi! Whenever I have something like this:
with the function defined below in Javascript:
function daycalc(){
document.myform.daysVac.value=document.applets[0].calcNoOfDays(document.myfo
rm.vacFrom.value,document.myform.vacTo.value);
}
Now whenever I submit, the 'daysVac' is not set in the