Re: Wicket Tree - Getting The Selected Node

2015-09-25 Thread Anup
esired employee when the user clicks/selects on the corresponding employee node? Regards, Anup -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Tree-Getting-The-Selected-Node-tp4672040p4672042.html Sent from the Users foru

Re: Wicket Tree - Getting The Selected Node

2015-09-25 Thread Sven Meier
Hi, a NestedTree does not have any notion of 'selection'. But the set of expanded nodes is kept in the tree's model object, see AbstractTree#expand() and #collapse(). You decide how to represent each node's content, for this you'll have to override AbstractTree#newContentComponent(). The

Wicket Tree - Getting The Selected Node

2015-09-25 Thread Anup Gokhale
Hi. Am a complete noob to Wicket and am currently learning Wicket by writing small example applications. Have worked my way through all the basic components like TextField, Links, Labels, Buttons, ListView, DataTable etc. Have now reached DefaultNestedTree and it's many avatars. Am totally

Re: Wicket Tree - Getting The Selected Node

2015-09-25 Thread Sven Meier
://apache-wicket.1842946.n4.nabble.com/Wicket-Tree-Getting-The-Selected-Node-tp4672040p4672042.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: Wicket Tree - Getting The Selected Node

2015-09-25 Thread Anup
Thanks Sven. Things are clear to me now. Regards, Anup -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Tree-Getting-The-Selected-Node-tp4672040p4672044.html Sent from the Users forum mailing list archive at Nabble.com

Re: wicket-tree with two Hibernate entities

2012-10-20 Thread Sandor Feher
Thanks. All work fine. s -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-tree-with-two-Hibernate-entities-tp4653122p4653163.html Sent from the Users forum mailing list archive at Nabble.com

Re: wicket-tree with two Hibernate entities

2012-10-20 Thread Sven Meier
That's good to hear :). Sven On 10/20/2012 09:41 PM, Sandor Feher wrote: Thanks. All work fine. s -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-tree-with-two-Hibernate-entities-tp4653122p4653163.html Sent from the Users forum mailing list archive

wicket-tree with two Hibernate entities

2012-10-19 Thread Sandor Feher
Hi, I dig myself into wicket-tree. I store my files in an entity by categories. Categories listed in another entity. I would like the files get listed by category in a TableTree. Nothing tricky just two levels. Roots are the categories, children are files belong to categories. As I followed

Re: wicket-tree with two Hibernate entities

2012-10-19 Thread Sven Meier
Either you have a common super-class already or just use ITreeProviderObject. Introducing a helper class might save you some instanceof checks though. Sven On 10/19/2012 05:18 PM, Sandor Feher wrote: Hi, I dig myself into wicket-tree. I store my files in an entity by categories

Re: wicket-tree with two Hibernate entities

2012-10-19 Thread Sandor Feher
; } public void setChildren(ListHrpFiles children) { this.children = children; } } thnx., Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-tree-with-two-Hibernate-entities-tp4653122p4653130.html Sent from the Users forum mailing

Re: wicket tree + wiquery ajax draggable + droppable behavior

2012-07-23 Thread Chris Turchin
to get this to work, we ended up having to refresh the entire tree component when the children of a node are loaded, kinda defeating the purpose of the ajax lazy loading. otherwise, the subnodes are not droppable targets in the DOM. still open to better more jq/wiquery-like approach if someone

wicket tree + wiquery ajax draggable + droppable behavior

