After i checked the taglib class i found this:

****** START****************
// Call the indexed getter method if there is one
if (descriptor instanceof IndexedPropertyDescriptor) {
    Method readMethod =((IndexedPropertyDescriptor)
descriptor).
getIndexedReadMethod();
    if (readMethod != null) {
Object subscript[] = new Object[1];
subscript[0] = new Integer(index);
return (readMethod.invoke(bean, subscript));
    }
}
// Otherwise, the underlying property must be an array
        Method readMethod = getReadMethod(descriptor);
if (readMethod == null)
    throw new NoSuchMethodException("Property '" +
name +
    "' has no getter method");
// Call the property getter and return the value
Object value = readMethod.invoke(bean, new Object[0]);
if (!value.getClass().isArray())
    throw new IllegalArgumentException("Property '" +
name +
       "' is not indexed");
return (Array.get(value, index));
************* END*******************


It shows that the taglib will read the property of
<bean:write> and check set/get method in your related
ActionForm. If not it will check if its an Array, if
still not it throws NoSuchMethodException("Property '"
+ name +
    "' has no getter method");

I didnt see it checks if your ActionForm has parent or
not. it just check the ActionForm itself. 

But still i am not 100% sure coz the code line is too
long for a late night. You may check by your self.

=====
==
thx,
a Java Student


        
                
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to