Re: DOJO Menu Items and AJAX-Target-Components

2009-06-14 Thread Igor Vaynberg
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

RE: DOJO Menu Items and AJAX-Target-Components

2009-06-14 Thread Stefan Lindner
into wicket (currently working on this, testet a seolution and proved it working). -Ursprüngliche Nachricht- Von: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Gesendet: Sonntag, 14. Juni 2009 16:43 An: users@wicket.apache.org Betreff: Re: DOJO Menu Items and AJAX-Target-Components new markup

Re: DOJO Menu Items and AJAX-Target-Components

2009-06-14 Thread Alexander Elsholz
hi, i don't remove/add the components. the hierarchy is constant. its a very simple app: - add an ajaxlink and change the attributemodifier of a panel - add a menu item to the same panel after rerendering the panel (after link clicked) the menu will no more be displayed. i've the same problem

Re: DOJO Menu Items and AJAX-Target-Components

2009-06-14 Thread Igor Vaynberg
well if the id doesnt change - eg you called setmarkupid and you do not replace the component then i do not see what else wicket can do. perhaps dojo keeps a direct reference to a dom node instead of just the id - repainting the component will replace the dom node itself which i guess may break

Re: DOJO Menu Items and AJAX-Target-Components

2009-06-14 Thread Igor Vaynberg
into wicket (currently working on this, testet a seolution and proved it working). -Ursprüngliche Nachricht- Von: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Gesendet: Sonntag, 14. Juni 2009 16:43 An: users@wicket.apache.org Betreff: Re: DOJO Menu Items and AJAX-Target-Components

RE: Re: DOJO Menu Items and AJAX-Target-Components

2009-06-14 Thread Stefan Lindner
...@ger.gmane.org] Im Auftrag von Alexander Elsholz Gesendet: Sonntag, 14. Juni 2009 17:51 An: users@wicket.apache.org Betreff: Re: DOJO Menu Items and AJAX-Target-Components hi, i don't remove/add the components. the hierarchy is constant. its a very simple app: - add an ajaxlink and change

RE: DOJO Menu Items and AJAX-Target-Components

2009-06-14 Thread Stefan Lindner
@wicket.apache.org Betreff: Re: DOJO Menu Items and AJAX-Target-Components your custom ajaxbehavior can implement iheadercontributor where you can do response.appendjavascript to output a script that will be processed in both regular requests and ajax requests alike. -igor On Sun, Jun 14, 2009 at 8:44