Did you tried to put this line "this.getCore().fireEvent("map-data-changed");"
after the line "wrapper.request();" on your delegate code?
--- In sw-gis@yahoogroups.com, "kitti_kadam" <kitti_kadam@...> wrote:
>
>
>
> Hi..
>
> thanks 4 d reply...
>
> The following lines of code myt help u understanding my problem...
>
> request method in Bean class is
>
> request()
> {
> this.startMainRequest("HighlightObjects");
> delegate.request();
> this.endMainRequest("HighlightObjects");
> }
>
> request method in Delegate class
>
> request()
> {
> wrapper.request();
> return;
> }
>
> public void request()
> {
>
> Hashtable<String, Object> params = new Hashtable<String, Object>();
> ArrayList<String> objects=new ArrayList<String>();
> objects.add("
swrefVrecordVdatasetZgisVcollectionZpub_restVkeysZThe$0020J5aebraQMaids$0020Caus\
eway ");
>
> params.put("map_update","zoom");
> params.put("map_name","Main-Map");
> params.put("colour","green");
> params.put("objects",objects);
> params.put("name","testmap");
>
> try
> {
> Response response = request("ejb/HighlightLocal", "highlightObjects",
params);
> }
> catch(Exception e)
> {
> }
>
> return;
> }
>
> On executing these above LOC, an image is generated with pub being highlighted
in green color and is stored in a temp folder.
> how can i refresh SIAS client image with this new image??
> what myt b missing in my code???pls help me out...
>