4.5. Executing render actions
Prev | 4. Rendering views | Next

## 4.5. Executing render actions

Use the `on-render` element to execute one or more actions before view rendering. Render actions are executed on the initial render as well as any subsequent refreshes, including any partial re-renderings of the view.

    <on-render>
        <evaluate expression="bookingService.findHotels(searchCriteria)" result="viewScope.hotels" />
    </on-render>

Prev | Up | Next
4.4. View scope | Home | 4.6. Binding to a model