0

Passing values between scripts

asked 2008-09-03 19:52:55 +0800

zuzsso gravatar image zuzsso
48

Hi everybody.

I tried to do a thing: I have a zscript in a page, let's call page1.zul. This script has a method, with that signature: boolean checkValue (String value1, String value2)

I call this method from other page with several controls (buttons and two textboxes). Let's call this page page2.zul.

When I fill out the textboxes and press a button on page2.zul, the onClick Event is fired and a method is called. This method reads the textboxes's values and call the method checkValue on page1.zul, like this:
checkValue (val1, val2).

But... the checkValue method couldn't get any value through the parameters, but null...
I tried to put the page1.zul's method on page2.zul, but it doesn't still works

What I'm doing wrong? Thanks in advance

delete flag offensive retag edit
Be the first one to reply this discussion!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2008-09-03 19:52:55 +0800

Seen: 131 times

Last updated: Sep 03 '08

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More