Re: Loading wicket components from javascript

2011-07-24 Thread Michael Petritsch
I am using wicket 1.4.16, the markupplaceholder is there (checked with firebug). I have also tried it with a simple visible label: public class MyPanel extends Panel { Label myUpdatedLabel; public MyPanel() { add(new AbstractDefaultAjaxBehavior() { @Override

Re: Loading wicket components from javascript

2011-07-24 Thread Michael Petritsch
); add(myAjaxLoadedPanel); } On Sun, Jul 24, 2011 at 4:16 PM, Martin Grigorov mgrigo...@apache.org wrote: On Sun, Jul 24, 2011 at 5:10 PM, Michael Petritsch michael.petrit...@gmail.com wrote: I am using wicket 1.4.16, the markupplaceholder is there (checked with firebug). I have also tried

Re: Loading wicket components from javascript

2011-07-24 Thread Michael Petritsch
then. Gonna try it again, thanks. On Sun, Jul 24, 2011 at 5:06 PM, Martin Grigorov mgrigo...@apache.org wrote: On Sun, Jul 24, 2011 at 5:40 PM, Michael Petritsch michael.petrit...@gmail.com wrote: Yes, I removed the visibility related code and anything else for simplicity and to focus

Loading wicket components from javascript

2011-07-17 Thread Michael Petritsch
Hi, is there a way to load wicket components from javascript? I tried the https://cwiki.apache.org/WICKET/calling-wicket-from-javascript.html approach. I tried to add a Label but it wasn't visible on the page. I tried to add a Panel but it never replaced the markupPlaceHolder I added for it. All

Re: Loading wicket components from javascript

2011-07-17 Thread Michael Petritsch
seen http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/ ? I used this method to add form inputs via ajax. If I understand correctly what you want to do, you should be able to use this for adding labels. Bertrand On 17/07/2011 9:23 AM, Michael Petritsch