-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
That does look cool! I was actually thinking that being able to insert more
complex expressions would relive some of the more mundane things that had to
make their way into the page objects... and look what happened! (maybe I
should *think* like this more often :-)
Great work!
Neil
On Thursday 29 Aug 2002 4:41 pm, [EMAIL PROTECTED] wrote:
> I think OGNL will be very cool, mostly because a lot of
> mundane logic can shift into the specification.
>
> For example:
>
> <component id="insertAmount" type="Insert">
> <binding name="value" ...
> <binding name="class" expression="classForAmount"/>
> </component>
>
> public String getClassForAmount()
> {
> return getAmount() > 90 ? "warning" : "normal";
> }
>
> We can now get rid of the method and put that logic
> right into the binding:
>
> <binding name="class" expression='amount >
> 90 ? "warning" : "normal"'/>
>
>
> Thanks again for the great work and leadership. I'm
> busy linking JavaDoc pages to the component reference
> and double checking everything.
- --
Neil
(BTW: If you see weird text surrounding the message and you don't know what it
is, don't worry, it's just my public PGP signature).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9bmcmLXcfQF3yrNoRAkG3AJ42Je1a8Go+ZgB1HX+N9ASOeHLPvgCfUK7r
tIykJwpBqHZJKLmw95Y7HUc=
=bn2r
-----END PGP SIGNATURE-----
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer