Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Retrieving current date in el expression

AndreiCiobanuNov 21 2011 — edited Nov 21 2011
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 19 2011
Added on Nov 21 2011
2 comments
4,455 views