THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
If you only have one zone to update and don't want to use AjaxResponseRenderer, you can instead return a value from your event handler method. The simplest case is just to rturn return the zone's own body:
Code Block | ||
---|---|---|
| ||
@Inject private Request request; @InjectComponent private Zone myZone; ... Object onActionFromSomeLink() { return myZone.getBody(); // AJAX request, return zone's own body } |
...