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

addCriteria(java.lang.String field, java.lang.String[] value)

$
0
0
SmartClient Version: v9.1p_2014-09-09/PowerEdition Deployment (built 2014-09-09)
GWT 2.6.1
IE-11

On the client in my RequestTransformer I do this:
Code:

String[] spc = PivotTableFactQuerySPContext.PivotTableFactQuerySPContextToStringArray(model, ApplicationContext.getUser().getClient().getId(), nodeDimList, parentNodeId);
dsRequest.getCriteria().addCriteria("spc", (String[])spc);

I put the explicit cast (String[]) to make sure it was calling the appropriate Criteria.addCriteria() method call.

On the server when I do this:
Code:

Object alO = dsRequest.getCriteria().get("spc");
alO is of type ArrayList? I was expecting an array of Strings?

Viewing all articles
Browse latest Browse all 4756

Trending Articles