-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi folks,
I have a flash app that posting a java servlet, I was wondering if can I update or access a listbox on a .zul page in this servlet???
I get null pointer exception using this: Path.getComponent("//main/materialListbox").
what am I doing wrong???
Best Regards
Some ZK life cycle could only be access in zk life cycle (ex zk ajax update)
You should not access a zk component in you servlet, it is no safe.
You could use client side javascript to communicate between flash and zk server side information.
flash <-> your javascript <-> zkAu javascript <-> zkServer event <-> your event handler in zk
Asked: 2011-07-01 20:06:52 +0800
Seen: 234 times
Last updated: Jul 06 '11