You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by James Carman <ja...@carmanconsulting.com> on 2010/06/04 18:29:23 UTC
Re: Frustrating behavior ... same browser, same war, same tomcat
version - different behavior!!!
Have you tried clearing your cache on your browsers?
On Fri, Jun 4, 2010 at 11:57 AM, Bryan Montgomery <mo...@english.net> wrote:
> 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>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Frustrating behavior ... same browser, same war, same tomcat
version - different behavior!!!
Posted by Bryan Montgomery <mo...@english.net>.
Yeah, I thought it might be as simple as that - but unfortunately not.
On Fri, Jun 4, 2010 at 12:29 PM, James Carman <ja...@carmanconsulting.com>wrote:
> Have you tried clearing your cache on your browsers?
>
> On Fri, Jun 4, 2010 at 11:57 AM, Bryan Montgomery <mo...@english.net>
> wrote:
> > 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>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>