Yes i'll try to explain in greater detail.

Looks like it was not the appendjavascript that wasnt working. But 
something else.:)

Our hidden variables arent updated when using IE. Why they arent updated 
correctly puzzles me, because just before the ajax call they seem to 
have the correct values.

heres a snip of what I try to do(working everywhere but IE):

GEvent.addListener(googleMap, "dragend", function () {
var center = googleMap.getCenter();
var sW = googleMap.getBounds().getSouthWest();
var nE = googleMap.getBounds().getNorthEast();
document.getElementById("latitudeCenter").value=center.lat();
document.getElementById("longitudeCenter").value=center.lng();
document.getElementById("latitudeSW").value=sW.lat();
document.getElementById("longitudeSW").value=sW.lng();
document.getElementById("latitudeNE").value=nE.lat();
document.getElementById("longitudeNE").value=nE.lng();
document.getElementById("zoomLevel").value=googleMap.getZoom();
document.getElementById("gmap_ajaxGMapUpdatingFormSubmit").onclick();
});

So the different variables are stored in hidden fields. Just before the 
last entry above, every value looks ok.

Here are some of the java server side code:
        Form gMapUpdatingForm = new Form("gmapUpdatingForm");
        gMapUpdatingForm.setOutputMarkupId(true);
        gMapUpdatingForm.add(new HiddenField("latitudeCenter", new 
PropertyModel(gMap.getCenter(),
                "latitude"))
        {
            public IConverter getConverter()
            {
                return getUSConverter();
            }
        });
        gMapUpdatingForm.add(new HiddenField("longitudeCenter", new 
PropertyModel(gMap.getCenter(),
                "longitude"))
        {
            public IConverter getConverter()
            {
                return getUSConverter();
            }
        });

Please remember that it is actually working in both FF and safari. Ajax 
calls goes through as it should, values arent updated.


regards Nino

Eelco Hillenius wrote:
> I still only half understand the issue tbh. Can you elaborate about
> the problems you are experiencing?
>
> Eelco
>
>
> On 6/7/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote:
>   
>> Hi
>>
>> We are experiencing some issues with ajax in IE7, possibly IE6 as well
>> when using the target.appendjavascript. Are there any workarounds?
>>
>>
>> I've looked a bit at
>> http://www.nabble.com/-BUG-%3Cscript%3E-tag-evaluation-in-IE-t3839952.html
>> but it does not seem to work.
>>
>>
>> Any ideas, solutions will be highly appreciated, as this are a
>> showstopper for the v1 release of the gmap contrib.
>>
>> regards Nino
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>>     
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to