I've created a quickstart project showing the behavior:
http://www.badongo.com/file/3410432
Please check and see if its the same error as you mentioned Matej.
Asking again:)
Do you think it would be a minor
effort to backport the fix to 1.2.6, if it turns out that it are related??
regards Nino
Nino Saturnino Martinez Vazquez Wael wrote:
I'll build a quickstart to show this behavior and we can them determine
if its the one you are talking about. Do you think it would be a minor
effort to backport the fix to 1.2.6, if it turns out that it are related??
regards Nino
Nino Saturnino Martinez Vazquez Wael wrote:
Looking at the the post (I use paros as proxy), things are alright.
Im now suspecting that its our function that aren't merged correctly. We
have a function called refreshGmap which we replace on ajax calls and
then evaluate on the client, im not sure if this are updated correctly
in IE.
The error I get are that the map wont go to the place where the user
draged it, now when we intialize the gmap I in my example set the center
to 0,0 and there it stays not matter what in IE. However it looks as
everything are updated correctly. But the map keeps it center to 0,0
which makes me belive that the refreshGmap function arent updated correctly.
So I guess it could be related to what you talked about in the first
instance?
regards Nino
Matej Knopp wrote:
I dunno. Could be problem with ajax form serialization. Can you
intercept the post request to see what parameters are submitted?
-Matej
On 6/11/07, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
Looking even further into the problem I can see that the values are
correct after the ajax post. So it seems that the models of our hidden
fields arent updated. Im not sure what todo about this, Matej mentioned
that it could be a problem with wicket 1.2.6 and IE7, im using IE6 are
the same problem there?
regards Nino
Nino Saturnino Martinez Vazquez Wael wrote:
In addition to the previous mail I would like to add, that we would like
to resolve this using wicket 1.2.6.
Now if anything are unclear or so please write and I'll try to explain
further.
Also the current version are the one available from SVN, I belive Iulian
upgraded the example so that its now using that aswell. So you can just
check out the code from wicket stuff repo if you want to see the code..
regards Nino
Nino Saturnino Martinez Vazquez Wael wrote:
Hi Matej
Currently gmap contrib are using wicket 1.2.6. And currently im testing
with IE 6 which has the problems I mentioned, the ajax calls seems to
yield no problems so far I can see we get a call when the form are
submitted and it calls back after processing. However form values arent
updated, im not sure if that has anything to do with the ajax part?
Im not sure how far we are in the process of upgrading the gmap contrib
to 1.3.
regards Nino
Matej Knopp wrote:
Can you please test it with latest wicket 1.3? There was a bug that
prevented IE7 from processing ajax requests properly, it might be
related.
-Matej
On 6/11/07, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
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
-------------------------------------------------------------------------
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
-------------------------------------------------------------------------
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
-------------------------------------------------------------------------
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