commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Clayton <n...@cloudnine.net.nz>
Subject Re: [JELLY] - Jelly/Jexl question
Date Wed, 23 Jul 2003 07:18:39 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OK.  Yes, that's the unqualified name of the class. Using a FQN does not seem 
to work either... 

However; if I change to using:

"${grid.computeSize(scrolled.getBounds().width, scrolled.getBounds().height) 
}"

still I get no joy :-(.

The jelly debug output shows:
1346 [main] DEBUG  - findVariable: grid value: Composite {}
1430 [main] DEBUG  - Evaluating EL: 
grid.computeSize(scrolled.getBounds().width, scrolled.getBounds().height) 
1431 [main] DEBUG  - findVariable: grid value: Composite {}
1431 [main] DEBUG  - findVariable: scrolled value: null
1431 [main] DEBUG  - findVariable: scrolled value: null
1431 [main] DEBUG  - findVariable: scrolled value: null
1431 [main] DEBUG  - findVariable: scrolled value: null
1431 [main] DEBUG  - value of expression: null

I tried also using "scrolled.bounds.width" with the same result.

Is there a reference for what Jexl supports?

Neil


On Wednesday 23 July 2003 00:32, Paul Libbrecht wrote:
> Neil Clayton wrote:
> > Will Jexl be able to parse and evaluate
> > "${grid.computeSize(scrolled.getBounds().width, SWT.DEFAULT) }"
>
> Neil,
>
> If SWT.DEFAULT is a static member of SWT class than I think the answer
> is: jexl doesn't know how to handle constants... (a bug should be filed,
> I think this was discussed recently on the list about DISPOSE_ON_CLOSE).
>
> Oh, plus you were'nt providing the full-classname of SWT, or ?
>
> Paul
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD4DBQE/HjbPLXcfQF3yrNoRAtsZAJdk1bK5HmaH4aRRZga6aMiWMHuxAKCxLmdY
OH4PknuCMtANoJ9pmlRJgg==
=nzLX
-----END PGP SIGNATURE-----


Mime
View raw message