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
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
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
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
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
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
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
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
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
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
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
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)
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.
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:
#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.
-
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
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
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
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
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
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
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)
{
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:
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
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
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
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
ok well I was in fact able to override the width by placing this style on the
page:
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
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
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
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
*/
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
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 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
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
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
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") {
>
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
...@gmail.com
> >>> >> > skype: saharabear
> >>> >> > QQ: 378606292
> >>> >> >
> >>> >> > Haulyn Jason
> >>> >> >
> >>> >>
> >>
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
: +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
>> > Enjoy. Thanks!
>> >> >
>> >> > Mobile: +086-15864011231
>> >> > email: saharab...@gmail.com, hmp.hau...@foxmail.com
>> >> > website: http://haulynjason.net
>> >> > gtalk: saharab...@gmail.com
>> >
> >
> >> > 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.
com
>> > skype: saharabear
>> > QQ: 378606292
>> >
>> > Haulyn Jason
>> >
>>
>> ---------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apa
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
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
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
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
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.
--
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
> > 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
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
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
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
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.
> >>
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.
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
-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
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.
>>
>>
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
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
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
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? :) (
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
> 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
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
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
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
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
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,
? 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
Try this:
Warren
public class SecureWebMarkupContainer extends WebMarkupContainer implements
ISecureComponent {
public SecureWebMarkupContainer(String id)
{
super(id);
setSecurityCheck(new ComponentSecurityCheck(this));
}
public SecureWebMarkupContainer(String id
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
>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>>
>
>
--
View this message in conte
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
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
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.
-
--
> 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
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
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
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)
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.
---
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
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
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
86 matches
Mail list logo