Howdy! Is there a reason that you're leaving out Hivemind? If not, I can show a fairly simple way of injecting an Application State Object (ASO) that can contain your "userinfo".
Just let me know! -Ben On 5/4/07, li li <[EMAIL PROTECTED]> wrote:
Hi friends: I use Tapestry4.0.2. I find that the "getVisit" is deprecated. So I don't want to use it. I develope a web application.After user logon,I will store "userinfo" in httpsession.The "userInfo" could be used in many pages. So I need have to use httpsession. I mean that I couldn't use page persist,because the "userInfo" is shared by all pages.I see the document in tapestr4: http://tapestry.apache.org/tapestry4/UsersGuide/state.html#state.aso.defining Need I have to use hivemind ? Now our company use spring as logic layer. So I don't use hivemind. Is there any way that I could use httpsession,but don't have to config hivemind ? Thanks! *离人网 * ------------------------------ From: *"Howard Lewis Ship" <[EMAIL PROTECTED] >* Reply-To: *"Tapestry users" <users@tapestry.apache.org>* To: *"Tapestry users" <users@tapestry.apache.org>* Subject: *Re: [announce] new goodies for tapestry 4.1* Date: *Tue, 1 May 2007 11:17:27 -0700* >Cool, cool stuff. > >On 4/29/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: >> >>A couple new things have been added, which people may/may not be >>aware of. >> >>-) Josh Long contributed a new maven2 archetype to help get people >>up and >>running with typical configurations like Spring / Jetty / etc in a >>Tapestry >>project. You can read more about it in his blog entries here: >> >>http://www.joshlong.com/jl/entry/20070227 >>and >> http://www.joshlong.com//jl/entry/20070305 >> >>Or on the project page for it at >>http://tapestry.apache.org/tapestry4.1/tapestry-archetype/index.html >>. >> >>-) I finally stuck some documentation pages up covering some of the >>unit >>testing code that we've been using in Tapestry for a while now but >>never >>bothered to document fully. It's a separate download that you can >>use to >>help test your tapestry apps. (and is also what we use to test >>Tapestry >>itself) . Howard wrote all / most of the code of course, I've just >>moved >>it >>around some and put it on a web site I can control. >> >>http://tapestry.apache.org/tapestry4.1/tapestry-test/index.html >> >>-) A somewhat experimental new piece of code has been stuck in >>tapestry-contrib (do I even need to say it's 4.1.2-SNAPSHOT only ? >>) to >>generate different kinds of useful images in your applications. >>Most of >>the >>code is concerned with rounded corner generation but I also added >>in some >>drop shadow rendering. There is no documentation on it yet as I'm >>not done >>with it but whatever there is should be covered in these places: >> >>http://blog.opencomponentry.com/2007/04/23/google-rounded-corners/ >>http://ajaxian.com/archives/rounded-and-shaded-corners >> http://ajaxian.com/archives/googles-rounded-corner-generator >> >>The images in the demo page here are all generated using this >>service. >>(most >>from urls you can embed in simple css declarations) >> >>http://opencomponentry.com:8080/timetracker/LocaleList.html >> >> >> >>-- >>Jesse Kuhnert >>Tapestry/Dojo team member/developer >> >>Open source based consulting work centered around >>dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com >> > > > >-- >Howard M. Lewis Ship >TWD Consulting, Inc. >Independent J2EE / Open-Source Java Consultant >Creator and PMC Chair, Apache Tapestry >Creator, Apache HiveMind > >Professional Tapestry training, mentoring, support >and project work. http://howardlewisship.com ------------------------------ 使 用世界上最大的电子邮件系统― MSN Hotmail <http://g.msn.com/8HMBCNCN/2752??PS=47575>Get 2 months FREE*. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]