nijogeorgep / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

DSRequest.getCriteria() returns a Criteria object but getValues no longer returns the field names and values #490

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
DSRequest.getCriteria() returns a Criteria object but getValues no longer 
returns the field names and values for the Criteria
http://forums.smartclient.com/showthread.php?t=11660

What steps will reproduce the problem?
1. Get Criteria from the Request

Criteria c = request.getCriteria();
HashMap criteriaMap = (HashMap)c.getValues();

was in 2.1:
{itmid=TP*}

is now in 2.2:
{operator=and, _constructor=AdvancedCriteria, criteria=[object Object]}

What version of the product are you using? On what operating system?
SmartGWT 2.1 / 2.2
Windows 7

Please provide any additional information below.

For now I have to stay with 2.1 since going to 2.2 breaks or at least changes 
the way Criteria worked, I no longer get back columns and values entered but 
instead the objects shown in this issue.

Thank you 

Original issue reported on code.google.com by gcst...@gmail.com on 23 Jul 2010 at 8:33

GoogleCodeExporter commented 8 years ago
Closing based on the discussion in the forum thread.

Original comment by sanjiv.j...@gmail.com on 30 Nov 2010 at 3:35