* convenience binding for time expressions
This commit is contained in:
parent
6927a6f7b8
commit
e1409b5c30
|
@ -652,6 +652,11 @@ public class MediaBindingBean {
|
|||
return new File(System.getProperty("user.home"));
|
||||
}
|
||||
|
||||
@Define("now")
|
||||
public long getNow() {
|
||||
return System.currentTimeMillis();
|
||||
}
|
||||
|
||||
@Define("object")
|
||||
public Object getInfoObject() {
|
||||
return infoObject;
|
||||
|
|
Loading…
Reference in New Issue