K
kumar
I have a 'CustomerForm' bean that has an 'Address' bean that has a
property 'city'.
My Code:
<jsp:useBean id="customerForm" scope="session"
class="com.abc.forms.CustomerForm" />
<jsp:getProperty name="customerForm" property="billingAddress.city" />
CustomerForm does have getter/ setter for Address object and so does
Address for city field. I do know of tag in struts like
<html:text name="customerForm" property="billingAddress.city"
maxlength='40' size="40"/>
that woudl serve the purpose. but it has limitations. The limitation
being, I cannot access the text box element within javascript with its
name translating to 'billingAddress.city'.
Can any one provide me with a solution for the above scenario?
Appreciate our help.
Thanx
property 'city'.
My Code:
<jsp:useBean id="customerForm" scope="session"
class="com.abc.forms.CustomerForm" />
<jsp:getProperty name="customerForm" property="billingAddress.city" />
CustomerForm does have getter/ setter for Address object and so does
Address for city field. I do know of tag in struts like
<html:text name="customerForm" property="billingAddress.city"
maxlength='40' size="40"/>
that woudl serve the purpose. but it has limitations. The limitation
being, I cannot access the text box element within javascript with its
name translating to 'billingAddress.city'.
Can any one provide me with a solution for the above scenario?
Appreciate our help.
Thanx