O'Reilly logo

ZK Developer's Guide by Markus Stauble, Hans-Jurgen Schumacher, Jurgen Schumacher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Updating at the Right Place

In the last chapter, we implemented a minimal update. However, the functionality is not really the normal way an update should work. Therefore, it's better to move the update to the result table. The following screenshot depicts the way an update should appear in the table.

If the user clicks on the pencil, the selected media should be opened in the update mask. For that case, we have to update the com.packtpub.zk.media.view.MediaListItemRenderer class. We append an additional column for the update.

How to access the sessionScope in a Java class

In a ZUL page, we can access a session directly with the variable ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required