B4J Question [ABMaterial] Requesting data to server

Giu

Member
Licensed User
Longtime User
Hi,

I'm documenting on ABMaterial (great job).

I see there are a lot writed about rendering website, but I would like to know if there are samples/tutorial about how do requests from client side to server side.
Example: Once an editbox change, I would like to ask to server the name of a customer with this Id or...
refilling a table because a filter was done, and so on...

Thanks.
 

Cableguy

Expert
Licensed User
Longtime User
Hi,

I'm documenting on ABMaterial (great job).

I see there are a lot writed about rendering website, but I would like to know if there are samples/tutorial about how do requests from client side to server side.
Example: Once an editbox change, I would like to ask to server the name of a customer with this Id or...
refilling a table because a filter was done, and so on...

Thanks.
Also check the feedback app and source code included in the bundle... There's a class module called DBM that deals with database info write and read...
 
Upvote 0

Giu

Member
Licensed User
Longtime User
If I understand correctly, you can create a sub with the name of the button (for example) plus event (SaveBtn_Clicked for example) and you can do here server side, and in the same time update client side controls referenced with "page"?, is this correct?

Then, if I have a combo, I should create a sub like MyCombo_Changed ?
 
Upvote 0
Top