The struts nightlies for the 2.X line do not include plugins (though the 2.0.x lines do... I am not sure why). You will have to build it yourself. If you feel like trying it out, download the source using subversion. I am on windows and use TortoiseSVN which is nice and user friendly. You can get it here http://tortoisesvn.net/downloads. Next you will need to install maven to build, which can be found http://maven.apache.org/download.html. You can check out the struts code by right clicking in a folder a selecting "SVN Checkout". The URL is http://svn.apache.org/repos/asf/struts/struts2/trunk. After the checkout, from the command line, navigate to the stuts/plugins/dojo directory and type mvn -Dmaven.test.skip=true. Maven should automatically do any extra downloading and compiling and you should be left with a nice jar in the targets directory.
As for if it will work for struts 2.0.9, I suspect it will, but have not tested. Plugins are modular and I don't know of anything that would prevent it from working on 2.0.9. With out site, I switched the main struts build in dev over to the 2.1 line by just swapping in the new jars I built. It "just worked" for me after the change with no weird bugs, but because it's a dev build, I can't guarantee it will work for you. I am normally weary about using dev builds and I don't know what the release timeline for 2.1.0 is, but I found the improvements to the tree tag (and the whole dojo plugin) worth it. -nick -----Original Message----- From: Andre Prasetya [mailto:[EMAIL PROTECTED] Sent: October 19, 2007 2:39 AM To: Struts Users Mailing List Subject: Re: <s:tree> and Hibernate Where can i get this new dojo plugin ? and is it usable using 2.0.9 ? -Andre- Engelking, Nicholas wrote: > I just went through the same thing. In struts 2.1 there is a new href > attribute on the tree tag. It points to an action that returns some json > using the json plugin that gives all the info about the node. You should be > able to use it in Struts 2.0.9 as well by using the dew dojo plugin and by > using the json plugin. My code looks like this: > > In my jsp I add a reference to the struts dojo tags in the new dojo plugin: > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ******************** NOTICE OF CONFIDENTIALITY This communication including any information transmitted with it is intended only for the use of the addressees and is confidential. If you are not an intended recipient or responsible for delivering the message to an intended recipient, any review, disclosure, conversion to hard copy, dissemination, reproduction or other use of any part of this communication is strictly prohibited, as is the taking or omitting of any action in reliance upon this communication. If you receive this communication in error or without authorization please notify us immediately by return e-mail or otherwise and permanently delete the entire communication from any computer, disk drive, or other storage medium. If the above disclaimer is not properly readable, it can be found at www.td.com/legal AVERTISSEMENT DE CONFIDENTIALITE Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement aux destinataires susmentionnés, est confidentiel. Si vous nêtes pas le destinataire prévu ou un agent responsable de la livraison de ce courriel, tout examen, divulgation, copie, impression, reproduction, distribution, ou autre utilisation dune partie de ce courriel est strictement interdit de même que toute intervention ou abstraction à cet égard. Si vous avez reçu ce message par erreur ou sans autorisation, veuillez en aviser immédiatement lexpéditeur par retour de courriel ou par un autre moyen et supprimer immédiatement cette communication entière de tout système électronique. Si l'avis de non-responsabilité ci-dessus n'est pas lisible, vous pouvez le consulter à www.td.com/francais/legale