2012-07-18 Thread Chris Turchin
hi, we have a wicket 1.5.7 tree (org.apache.wicket.extensions.markup.html.tree) that we are loading subnodes into via ajax. the tree supports ajax dnd events using wiquery (dnd to copy/move/link page objects into the tree nodes) and it works great when the page loads (e.g at level one in the

Re: wicket-tree checkboxes managing

2011-05-21 Thread massimo_pugni
-- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-tree-checkboxes-managing-tp3472967p3540207.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users

Re: wicket-tree checkboxes managing

2011-05-21 Thread Sven Meier
: http://apache-wicket.1842946.n4.nabble.com/wicket-tree-checkboxes-managing-tp3472967p3540207.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: wicket-tree checkboxes managing

2011-05-05 Thread massimo_pugni
-wicket.1842946.n4.nabble.com/wicket-tree-checkboxes-managing-tp3472967p3498667.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands

Re: wicket-tree checkboxes managing

2011-05-05 Thread Sven Meier
://apache-wicket.1842946.n4.nabble.com/wicket-tree-checkboxes-managing-tp3472967p3498667.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: wicket-tree checkboxes managing

2011-05-05 Thread massimo_pugni
using is is the 0.4.4 kind regards Sven Massimo -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-tree-checkboxes-managing-tp3472967p3499223.html Sent from the Users forum mailing list archive at Nabble.com

Re: wicket-tree checkboxes managing

2011-05-05 Thread Sven Meier
-- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-tree-checkboxes-managing-tp3472967p3499223.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: wicket-tree checkboxes managing

2011-05-01 Thread massimo_pugni
view data structure (the original structure I'd like to replace with a hierarchical one) best massimo -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-tree-checkboxes-managing-tp3472967p3487626.html Sent from the Users forum mailing list archive at Nabble.com

Re: wicket-tree checkboxes managing

2011-05-01 Thread massimo_pugni
structure (the original structure I'd like to replace with a hierarchical one) best massimo -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-tree-checkboxes-managing-tp3472967p3487627.html Sent from the Users forum mailing list archive at Nabble.com

Re: wicket-tree checkboxes managing

2011-05-01 Thread Sven Meier
Hi, you can utilize the usual Check/CheckGroup/CheckGroupSelector combination. I've added a convenience CheckContent implementation recently (now for Wicket 1.4 too): http://code.google.com/p/wicket-tree/source/browse/branches/wicket-tree-0.4.x/wicket-tree/src/main/java/wickettree/content

wicket-tree checkboxes managing

2011-04-25 Thread massimo_pugni
Hello all, I'm trying out the wicket-tree components by Sven Meier and, does anybody know if there is a way to get the root's 'checkboxes' hidden when using the 'CheckedSelectableFolderContent' content option? best regards massimo -- View this message in context: http://apache-wicket.1842946

Re: wicket-tree checkboxes managing

2011-04-25 Thread Sven Meier
Hi Massimo, with wicket-tree you're in full control on what content to display for each node: tree = new NestedTreeFoo(tree, provider) { @Override protected Component newContentComponent(String id, IModelFoo model) { // you

RE: wicket-tree implementation

2011-03-14 Thread Erik Johansson
in the ITreeProvider's detach(), perhaps I need to do something there? Editing existing objects works well, but not new objects. Thanks, Erik Johansson -Original Message- From: Sven Meier [mailto:s...@meiers.net] Sent: 11. mars 2011 18:57 To: users@wicket.apache.org Subject: Re: wicket-tree implementation

Re: wicket-tree implementation

2011-03-14 Thread Sven Meier
Hi Erik, wicket-tree doesn't cache any information (in contrast to Wicket's tree implementation). Thus updating the parental branch or adding the whole tree to the request target should work fine, the former method might fail if your equals() method is bogus though. Please set

wicket-tree implementation

2011-03-11 Thread Erik Johansson
Hello. I am trying out wicket-tree, by Sven Maier. However I can't figure out what is needed to get it to display the tree properly. It shows the content as its toString method. I have overridden it at the ITreeProvider.model-method, but that isn't it, it seems. The original object's

Re: wicket-tree implementation

2011-03-11 Thread Sven Meier
wrote: Hello. I am trying out wicket-tree, by Sven Maier. However I can't figure out what is needed to get it to display the tree properly. It shows the content as its toString method. I have overridden it at the ITreeProvider.model-method, but that isn't it, it seems. The original object's

Re: wicket tree

2011-02-20 Thread mlabs
ok well I was in fact able to override the width by placing this style on the page: style type=text/css div.wicket-tree { width: 60em !important; } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-tree-tp3313498p3316658.html Sent from the Users

Re: wicket tree

2011-02-19 Thread msj121
Just out of curiosity, are you using a theme with your wicket-tree? Meaning new WicketTree(...,new WindowsTheme());... Pretty sure this is the wicket-tree from wicket-stuff project. You can just look at their css and write your own, I am not sure why this is not working at all... have you tried

wicket tree

2011-02-18 Thread mlabs
wicket noob question: I'm trying to change the width of the simple Tree component .. it seems to be defined in tree.css as 20em .. what's the correct way to override this? TIA -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-tree-tp3313498p3313498.html Sent

Re: wicket tree

2011-02-18 Thread Moez BR
.. what's the correct way to override this? TIA -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-tree-tp3313498p3313498.html Sent from the Users forum mailing list archive at Nabble.com

Re: wicket tree

2011-02-18 Thread mlabs
to 60em*/ overflow: auto; margin: 10px; line-height: 1.5em; } /style but it didn't seem to have any effect..? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-tree-tp3313498p3313566.html Sent from the Users forum mailing list

Re: wicket tree

2011-02-18 Thread msj121
, it will certainly narrow down the problem I think Matthew -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-tree-tp3313498p3313613.html Sent from the Users forum mailing list archive at Nabble.com

Re: wicket tree

2011-02-18 Thread mlabs
that method puts the style on the enclosing div like so: div wicket:id=test-tree style=... width:60em; ... wicket:panel div class=wicket-tree ... and the inner 'wicket-tree' style definition still seems to be taking preference... so still no joy :( -- View

Re: wicket tree

2011-02-18 Thread mlabs
better.. so I guess the wicket examples are just out of date with respect to trees..? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-tree-tp3313498p3313789.html Sent from the Users forum mailing list archive at Nabble.com

Re: Wicket Tree

2009-10-07 Thread Sven Meier
Hi, with wicket-tree you can of course use multiple trees on a single page. moving tree nodes around from one tree to another tree. How to you want to move the nodes? You could use selectable nodes which are moved on a button click. Or you add wicket-dnd to the mix and use dragdrop gestures

Wicket Tree

2009-10-06 Thread ping ping
How to post my question to the forum? I'm new to wicket development and currently working on wicket tree.. Ive previously tried on the checkbox wickettree from http://code.google.com/p/wicket-tree/ But now i would like to work on displaying multiple treeview(with or without) display

Re: confused about wicket Tree component with panel swapping

2009-08-20 Thread Haulyn R. Jason
can anybody help me? thanks. On Wed, Aug 19, 2009 at 11:15 PM, Haulyn R. Jason saharab...@gmail.comwrote: Hi, all I refactor my pages from inheritance to panel swapping with a tree for navigation. But I can not make the tree work. I add some links like this: add(new

Re: how to use wicket tree in extension

2009-08-17 Thread jWeekend
...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 贾昊林 Haulyn Jason -- View this message in context: http://www.nabble.com/how-to-use-wicket-tree-in-extension

Re: how to use wicket tree in extension

2009-08-17 Thread Igor Vaynberg
...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 贾昊林 Haulyn Jason -- View this message in context: http://www.nabble.com/how-to-use-wicket-tree-in-extension

Re: how to use wicket tree in extension

2009-08-17 Thread jWeekend
: http://www.nabble.com/how-to-use-wicket-tree-in-extension-tp24967306p24980702.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

how to use wicket tree in extension

2009-08-14 Thread Haulyn R. Jason
Hi,all: I design a page with a tree for page navigation. But I can not find more information from Internet to learn how to use the Tree component. I can display the tree as menu1 |-sub_menu1 |-sub_menu2 menu2 |-sub_menu3 |-sub_menu4 and I remove root node, make all tree expand

Re: how to use wicket tree in extension

2009-08-14 Thread Igor Vaynberg
are you using LinkTree? -igor On Fri, Aug 14, 2009 at 12:15 AM, Haulyn R. Jasonsaharab...@gmail.com wrote: Hi,all: I design a page with a tree for page navigation. But I can not find more information from Internet to learn how to use the Tree component. I can display the tree as menu1  

Re: how to use wicket tree in extension

2009-08-14 Thread Haulyn R. Jason
No, just use Tree in extension package. On Fri, Aug 14, 2009 at 11:17 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: are you using LinkTree? -igor On Fri, Aug 14, 2009 at 12:15 AM, Haulyn R. Jasonsaharab...@gmail.com wrote: Hi,all: I design a page with a tree for page navigation.

Re: how to use wicket tree in extension

2009-08-14 Thread jWeekend
...@gmail.com, hmp.hau...@foxmail.com website: http://haulynjason.net gtalk: saharab...@gmail.com yahoo: jia_hao...@yahoo.com msn: saharab...@gmail.com skype: saharabear QQ: 378606292 贾昊林 Haulyn Jason -- View this message in context: http://www.nabble.com/how-to-use-wicket-tree-in-extension

Re: [ANN] wicket-tree project

2009-07-26 Thread Sven Meier
Sure, wicket-tree is still in its conception phase. I'll tidy up the project structure soon. Sven On Sa, 2009-07-25 at 18:57 -0400, James Carman wrote: So is the project a war (since it runs with jetty:run)? Wouldn't that make it hard to use in other projects? On Jul 25, 2009 6:18 PM

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
contract (api)? svenmeier wrote: Sure, wicket-tree is still in its conception phase. I'll tidy up the project structure soon. Sven On Sa, 2009-07-25 at 18:57 -0400, James Carman wrote: So is the project a war (since it runs with jetty:run)? Wouldn't that make it hard to use in other

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
it definitely might come in handy. When are you going to finalize the component contract (api)? svenmeier wrote: Sure, wicket-tree is still in its conception phase. I'll tidy up the project structure soon. Sven On Sa, 2009-07-25 at 18:57 -0400, James Carman wrote: So is the project

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
-conception version :) I would suggest adding it to the Wicket right next to DataTable. -- View this message in context: http://www.nabble.com/-ANN--wicket-tree-project-tp24660403p24665301.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: [ANN] wicket-tree project

2009-07-26 Thread Sven Meier
contract (api)? svenmeier wrote: Sure, wicket-tree is still in its conception phase. I'll tidy up the project structure soon. Sven On Sa, 2009-07-25 at 18:57 -0400, James Carman wrote: So is the project a war (since it runs with jetty:run)? Wouldn't that make it hard

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
that unifies both looks pretty complex to do. Your treetable components seems to be more close to datable so it definitely might come in handy. When are you going to finalize the component contract (api)? svenmeier wrote: Sure, wicket-tree is still in its conception phase. I'll tidy up

Re: [ANN] wicket-tree project

2009-07-26 Thread Sven Meier
, wicket-tree is still in its conception phase. I'll tidy up the project structure soon. Sven On Sa, 2009-07-25 at 18:57 -0400, James Carman wrote: So is the project a war (since it runs with jetty:run)? Wouldn't that make it hard to use in other projects? On Jul 25, 2009 6:18

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
newRowItem properly. Also you have 2 Branch classes. I find it confusing a bit. I'm going to play with TreeTable tomorrow. -- View this message in context: http://www.nabble.com/-ANN--wicket-tree-project-tp24660403p24666766.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: [ANN] wicket-tree project

2009-07-26 Thread Matej Knopp
://www.nabble.com/-ANN--wicket-tree-project-tp24660403p24666766.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
It does not. It is stated at the bottom of the home page http://code.google.com/p/wicket-tree/ For ajax updates it should behave not worse than DataTable component. Matej, I find the idea of re-using data provider, columns and cells developed for DataTable very important. Matej Knopp-2 wrote

Re: [ANN] wicket-tree project

2009-07-26 Thread Sven Meier
ITreeProvider and IDataProvider are not exactly compatible, I don't think we gain anything by extending the former from the latter. I don't insist. But you do have IDataProvider wrapper over ITreeProvider in TableTree.java :) Yes, indeed ;). I din't find API to control expanded state of

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
markup. You can make sure that the user provided correct tag in onComponentTag method. -- View this message in context: http://www.nabble.com/-ANN--wicket-tree-project-tp24660403p24671586.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
. -- View this message in context: http://www.nabble.com/-ANN--wicket-tree-project-tp24660403p24672778.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: [ANN] wicket-tree project

