new markup id means you created new component instances. wicket does
its best to try to preserver markup id - eg when you use replace or
replacewith wicket will transfer new markupid of the component being
replaced into the component it is being replaced with.

if you need stable ids call setmarkupid() and propagate it to whatever
hieararchy changes you are making. although for a menu it may help to
use a non-volatile hierarchy since menus are usually static.

-igor

On Sun, Jun 14, 2009 at 7:09 AM, Stefan Lindner<lind...@visionet.de> wrote:
> Yes! "the markup-id of wicket-component changed after ajax-refresh" as you 
> wrote.
> I' looking for a solution for another javaxript library. Any hints from the 
> Wicket gurus?
>
> -----Ursprüngliche Nachricht-----
> Von: news [mailto:n...@ger.gmane.org] Im Auftrag von Alexander Elsholz
> Gesendet: Sonntag, 14. Juni 2009 13:44
> An: users@wicket.apache.org
> Betreff: DOJO Menu Items and AJAX-Target-Components
>
> Hi,
>
> i use dojo menues in my application and mostly it works fine. but when an 
> other
> ajax-call refreshed menu's target component the menu will not be displayed. it
> seams, that the markup-id of wicket-component changed after ajax-refresh and 
> so
> the dojo-js cannot find the menu item for this wicket-component.
>
> had anybody the same problem?
>
> when not what could be the problem?
>
> thanks alex
>
>
> ---------------------------------------------------------------------
> 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

Reply via email to