Re: AutoCompleteTextField break in new wicket 6.10.0?

2013-08-27 Thread Jered Myers

It appears that this fix is already working in 6.11.0-SNAPSHOT.

The fix was committed here:
https://github.com/apache/wicket/commit/bfd4649656f4f51c8d1a164cc14cb5b8dc71f89d

See https://issues.apache.org/jira/browse/WICKET-5315

I applied that change to my code and the auto complete works now.

On 08/27/2013 07:53 AM, Jered Myers wrote:
I added this case to JIRA with a quickstart.  It is a critical bug for 
my company.


https://issues.apache.org/jira/browse/WICKET-5332

Jered

On 08/27/2013 06:39 AM, Sven Meier wrote:

Hi Jan,

autoComplete is a little delicate in the ordering of javascript event 
registrations, so this might not have any effects on other components.


A quickstart will help to identify the problem.

Sven

On 08/27/2013 03:21 PM, TechDB wrote:

Hello,

I can confirm the behavior. It happens on al AutoComplete fields 
that are
added lazy via ajax. The mentioned error in ajax debug "ERROR: 
Cannot find

element with id: null" is produced by the script that tries to add the
autocomplete event to the element via header contribution. It seems 
that the
sequence of the evaluation for component adding and header 
contribution via
ajax has changed. Meaning that the autocomplete script is looking 
for an

element that was not added yet.


Does this also break other elements?


Jan



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-break-in-new-wicket-6-10-0-tp4661085p4661097.html

Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org







-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AutoCompleteTextField break in new wicket 6.10.0?

2013-08-27 Thread Jered Myers
I added this case to JIRA with a quickstart.  It is a critical bug for 
my company.


https://issues.apache.org/jira/browse/WICKET-5332

Jered

On 08/27/2013 06:39 AM, Sven Meier wrote:

Hi Jan,

autoComplete is a little delicate in the ordering of javascript event 
registrations, so this might not have any effects on other components.


A quickstart will help to identify the problem.

Sven

On 08/27/2013 03:21 PM, TechDB wrote:

Hello,

I can confirm the behavior. It happens on al AutoComplete fields that 
are
added lazy via ajax. The mentioned error in ajax debug "ERROR: Cannot 
find

element with id: null" is produced by the script that tries to add the
autocomplete event to the element via header contribution. It seems 
that the
sequence of the evaluation for component adding and header 
contribution via

ajax has changed. Meaning that the autocomplete script is looking for an
element that was not added yet.


Does this also break other elements?


Jan



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-break-in-new-wicket-6-10-0-tp4661085p4661097.html

Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





Re: AutoCompleteTextField break in new wicket 6.10.0?

2013-08-27 Thread Sven Meier

Hi Jan,

autoComplete is a little delicate in the ordering of javascript event 
registrations, so this might not have any effects on other components.


A quickstart will help to identify the problem.

Sven

On 08/27/2013 03:21 PM, TechDB wrote:

Hello,

I can confirm the behavior. It happens on al AutoComplete fields that are
added lazy via ajax. The mentioned error in ajax debug "ERROR: Cannot find
element with id: null" is produced by the script that tries to add the
autocomplete event to the element via header contribution. It seems that the
sequence of the evaluation for component adding and header contribution via
ajax has changed. Meaning that the autocomplete script is looking for an
element that was not added yet.


Does this also break other elements?


Jan



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-break-in-new-wicket-6-10-0-tp4661085p4661097.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AutoCompleteTextField break in new wicket 6.10.0?

2013-08-27 Thread TechDB
Hello,

I can confirm the behavior. It happens on al AutoComplete fields that are
added lazy via ajax. The mentioned error in ajax debug "ERROR: Cannot find
element with id: null" is produced by the script that tries to add the
autocomplete event to the element via header contribution. It seems that the
sequence of the evaluation for component adding and header contribution via
ajax has changed. Meaning that the autocomplete script is looking for an
element that was not added yet.


Does this also break other elements?


Jan



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-break-in-new-wicket-6-10-0-tp4661085p4661097.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AutoCompleteTextField break in new wicket 6.10.0?

2013-08-27 Thread Sven Meier
Issue and quickstart please.

Sven

manuelbarzi  schrieb:

>sorry, i try to be more specific. after moving to wicket 6.10.0, it fails in
>two different cases:
>
>case 1: when adding this behavior:
>
>autoComplete.add(new AjaxFormComponentUpdatingBehavior("onKeyUp") {
>   @Override
>   protected void onUpdate(final AjaxRequestTarget target) {
>   ...
>   }
>}
>
>without it, it works fine. this code works fine up to wicket 6.9.1.
>
>case 2: no behaviors at all, still to be determined the problematic point;
>just multiple auto-completes on the view and wicket-ajax-debug complaining
>many times with output "ERROR: Cannot find element with id: null" (not clear
>yet it this has to be with the problem in the auto-complete, but these
>errors where not happening before in wicket 6.9.1).
>
>thx
>
>
>
>
>--
>View this message in context: 
>http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-break-in-new-wicket-6-10-0-tp4661085p4661088.html
>Sent from the Users forum mailing list archive at Nabble.com.
>
>-
>To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>For additional commands, e-mail: users-h...@wicket.apache.org
>


Re: AutoCompleteTextField break in new wicket 6.10.0?

2013-08-27 Thread manuelbarzi
sorry, i try to be more specific. after moving to wicket 6.10.0, it fails in
two different cases:

case 1: when adding this behavior:

autoComplete.add(new AjaxFormComponentUpdatingBehavior("onKeyUp") {
@Override
protected void onUpdate(final AjaxRequestTarget target) {
...
}
}

without it, it works fine. this code works fine up to wicket 6.9.1.

case 2: no behaviors at all, still to be determined the problematic point;
just multiple auto-completes on the view and wicket-ajax-debug complaining
many times with output "ERROR: Cannot find element with id: null" (not clear
yet it this has to be with the problem in the auto-complete, but these
errors where not happening before in wicket 6.9.1).

thx




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-break-in-new-wicket-6-10-0-tp4661085p4661088.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AutoCompleteTextField break in new wicket 6.10.0?

2013-08-27 Thread Andrea Del Bene
Wicket example works fine with AutoCompleteTextField. Can you open an
issue with your quickstart project?
> does anybody experience the same?


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AutoCompleteTextField break in new wicket 6.10.0?

2013-08-27 Thread Sven Meier

AutoCompletePage in wicket-examples works fine here.

Sven

On 08/27/2013 10:27 AM, manuelbarzi wrote:

hi,

after moving from wicket 6.9.1 to 6.10.0 caused all AutoCompleteTextFields
to break up in the application (no results shown). also a quick test created
from scratch with this component does not work.

does anybody experience the same?

thx



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-break-in-new-wicket-6-10-0-tp4661085.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org