Stanislav wrote:
<bean:define id="value" name="imeK" scope="request" />
<html:text size="54" property="imeK" styleClass="InputTable"
value="<%=value.toString()%>" />
Tnx, it works :-)
Alternatively, use an action to populate the form bean.
OK. I try to do this:
ZahtjevZaKreditForm zahtjevZaKreditForm = (ZahtjevZaKreditForm) form;
zahtjevZaKreditForm.setPrezimeK(prezimeK);
and leave the jsp unchanged like:
<html:text size="54" property="imeK" styleClass="InputTable"/>
Try to use name attribute in <html:text>, not property in your case
(then you don't neet to set this bean in your ActionForm object).
by default if you don't specify name, the form in wich current
<html:text> is included will be used.
So in your case this will work: <html:text size="54" name="imeK"
styleClass="InputTable"/>
Borislav