1> you always use models, this has nothing to do with edit or not, it
is the loading.

2> a dataview will do the query again when it renders it self.

On 1/24/08, beam <[EMAIL PROTECTED]> wrote:
>
> Thanks a lot, Igor, for detailed explanation. Now I understand.
> And 2 more questions:
>
> 1. Should I use DataView with DataProvider if I want only to render data
> without edit capability?
> As I understood I need models in case of update/delete data in list.
>
> 2. If I have 2 components on my page: DataView and some form for add new
> Items.
> When form submitted and new Item added to database what should I do to
> refresh DataView?
> setResponsePage(new MyPage) or probably standart wicket component
> RefreshingView?
>
> Thank you very much for answers!
> --
> View this message in context:
> http://www.nabble.com/Confused-with-IDataProvider-tp15039652p15060342.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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to