Hello,
I've been banging my head against the proverbial brick wall for the last
day. I have a fairly large web application which I've been modifying part
of.

Essentially, part of the process generates dynamic web forms based on xml
configuration files. We noticed that on one of our servers when we deployed
the war file that the fields would not hold their values, and as soon as you
tabbed out, the entry would disappear. Taking the same war file and
deploying it to another server the form acts as expected.

This has been tried on both ie 7 and ie 8 with the same results.

Looking at the html on the browser, it is pretty simple. If I save the file
to the local machine and replace the relative links with absolute links I
can't reproduce the errors - although I do get javascript errors. Comparing
the html between the working server and the problematic server, the only
difference is wicket field references.

Comparing the javascript files and ccs files, they are identical. I'm
guessing it has something to do with the onblur in the html below - but why
would it exhibt a different behavior between the servers? I'm not sure why
we're using ajax there as the page doesn't have any ajax / callback features
to it as far as I know.

Is there some other tomcat setting that could be effecting this? Somewhere
else I should look?

Thanks,
Bryan.

<html xmlns='http://www.w3.org/1999/xhtml' lang='en'>


  <head><link rel="stylesheet" type="text/css"
href="../../../../resources/com.abc.reports.page.MainPage/style/nrgWeb.css
<view-source:http://coned-avl:8080/nrg/app/resources/com.samsix.reports.page.MainPage/style/nrgWeb.css>"
/>

<link type='image/x-icon'  rel='icon'
href='../../../../../favicon_oru.ico
<view-source:http://coned-avl:8080/nrg/favicon_oru.ico>' />

<link type='image/x-icon'  rel='shortcut icon'
href='../../../../../favicon_oru.ico
<view-source:http://coned-avl:8080/nrg/favicon_oru.ico>' />

<script type="text/javascript"
src="../../../../resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js
<view-source:http://coned-avl:8080/nrg/app/resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js>"></script>

<script type="text/javascript"
src="../../../../resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js
<view-source:http://coned-avl:8080/nrg/app/resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js>"></script>

</head><body topmargin='0'>
    <title>Analysis</title>

    <span class='pageTitle'>Single Analysis</span>
    <span>

    <a href="../../../../startup
<view-source:http://coned-avl:8080/nrg/app/startup>">

        <span>
        <img 
src="../../../../resources/org.apache.wicket.Application/back_button
<view-source:http://coned-avl:8080/nrg/app/resources/org.apache.wicket.Application/back_button>"
border="0"/>

</span>
    </a>
</span>
    <br />

    <h1 class='reportMenu'>Analysis</h1>
    <h1 class='reportDescription'>Single pass analysis.</h1>

    <span>

</span>
    <form id="queryForm7" method="post"
action="../../../../?wicket:interface=:7:queryForm::IFormSubmitListener::"><div
style="display:none"><input type="hidden" name="queryForm7_hf_0"
id="queryForm7_hf_0" /></div>

      <table>
        <tr>
          <td>
            <span class="label">Circuit</span>

          </td>

          <td>
            <input type="text" value="" name="circuitField"
id="circuitField8" onblur="var
wcall=wicketAjaxPost('../../../../?wicket:interface=:7:queryForm:circuitField::IBehaviorListener:0:4',
wicketSerialize(Wicket.$('circuitField8')),null,null, function()
{return Wicket.$('circuitField8') != null;}.bind(this));"/>

          </td>
        </tr>
        <tr>
          <td>
            <span class="label">Segment</span>

          </td>

          <td>
            <input type="text" value="" name="segmentField"
id="segmentField9" onblur="var
wcall=wicketAjaxPost('../../../../?wicket:interface=:7:queryForm:segmentField::IBehaviorListener:0:4',
wicketSerialize(Wicket.$('segmentField9')),null,null, function()
{return Wicket.$('segmentField9') != null;}.bind(this));"/>

          </td>
        </tr>
        <tr>
          <td>    </td>

          <td align='right'>
            <input type='submit' name='submit' value='Execute Query' />

          </td>
        </tr>
      </table>
    </form>

  </body>
</html>

Reply via email to