DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29967>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29967 setValue doesn't support non-void setters Summary: setValue doesn't support non-void setters Product: Commons Version: 1.1 Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: JXPath AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] imagine a class like this: public class User { private String userName; public String getUserName() { return this.userName; } public User setUserName(String inUserName) { this.userName = inUserName; return this; } } JXPathContext.newContext(new User()).setValue("userName", "Mickey"); throws Exception trying to create xpath /userName; Cannot modify property: User.userName; No write method --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
