Hi,
I'm using a BeanEditor as a custom property editor. The parent page
renders the BeanEditor properly, but on submit, I get a
StackOverflowError exception. Any ideas? Code and stack trace below:

-------------
public class AppPropertyEditBlocks {
        @Environmental
        private PropertyEditContext context;
        
        
@Component(id="savedSearchForm",parameters={"object=context.propertyValue"})
        private BeanEditor savedSearchForm;

        public PropertyEditContext getContext() {
                return context;
        }
        
        
}
---------------
<div xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
        <t:block t:id="savedSearch">
                <hr/>
                <h3>Default Search:</h3>
                <t:BeanEditor t:id="savedSearchForm"/>
        </t:block>
</div>
-----------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
  <head>
    <title>Site Defaults</title>
  </head>
  <body>
  <div id="main_wrap">
    <div id="main">
        <h1>Site Defaults</h1>
                <t:BeanEditForm object="siteBean" t:id="beanEditForm" />
    </div>
    </div>
  </body>
</html>
-----------------
    public static void
contributeDefaultDataTypeAnalyzer(MappedConfiguration<Class, String>
configuration) {
        configuration.add(SavedSearchBean.class, "savedSearch");
    }
    public void
contributeBeanBlockSource(Configuration<BeanBlockContribution>
configuration) {
        configuration.add(new BeanBlockContribution("savedSearch",
"AppPropertyEditBlocks", "savedSearch", true));
    }

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to