-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I am loading on demand and using a rowRenderer.java file to format the information.
I want to add an onClick function that will call a zscript function on my page.
I can easily add an onClick to call a zscript function when I hard code it in the zul file,
but when i try and just call the zscript function, this is the error that i get.
"The method MasterPrepareForm() is undefined for the type new EventListener(){}"
Does anyone have experience with this, or know how I might be able to do it?
Thanks to all who can help.
-James
Hi,
Why not move the function into a Java class? (high performance)
/Jumper
Ya... I could do that, but then I'm not sure how I would associate the files properly.
So I have the EntryRowRenderer.java file creating the component and adding the onClick event.
Now I have OrderScript.java containing the converted zscript.
I put them in the same package (orders).
How do I call the function properly?
How would I call the TESTFUNC() in orders.OrderScript from the orders.EntryRowRenderer class?
Thanks for the advice Jumper, I hope this will work right.
-James
You may use this component (soundmanager) instead.
Asked: 2009-04-27 16:56:02 +0800
Seen: 1,351 times
Last updated: Sep 19 '11