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
Hi!
There is another one test case, where jxpath is failing to read property
thru base getter accessible from super class. I've wrote a test case and
patch solving the problem. The patch is in the enclosed file.
--
All the best,
Vasyl 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 {
]
wrote:
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
following
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:
JXPathContext ctx = JXPathContext.newContext(new A() {
public String getName() {
return theName;
}
});
?
Thanks for the help.
On Fri, 04 Mar 2005 16:40