-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In terms of SSL, for only *some* pages:
1) Pretty much ignore the declarative approach within web.xml. It applies to URL paths (which is fine), but since Tapestry uses a single servlet, there is only one URL. Thus using declarative is an on/off approach. 2) Heres one way: Create yourself a custom page, extending BasePage. All secure pages within your application should inherit this page. Within the .validate() method of this page, you can see if the connection is secure (and if the user is logged on, etc). If not - you can redirect them to a login page, using the cycle.setPage() method. In order to get them back to the page they were originally requesting, you need to add a very small amount of code to your login page. The VLib example shows this, whereby the login takes a callback. The secure base page sets the redirect up before it forwards to the Login page. Thus the cycle is complete. Hope this helps. Neil On Saturday 02 Nov 2002 10:26 am, Programozás wrote: > Hello! > > 1. Can I use multiple CSS files (using Shell)? > 2. In my component I would like to use private CSS styles, not from a VERY > global CSS file. How can I do this? 3. Can I make only some of my pages > secure (SSL)? > > Please answer! > Thanks, > Norbi > > Ps.: Sorry if you receive this mail twice, I think my mail server has > problems. - -- Regards, Neil Clayton (PS: If you see strange text you don't understand underneath my email, don't worry - it's just my PGP signature) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9xOdsLXcfQF3yrNoRAkloAKCFeCLnfUJ9lk5sy2BUw9ZPjJAzrACeL3Oj AXa09p4oimWqwfQlUSNcKl4= =FGCK -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com _______________________________________________ Tapestry-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/tapestry-developer
