Re: AjaxLazyLoadPanel question

2011-11-18 Thread Igor Vaynberg
yes -igor On Fri, Nov 18, 2011 at 8:25 AM, heapifyman wrote: > Hm, looks like AjaxRequestTarget.get() is what I was looking for? > > > > 2011/11/18 heapifyman > >> Hello again, >> >> I have a follow-up question. Can I somehow update other components once >> the AjaxLazyLoadPanel's getLazyLoadCo

Re: AjaxLazyLoadPanel question

2011-11-18 Thread heapifyman
Hm, looks like AjaxRequestTarget.get() is what I was looking for? 2011/11/18 heapifyman > Hello again, > > I have a follow-up question. Can I somehow update other components once > the AjaxLazyLoadPanel's getLazyLoadComponent() method has completed? > > I thought I could use the new wicket 1.5

Re: AjaxLazyLoadPanel question

2011-11-18 Thread heapifyman
Hello again, I have a follow-up question. Can I somehow update other components once the AjaxLazyLoadPanel's getLazyLoadComponent() method has completed? I thought I could use the new wicket 1.5 event mechanism for that but if I understood correctly I would have to send the AjaxRequestTarget in t

Re: AjaxLazyLoadPanel question

2011-11-18 Thread heapifyman
Great, it's working. Thanks for the quick response, Philip 2011/11/17 Igor Vaynberg > you can replace the lazy load panel instance: > > //check other selections > myLazyLoadPanel=myLazyLoadPanel.replaceWith(new > MyLazyLoadPanel(myLazyLoadPanel.getId(), ..) > target.addComponent(myLazyLoadPan

Re: AjaxLazyLoadPanel question

2011-11-17 Thread Igor Vaynberg
you can replace the lazy load panel instance: //check other selections myLazyLoadPanel=myLazyLoadPanel.replaceWith(new MyLazyLoadPanel(myLazyLoadPanel.getId(), ..) target.addComponent(myLazyLoadPanel); this will reset the state of lazyloadpanel to the "not-yet-loaded" -igor On Thu, Feb 3, 2011

Re: AjaxLazyLoadPanel question

2011-11-17 Thread heapifyman
Hello, I'm facing the same "problem" as the Matt above but honestly I must admit that I do not really understand Pedro's advice. Did you manage to implement his advice, Matt? Could I get a little more information about how this IAjaxCallDecorator might actually look like? That would be a great hel

Re: AjaxLazyLoadPanel question

2011-02-04 Thread Pedro Santos
I Matt, try to decorate the AJAX javascript to show/hide the indicator using an IAjaxCallDecorator On Thu, Feb 3, 2011 at 5:40 PM, Matt Schmidt wrote: > I currently have a DataGridView loaded inside of an AjaxLazyLoadPanel, > including the service call to get the data. > > myLazyLoadPanel = new

AjaxLazyLoadPanel question

2011-02-03 Thread Matt Schmidt
I currently have a DataGridView loaded inside of an AjaxLazyLoadPanel, including the service call to get the data. myLazyLoadPanel = new AjaxLazyLoadPanel("id", new CollectionModel()) { public Component getLazyLoadComponent(String markupId) { if(getDefaultModelObject() == null) {

Re: AjaxLazyLoadPanel question

2008-05-12 Thread taygolf
window.close(target); >> } >> }; >> form.add(ajx); >> add(form); >> >> >> >> >> >> >> >>option 1 >>option 2 >> >> >>

Re: AjaxLazyLoadPanel question

2008-05-11 Thread Johan Compagner
targetField); >} >}); >window.close(target); >} > }; > form.add(ajx); > add(form); > > > > > > > >option 1 > option 2 > > >

Re: AjaxLazyLoadPanel question

2008-05-07 Thread taygolf
targetField.setModelObject(list.getValue()); >>> target.addComponent(targetField); >>> } >>> }); >>> window.close(target); >>> } >>> }; >>

Re: AjaxLazyLoadPanel question

2008-05-06 Thread taygolf
t;> add(form); >> >> >> >> >> >> >> >> option 1 >> option 2 >> >> >> >> >> >> >> >> >> >> Thanks for the help >> >> T >> > > -- View this message in context: http://www.nabble.com/AjaxLazyLoadPanel-question-tp17063419p17083176.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AjaxLazyLoadPanel question

2008-05-06 Thread taygolf
; > } > }); > window.close(target); > } > }; > form.add(ajx); > add(form); > > > > > > > > option 1 > option 2 > > > > > > > >

AjaxLazyLoadPanel question

2008-05-05 Thread taygolf
option 2 Thanks for the help T -- View this message in context: http://www.nabble.com/AjaxLazyLoadPanel-question-tp17063419p17063419.html Sent from the Wicket - User mailing list archive at Nabble.com. ---