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
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
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
://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
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
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
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
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
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
;
}
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
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
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
--
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
:
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
-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
://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
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
--
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
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
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
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
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
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
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
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
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
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
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
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 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
.. 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
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
, 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
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
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
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
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 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
...@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
...@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
:
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
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
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
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.
...@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
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
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
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
-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
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
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
, 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
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
://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
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
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
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
.
--
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
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
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
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
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
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
(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
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
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
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
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
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
Try this:
Warren
public class SecureWebMarkupContainer extends WebMarkupContainer implements
ISecureComponent {
public SecureWebMarkupContainer(String id)
{
super(id);
setSecurityCheck(new ComponentSecurityCheck(this));
}
public SecureWebMarkupContainer(String
? 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
-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
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
();
}
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
-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
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
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
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
(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
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
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
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
82 matches
Mail list logo