<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi</FONT></DIV>
<DIV><FONT size=2>I have commited into the cvs version of Cartoweb the
modification your proposed today.</FONT></DIV>
<DIV><FONT size=2>thank you for reporting this issue.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=nozimica@gmail.com href="mailto:nozimica@gmail.com">Nicolás Eugenio
Ozimiça</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, May 23, 2008 9:26 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] Bug in ajax
when getting input type password value</DIV>
<DIV><BR></DIV>Hi all!<BR><BR>I've searched the internet if someone else
pointed out this problem, but nothing found:<BR><BR>When getting the values of
a form in a plugin implementing the ajaxable interface, it doesn't<BR>get the
value of the input type password. <BR><BR>This, when using the function
"AjaxHandler.buildPostRequest()" in the "pluginName.ajax.js" file.<BR><BR>It
is because in the file "htdocs/js/AjaxHelper.js", line 27, only for the type
"text" it<BR>accesses the value using "htmlElement.value", and for all the
others it uses<BR>"htmlElement.getAttribute('value')".<BR><BR>So, line 27
is:<BR> if (inputType == 'text') {
<BR><BR>and sould be:<BR> if
(inputType == 'text' || inputType == 'password') { <BR><BR>at least with the
last one everything worked fine for me...<BR><BR>Hope this helps!<BR
clear=all><BR>-- <BR>Nicolás Eugenio Ozimiça<BR>Universidad de Chile
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>