Hey John,

What I've done when moving from 5.3.7 -> 5.4 is remove the tapestry5-jquery
pom dependency and put this into AppModule

configuration.add(SymbolConstants.JAVASCRIPT_INFRASTRUCTURE_PROVIDER,
"jquery");

Does me fine, but I don't do much jquery-ing.



On Mon, Aug 25, 2014 at 10:16 PM, John <j...@quivinco.com> wrote:

> Hi,
>
> Yes I am using 5.3.7.
>
> I added this code as suggested...
>
>       public void
> contributeMetaDataLocator(MappedConfiguration<String,String> configuration)
>       {
>           configuration.add(MetaDataConstants.SECURE_PAGE, "true");
>       }
>
>
> The above seems to break my eventlinks in production mode (ok in dev
> mode), probably a js problem?
>
> Maybe time to look at 5.4, but I am using Tapestry5-jquery and that
> doesn't work with 5.4!
>
> John
>   ----- Original Message -----
>   From: Thiago H de Paula Figueiredo
>   To: Tapestry users
>   Sent: Monday, August 25, 2014 12:27 AM
>   Subject: Re: bad secure links
>
>
>   On Sun, 24 Aug 2014 19:31:34 -0300, John <j...@quivinco.com> wrote:
>
>   > I started running my app in production mode but I get these bad links
>   > (the yui compressor throwing exceptions too)
>   >
>   > <a
>   > href="
> http://bespokebookings.com:443/book/ad/JohnDoe?t:state:client=hrDi7mYAc4b+9Eu47WlbXwHGNlY=:H4sIAAAAAAAAAD1MrU4DQRAe2h6U4DC8AHqrUJUEkks3hKRPMLkblm32ZpbZ4WgNFsmL8EJoNA6FYs9gvnz/H9/QvCwAYFYUNqLBYcbukZxhpmJ6uHKRjZQxuUI6xo6Ku06R2O5JSyxW2W2k1G9NFAO1Q06XGzp8/ly8n3z9vs1g7uGskyEL12rbG5z7HY64SshhtTWNHNYeTh+mkzsc6Ale4cjDMte3f73PBs0YNNb9MkmHFoWr1XJPe4NjL9wLl6kLE8wNFqiEE29qfvOskukPTKcHSe4AAAA=
> ">John
>   > Doe</a>
>   >
>   > I've recall seeing this sometime before, I think Tapetsry is trying to
>   > force links to be secure but it gets the protocol wrong, no need for
> the
>   > oort number either!?
>   >
>   > What is the fix please?
>
>   What's the Tapestry version please? :) I guess it isn't 5.4, as you're
>   using tapestry-yuicompressor, which is deprecated in 5.4 due to too much
>   bugs.
>
>   Anyway, you can customize the handling of secure and non-secure links by
>   overriding, decorating or advising the BaseURLSource service. Looking at
>   the default implementation in 5.4, I cannot see it getting the HTTPS port
>   wrong.
>
>   --
>   Thiago H. de Paula Figueiredo
>   Tapestry, Java and Hibernate consultant and developer
>   http://machina.com.br
>
>   ---------------------------------------------------------------------
>   To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>   For additional commands, e-mail: users-h...@tapestry.apache.org
>
>
> ---
> This email is free from viruses and malware because avast! Antivirus
> protection is active.
> http://www.avast.com
>

Reply via email to