I've been trying to make a version of <bean:write> that doesn't require the
"name" attribute and just uses the default form bean if it isn't supplied.
(like the HTML tags work)
I've tried changing the name to Contants.BEAN_KEY just like in BaseFieldTag.
// Look up the requested bean (if necessary)
if ("".equals(name) || name == null) {
name = org.apache.struts.taglib.Constants.BEAN_KEY;
}
I always get the message that the bean isn't found in the pagecontext. Any
ideas what I need to do to resolve this?
Thanks.
Wayne
[EMAIL PROTECTED]