|
|
|
[
Permlink
| « Hide
]
Rene Gielen - [17/Mar/06 09:58 AM ]
The exeption seen here is annoying, but seems to break nothing. It is closely related to the perticular ognl expression used for doubleListKey.
Rainer found error in ognl expression.
Wrong usage seems to be caused by wrong docs for doubleselect, fixed them as well. The ognl expression fix helped avoiding the exception, but it breaks functionality :)
The former solution was correct, although exception was thrown. Lowering Priority, since this is not a real bug, just disturbing warning message. Does not break any functionality.
The exception seen here is directly related to the "official" example usage ognl expression for the doubleList parameter. The problem is that this expression cannot be evaluated correctly _before_ rendering the component, but will play nice when evaluated by js calls doing evaluation _after_ component is rendered. This is by design, even if it looks strange.
As a result I came to the question if the WARN notice about exception thrown when trying to evaluate an OGNL expression is always desirable. Came to the opinion that it might be desirable in devMode, but when we are in production mode, we should consider it a DEBUG information, therefore logging level should be lowered accordingly. Applied the said change to OgnlValueStack. Note that this will not completely fix the problem, but help users of production systems not being scared up without good reason. Anyone may feel free to reopen this issue if reasonable. | |||||||||||||||||||||||||||||||||||||||