Re: Model Is Not being Refreshed

2010-08-05 Thread Nivedan Nadaraj
t; >> On Tue, Aug 3, 2010 at 10:30 PM, Nivedan Nadaraj <[hidden email]< >>> http://user/SendEmail.jtp?type=node&node=2313107&i=2>>wrote: >>> > >>> > >> >>> > >

Re: Model Is Not being Refreshed

2010-08-04 Thread Nivedan Nadaraj
gt;>> Thanks for the points. I will have a look at it tomorrow and post >> the >> > >>> code if I still haven't resolved. I don't have the code on me at the >> > moment. >> > >>> Reg >> > >>> Niv >> > >

Re: Model Is Not being Refreshed

2010-08-04 Thread Nivedan Nadaraj
t; >>> > > >>>> > > >>>> Again without seeing more of the code some of this is guessing. > > >>>> > > >>>> If the component that you are trying to "update" is

Re: Model Is Not being Refreshed

2010-08-04 Thread avrahamr
>>> > >>>> If the component that you are trying to "update" is not part of the > >>>> original > >>>> HTML it will not be updated in the ajax response. I see that you are > >>>> marking > >>>> the comp

Re: Model Is Not being Refreshed

2010-08-04 Thread Nivedan Nadaraj
ponent as visible and enabled. If it isn't visible during the >>>> initial >>>> rendering then it won't be placed in the HTML. If you mark the component >>>> with >>>> >>>> http://wicket.apache.org/apidocs/1.4/org/apache/w

Re: Model Is Not being Refreshed

2010-08-03 Thread Nivedan Nadaraj
>>> http://wicket.apache.org/apidocs/1.4/org/apache/wicket/Component.html#setOutputMarkupPlaceholderTag(boolean)<http://wicket.apache.org/apidocs/1.4/org/apache/wicket/Component.html#setOutputMarkupPlaceholderTag%28boolean%29> >>> setOutputMarkupPlaceholderTag(true) then t

Re: Model Is Not being Refreshed

2010-08-03 Thread Nivedan Nadaraj
visible component will >> have >> a placeholder to be updated during the ajax response. >> -- >> View this message in context: >> http://apache-wicket.1842946.n4.nabble.com/Model-Is-Not-being-Refreshed-tp2311457p2311876.html >> Sent from the Wicket - User mailing list

Re: Model Is Not being Refreshed

2010-08-03 Thread Nivedan Nadaraj
eholderTag%28boolean%29> > setOutputMarkupPlaceholderTag(true) then the invisible component will have > a placeholder to be updated during the ajax response. > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Model-Is-Not-being-Refresh

Re: Model Is Not being Refreshed

2010-08-03 Thread mwilber
to be updated during the ajax response. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Model-Is-Not-being-Refreshed-tp2311457p2311876.html Sent from the Wicket - User mailing list archive at Nabble.com. ---

Re: Model Is Not being Refreshed

2010-08-03 Thread avrahamr
odel.setStudy(new Study()); > detailsPanel.getStudyForm().setModelObject(studyModel); > detailsPanel.setVisible(true); > } > > After onNew is executed, I don't see the model being updated. A bit lost > here, any ideas? > > Thanks again > Reg > Niv > > > -

Re: Model Is Not being Refreshed

2010-08-03 Thread Nivedan Nadaraj
tp://apache-wicket.1842946.n4.nabble.com/Model-Is-Not-being-Refreshed-tp2311457p2311537.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...

Re: Model Is Not being Refreshed

2010-08-03 Thread vov
Create AjaxButton for refreshing your data: new AjaxButton("refresh") { onSubmit(AjaxRequestTarget target) { onNew(); targer.addComponent(detailsPanel); } } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Model-Is-Not-being

Re: Model Is Not being Refreshed

2010-08-03 Thread Niv
-- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Model-Is-Not-being-Refreshed-tp2311457p2311460.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Model Is Not being Refreshed

2010-08-03 Thread Nivedan Nadaraj
Hi Can someone point me the right direction. I have a search panel that does a look up and renders a resultsPanel. I don't use detachable model here and used PageableListView On the resultsPanel,onClick, I use the hibernate entity and pass it as a model to the DetailsPanel. The detailsPanel rende