I have got tabbox with several items. I need to refresh data when user click on tab. I have click command that perform refreshing in the container, but I can't create refreshing of the page. This is example of item on .zul page:
<row valign="top">
<label value="Title with diacritics" zclass="field_label"/>
<textbox value="@{main$composer.inventory.titleTranslitDcr, is-live=true}" hflex="1"/>
</row>
This is how this data which I tried to set in the bean:
public void populateTitleStatementFields()
{
this.titleTranslitDcr = Commons.getString(context, "/xml/TitleTranslitDCR", EMPTY);
}
I'm sure that in this code I've got valid value of the string. But nothing work until full reload with F5.
As for samples - I have got about 50+ fields which I should update in 5 includes. I tested this by opening two pages - at one I save data into db, on other change tab and looking for changes, but nothing happened, even if I got right value from db (which was changed on another browser instance) EDIT 11.04.2013:
Found something close to this. Reloading .zul page from onclick event in tutorial, but I think I should combine it with @Command. Is there a way to do it just to test will it work?