You can change your ListDataProvider to load data at each request like:

new ListDataProvider(){
List<T> getData() { if (list == null)  list =
manageUserStoreDomain.findUsers(domain.getDomainname()); return list;
}
void detach(){ list = null;}
}

or to use any IDataProvider implementation that is affected by you transaction.

Cheers
Pedro Santos


On Tue, Feb 7, 2017 at 2:31 PM, ASHU_JAVA <ashu....@gmail.com> wrote:
> Thanks Padro for your response.
> I'm a newbie to Java Wickets, so can you please share some more insights
> regarding this.
>
> I'm using below code:-
>
>
>
>
> I'm able to add user to database, but unable to refresh the list with new
> list entry.
>
> Kindly provide your inputs.
>
> Thanks in advance.
>
>
>
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Java-Wickets-Dynamic-DataView-tp4676976p4677010.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to