2009-07-26 Thread Sven Meier
Hi, *Nested*Tree... *Table*Tree... I hope this makes sense ;). I will align the markup for TableTree with the markup of DataTable, thanks for the hint. Sven On So, 2009-07-26 at 16:29 -0700, Vladimir K wrote: Sven, i added TableTree (why not TreeTable?) to my panel and added a button to

[ANN] wicket-tree project

2009-07-25 Thread Sven Meier
Hi all, i would like to announce wicket-tree, a new project hosting a clean slate development of tree components for Wicket. The API has not been fully stabilized yet but you are invited to take a first look: http://code.google.com/p/wicket-tree/ Have fun Sven

Re: [ANN] wicket-tree project

2009-07-25 Thread Martin Makundi
Any live examples, would be nice? ** Martin 2009/7/25 Sven Meier s...@meiers.net: Hi all, i would like to announce wicket-tree, a new project hosting a clean slate development of tree components for Wicket. The API has not been fully stabilized yet but you are invited to take a first look

Re: [ANN] wicket-tree project

2009-07-25 Thread Major Péter
I didn't found live examples neither, but after checking out ( svn checkout http://wicket-tree.googlecode.com/svn/trunk/ wicket-tree-read-only ) and building the project, there is a war file, which you could deploy and see the examples. // at the chekcedfoldercontent (nested tree) example

