Re: [jxpath] org.apache.commons.jxpath.JXPathException: no read method

2005-03-14 Thread Vasiliy Stashuk
automatically by their build process? - Dmitri - Original Message - From: Vasiliy Stashuk [EMAIL PROTECTED] To: commons-dev@jakarta.apache.org Sent: Friday, March 04, 2005 12:01 PM Subject: Re: [jxpath] org.apache.commons.jxpath.JXPathException: no read method Thanks for quick

Re: [jxpath] org.apache.commons.jxpath.JXPathException: no read method

2005-03-04 Thread Dmitri Plotnikov
Vasiliy, You need to change the visibility of class B from default to public. JXPath only supports access to public classes. Let me know if this helps. - Dmitri Vasiliy Stashuk [EMAIL PROTECTED] wrote: Hi! I have problem while accessing java bean properties via JXPath. Consider

Re: [jxpath] org.apache.commons.jxpath.JXPathException: no read method

2005-03-04 Thread Vasiliy Stashuk
Making B public will help. But what if I'm using anonymous class instead of B, like this: JXPathContext ctx = JXPathContext.newContext(new A() { public String getName() { return theName; } }); ? Thanks for the help. On Fri, 04 Mar 2005 16:40:55 +0200, Dmitri Plotnikov [EMAIL PROTECTED]

Re: [jxpath] org.apache.commons.jxpath.JXPathException: no read method

2005-03-04 Thread Dmitri Plotnikov
Vasiliy, Very good point. I will commit a fix to getAccessibleMethodFromInterfaceNest tonight. Thank you very much for pointing this out. - Dmitri Vasiliy Stashuk [EMAIL PROTECTED] wrote: Making B public will help. But what if I'm using anonymous class instead of B, like this:

Re: [jxpath] org.apache.commons.jxpath.JXPathException: no read method

2005-03-04 Thread Vasiliy Stashuk
Thanks for quick replies :) Could you also please upload new jars to ibiblio.org ? On Fri, 04 Mar 2005 17:51:22 +0200, Dmitri Plotnikov [EMAIL PROTECTED] wrote: Vasiliy, Very good point. I will commit a fix to getAccessibleMethodFromInterfaceNest tonight. Thank you very much for pointing

Re: [jxpath] org.apache.commons.jxpath.JXPathException: no read method

2005-03-04 Thread Dmitri Plotnikov
] org.apache.commons.jxpath.JXPathException: no read method Thanks for quick replies :) Could you also please upload new jars to ibiblio.org ? On Fri, 04 Mar 2005 17:51:22 +0200, Dmitri Plotnikov [EMAIL PROTECTED] wrote: Vasiliy, Very good point. I will commit a fix