Hi Sergio - still issue with responseXML in IE 6/7
I have not been able to find out why the responseXML is not accepted in IE 6/7 wheras FF is ok. Below is the XML in question:
<?xml version="1.0"?>
<taconite-root xml:space="preserve">
<taconite-replace-children contextNodeID="transactionTable" multipleMatch="false" parseInBrowser="true">
<tr>
<td nowrap="nowrap" class="merchantIdCol">30644</td>
<td nowrap="nowrap" class="clientCol" id="client">6140</td>
<td nowrap="nowrap" class="statusCol" id="status">Successful</td>
<td nowrap="nowrap" class="dateCol" id="date">17/07/07 09:34</td>
<td nowrap="nowrap" class="authIdCol" id="authid">32525365</td>
<td nowrap="nowrap" class="typeCol" id="type">S</td>
<td nowrap="nowrap" class="cardTypeCol" id="cardtype">Visa</td>
<td nowrap="nowrap" class="amountCol" id="amount">62,475.00</td>
<td nowrap="nowrap" class="currencyCol" id="currency">HUF</td>
<td nowrap="nowrap" class="clientRefCol" id="clientref">4809db99-86dc-4470-96a1-a16f4e9a4e96</td>
<td nowrap="nowrap" align="left" class="cardNumberCol" id="cardnumber">XXXXXXXXXXX89626</td>
<td nowrap="nowrap" class="cardNameCol" id="cardname"> Kepecs Tamás</td>
<td nowrap="nowrap" class="clientNameCol" id="clientName">E HUF</td>
<td nowrap="nowrap" class="refundIdCol" id="refundid">null</td>
</tr>
</taconite-replace-children>
<taconite-replace-children contextNodeID="transactionsCount" multipleMatch="false" parseInBrowser="true">1</taconite-replace-children>
<taconite-replace-children contextNodeID="countSales" multipleMatch="false" parseInBrowser="true">1</taconite-replace-children>
<taconite-replace-children contextNodeID="countRefunds" multipleMatch="false" parseInBrowser="true">0</taconite-replace-children>
<taconite-replace-children contextNodeID="countSuccessful" multipleMatch="false" parseInBrowser="true">1</taconite-replace-children>
<taconite-replace-children contextNodeID="countDenied" multipleMatch="false" parseInBrowser="true">0</taconite-replace-children>
<taconite-replace-children contextNodeID="countFailed" multipleMatch="false" parseInBrowser="true">0</taconite-replace-children>
<taconite-replace-children contextNodeID="amountsPerCurrency" multipleMatch="false" parseInBrowser="true"><tr><td>Total HUF</td><td width="10px"> </td>
<td align="right">62,475.00</td></tr></taconite-replace-children><taconite-replace-children contextNodeID="cardTypeSelect" multipleMatch="false" parseInBrowser="true">
<option value="" selected="true">All</option><option value="Delta">Delta</option><option value="MasterCard">MasterCard</option><option value="Amex">Amex</option><option value="Visa">Visa</option>
<option value="UK Electron">UK Electron</option><option value="Duet">Duet</option><option value="Solo">Solo</option><option value="JCB">JCB</option><option value="Maestro">Maestro</option>
<option value="Switch">Switch</option></taconite-replace-children><taconite-replace-children contextNodeID="currencySelect" multipleMatch="false" parseInBrowser="true">
<option value="" selected="true">All</option><option value="EUR">EUR</option><option value="PLN">PLN</option><option value="ZAR">ZAR</option><option value="SKK">SKK</option>
<option value="SEK">SEK</option><option value="GBP">GBP</option><option value="HUF">HUF</option><option value="CZK">CZK</option><option value="CYP">CYP</option><option value="DKK">DKK</option>
<option value="CHF">CHF</option><option value="CAD">CAD</option><option value="USD">USD</option></taconite-replace-children><taconite-replace-children contextNodeID="pageNumber" multipleMatch="false" parseInBrowser="true">1/1</taconite-replace-children>
<taconite-replace-children contextNodeID="navigation" multipleMatch="false" parseInBrowser="true"> </taconite-replace-children><taconite-execute-javascript parseInBrowser="true">
<script type="text/javascript">traverseTable();</script></taconite-execute-javascript><taconite-replace-children contextNodeID="error.all" multipleMatch="false" parseInBrowser="true"></taconite-replace-children><taconite-execute-javascript parseInBrowser="true">
<script type="text/javascript">Element.hide('loading');</script></taconite-execute-javascript><taconite-execute-javascript parseInBrowser="true"><script type="text/javascript">Element.show('pageResultsContainer');</script></taconite-execute-javascript> </taconite-root>
Your help is very much appreciated - Thanks
I noticed that there is no: encoding="ISO-8859-1"
Hi Sergio,
Would it make any difference to add encoding="ISO-8859-1" to the main parent xml tag? If so how would I do this? Where is the base of the xml created?
Regards - Buster
Ajax Validations: IE - Google Chrome - Firefox
Hello,
I am facing similar issue...
I have following code in validator:
errors.rejectValue("firstName", "messagediv.user", "First Name is >> John !!");
My JSP code has:
<div align="center" id="messagediv.user" name="messagediv.user"/>
On XT.doAjaxSubmit, java code is executed properly, but I get javascript error
on IE 7 / 8 browser.
However same code works on Google chrome and FireFox.
Any suggestions are appreciated.
Thanks,
Mandar