- robert
On Thursday, May 29, 2003, at 01:14 PM, Sloan Seaman wrote:
It does not display an error message but if I turn on debugging it leaves a
"skipping read only method" in the logs.
Here are the rules:
_digester.addFactoryCreate ("struts-config/action-mappings/action", new ActionMappingFactory()); _digester.addSetProperties ("struts-config/action-mappings/action"); _digester.addSetNext ("struts-config/action-mappings/action", "addActionConfig", "org.apache.struts.config.ActionConfig");
(yes, I'm overriding part of Struts to provide my own ActionMappingFactory :))
The XML in question: <action path="/test" className="com.symbol.mc.oms.core.struts.mcp.ActionMCPMapping" type="com.symbol.mc.oms.core.struts.mcp.ActionMCP"
<set-property property="ACTION_TYPE" value="JDO"/> <set-property property="ACTION_PROCESSOR" value="blah"/> <forward name="PAGE_ACCESS_DENIED" path="/index.jsp"/> <forward name="PAGE_ACTION_FAILURE" path="/index.jsp"/> <forward name="PAGE_ACTION_SUCCESS" path="/index.jsp"/> </action>
-- Sloan
----- Original Message ----- From: "Simon Kitching" <[EMAIL PROTECTED]> To: "Jakarta Commons Users List" <[EMAIL PROTECTED]> Sent: Wednesday, May 28, 2003 6:33 PM Subject: Re: [Digester] - Read only methods
On Thu, 2003-05-29 at 07:27, Sloan Seaman wrote:I have a public void setActionMappingClass(String) that Digester does not call because the get is public Class getActionMappingClass() instead of a public String getActionMappingClass()....
Just seems odd that Digester would be so strict...
While this means that your class does not comply with the Java Beans specification, I don't see why Digester would not invoke the method.
Does Digester display an error message, or just appear to ignore the rule?
Can you post the code you use to set up the related rules, and a fragment of the input xml?
Regards,
Simon
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
