dnet40/modules/uoa-web-static/src/default/js/personalization.js @ 50289
1 |
dojo.require("dojo.rpc.*"); |
---|---|
2 |
dojo.hostenv.writeIncludes(); |
3 |
|
4 |
var smdUrl="Recommender.action"; |
5 |
|
6 |
var service = new dojo.rpc.JsonService( smdUrl ); |
7 |
|
8 |
function loadIds() { |
9 |
alert( "in here 1" ); |
10 |
var call = function( queries ) { |
11 |
for (query in queries) { |
12 |
alert( query ); |
13 |
}
|
14 |
};
|
15 |
alert( "in here" ); |
16 |
var defered = service.getRecommendedQueries(); |
17 |
defered.addCallback(call); |
18 |
}
|