OnChangeAjaxBehavior and Repeater issue on FireFox

View: New views
3 Messages — Rating Filter:   Alert me  

OnChangeAjaxBehavior and Repeater issue on FireFox

by Flavius :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


Greetings.

I have a page that uses the new OnChangeAjaxBehavior.  When values
are typed into the text field, it updates a RepeaterView.  It works
with the first key press but, almost always, it doesn't fire the onUpdate()
event on subsequent key presses, but only on FireFox (I'm using 2.0.0.5).

It works fine with IE 7.  To make sure I didn't configure anything incorrectly,
I copied the OnChangeAjaxBehaviorPage sample to my project and ran it.
That works fine for both IE and FireFox.  Since I can reasonably eliminate
environment, it seems like the probable issue has something to do with
the repeater code, or its container.  In looking at the AJAX DEBUG window
it looks like the ajax is completing successfully.

I'm using the wicket 1.3.0-beta2 build.  I also tried now with the
snapshot from today (561103).  The same results.

I put up a test page at http://24.248.103.44/pages/TestAjax.  The
page has the java code on it.

IE works fine, but FF fails after the first key press.

I also have the sample from examples too:

http://24.248.103.44/pages/OnChangeAjaxBehaviorPage

That works for IE and FF.

I'd appreciate any insight into what I may be doing wrong.



Re: OnChangeAjaxBehavior and Repeater issue on FireFox

by igor.vaynberg :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

try changing

<span id="repeaterContainer3">

to

<div id="..">

you shouldnt nest block elements (table/div) in inline elements.

-igor



On 7/30/07, Flavius <nabble@...> wrote:

>
>
>
> Greetings.
>
> I have a page that uses the new OnChangeAjaxBehavior.  When values
> are typed into the text field, it updates a RepeaterView.  It works
> with the first key press but, almost always, it doesn't fire the
> onUpdate()
> event on subsequent key presses, but only on FireFox (I'm using 2.0.0.5).
>
> It works fine with IE 7.  To make sure I didn't configure anything
> incorrectly,
> I copied the OnChangeAjaxBehaviorPage sample to my project and ran it.
> That works fine for both IE and FireFox.  Since I can reasonably eliminate
> environment, it seems like the probable issue has something to do with
> the repeater code, or its container.  In looking at the AJAX DEBUG window
> it looks like the ajax is completing successfully.
>
> I'm using the wicket 1.3.0-beta2 build.  I also tried now with the
> snapshot from today (561103).  The same results.
>
> I put up a test page at http://24.248.103.44/pages/TestAjax.  The
> page has the java code on it.
>
> IE works fine, but FF fails after the first key press.
>
> I also have the sample from examples too:
>
> http://24.248.103.44/pages/OnChangeAjaxBehaviorPage
>
> That works for IE and FF.
>
> I'd appreciate any insight into what I may be doing wrong.
>
>
>
> --
> View this message in context:
> http://www.nabble.com/OnChangeAjaxBehavior-and-Repeater-issue-on-FireFox-tf4178944.html#a11883174
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> IMPORTANT NOTICE:
>
> This mailing list is shutting down. Please subscribe to the Apache Wicket
> user list. Send a message to: "users-subscribe at wicket.apache.org" and
> follow the instructions.
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@...
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user list. Send a message to: "users-subscribe at wicket.apache.org" and follow the instructions.
_______________________________________________
Wicket-user mailing list
Wicket-user@...
https://lists.sourceforge.net/lists/listinfo/wicket-user

Re: OnChangeAjaxBehavior and Repeater issue on FireFox

by Flavius :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Ah!  That fixed it.  Thank you, kind sir!

igor.vaynberg wrote:
try changing



to

<div id="..">

you shouldnt nest block elements (table/div) in inline elements.

-igor



On 7/30/07, Flavius <nabble@silverlion.com> wrote:
>
>
>
> Greetings.
>
> I have a page that uses the new OnChangeAjaxBehavior.  When values
> are typed into the text field, it updates a RepeaterView.  It works
> with the first key press but, almost always, it doesn't fire the
> onUpdate()
> event on subsequent key presses, but only on FireFox (I'm using 2.0.0.5).
>
> It works fine with IE 7.  To make sure I didn't configure anything
> incorrectly,
> I copied the OnChangeAjaxBehaviorPage sample to my project and ran it.
> That works fine for both IE and FireFox.  Since I can reasonably eliminate
> environment, it seems like the probable issue has something to do with
> the repeater code, or its container.  In looking at the AJAX DEBUG window
> it looks like the ajax is completing successfully.
>
> I'm using the wicket 1.3.0-beta2 build.  I also tried now with the
> snapshot from today (561103).  The same results.
>
> I put up a test page at http://24.248.103.44/pages/TestAjax.  The
> page has the java code on it.
>
> IE works fine, but FF fails after the first key press.
>
> I also have the sample from examples too:
>
> http://24.248.103.44/pages/OnChangeAjaxBehaviorPage
>
> That works for IE and FF.
>
> I'd appreciate any insight into what I may be doing wrong.
>
>
>
> --
> View this message in context:
> http://www.nabble.com/OnChangeAjaxBehavior-and-Repeater-issue-on-FireFox-tf4178944.html#a11883174
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> IMPORTANT NOTICE:
>
> This mailing list is shutting down. Please subscribe to the Apache Wicket
> user list. Send a message to: "users-subscribe at wicket.apache.org" and
> follow the instructions.
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user list. Send a message to: "users-subscribe at wicket.apache.org" and follow the instructions.
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user