Re: [ANN] wicket-tree project

2009-07-25 Thread Sven Meier
live examples, would be nice? ** Martin 2009/7/25 Sven Meier s...@meiers.net: Hi all, i would like to announce wicket-tree, a new project hosting a clean slate development of tree components for Wicket. The API has not been fully stabilized yet but you are invited to take a first

Re: [ANN] wicket-tree project

2009-07-25 Thread Sven Meier
(maybe folders could disable this function) and the opening of the nodes is via ajax, but the links would be normal bookmarkablepagelinks This is just a matter of tree usage, create you custom content and do what ever you want. See the new example: http://code.google.com/p/wicket-tree/source

Re: [ANN] wicket-tree project

2009-07-25 Thread Major Péter
custom content and do what ever you want. See the new example: http://code.google.com/p/wicket-tree/source/browse/trunk/wicket-tree/src/main/java/wickettree/examples/content/BookmarkableFolderContent.java Hope this helps Sven , so in the markup wouldn't be only #'s? :) (as you can see: http

Re: [ANN] wicket-tree project

2009-07-25 Thread James Carman
So is the project a war (since it runs with jetty:run)? Wouldn't that make it hard to use in other projects? On Jul 25, 2009 6:18 PM, Major Péter majorpe...@sch.bme.hu wrote: Cool, that was exactly, what I was looking for. Thanks. Peter 2009-07-26 00:06 keltezéssel, Sven Meier írta: Hi

