Update html textfiled value in generateScript method

Dear all,

i have developed program node in html , e.g and InputTextField myVal;

also have a script execute in generateScript() method of ProgramNodeContribution class, like:

writer.appendLine(“server.readRemoteVal()”); //this is XML-RPC call and will return a object arrays

and try
writer.assgin(“myVal”, “server.readRemoteVal()”) ; //assign variableName

but how to get this value back ? writer.getResolvedVariableName will returns a registered variable name but not the value?

so how can i get this return valu and set it to the textfield ?

thanks!!