-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I just upgraded myProject to ZK8 , then I get an error message saying "SimpleForm Class Cannot be resolved to a type". I go to ZK8 Javadoc to check whether the SimpleForm class included in ZK8 and didn't find any.
in ZK7 I used isDirty()
method in SimpleForm
class to check whether the form has been modified. so how do I do to check the dirty state in ZK8? is there any workaround for it?
Regards,
Klepon
Hello kleponboy,
At the following url i found some interesting info regarding dirty status (Form Status Variable), hope it helps:
http://books.zkoss.org/zk-mvvm-book/8.0/databinding/formbinding.html
Best Regards,
Darksu
In know the implementation has changed a lot because you now the collections are also cached.
Looks like it's now with proxy.
This interface is what you need, and you can see what the subclasses are.
Chill.
I think if you the form in zul with form=
, it's stays the same.
Chillworld. Is there example available how to remove simplform used in ZK 7 and replace with new ZK 8 approach ?
Senthilchettyin ( 2016-01-04 06:53:18 +0800 )editinstead of using SimpleForm you can now create the form proxy using: ProxyHelper.createProxyIfAny
As Chill already stated: To check the dirty status, the returned form proxy object can be cast into org.zkoss.bind.proxy.FormProxyObject
Asked: 2015-10-08 02:59:40 +0800
Seen: 66 times
Last updated: Jan 04 '16
Form Binding - Default values in dependent fields - ZK8
Method on an@refed object inside a template in a included zul with form binding is called only once
MVVM form validation for field inside template
Please help me in form binding
Where can I find a good template?
How close "father" window after creating "child" window
Notify Form of property change