Re: How to Hidden/Disabled Wicket tree with implementation wicket security (Help)

2009-07-21 Thread Rizal Indra
Hi, i have tried to disable/hide component like buttons (as Warren example) with success. but how to Wicket tree not populateTreeItem( hide) because my Class Page not include in my hive file? Does anyone can do it? or my way that call all menu from db for all principals then lets wicket

Re: How to Hidden/Disabled Wicket tree with implementation wicket security

2009-07-17 Thread Warren Bell
me? thanks --- Pada Kam, 16/7/09, Warren Bell warrenbe...@gmail.com menulis: Dari: Warren Bell warrenbe...@gmail.com Judul: Re: How to Hidden/Disabled Wicket tree with implementation wicket security Kepada: users@wicket.apache.org, bujang_kuan...@yahoo.com Tanggal: Kamis, 16 Juli, 2009

How to Hidden/Disabled Wicket tree with implementation wicket security

2009-07-16 Thread Rizal Indra
Hi, I have created my welcome page with menu tree (http://wicketstuff.org/wicket13/nested/ ). I want to hide/disabled some item menu depend on user right principal. I have try put some tricks but not work :-) MyTree.java public class MyTree extends Tree { @Override     protected void

Re: How to Hidden/Disabled Wicket tree with implementation wicket security

2009-07-16 Thread Warren Bell
Try this: Warren public class SecureWebMarkupContainer extends WebMarkupContainer implements ISecureComponent { public SecureWebMarkupContainer(String id) { super(id); setSecurityCheck(new ComponentSecurityCheck(this)); } public SecureWebMarkupContainer(String

Re: How to Hidden/Disabled Wicket tree with implementation wicket security

2009-07-16 Thread Rizal Indra
? thanks --- Pada Kam, 16/7/09, Warren Bell warrenbe...@gmail.com menulis: Dari: Warren Bell warrenbe...@gmail.com Judul: Re: How to Hidden/Disabled Wicket tree with implementation wicket security Kepada: users@wicket.apache.org, bujang_kuan...@yahoo.com Tanggal: Kamis, 16 Juli, 2009, 11

Re: Wicket tree

2009-04-28 Thread vela
-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/Wicket-tree-tp21410500p23273139.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Wicket Tree with Swing DefaultMutableTreeNode

2009-04-22 Thread JulianS
Hi, I did it a different way. I have no problem adding checkboxes with this technique. See http://javathoughts.capesugarbird.com/2009/03/jquery-tree-table-for-wicket.html. -- View this message in context: http://www.nabble.com/Wicket-Tree-with-Swing-DefaultMutableTreeNode-tp18486972p23175575

Re: Wicket tree

2009-01-14 Thread PSkarthic
(); } Why it is happening like. Thanks Karthic -- View this message in context: http://www.nabble.com/Wicket-tree-tp21410500p21472531.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: Wicket tree

2009-01-13 Thread PSkarthic
-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/Wicket-tree-tp21410500p21431002.html Sent from the Wicket - User mailing list archive at Nabble.com

Wicket tree

2009-01-12 Thread PSkarthic
but that doesn't get called. -- View this message in context: http://www.nabble.com/Wicket-tree-tp21410500p21410500.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: Wicket tree

2009-01-12 Thread PSkarthic
standard output statement but that doesn't get called. -- View this message in context: http://www.nabble.com/Wicket-tree-tp21410500p21428684.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Wicket tree

2009-01-12 Thread Per Newgro
Hi, a bit more code would help getting a good answer. You could overwrite the DefaultAbstractTree.onNodeLinkClicked(AjaxRequestTarget target, TreeNode node) method. Why this should not work - i only can hit the air. Another way is to call the

Re: Wicket tree

2009-01-12 Thread PSkarthic
(at least a bit) Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/Wicket-tree

Re: Wicket tree

2009-01-12 Thread Per Newgro
AFAIK you can use Tree. It's extending already the DefaultAbstractTree. Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Wicket Tree with Swing DefaultMutableTreeNode

2008-07-16 Thread Edi
Hello, I am using wicket tree with swing DefaultMutableTreeNode. In render node, i am writing the tree headers labels. protected String renderNode(TreeNode node) { TreeItem item = (TreeItem) ((DefaultMutableTreeNode) node).getUserObject(); return item.getName

Re: Wicket Tree with Swing DefaultMutableTreeNode

2008-07-16 Thread Michael Allan
Can't answser the Wicket side, but consider: a) Swing is not thread-safe b) it is often better to code your own TreeNode as a bridge to the underlying reality (Wicket's models?); rather than using DefaultMutableTreeNode, which is a full-blown model in itself -- Michael Allan