Re: hide special pages ...

2016-08-29 Thread Chris Poulsen
Just return something from you activate, e.g: Object onActivate() { return new HttpError( 404, "Resource not found"); } On Tue, Aug 30, 2016 at 1:25 AM, Juan M Garrido de Paz < juanm.garrido@gmail.com> wrote: > Hello, I'm using Tapestry with Spring Boot and embedded tomcat (jar > packag

hide special pages ...

2016-08-29 Thread Juan M Garrido de Paz
Hello, I'm using Tapestry with Spring Boot and embedded tomcat (jar packaging). Is it posible to hide certain pages like for example errors 403, 404, 500; or the pages for propertyblocks... so that the user can't type their url and get them? Thank you.

how to pass geolocation coords as hidden values in login form

2016-08-29 Thread Qbyte Consulting
Hi, Does anyone have an idea how to pass latitude and longitude as hidden values in a login for with T5.4, or any other tricks to get this data into a component? John

RE: Logical Page Name Shortening

2016-08-29 Thread Svein-Erik Løken
@Contribute(PageRenderLinkTransformer.class) @Primary public static void provideURLRewriting(OrderedConfiguration configuration) { configuration.addInstance("SupportOldPhpUrls", OldPhpSystemLinkTransformer.class); } public class OldPhpSystemLinkTransformer implements PageRenderLinkTransfo

RE: Logical Page Name Shortening

2016-08-29 Thread Lherm Nicolas
Okay thanks, I read the https://tapestry.apache.org/url-rewriting.html and saw that Tapestry URL Rewriting API does not exist anymore and has been replaced with the LinkTransformer service. Is there any example to use this service ? De : Thiago H de Paula Fi

Re: Javascript black fade window on everypage unil js loaded.

2016-08-29 Thread Pavel Chernyak
Thank you, exactly what i need. On 29 August 2016 at 13:14, Carlos Montero Canabal < carlosmonterocana...@gmail.com> wrote: > You can disable loading mask into your AppModule with the symbol > > /** > * If true, then when a page includes any JavaScript, a {@code script} > block is added

Re: Javascript black fade window on everypage unil js loaded.

2016-08-29 Thread Carlos Montero Canabal
You can disable loading mask into your AppModule with the symbol /** * If true, then when a page includes any JavaScript, a {@code script} block is added to insert * a pageloader mask into the page; the pageloader mask ensure that the user can't interact with the page * until

Javascript black fade window on everypage unil js loaded.

2016-08-29 Thread Pavel Chernyak
Greetings. I think everyone already noticed when page is opened on t5.4 - there some time till all js libralies loaded. Is there any options, how to optimize and speed it up? Or maybe disable it? -- With best regards, Pavel Chernyak