Eelco, I tried the navmenu with a checkout from CVS from friday, and now it only renders one level or to be more specific the root element.
protected Object onGetObject(Component component) { // lazily attach if (row == null) { row = new ArrayList(); Page currentPage = component.getPage(); MenuTreePath currentSelection = menuModel.getCurrentSelection(currentPage); if (currentSelection.getPathCount() > level) { MenuItem node = (MenuItem)currentSelection.getPathComponent(level); int len = node.getChildCount(); RequestCycle requestCycle = component.getRequestCycle(); for (int i = 0; i < len; i++) { MenuItem child = (MenuItem)node.getChildAt(i); if (child.checkAccess()) { row.add(child); } } } } return row; } I noticed that the requestcycle is never used, is it safe to remove it? Another thing, I'm having trouble debugging my wicket applications. I'm using Intellij IDEA and every breakpoint I add gets a "Breakpoint invalid, source code changed"-message. I guess it could be Intellij but I've managed to debug other applications. Does the bytecode get enhanced in some way in Wicket? /Regards Mats On 2/15/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > i tried to make datatable as flexible as possible for css modifications. is > there something particular you want to do that it doesnt allow? > > you can copy the markup, but be warned that this can be a maintenance > problem because if i change the code/markup of the datatable it will break > yours since ids wont match, etc. > > you can copy the code if you want, but then you wont benefit from bug fixes, > etc. > > you have to choose whichever path you think is best for your case. > > > -Igor > > > On 2/15/06, Mats Norén <[EMAIL PROTECTED]> wrote: > > I liked the wicket-contrib-navmenu. :) > > I just have to ask a stupid question, if I want to change the look on > > for instance a DataTable (or the menu in this case) do I have to > > extend DataTable and add my own HTML file with the same wicket:id > > attributes as the original or do I have to copy the code? > > > > On 2/15/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > > And there's wicket-contrib-navmenu you might want to take a look at. > > > > > > Eelco > > > > > > > > > On 2/15/06, Mats Norén <[EMAIL PROTECTED]> wrote: > > > > Thanks, I'll take a look at it. > > > > > > > > On 2/15/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote: > > > > > there is a tabbed panel in wicket-extensions. its not really a > navigation > > > > > tool, just a tabbed panel :) > > > > > > > > > > maybe that will help. > > > > > > > > > > -Igor > > > > > > > > > > > > > > > > > > > > On 2/15/06, Mats Norén < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Hi, > > > > > > I'm looking into adding a navMenu to my application and was > wondering > > > > > > if there are any existing solutions out there. > > > > > > What I'm interested in is a two level tabbed page navigation. > > > > > > > > > > > > Any pointers? > > > > > > > > > > > > /Mats > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log > > > > > files > > > > > > for problems? Stop! Download the new AJAX search engine that > makes > > > > > > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > > > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642 > > > > > > _______________________________________________ > > > > > > Wicket-user mailing list > > > > > > Wicket-user@lists.sourceforge.net > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > > > > for problems? Stop! Download the new AJAX search engine that makes > > > > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > > > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642 > > > > _______________________________________________ > > > > Wicket-user mailing list > > > > Wicket-user@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > > > for problems? Stop! Download the new AJAX search engine that makes > > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642 > > > _______________________________________________ > > > Wicket-user mailing list > > > Wicket-user@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642 > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user