----- Original Message ----- From: "Jozsa Kristof" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 30, 2002 12:01 AM Subject: [Tapestry-developer] community list/forum for user questions
> Hello, > > May I ask if there is any user's mailing list, or forum (JGuru comes in my > mind) around for the community of Tapestry, or is that list the proper place > to ask user questions as well?\ This is the place. > > Eg. I'd like to know, whether I can store non-serializable objects into the > HttpSession of an user, and still use it from Tapestry, or that won't work > out (I understand, that the Visit object cannot be used for such a task). You can store non-serializable data as persistent page properties or in the visit but you'll defeat clustering if you do so. Think in terms of reconstructing your data; so if you can't store a database object, store its primary key. If you can't store a connection pool, store its JNDI name, etc. Use synthetic properties, or just-in-time calculation, to go from the "seed" back to the full value. > > An other example question would be: is it possible to use more than one > class per Tapestry page in the .jwc (or .page :) specification tag? Not as such ... how would Tapestry know which class to use in which place? However, if you carefully read the docs, there's the concept of "helper beans". These are addtional JavaBeans you can instantiate and configure (with some control over their lifecyle). Often, reusable objects such as a validation delegate can be created as helper beans. ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31 _______________________________________________ Tapestry-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/tapestry-developer