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 - Getting The Selected Node

2015-09-25 Thread Sven Meier
this message in context: http://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-uns

Re: Wicket Tree - Getting The Selected Node

2015-09-25 Thread Anup
I display the details of the desired 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

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 defa

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 stuc

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 archi

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-19 Thread Sandor Feher
void setChildren(List 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 list archive at Nabble.com

Re: wicket-tree with two Hibernate entities

2012-10-19 Thread Sven Meier
Either you have a common super-class already or just use ITreeProvider. 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. Categories

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 the

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 has

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 tree)

Re: wicket-tree checkboxes managing

2011-05-21 Thread Sven Meier
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-unsubscr...@wicket.

Re: wicket-tree checkboxes managing

2011-05-20 Thread massimo_pugni
assimo -- 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:

Re: wicket-tree checkboxes managing

2011-05-05 Thread Sven Meier
#x27;m 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 massimo_pugni
on is the 1.4.9 and the tree package I'm 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 U

Re: wicket-tree checkboxes managing

2011-05-05 Thread Sven Meier
Massimo -- View this message in context: http://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: us

Re: wicket-tree checkboxes managing

2011-05-05 Thread massimo_pugni
this message in context: http://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...@w

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/co

Re: wicket-tree checkboxes managing

2011-05-01 Thread massimo_pugni
ble to do using a linear/plain list 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-tp3472967p3487627.html Sent from

Re: wicket-tree checkboxes managing

