<html:form action="/admin/customer/edit.do"> <div id="editPage"> <tiles:insert attribute="pageBody"/> </div> </html:form>
This is used by a page like this:
<%@ taglib prefix="sn" tagdir="/WEB-INF/tags/sn" %> <%@ taglib prefix='c' uri='http://java.sun.com/jstl/core_rt' %> <%@ taglib prefix="tiles" uri="/WEB-INF/tld/struts-tiles.tld" %> <%@ taglib prefix="bean" uri="/WEB-INF/tld/struts-bean.tld" %>
<tiles:insert page="/WEB-INF/jsp/admin/editPage.jsp">
<tiles:put name="pageBody" type="string">
<table width="100%" border="0" cellpadding="4" cellspacing="0">
<sn:viewTextFieldRow property="id" size="5"/>
<sn:textFieldRow label="shop.fabric.name" property="name" size="40"/>
<sn:textFieldRow label="shop.fabric.code" property="code" size="10"/>
<sn:textAreaRow label="shop.fabric.description" property="description" rows="6"/>
<sn:viewTextFieldRow property="createdDate" size="10"/>
<sn:viewTextFieldRow property="modifiedDate" size="10"/>
</table>
<sn:editButtonBar/>
</tiles:put>
</tiles:insert>
The sn tags contain the html:text, etc., which is obviously where the error is being triggered.
So, given that all the content is being evaluated within the body of the html:form tag, why would the html input tags not be able to find the bean?
John
-- ============================================== John Moore - Norwich, UK - [EMAIL PROTECTED] ==============================================
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]