补充,如果你用myEclipse的话,You can see it's properties, then you can find events
改成小写的了,还是调不出来那个控件,另外我同时在同一页面又加了:<input type="text" name="date" id="date" onClick="fPopCalendar(date,date);return false" size="12"> 结果是,点击<html:text>的文本框,在<input >那个文本框上显示控件,而不是在<html:text>的文本框上显示控件. 去掉<input>语句后,什么都显示不出来了by the way ,i am using myeclipse but i dont know how and where i could check the attributes of <html:text>
结果是,点击<html:text>的文本框,在<input >那个文本框上显示控件,而不是在<html:text>的文本框上显示控件.
去掉<input>语句后,什么都显示不出来了by the way ,i am using myeclipse but i dont know how and where i could check the attributes of <html:text>
如果那样
<html:text styleClass="L_thinborder" id="date" property="date" size="35" onclick="fPopCalendar(date,date);return false;"/>
注意是property不是name
date date 就是这个文本框的名字和ID,但是<html:text>里面没有id这个属性.