THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
@Inject private AjaxResponseRenderer ajaxResponseRenderer; @InjectComponent private Zone timeArea; @Property private Date currentTime; ... /** respond to the "onUpdateupdateTime" event */ void onUpdateTime() { currentTime = new Date(); ajaxResponseRenderer.addRender(timeArea); } |
...