Re: Refreshing DataView fails if it was initially empty

2010-07-06 Thread shetc
Hi vov, thanks for your reply. I discovered that function last week but nabble was not allowing me to reply at the time. It was a good idea to go back and read the API docs. -- View this message in context:

Re: Refreshing DataView fails if it was initially empty

2010-07-02 Thread vov
Use setOutputMarkupPlaceholderTag(true) for your component -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Refreshing-DataView-fails-if-it-was-initially-empty-tp2273568p2276085.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Refreshing DataView fails if it was initially empty

2010-06-30 Thread Ernesto Reinaldo Barreiro
Hi Steve, I would do the following (which might not be the best solution;-): 1- Create panel EmptyOrTablePanel with setOutputMarkupId(true); 2- and then have a child of this panel that either displays an EmptyPanel or your table: depending on whether you have records or not. You could determine

Re: Refreshing DataView fails if it was initially empty

2010-06-30 Thread Ernesto Reinaldo Barreiro
I meant something like: === import org.apache.wicket.Component; import org.apache.wicket.markup.html.panel.Panel; public abstract class CondiotionalPanel extends Panel { private static final long serialVersionUID = 1L; public CondiotionalPanel(String id) {