Re: [Wicket-user] Adding nodes to ajax TreeTable.
Ed, Instead of adding the new TreeNode to the TreeNode that the user clicked on, you should insert the new TreeNode into your DefaultTreeModel object. DefaultTreeMethod provides this method: public void insertNodeInto(MutableTreeNode newChild, MutableTreeNode parent, int index) Regards, Sean >Date: Fri, 20 Oct 2006 12:23:08 -0700 >From: "Johnson, Ed A" <[EMAIL PROTECTED]> >Subject: [Wicket-user] Adding nodes to ajax TreeTable. > > >I have a TreeTable that I want to add nodes to when it is clicked. I am >able to catch the event and add the node, but the webpage doesn't show >the new nodes. It does change the node on the page to show an icon that >indicates there are children nodes, but it won't expand. Is there >something more I need to do than I have done below? I can output my >tree on the server and see that the new node is added. > >Thanks, > >Ed > >protected void onNodeLinkClicked(wicket.ajax.AjaxRequestTarget target, >javax.swing.tree.TreeNode node) >{ > DefaultMutableTreeNode mutableNode = (DefaultMutableTreeNode) >node; > mutableNode.add(new DefaultMutableTreeNode(new >StingBusinessProcessTreeable("new Item"))); > getTree().updateTree(target); >} > > > > >- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >___ >Wicket-user mailing list >Wicket-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Menu bar
I'd love to see a menu bar for Wicket. I've been researching the topic and I found these solutions for non-Wicket frameworks: Tapestry: http://metamorphosis.krysalis.org/krysalis-menu/ Struts: http://struts-menu.sourceforge.net/ Echo2 framework: http://echopoint.sourceforge.net/VisualIndex/MenuBar.html >-- Original Message -- >Date: Thu, 28 Sep 2006 15:42:00 +0200 >From: "Stefan Lindner" <[EMAIL PROTECTED]> >To: >Subject: [Wicket-user] Menu bar >Reply-To: wicket-user@lists.sourceforge.net > > >Is there anybody out there who is already working on a manu bar >component for wicket-extensions? If not: perhaps I can generalize my >quick and dirty solution. > >Stefan Lindner > >- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >___ >Wicket-user mailing list >Wicket-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Download after form submit
In my application, I created an abstract base form (BaseForm.java) which declares this method: public void setResponse(byte[] filedata, String filename) All of my form classes extend the BaseForm class. Here's my code: http://oscon2006.sourceforge.net/xref/oscon2006/web/BaseForm.html http://oscon2006.sourceforge.net/xref/oscon2006/web/DatabaseQueryForm.html Cheers, Sean >-- Original Message -- >Date: Mon, 18 Sep 2006 19:51:28 +0200 >From: "Ralf Ebert" <[EMAIL PROTECTED]> >To: wicket-user@lists.sourceforge.net >Subject: [Wicket-user] Download after form submit >Reply-To: wicket-user@lists.sourceforge.net > > >Hi, > >the solution for downloading a file immediately after a form submit >(http://www.wicket-wiki.org.uk/wiki/index.php/Best_Practices_and_Gotchas#Starting_download_after_form_submission_.28Wicket_1.1.29) >seems to be not working anymore for Wicket 1.2. Is there a way in >Wicket 1.2 to do this? It would be great if there would be a way to >redirect to a Resource, so existing DynamicWebResources could be >used... > >Regards and thx, >Ralf > >- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >___ >Wicket-user mailing list >Wicket-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user