Someone care to help me out on OT reflection?
Here is the situation:
My base class has a reflection (in execute) that does this :
Method eventMethod = this.getClass().getMethod(methodName, args);
and same class has
onDefaultExec() {}
(or full code here:
James Turner wrote:
Boy, I get called Mr. Validator and LISP Boy in the same day. What's a
guy gotta do around here to get a little respect? :-)
Let's see ... write a best-selling Struts book. Nope, you did that.
Commit a bunch of code. Nope did that too. Hmmm, got me.
Have you tried taking
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16296.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16543.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16548.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
Never mind, the base method had error, works as per Java.
V. Cekvenich wrote:
Someone care to help me out on OT reflection?
Here is the situation:
My base class has a reflection (in execute) that does this :
Method eventMethod = this.getClass().getMethod(methodName, args);
and same class has
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16561.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16561.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16561.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16564.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16565.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16569.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16571.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
There doesn't seem to be direct help. Perhaps you could do this, or find a
utility method somewhere that does it for you:
Method method = null;
Class cls = this.getClass();
while (method == null cls != null) {
method = cls.getMethod(methodName, args);
cls = cls.getSuperClass();
}
Please
I'm having trouble understanding why one of the unit tests is failing. The
failure is in TestRequestUtils.testAbsoluteURL(). It builds a URL from
RequestUtils.absoluteURL() and compares it with the value it expects. It
says the computed value is not equal to the expected value.
The weird thing
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16530.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
dgraham 2003/01/29 21:37:16
Modified:src/share/org/apache/struts/taglib/html BaseTag.java
Log:
Cleaned up duplicated method calls.
Revision ChangesPath
1.12 +12 -8
jakarta-struts/src/share/org/apache/struts/taglib/html/BaseTag.java
Index: BaseTag.java
dgraham 2003/01/29 21:38:41
Modified:src/share/org/apache/struts/taglib/html BaseTag.java
Log:
Missed one of the duplicated method calls...
Revision ChangesPath
1.13 +5 -5
jakarta-struts/src/share/org/apache/struts/taglib/html/BaseTag.java
Index:
dmkarr 2003/01/29 22:22:01
Modified:src/share/org/apache/struts/taglib/html MessagesTag.java
Log:
Changed bundle default from Globals.MESSAGES_KEY to null. This was only
a problem when the correct MessageResources was in request scope, not in
application scope, which happens
19 matches
Mail list logo