is that use
protected void populateTreeItem(WebMarkupContainer item, int level) {} to
set the redirect link ?
thanks
Matej Knopp-2 wrote:
>
> I believe, that what you want, is not to set response page, but rather
> to switch panel components. At least that sounds much more reasonable
> to
ok... maybe i m new to wicket. Some of the example i cant really get what it
means. Anyway, for temporary, i had solved my problem (think is not so
practical :p) . hard code for the node link..
protected void onNodeLinkClicked(AjaxRequestTarget ajaxRequestTarget,
TreeNode node)
{
ok... maybe i m new to wicket. Some of the example i cant really get what it
means. Anyway, for temporary, i had solved my problem (think is not so
practical :p) . hard code for the node link..
protected void onNodeLinkClicked(AjaxRequestTarget ajaxRequestTarget,
TreeNode node)
{
I believe, that what you want, is not to set response page, but rather
to switch panel components. At least that sounds much more reasonable
to me.
-Matej
On 7/4/07, kenixwong <[EMAIL PROTECTED]> wrote:
>
> the reason i using the tree is my menu will be cover a lot of reports ( i m
> develop the
the reason i using the tree is my menu will be cover a lot of reports ( i m
develop the report module). So if using the tree style, the interface will
be look more nicer and structure. Plus the dynamic feel to the user :p (more
attractive). is that the wicket - tree is hard to maintain? Actually i
> sorry for understood.. i m not just play around. i wish to build a new
> module for my current project. And i wish to manage all the menus in a tree
> style outlook. So, can i get some guide frou u , Eelco ..
If you are looking for menus, why not use something like this:
http://developer.yahoo.c
thx for reply... i waiting and waiting somebody to reply it.. :p
sorry for understood.. i m not just play around. i wish to build a new
module for my current project. And i wish to manage all the menus in a tree
style outlook. So, can i get some guide frou u , Eelco ..
thx a lot
Eelco Hilleni
> Sorry, cant get u.. can you show me the some partial code ? My tree example
> was refer from the wicket example. but it only shown how to create a tree
> without some example to click the node and redirect to another page. I had
> tried search from the forum and do testing... still failed. Can ev
Sorry, cant get u.. can you show me the some partial code ? My tree example
was refer from the wicket example. but it only shown how to create a tree
without some example to click the node and redirect to another page. I had
tried search from the forum and do testing... still failed. Can everybody
On 7/2/07, kenixwong <[EMAIL PROTECTED]> wrote:
i m using wicket1.2.4
i done with the nice tree and can display it. Just i did not get any
resource on the link. Once i click all the node link, i wish to redirect
to
different pages that i defined. I had search in the wicket-user forum, but
cant
i m using wicket1.2.4
i done with the nice tree and can display it. Just i did not get any
resource on the link. Once i click all the node link, i wish to redirect to
different pages that i defined. I had search in the wicket-user forum, but
cant get any result yet. Can u help for it. (btw: i m t
i m using wicket1.2.6
i done with the nice tree and can display it. Just i did not get any
resource on the link. Once i click all the node link, i wish to redirect to
different pages that i defined. I had search in the wicket-user forum, but
cant get any result yet. Can u help for it. (btw: i m t
> Can anyone give me an example of override onNodeLinkClicked(...) for display
> the tree. I want to click the menu intree structure. It's fine i can did it
> now. But i cant setResponce to another page when i clicked on the link..
> thanks in future
So calling setResponsePage (to another page I p
Can anyone give me an example of override onNodeLinkClicked(...) for display
the tree. I want to click the menu intree structure. It's fine i can did it
now. But i cant setResponce to another page when i clicked on the link..
thanks in future
--
View this message in context:
http://www.nabble.co
indeed, we internally develop small extension to allow using partial path
to allocate component.
tester.clickLink("foo:bar:navigation:i:6:nodeLink")
can be written like
tester.clickLink("foo, 6, nodeLink")
On 6/9/07, Timo Rantalaiho <[EMAIL PROTECTED]> wrote:
On Fri, 08 Jun 2007, Ingram Chen
On Fri, 08 Jun 2007, Ingram Chen wrote:
> I use 1.2.6 and tester.clickLink("foo:bar:navigation:i:6:nodeLink") work for
And instead of using the full path like that (which can be
tedious to maintain when the component hierarchy changes)
you can also use an Ivistor to access the component (and
then
Thanks Frank, thanks Ingram!
Didn't know that I could just access the links like that. But it seems
quite logical.
Everything works as expected now.
Thanks again!
Sven
-
This SF.net email is sponsored by DB2 Express
Down
I use 1.2.6 and tester.clickLink("foo:bar:navigation:i:6:nodeLink") work for
me.
On 6/8/07, Sven Schliesing <[EMAIL PROTECTED]> wrote:
Hi,
I'm trying to heavily rely on test driven development while building my
application.
Fortunately wicket does a really good job for unit-testing. But
unfor
Hi
I haven't used the tree yet (and therefore not tried to test it). But what
do you do. I would just imagine it would be a call to tester.clickLink
(linkPath)?!
Frank
On 6/8/07, Sven Schliesing <[EMAIL PROTECTED]> wrote:
Hi,
I'm trying to heavily rely on test driven development while build
Hi,
I'm trying to heavily rely on test driven development while building my
application.
Fortunately wicket does a really good job for unit-testing. But
unfortunately I do not succeed in simulating a "click" on a node in a
Tree with AjaxLinks.
I already searched the svn for a test already han
Hello,
You can do this through the ITreeState
(tree.getTreeState().getSelectedNodes ()). Also, you can register with
the TreeState as an ITreeStateListener and implement the
nodeSelected(TreeNode node) method.
best,
jim
On 6/6/07, NYSophia <[EMAIL PROTECTED]> wrote:
>
> Thank you. That was very
Thank you. That was very helpful. I am trying to get it to add a node as a
child of the currently selected node. I will let you know how it goes.
I don't really have urls or code I can share. I do have a brain dead
simple quickstart I created to determine if a bug was in my code or
wicket (mi
I don't really have urls or code I can share. I do have a brain dead
simple quickstart I created to determine if a bug was in my code or
wicket (mine, obviously :)). Hope this helps:
http://bones.homelinux.org/wicket/quicktree.jar
You will want to look at SimpleTreePage.java
best,
jim
On 6/4/07
Hi,
This sounds great. Would you mind posting the java code and html file (or
relevant snippets) for a page that accomplishes this? I'm still very new to
wicket, and the example would be very helpful!
Thanks,
-Evan
James McLaughlin-3 wrote:
>
> Hello,
> I've just done this, works like a charm
Hello,
I've just done this, works like a charm. Use a DefaultTreeModel for
your tree, and when it comes time to insert / remove nodes, just use
the appropriate methods on DefaultTreeModel. If you are doing this
with an ajax tree, you will want to call updateTree(AjaxRequestTarget)
after. If you are
I have searched the archive and the last time someone asked about this seems
to be 2006. We are new to wicket and were impressed with the Editable tree
table example. We wanted to try to create a tree display that lets the users
edit the nodes of the tree by adding a button to add a child node or
>
>Can you give some code fragments?
>
>Eelco
On HomePage there are two divs, with tree and panel.
HomePage.html
...
show clicked node
tree
...
HomePage.java
public class HomePage extends WebPage {
private static final long serialVersionUID = 5775904098165685837L;
Can you give some code fragments?
Eelco
On 6/2/07, Vatroslav <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I'm trying to update (refresh) Panel from Ajax tree (by clicking tree item)
> but without success. :(
> I've checked, Panel's model is changed.
>
> If I put a Label component instead of Panel, and in
Hi,
I'm trying to update (refresh) Panel from Ajax tree (by clicking tree item)
but without success. :(
I've checked, Panel's model is changed.
If I put a Label component instead of Panel, and inside
onNodeLinkClicked(AjaxRequestTarget target, TreeNode node) method modify
Label's model and then r
but if you dont really care about the web2.0 kiddies you can do it the old
fashioned way as well - via javascript.
class addnewitempage extends webpage implements iheadercontributor {
private boolean itemadded=false;
form f=new form(..);
f.add(new button("add") {
onsubmit() { ; itemad
* Sridhar.N:
> I have a user interface which is having 2 frames.
Frames are not really Web 2.0, I would use a SplitPane:
http://www.demay-fr.net:8080/WCD13/app/?wicket:bookmarkablePage=%3Awicket.contrib.dojo.examples.SplitContainerSample
--
Jean-Baptiste Quenot
aka John Banana Qwerty
ht
Hi,
I have a user interface which is having 2 frames. In the left frame I have
the dynamic tree which is populated dynamically from database on click of a
node. I have links on the nodes which refreshes the right frame with
appropriate pages.My problem is, when ever a new item is added to the DB
f
Uhm.
I need to have it in session for other reasons, but even with this as a
property, I still having the same problem..
Thanks!
Any idea?
On 4/19/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
I don't understand why you store the "nav" page in session. It should
be a property of the Main page.
c
I don't understand why you store the "nav" page in session. It should
be a property of the Main page.
class Main extends WebPage {
private Page nav = null;
}
and in the PageCreator:
if (nav == null) {
nav = new Navigation(Main.this);
}
return nav;
-Matej
On 4/19/07, Renan Camponez <[EMAIL
This doesnt works.. :(
Now, when I click on the Ajax Link for the second time, the Main page is
showed inside the ModalWindow, instead of the page who has the tree.
Following, the code:
I have a Main page, who has this modal window, and the Ajax Link:
modal = new ModalWindow("modal");
modal.se
Is there a page inside modal window? Just keep the page reference
between showing the window, don't creae new page instance every time
(inside the PageCreator).
-Matej
On 4/19/07, Renan Camponez <[EMAIL PROTECTED]> wrote:
> Hi all,
> Here is my problem:
>
> I have a Ajax Link who shows a ModalWin
Hi all,
Here is my problem:
I have a Ajax Link who shows a ModalWindow (modal2.show(
evt.getAjaxRequestTarget());) when clicked.
Inside this modal window, I have a
wicket.extensions.markup.html.tree.Treeobject.
The problem is: The user "changes the status" of this Tree (collapsing the
nodes), th
The best way to do this is to ignore the Tree components we ship. What
you're after here is either something similar to
https://svn.sourceforge.net/svnroot/wicket-stuff/branches/WICKET_1_2/wicket-contrib-navmenu
or something based on a javascript (client side only) tree.
Eelco
On 4/5/07, BPnwn <
Nicolai Dymosz wrote:
>
> Hi All,
>
> i built a tree (wicket.extension.markup.html.tree.Tree). The tree works
> fine. But now i want to use the tree for navigation.
>
> I just found examples to build a tree, but i didn`t find some examples to
> use the tree for navigation.
>
> Can anyone giv
Nicolai Dymosz wrote:
>
> Hi All,
>
> i built a tree (wicket.extension.markup.html.tree.Tree). The tree works
> fine. But now i want to use the tree for navigation.
>
> I just found examples to build a tree, but i didn`t find some examples to
> use the tree for navigation.
>
> Can anyone giv
Hi All,
i built a tree (wicket.extension.markup.html.tree.Tree). The tree works fine.
But now i want to use the tree for navigation.
I just found examples to build a tree, but i didn`t find some examples to use
the tree for navigation.
Can anyone give me further information in how to make tre
It works now. Thanks for your fast reply!
Regards
Boon Ping
On 3/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
what you want is
getsessionsettings().setpagemapevictionstrategy(new
leastrecentlyaccessedevictionstrategy(15))
-igor
On 2/28/07, Lan Boon Ping <[EMAIL PROTECTED]> wrote:
> Hi
what you want is
getsessionsettings().setpagemapevictionstrategy(new
leastrecentlyaccessedevictionstrategy(15))
-igor
On 2/28/07, Lan Boon Ping <[EMAIL PROTECTED]> wrote:
Hi all,
I have a Page Expired issue in tree node link, for example I have a tree,
when i click on any node 6 times or
Hi all,
I have a Page Expired issue in tree node link, for example I have a tree,
when i click on any node 6 times or more and click 5 times on "Back" button
back to first visited page, and click on any tree node I will get Page
Expired exception. Does anyone know how to solve this problem? By
Hello,
I am also working on the same senario,but i not able to reconstruct the tree
with the child nodes given a parent node on click of a particular node.I
have overriden the onNodeClickedEvent() of the AbstractTree but the tree in
the webpage does',t show the child nodes on refresh.
Plz Help .
I’d used Tree component(id=”tree”)
as navigation layout, I want to change another panel component(id=”main”)
of the same layout when one tree node clicked, But nothing change occur. When I
use the link component to change the same panel component(id=”main”)
followed the nested demo of wicke
I believe in 1.2.2 it does. In svn it should be fixed. It's actually not
Tree/TreeTable bug, but it's a browser quirk (IE I believe)
-Matej
Steve Knight wrote:
> Matej,
>
> Does the TreeTable component in 1.2.2 suffer from the same image issue
> as the Tree component? I might just switch to t
Matej,Does the TreeTable component in 1.2.2 suffer from the same image issue as the Tree component? I might just switch to the TreeTable.SteveOn 9/21/06,
Matej Knopp <[EMAIL PROTECTED]> wrote:Scrolling shouldn't be a problem.
Well. In 1.2.2 there was a problem with internet explorer in standa
Yes, but consider that you want to have border (non-scrolling) around
your tree. So you'll have to put overflow:auto to a element outside tree
(the one with border and width set).
-Matej
Marc-Andre Houle wrote:
> By default, from what I have seen in tree.css, it is already set to
> overflow:au
By default, from what I have seen in tree.css, it is already set to overflow:auto. So it is not necessary.MarcOn 9/21/06, Matej Knopp <
[EMAIL PROTECTED]> wrote:One more thing. Instead overflow:scroll it would be better to have
overflow:auto.-MatejMatej Knopp wrote:> Scrolling shouldn't be a probl
One more thing. Instead overflow:scroll it would be better to have
overflow:auto.
-Matej
Matej Knopp wrote:
> Scrolling shouldn't be a problem.
>
>
>
>
>
>
> Well. In 1.2.2 there was a problem with internet explorer in standard
> compliance mode, images were staying even if tree scrol
Scrolling shouldn't be a problem.
Well. In 1.2.2 there was a problem with internet explorer in standard
compliance mode, images were staying even if tree scrolled. In current
svn this is fixed. Can you please try current 1.x from svn?
-Matej
Steve Knight wrote:
> Ok, I just noticed th
Ok, I just noticed that the tree component has built-in scrolling, but the problem remains valid. The images don't scroll...at least not in IE. In Firefox, the scrollbars don't even show up.
On 9/21/06, Steve Knight <[EMAIL PROTECTED]> wrote:
I am using the new tree component that was backported
I am using the new tree component that was backported to 1.2, but I am having trouble putting the tree into a scrollable div. I would like to restrict the tree to a certain height on screen, and when the tree gets larger it should show vertical scrollbars. This sort of works. The text scrolls fi
Title: Tree
Hello,
I use the wicket tree component, is it possible to disable the style sheet?
Because we want to use our own.
Thank you,
Henk Laracker
Lead Architect
Development
Planon B.V.
Wijchenseweg 8
6537 TL Nijmegen
P.O. Box 38074
6503 AB Nijmegen
Th
Hello,
I use the wicket tree component, is it possible to disable the style sheet?
Because we want to use our own.
Thank you,
Henk LarackerLead ArchitectDevelopmentPlanon B.V.Wijchenseweg 86537 TL NijmegenP.O
. Box 380746503 AB NijmegenThe NetherlandsT: +31 (0) 24 641
Title: Tree
Hello,
I use the wicket tree component, is it possible to disable the style sheet?
Because we want to use our own.
Thank you,
Henk Laracker
Lead Architect
Development
Planon B.V.
Wijchenseweg 8
6537 TL Nijmegen
P.O. Box 38074
6503 AB Nijmegen
Th
You just need to override:
protected PackageResourceReference getCss()
{
return CSS;
}
Cheers,
Dave
On Thu, 2006-07-27 at 11:22 +0200, Henk Laracker wrote:
> Hello,
>
> I use the wicket tree component, is it possible to disable the style
> sheet?
>
> Because we want to use our own.
>
Yep. Override getCss:
protected PackageResourceReference getCss()
{
return new PackageResourceReference(FooTree.class, "bar.css");
}
Also note that since a few days (will be in 1.2.2) there is a new tree
component put in extensions for 1.2.x, and will repla
Title: Tree
Hello,
I use the wicket tree component, is it possible to disable the style sheet?
Because we want to use our own.
Thank you,
Henk Laracker
Lead Architect
Development
Planon B.V.
Wijchenseweg 8
6537 TL Nijmegen
P.O. Box 38074
6503 AB Nijmegen
Th
I have no idea, your code looks fine to me. Did you try pasting in
your model in e.g. wicket.examples.nested? See if that works... it's
probably something small and stupid that is overlooked here.
Eelco
On 7/20/06, Rice Yeh <[EMAIL PROTECTED]> wrote:
> Hi,
> I write a tree component by extendi
Hi, I write a tree component by extending wicket.markup.html.tree.Tree. Also I extend the javax.swing.tree.DefaultTreeModel. I have my TreeModel tested in swing. It works fine. However, my tree just show the root node in wicket. What is going wrong? I have my code attached.
Regards,Rice
Tree.jav
-
From: "Johan Compagner" <[EMAIL PROTECTED]>
To: wicket-user@lists.sourceforge.net
Date: Fri, 14 Jul 2006 11:31:05 +0200
Subject: Re: [Wicket-user] tree model
> That looks strange to me.
> i have used my own implementations. Where does the class cast exactly come
> from?
>
way I can use?
> >
> >
> > -Original Message-
> > From: Michael Welter <[EMAIL PROTECTED]>
> > To: Арву Оетук <[EMAIL PROTECTED]>, wicket-user@lists.sourceforge.net
> > Date: Thu, 13 Jul 2006 03:33:53 -0600
> > Subject: Re: [Wicket-user] tre
OTECTED]>> To: Арву Оетук <[EMAIL PROTECTED]>, wicket-user@lists.sourceforge.net
> Date: Thu, 13 Jul 2006 03:33:53 -0600> Subject: Re: [Wicket-user] tree model>> >> > Absolutely! The ability to drill-down into a data structure without> > having to instantiate th
icket-user@lists.sourceforge.net
> Date: Thu, 13 Jul 2006 03:33:53 -0600
> Subject: Re: [Wicket-user] tree model
>
> >
> > Absolutely! The ability to drill-down into a data structure without
> > having to instantiate the entire structure in memory.
> >
> >
Can you send more information?
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Арв?EОе
> тук
> Sent: 13 July 2006 20:59
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] tree model
>
>
> When I use cla
l 2006 03:33:53 -0600
Subject: Re: [Wicket-user] tree model
>
> Absolutely! The ability to drill-down into a data structure without
> having to instantiate the entire structure in memory.
>
> Арву Оетук wrote:
> > Hi all.
> > I want use big tree model.
> > But I
Absolutely! The ability to drill-down into a data structure without
having to instantiate the entire structure in memory.
Арву Оетук wrote:
> Hi all.
> I want use big tree model.
> But I don't want load all tree in memory.
> Is it possible use TreeNode instead DefaultMutableTreeNode?
> Or other
Hi all.
I want use big tree model.
But I don't want load all tree in memory.
Is it possible use TreeNode instead DefaultMutableTreeNode?
Or other way exists?
Dmitry.
-
Using Tomcat but need to do more? Need to support web ser
Martijn,
I am using Wicket 1.1.-b2 release. Yes, I use the Wicket jar from rhe
distribution.
Dzenan
Dzenan,
The Tree component itself has images (see source pasted below). I don't
know why you get a NPE though. What kind of Wicket set up are you using?
Do you use the wicket jar from the
Dzenan,
The Tree component itself has images (see source pasted below). I don't
know why you get a NPE though. What kind of Wicket set up are you using?
Do you use the wicket jar from the distribution, or did you build one
yourself?
Martijn
public abstract class Tree extends AbstractTree i
Hi,
I have a tree without images and I still get the following error:
Exception in thread "main" java.lang.ExceptionInInitializerError
at
org.wicket.urls.app.view.category.CategoriesTreeState.main(CategoriesTreeState.java:129)
Caused by: java.lang.NullPointerException
at
wicket.markup.h
73 matches
Mail list logo