User: ko5tik
Date: 02/10/02 10:11:32
Modified: modules/apache/src/xdoclet/modules/apache/struts
StrutsFormTagsHandler.java
Log:
fixed XDT-17 - forAllPersistentFields lists
only persistent fields now
Revision Changes Path
1.9 +5 -2
xdoclet/modules/apache/src/xdoclet/modules/apache/struts/StrutsFormTagsHandler.java
Index: StrutsFormTagsHandler.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/apache/src/xdoclet/modules/apache/struts/StrutsFormTagsHandler.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -w -r1.8 -r1.9
--- StrutsFormTagsHandler.java 8 Sep 2002 01:27:24 -0000 1.8
+++ StrutsFormTagsHandler.java 2 Oct 2002 17:11:31 -0000 1.9
@@ -29,7 +29,7 @@
* @author Dmitri Colebatch ([EMAIL PROTECTED])
* @created Oct 19, 2001
* @xdoclet.taghandler namespace="StrutsForm"
- * @version $Revision: 1.8 $
+ * @version $Revision: 1.9 $
*/
public class StrutsFormTagsHandler extends EjbTagsHandler
{
@@ -155,7 +155,10 @@
for (MethodIterator j = XCollections.methodIterator(methods);
j.hasNext(); ) {
setCurrentMethod(j.next());
// we are interested in persistent methods only
- if (MethodTagsHandler.isGetter(getCurrentMethod().getName()) &&
!foundFields.containsKey(getCurrentMethod().getName())) {
+ if (MethodTagsHandler.isGetter(getCurrentMethod().getName()) &&
+ !foundFields.containsKey(getCurrentMethod().getName()) &&
+ PersistentTagsHandler.isPersistentField(getCurrentMethod())
+ ) {
if (useMethodInForm(getCurrentMethod())) {
if (log.isDebugEnabled()) {
log.debug("METHOD(I=" + getCurrentMethod().getName());
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel