Using EZI panel items in JavaScript

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
LEBAS
Posts: 23
Joined: Fri May 11, 2012 5:02 pm

Using EZI panel items in JavaScript

Post by LEBAS »

I have a EZI_QPanel named P1_Emp which contains an EZI_TextBox named P1_ADDRESS1. Does somebody know the syntax to retrieve the value of P1_ADDRESS1 in a .js file:

this.q_getProperty("Form.???????.P1_ADDRESS1.Value");

Thanks by advance

Yann
tsupartono
Posts: 289
Joined: Wed Apr 18, 2012 10:21 am

Re: Using EZI panel items in JavaScript

Post by tsupartono »

One way to figure this out is using the server logging.

If you enable the server (system) logging, you would be able to see all the properties that the server sends to the client.

Look for lines starting with "UnloadEachNameValuePair"
For example, this line tells me the name of one of the properties in the quick panel:

-->|UnLoadEachNameValuePair is sending|.FORM.FIELDS.QPANEL1.FIELDS.MC.FIELDS.T10.VALUE|wqA=|<-- 0
Post Reply