commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincenz Braun">
Subject [jelly] Expressions and custom Tags
Date Mon, 26 Jan 2004 17:34:11 GMT

It's been a while since I looked at some jelly source
code. Today I mentioned that some bean properties in
custom tags changed their type to Expression. The
real value is then obtained via expression.evaluate(context).

Take for example the email tag. Almost all attributes(like to and from)
have changed from String to Expression. Why is this necessary?
Do I have to change all my Tags attributes to Expression? Whats
the reason for this change? (There was a respective bug report JELLY-63)

The documentation states that all attributes are evaluated at runtime
and the properties are set to the respective values automatically. 
Is this still correct? Then I can not see why it is necessary to do this
magic stuff again, and again in the tags itself and why such a change in
EmailTag was necessary and the former version was considered a buggy.

Thanks a lot,
Vincenz Braun

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message