There should be a < span wicket:id="paging">< / span > there after the
wicket:panel tag but it's only visible when i edit the post.


JohannesK wrote:
> 
> Hi
> 
> I've tried searching for this problem but couldn't find anything useful.
> My problem, in a nutshell, is that my PagingNavigation produces empty 
> blocks where the paging should go. Here's the Java, I'm doing this in the
> constructor of a wicket Panel object:
> 
>               container = new WebMarkupContainer("bookDataView");
>               DataView bookDataView = createDataView("bookDataRepeater");
>               bookDataView.setItemsPerPage(5);
>               AjaxPagingNavigation ajaxPaging = new
> AjaxPagingNavigation("paging",bookDataView);
>               ajaxPaging.setOutputMarkupId(true);
>               add(ajaxPaging);
>               container.add(bookDataView);
>               add(container);
> 
> 
> On the HTML side:
> 
> 
> <wicket:panel>
>       
>       <div wicket:id="bookDataView">  
>               <table class="bookDataColorTable" width="100%">
>               
>               <tr>            
>                       **** cut out a bunch of <td><label></td> here ****
>               </tr>
>               
>       </table>        
>       </div>
> </wicket:panel>
> 
> 
> Now, I tested the dataview and it returns data just fine, well over 5
> items. View source shows this:
> 
> 
>       
>       <div class="bookDataView">      
>               <table class="bookDataColorTable" width="100%">
> 
> 
> The paging is just empty :s. Any idea what's going on here? 
> 

-- 
View this message in context: 
http://www.nabble.com/A-problem-with-paging---Page-links-not-showing-up-tp18275593p18275652.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]

Reply via email to