Improve PagingNavigator markup 
-------------------------------

                 Key: WICKET-3205
                 URL: https://issues.apache.org/jira/browse/WICKET-3205
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 1.5-M3
            Reporter: Alexandru Objelean


The PagingNavigator component is very hard to style, mostly because it doesn't 
have a simple semantic markup. 
Something similar to:
                                                                                
        <ul class="menu">
                                                                                
                <li><a class="first">First page</a></li>
                                                                                
                <li><a class="previous">Previous page</a></li>
                                                                                
                <li><a>1</a></li>
                                                                                
                <li class="selected"><a>2</a></li>
                                                                                
                <li><span>...</span></li>
                                                                                
                <li><a>4</a></li>
                                                                                
                <li><a>5</a></li>
                                                                                
                <li><a class="next">6</a></li>
                                                                                
                <li><a class="last">Last page</a></li>
                                                                                
        </ul>

I don't think it would be a good idea to add this change to wicket 1.4, since 
it would break the styling of existing applications. Since 1.5 is not final 
yet, it might be a good place to apply this change.
Thanks!                                                                         

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to