mhhh, can't get tablenavigation to work :S

wicket.markup.MarkupException: Unable to find component named 'navigation'

what is the best way to debug?

java:

Table table;    
        
        add( table = new Table("test", list,3)
                {
                    public void populateItem(final ListItem listItem)
                    {
                        listItem.add(new Label("date", "test"));
                        listItem.add(new MultiLineLabel("text", "test"));
                    }
                } );
        
        add( new TableNavigation("navigation", table) );

html:

<span id="wcn-test">
<table>
    <tr>
        <span id="wcn-date"><td>wello</td></span>
        <span id="wcn-text"><td>wello</td></span>
        <span id="wcn-text"><td>wello</td></span>
        <span id="wcn-text"><td>wello</td></span>
        <span id="wcn-text"><td>wello</td></span>
    </tr>
    <tr>
         <td>
         <span id="wcn-navigation">
          <a id="wcn-pageLink" href="">
             <span id="wcn-pageNumber"/>
          </a>
        </span> 
        </td>
    </tr>
</table>
</span>

Reply via email to