tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cendil" <cendil2...@icqmail.com>
Subject RE: IntrospectionException - bad property name
Date Tue, 29 Jul 2003 09:48:30 GMT
And it works for me too!!!!!!

On Tue, 29 Jul 2003 10:46:35 +0100, Jimmi.Dyson@barclayscapital.com wrote:

> 
> It works! Thanks for the fix!
> 
> -----Original Message-----
> From: Drew Davidson [mailto:drew@ognl.org] 
> Sent: 29 July 2003 10:34
> To: Tapestry users
> Subject: Re: IntrospectionException - bad property name
> 
> 
> Cendil wrote:
> 
> >The expression that's causing the problem is (in fact replace version 
> >with any property and it returns the same error - works fine with
> >v2.5.1 though):
> >
> >x509Certificate.version
> >
> >x509Certificate is defined in my page spec as :
> >
> ><property-specification name="x509Certificate" 
> >type="java.security.cert.X509Certificate"/>
> >  
> >
> It's not actually the java.security.cert.X509Certificate class that's 
> the problem.  I tried a test case on that and it worked just fine.  The 
> problem is that there is an object that implements methods called "set" 
> and "get" which appear to be object indexed properties (i.e. public void 
> set(Object key, Object value) and public Object get(Object key)).  There 
> is no property name at the end of these so propertyName ends up being 
> "", which PropertyDescriptor then chokes on.  The only candidate that I 
> could find in the JDK classes was java.lang.reflect.Field. You must be 
> accessing a Field somewhere in an OGNL expression.
> 
> Thanks for the spot!  OGNL 2.6.2 is out now for you to try.  Let me know 
> if this fixes it.
> 
> - Drew
> 
> -- 
> +---------------------------------+
> < Drew Davidson | OGNL Technology >
> <     Professional Open Source    >
> +---------------------------------+
> |  Email: drew@ognl.org          /
> |    Web: http://www.ognl.org   /
> |    Vox: (520) 531-1966       <
> |    Fax: (520) 531-1965        \
> | Mobile: (520) 405-2967         \
> +---------------------------------+
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
> 
> ------------------------------------------------------------------------
> For more information about Barclays Capital, please
> visit our web site at http://www.barcap.com.
> 
> 
> Internet communications are not secure and therefore the Barclays 
> Group does not accept legal responsibility for the contents of this 
> message.  Although the Barclays Group operates anti-virus programmes, 
> it does not accept responsibility for any damage whatsoever that is 
> caused by viruses being passed.  Any views or opinions presented are 
> solely those of the author and do not necessarily represent those of the 
> Barclays Group.  Replies to this email may be monitored by the Barclays 
> Group for operational or business reasons.
> 
> ------------------------------------------------------------------------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org



-------------------------------------------------------------
Sign up for ICQmail at http://www.icq.com/icqmail/signup.html

Mime
View raw message