Retrieving current date in el expression
I have an el expression where I have to compare the value of a view object attribute with the current date value .
Eg.:
disabled="#{bindings.DataInceput.inputValue le adf.currentDate}"
Unfortunately adf.currentDate cannot be resolved (this code stays in jspx).
Additional note: The view object I am using is readonly . (it's based on a query, not on an entity object) .
So what's the suggested way to achieve this functionality ?
Can I do this in a declarative way (without additional java code) ?
Thanks,
Andrei
Edited by: Andrei Ciobanu on Nov 21, 2011 2:11 AM