velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shinobu Kawai Yoshida <shinobu.ka...@gmail.com>
Subject Re: Usage question.
Date Wed, 19 Jan 2005 12:17:23 GMT
Hi Andrew,

> Thanks, that's great!
> 
> OK, so the problem is that it doesn't work with static members 

Right.

> Is there any way the static version could be made to work?

Just tried them, and both #3 and #4 worked.  ;)

> 3. Haven't tried it with static fields, but the PublicFieldUberspect.
>   http://wiki.apache.org/jakarta-velocity/PublicFieldUberspect
> ## You'll still need an instance of Request in the Context.

http://sylow.no-ip.com/maven/site/ShinobuDemo/xref-test/org/apache/velocity/tools/generic/introspection/PublicFieldUberspectTest.html#54

> 4. Haven't tried it, but I found a tool here:
>     http://jakarta.apache.org/velocity/api/org/apache/velocity/app/FieldMethodizer.html

http://sylow.no-ip.com/maven/site/ShinobuDemo/xref-test/org/ieee/shinobu/demo/velocity/FieldMethodizerTest.html#20

Best regards,
-- Shinobu

--
Shinobu "Kawai" Yoshida <shinobu.kawai@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message