Server Integration with Struts

I’ve gone through all the documentation and I still can’t seem to get access to a DSRequest object in my struts action. Here’s a simple sample.

isc.DataSource.create({
serverType:“generic”,
dataFormat:“iscServer”,
fields:[
{title:“OID”, hidden:true, type:“integer”, name:“oid”},
{title:“text”, type:“Title”, name:“title”},
{title:“Date”, type:“date”, name:“date”}
],
dataURL:“smartdashboard?reqCode=recentSmartPositions”,
ID:“positionOpeningDS”
})

isc.ListGrid.create({
ID:“recentPositionsGrid”,
fields:[
{title:“Title”,name:“title”,type:“text”},
{title:“Date”,name:“date”,type:“date”,displayFormat:“toUSShortDate”,width:100}
],
left:20, top:80,
width:“80%”,
height:500,
wrapCells:true,
fixedRecordHeights:false,
showAllRecords:false,
alternateRecordStyles:true,
dataSource:“positionOpeningDS”,
autoFetchData:true
});

I’ve also tried leaving serverType and dataFormat blank, to no avail. I always get.

java.lang.Exception: Non-RPC request ignored.

When trying to access the DSRequest object.

If using Struts do you have to stick with the client side data sources only?

Solved

My browser still had the LGPL version of the js libraries cached. As soon as I cleared the cache all worked fine.