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:
>>> >
>>> > >>
>>> > >
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
>> > >
t; >>>
> > >>>>
> > >>>> Again without seeing more of the code some of this is guessing.
> > >>>>
> > >>>> If the component that you are trying to "update" is
>>>
> >>>> 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
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
>>> 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
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
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
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.
---
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
>
>
> -
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...
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
--
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
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
14 matches
Mail list logo