Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

custom DMI operation code example

$
0
0
Hi, I am new to SmartClient and its architecture and I am trying to find some working example code showing how a non-crud DMI call could be made on a data source.

My PoC UI is trying to do something like the following:

- a ListGrid which has an sql data source associated with it.
- The ListGrid has a checkbox available for each row.
- a Button which, when clicked, will gather all the records in the ListGrid which have been selected (checkboxes ticked) and thereafter call a custom java class operation (specified in the data source as:

<operationBinding operationType="custom">
<serverObject className="com.pm.Myclass" methodName="myMethod"/>
</operationBinding>

We are using Smart Client Professional version 9.0.

Thanks in advance for any help on this.

Cheers,
PM.

Viewing all articles
Browse latest Browse all 4756

Trending Articles