-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have a zul like this and a composer using a adapter which have the properties defined in fact i see the getAdapter method called 4 times correctly.
<window apply="Composer">
<textbox id="ref" value="@{$composer.adapter.ref}"/>
<textbox id="refInt" value="@{$composer.adapter.refInt}"/>
<datebox id="createdFrom" value="@{$composer.adapter.fechaIni}"/>
<datebox id="createdTo" value="@{$composer.adapter.fechaFin}"/>
I would like that ref value mean ref.getValue() is propagated to composer.getAdapter.getRef() property but not success so far. what i am doing wrong.
In the composer i have a class adapter which have ref and refInt attributes i can see the adapter getter is call correctly but the ref and refInt values are not propagate to the adapter properties.
Hello,
If you are using mvc pattern I think you should set values of textboxs in the controller, and they will be binded automaticly if the value changes
Asked: 2016-09-15 12:48:09 +0800
Seen: 43 times
Last updated: Sep 30 '16
wrong valueException come in front of modal popup [closed]
Use parameters in a conditional @command
Problems with multiple press and onCtrlKey
MVVM @save on the fly [closed]
Unable to activate destroyed desktop
org.zkoss.zk.ui.UiException: java.lang.ClassNotFoundException
How to put a image or Letter over image on a specific XY Coordinate
Just guessing here... Are your adapter's ref, etc. properties filled correctly when the getter call for value is coming in?
FlorianSchaetz ( 2016-09-15 13:01:23 +0800 )edit