2011-05-01 Thread massimo_pugni
ble to do using a linear/plain list 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

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 NestedTree("tree", provider) { @Override protected Component newContentComponent(String id, IModel model) {

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:

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. Pl

RE: wicket-tree implementation

2011-03-14 Thread Erik Johansson
n 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 impl

Re: wicket-tree implementation

2011-03-11 Thread Sven Meier
te: 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&#x

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 origina

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:

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

Re: wicket tree

2011-02-18 Thread mlabs
ng .. much 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

Re: wicket tree

2011-02-18 Thread mlabs
that method puts the style on the enclosing div like so: ... and the inner 'wicket-tree' style definition still seems to be taking preference... so still no joy :( -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/w

Re: wicket tree

2011-02-18 Thread msj121
hope this helps, 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 a

Re: wicket tree

2011-02-18 Thread mlabs
*/ overflow: auto; margin: 10px; line-height: 1.5em; } 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 archive at Nabbl

Re: wicket tree

2011-02-18 Thread Moez BR
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 from the Users forum mailing list archive at Nabble.com. > > --

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

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 drag&a

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 wrote: > 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 Link("settingPageLink") { >

confused about wicket Tree component with panel swapping

2009-08-19 Thread Haulyn R. Jason
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 Link("settingPageLink") { @Override public void onClick() { currentPanel.replaceWith(sett

Re: how to use wicket tree in extension

2009-08-18 Thread Haulyn R. Jason
...@gmail.com > >>> >> > skype: saharabear > >>> >> > QQ: 378606292 > >>> >> > > >>> >> > Haulyn Jason > >>> >> > > >>> >> > >>

Re: how to use wicket tree in extension

2009-08-17 Thread jWeekend
ooks work well, but when I clink on a link, the page redirect >>> to >>> >> the >>> >> > target page, but I can not keep the tree with the selected node >>> expand. >>> >> > >>> >> > Can anyone help me or give

Re: how to use wicket tree in extension

2009-08-17 Thread Igor Vaynberg
: +086-15864011231 >> >> > email: saharab...@gmail.com, hmp.hau...@foxmail.com >> >> > website: http://haulynjason.net >> >> > gtalk: saharab...@gmail.com >> >> > yahoo: jia_hao...@yahoo.com >> >> > msn: saharab...@gmai

Re: how to use wicket tree in extension

2009-08-17 Thread jWeekend
>> > Enjoy. Thanks! >> >> > >> >> > Mobile: +086-15864011231 >> >> > email: saharab...@gmail.com, hmp.hau...@foxmail.com >> >> > website: http://haulynjason.net >> >> > gtalk: saharab...@gmail.com >> >

Re: how to use wicket tree in extension

2009-08-17 Thread Haulyn R. Jason
> > > >> > Mobile: +086-15864011231 > >> > email: saharab...@gmail.com, hmp.hau...@foxmail.com > >> > website: http://haulynjason.net > >> > gtalk: saharab...@gmail.com > >> > yahoo: jia_hao...@yahoo.com > >> > msn: saharab.

Re: how to use wicket tree in extension

2009-08-14 Thread jWeekend
com >> > skype: saharabear >> > QQ: 378606292 >> > >> > Haulyn Jason >> > >> >> --------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apa

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 wrote: > are you using LinkTree? > > -igor > > On Fri, Aug 14, 2009 at 12:15 AM, Haulyn R. Jason > wrote: > > Hi,all: > > > > I design a page with a tree for page navigation. But I can not find more > > inform

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. Jason 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 >    |-sub_menu

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 w

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

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
that the user provided correct tag in onComponentTag method. > -- 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. --

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
p. 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

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 stat

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 Matej Knopp
hat nodes are selected). Once I realize I will be able to > override 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/-AN

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
te of tree (what nodes are expanded and what nodes are selected). Once I realize I will be able to override 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--w

Re: [ANN] wicket-tree project

2009-07-26 Thread Sven Meier
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. > >>

Re: [ANN] wicket-tree project

2009-07-26 Thread Vladimir K
navigator or treetable. Since wicket-extentions project has completely >> incompatible components in this regard my component 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.

Re: [ANN] wicket-tree project

2009-07-26 Thread Sven Meier
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 > > > > O

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 Vladimir K
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. >> >>

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)? Woul

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? > > O

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" wrote: Cool, that was exactly, what I was looking for. Thanks. Peter 2009-07-26 00:06 keltezéssel, Sven Meier írta: > > Hi Peter, > >> // at the

Re: [ANN] wicket-tree project

2009-07-25 Thread Major Péter
create you 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? :) (

Re: [ANN] wicket-tree project

2009-07-25 Thread Sven Meier
ich nodes are links > (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

Re: [ANN] wicket-tree project

2009-07-25 Thread Sven Meier
> Any live examples, would be nice? > > ** > Martin > > 2009/7/25 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

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) examp

Re: [ANN] wicket-tree project

2009-07-25 Thread Martin Makundi
Any live examples, would be nice? ** Martin 2009/7/25 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 t

[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: How to Hidden/Disabled Wicket tree with implementation wicket security (Help)

2009-07-20 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
g but i dont know how to solve it. Can anyone help me? thanks --- Pada Kam, 16/7/09, Warren Bell menulis: Dari: Warren Bell 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,

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 menulis: > Dari: Warren Bell > 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:09 AM > Try

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 id

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 populateTr

Re: Wicket tree

2009-04-28 Thread vela
> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> >> > > -- View this message in conte

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 with Swing DefaultMutableTreeNode

2009-04-21 Thread Edi
Hello, I have a wicket tree code. Is it possible to each node with checkboxk in a wicket tree. herewith I have attached my source code. Without checkout box of tree is working fine. But I am not able to add checkbox. Please check the attachment code and advise. Thanks and Regards, Edi http

Re: Wicket tree

2009-01-14 Thread PSkarthic
this.updateTree(); } 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. -

Re: Wicket tree

2009-01-13 Thread PSkarthic
-- > 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-tp21410500p21431002.html Sent from the Wicket - U

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

Re: Wicket tree

2009-01-12 Thread PSkarthic
icket.apache.org > > > -- View this message in context: http://www.nabble.com/Wicket-tree-tp21410500p21430564.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: u

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 AbstractTree.getTreeState()..isNodeSelected(pNode)

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. ---

Wicket tree

2009-01-12 Thread PSkarthic
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-uns

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 Toro

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