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

2005-03-14 Thread Vasiliy Stashuk
Isn't that done automatically by their build process? - Dmitri - Original Message - From: "Vasiliy Stashuk" <[EMAIL PROTECTED]> To: Sent: Friday, March 04, 2005 12:01 PM Subject: Re: [jxpath] org.apache.commons.jxpath.JXPathException: no read method Thanks fo

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

2005-03-04 Thread Dmitri Plotnikov
Subject: Re: [jxpath] 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 to getAccessibleMethodFromInter

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 th

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: JXPat

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, 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 follow

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

2005-03-04 Thread Vasiliy Stashuk
Hi! I have problem while accessing java bean properties via JXPath. Consider following example. puvlic class BlaBla { public static interface Provider { public String getName(); } public static abstract class A implements Provider { } static class B extends A {