Re: Ajax Panels Direction

2009-12-06 Thread bassglider
Submit after processing the data: > >        Component newPanel = new SomeOtherPanel(id, someParam); >        newPanel.setOutputMarkupId(true); >        thisPanel.replaceWith(newPanel); >        target.addComponent(newPanel); > > Thats what I do. > > cheers, > Steve

Re: Ajax Panels Direction

2009-12-05 Thread bassglider
pan.add(new AjaxLazyLoadPanel("image") { /** * Makes object serializable. */ private static final long serialVersionUID = 1L; @Override public Component getLazyLoadComponent(String id) { return (new ChartPanel(id)); } }); return pan; } On

Ajax Panels Direction

2009-12-05 Thread bassglider
Hi Everyone, I was wondering if someone could point to the right direction (examples, classes) for the following scenario: I have a few text fields inside a panel, when one of the text fields is changed, I'd like to call a method with updates a panel within the current panel. Currently I have th

Re: Remote Image Generation Null Pointer

2009-12-05 Thread bassglider
.add(new AttributeModifier("src", true, new > AbstractReadOnlyModel() {} ) ); > > Otherwise, as suggested by the previous reply, look into > DynamicImageResource. > > > bassglider wrote: >> >> Hi Everyone, >> >> I am attempting to load an image

Remote Image Generation Null Pointer

2009-12-04 Thread bassglider
Hi Everyone, I am attempting to load an image that takes some time. I can load a remote image using the URL, but when it takes time to gather the data and then get the url, I get this: [java] 11174 [btpool0-1] ERROR org.apache.wicket.RequestCycle - Exception in rendering component: [Component id