If you are using 5.1 then you should contribute using the application defaults :

public static void contributeApplicationDefaults( MappedConfiguration<String, String> configuration )
   {
       configuration.add( MetaDataConstants.SECURE_PAGE, "true" );
   }

If your entire application is using https then you don't need to configure the ports as all url's will be relative.

Kind regards,
Joachim


Andrew Nguyen wrote:
Hi all,

I found the following page:

http://tapestry.apache.org/tapestry5/guide/secure.html

And used the following piece of code:

public void contributeMetaDataLocator(MappedConfiguration<String,String> configuration)
{
    configuration.add(MetaDataConstants.SECURE_PAGE, "true");
}
And have confirmed that the function is called and everything. However, ActionLinks that I have within the application still point to http://.... instead of https:// Also, is there any way besides rewriting the baseurl to use a non-standard port (e.g. 8443?) I'd like to be able to use the same code for a development deployment as well as a production one and not have to make any changes...

Thanks,
Andrew


--
Joachim Van der Auwera
PROGS bvba, progs.be


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to