hi,

I have one page with http protocol and pagelink in it.
Pagelink points https @secure page.

But problem is that pagelink generate https://localhost/digi/newpage link,
and not with alias localhost:8443.

http page is in port 8080, but pagelink do not understand that https port is
8443.

I also tried do add
    public void contributeAlias(Configuration<AliasContribution>
configuration)
       {
               BaseURLSource source = new BaseURLSource()
               {
                      public String getBaseURL(boolean secure)
                    {
                        String protocol = secure ? "https" : "http";

                        int port = secure ? 8080 : 8443;

                        return String.format("%s://localhost:%d", protocol,
port);
                    }
            };

configuration.add(AliasContribution.create(BaseURLSource.class,source));

       }


in AppModule.java

But this does not help.

Any ideas?

Argo

Reply via email to