Hello, I have a question about the scope of the classes used in automatic binding of the zul pages .
In the samples I have seen (zk todo v2 http://ria.dzone.com/articles/using-desktop-model-view) the selectedItem is bound to the model class.
The model class is session scoped and hold the state of the item being edited.
But what if I want a zul page that got two o more tabs for editing different istance of the same domain? Suppose I have a zul page named main.zul that got two tabs, each importing the zktodo.zul page that bind to the same model class, if the model class is session scoped working whith the two tabs create confusion.
What is the right way to implemente a page with multiple tabs importing a .zul for editing differente istances of the same domain?
Excuse me for my bad english. Hope I was sufficently clear
Hello,
I have a question about the scope of the classes used in automatic binding of the zul pages .
In the samples I have seen (zk todo v2 http://ria.dzone.com/articles/using-desktop-model-view)
the selectedItem is bound to the model class.
The model class is session scoped and hold the state of the item being edited.
But what if I want a zul page that got two o more tabs for editing different istance of the same domain?
Suppose I have a zul page named main.zul that got two tabs, each importing the zktodo.zul page that bind to the same model class,
if the model class is session scoped working whith the two tabs create confusion.
What is the right way to implemente a page with multiple tabs importing a .zul for editing differente istances of the same domain?
Excuse me for my bad english. Hope I was sufficently clear