Hi dev,
I'd like to change the behaviour of #set($foo = $evaluates_to_null)
The current behaviour is to log (debug loglevel) the message "RHS of
#set statement is null...".
What I'd like to do:
- set the loglevel of this message to warn
- don't log anything if the left reference is quiet, as in
#set($!foo = $evaluates_to_null)
(this syntax is already allowed but does nothing special)
This will allow template coders
- to anticipate whether an assignment can be null
- to be warned if another assignment is null for a warn loglevel
Any objection?
Claude
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]