[Wicket-user] Navigation between pages
Hi all, just one more trivial question; ;-) which possibilities do i got to navigate from one Webpage to another after an event is triggered? Thx in advance! Peter -- View this message in context: http://www.nabble.com/Navigation-between-pages-tf3265417.html#a9077014 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Different type of components in wicket.extensions.markup.html.tree.Tree
Hi Matej, but isn't the fact, that i can use only one markup file (the tree.html) for one TreeClass avoid the usage of different tree nodes ? Thx. Peter Matej Knopp wrote: Hi, look at the Tree class - it extends DefaultAbstractTree. Use the same approach as tree does (you can copy the html template) and put in nodes whatever you want. -Matej Peter Klassen wrote: Hi Eelco, thank you very much for your postings/mails. But To the topic: Suppose you wan't to create a tree: root-node with some icon-links including hints, and the regular icon/link/label-combination 1.child-node, works like already given 2. child-node e.g. same as root-node, but some more labels But: The markup of the Tree-class which is uses for every node. wicket:panel div class=wicket-tree div wicket:id=i!-- tree item container -- span wicket:id=indent/span span wicket:id=image/ span class=icon wicket:id=icon/span span wicket:id=label/span /div /div /wicket:panel That means, that i can't use different node components because the markup is fix for every node, right? Or is there something, that i oversaw? Thx! Peter Klassen Eelco Hillenius wrote: If you look at the Tree and DefaultAbstractTree classes, you can see a bunch of overidable, protected methods. Usually in Wicket, if there is a non-final protected method, it is there for you to override if you need to (we'd either make it final or private if not). Now, I'm not sure what you want to achieve... you are using the tree component right? The Tree in core version 1.2 (moved to extensions for 2.0) has method newNodePanel for this. The tree in extensions version 1.2 (moved to core for 2.0) has methods like populateTreeItem for this. Maybe you could give a more detailed explanation of what you want to do? Eelco On 11/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, I would like to add different type of components (maybe panels with links, labels and so on) to my navigation tree nodes, dependant of the node level. This time, a static scheme is given with a link, an icon and a label. This approach will avoid my needs, there is a Tree.html with the corresponding markup, which is touched everytime. Any good ideas? Every answer is appreciated! Cheers, Peter - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/Different-type-of-components-in-wicket.extensions.markup.html.tree.Tree-tf2680005.html#a7526189 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Different type of components in wicket.extensions.markup.html.tree.Tree
Hi Eelco, thank you very much for your postings/mails. But To the topic: Suppose you wan't to create a tree: root-node with some icon-links including hints, and the regular icon/link/label-combination 1.child-node, works like already given 2. child-node e.g. same as root-node, but some more labels But: The markup of the Tree-class which is uses for every node. wicket:panel div class=wicket-tree div wicket:id=i!-- tree item container -- span wicket:id=indent/span span wicket:id=image/ span class=icon wicket:id=icon/span span wicket:id=label/span /div /div /wicket:panel That means, that i can't use different node components because the markup is fix for every node, right? Or is there something, that i oversaw? Thx! Peter Klassen Eelco Hillenius wrote: If you look at the Tree and DefaultAbstractTree classes, you can see a bunch of overidable, protected methods. Usually in Wicket, if there is a non-final protected method, it is there for you to override if you need to (we'd either make it final or private if not). Now, I'm not sure what you want to achieve... you are using the tree component right? The Tree in core version 1.2 (moved to extensions for 2.0) has method newNodePanel for this. The tree in extensions version 1.2 (moved to core for 2.0) has methods like populateTreeItem for this. Maybe you could give a more detailed explanation of what you want to do? Eelco On 11/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, I would like to add different type of components (maybe panels with links, labels and so on) to my navigation tree nodes, dependant of the node level. This time, a static scheme is given with a link, an icon and a label. This approach will avoid my needs, there is a Tree.html with the corresponding markup, which is touched everytime. Any good ideas? Every answer is appreciated! Cheers, Peter - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/Different-type-of-components-in-wicket.extensions.markup.html.tree.Tree-tf2680005.html#a7500840 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Different MarkupContainer in (wicket.extensions.markup.html.tree)Tree
Hi all, i am searching for an approach to get different types of MarkupContainers for the different levels of nodes in a tree. E.g. at a root i want to define a panel. For a node, i want to define another panel including some labels, links and icons. The problem is the markup which is defined once in the html file for every type of node in the tree. Anyone a good idea? Thx for every answer in advance. Cheers, Peter - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] BookmarkablePageLink as button with value from model
Hi all, just a simple, stupid question: i want to use a BookmarkablePageLink as button as described in the wicket examples for links. Additionaly i want to use a Model to fill the buttons value. How can i put these things together? For a short peace of code i would definitly be thankful. :-) Thx in advance, Peter - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user