Re: [Informal poll] Version number for Jakarta EE-supporting Tapestry version

2024-08-01 Thread Carlos Montero Canabal
I agree with Kalle. It's a big breaking change (all dependencies have to be compatible with JakartaEE too, for example Spring Framework), I would sum +1 to the major version in favour of 6.x. On the other hand, thank you for your work with the framework and the migration to Jakarta EE. Best Regar

Re: [ANNOUNCEMENT] Tapestry 5.8.4 release

2024-02-13 Thread Carlos Montero Canabal
Good job Tapestry Team, congratulations! I have a question. This release supports Java 21 but checking Tomcat versions (https://tomcat.apache.org/whichversion.html), If I want to use Java 21 I have to use Tomcat 11.0.X and this version requires servlet spec 6.1. From the 6.0 version, servlet is pr

Re: [ANNOUNCEMENT] Tapestry 5.7.1 and 5.6.3 released

2021-03-22 Thread Carlos Montero Canabal
Yong wrote: > > > > > Thiago, > > > > > > Thanks for this good news , my previes company use t5 for very huge > > > company in china in production ... > > > > > > > > > Best regards > > > hongdengdao > > > >

Re: [ANNOUNCEMENT] Tapestry 5.7.1 and 5.6.3 released

2021-03-19 Thread Carlos Montero Canabal
Thank you Thiago, I'm agree with Svein, in my case: 3.731.131 users 5.922.653 pages in one year with a server with 4GB of memory... and It runs very very fast... without any restart. Keep working that way Best regards Carlos Montero El vie, 19 mar 2021 a las 21:32, Svein Erik Løken (< svein

Re: CSS files are not combined into one single file

2020-06-18 Thread Carlos Montero Canabal
Hi Dongmei, I wrote some years ago a mini post about it: http://tapestry5.dev-util.com/optimization/cssstack In the example you can see how to create the css stack by maven plugin or, (my preferred option) by less file. You only have to create a new less file and import into them all css or less

Re: Modules into Tapestry 5.5.0

2020-04-14 Thread Carlos Montero Canabal
os will not be silently > ignored. I recommend adding line > 'use strict'; > at the beginning of your .js file, so the code will work the same way in > the development and and the production mode. > > Best regards, > Cezary > > > > > On Mon, Apr

Modules into Tapestry 5.5.0

2020-04-13 Thread Carlos Montero Canabal
Hi Tapestry users! I'm deploying my first 5.5.0 app into production... and I checked that my modules js doesnt work with production mode = true. Example: article.js: define(["jquery", "prism"], *function*($, Prism) { init = *function*(){ Prism && Prism.hasOwnProperty('default') ? Prism['defau

Re: Apache Tapestry 5.5.0 released

2020-03-23 Thread Carlos Montero Canabal
Thank you so much Tapestry team! I will use it in my next project. El lun., 23 mar. 2020 a las 22:02, Thiago H. de Paula Figueiredo (< thiag...@gmail.com>) escribió: > Hello, everyone! > > 5.5.0 has finally arrived! Here are the release notes with the details: > https://tapestry.apache.org/releas

Re: Bootique-tapestry

2020-01-10 Thread Carlos Montero Canabal
/example/my-app.properties")); > } > > and put my-app.properties in "com/example" inside "src/main/resources" > > Cezary > > > > > > > On Thu, Jan 9, 2020 at 8:46 PM Carlos Montero Canabal < > carlosmonterocana...@gmail.com>

Bootique-tapestry

2020-01-09 Thread Carlos Montero Canabal
Hi tapestry users, I'm developing my first bootique-tapestry project and I have some doubts. In "traditional" tapestry projects (using maven), we have the folder src/main/webapp. In this folder I usually put files like robots.txt or another files for google and google bot. This files always showe

Re: Browser History API

2019-02-20 Thread Carlos Montero Canabal
Hi Geoof, Yes, I have to use to create a spa. I have an simple example here http://tapestry5.dev-util.com/specialpages/spa/block1 . You can click on link Page2 and Page1 an check the ajax requests and the url on browser. You can click then on Back button and and see how the url and zone content up

Re: [ANNOUNCEMENT] Tapestry 5.4.4

2018-12-19 Thread Carlos Montero Canabal
I'm serving AMP pages with Tapestry ( https://elcocinerocasero.com/amp/receta/tortilla-de-patata ). I hope to upload an example to http://tapestry5.dev-util.com/ this weekend with the workaround to do it... But yes, AMP and XHTML aren´t good friends... El mié., 19 dic. 2018 a las 17:03, Rafael Bug

Re: [ANNOUNCEMENT] Tapestry 5.4.4

2018-12-19 Thread Carlos Montero Canabal
Great news and great work Tapestry Team! El mié., 19 dic. 2018 a las 0:15, Thiago H. de Paula Figueiredo (< thiag...@gmail.com>) escribió: > You're welcome! > > Tapestry 5.5, supporting Java 11, will be released in the next couple > months at most. > > On Tue, Dec 18, 2018 at 5:54 PM Cezary Biern

Re: How to disable the tapestry default loading on refresh page

2018-12-12 Thread Carlos Montero Canabal
Hi, If you want you can disable it throw SymbolsContants on AppModule https://tapestry.apache.org/5.4/apidocs/org/apache/tapestry5/SymbolConstants.html#ENABLE_PAGELOADING_MASK public void contributeApplicationDefaults(MappedConfiguration configuration) { configuration.add(SymbolConstants.ENABL

Re: favicon.ico

2018-07-29 Thread Carlos Montero Canabal
Hi Geoff, I think the basic solution is put your favicon.ico into src/main/webapp folder. I usually put here the robots.txt and it works fine. Regards Carlos Montero > El 29/7/2018, a las 15:43, JumpStart > escribió: > > Is there a way to have Tapestry serve up favicon.ico? That is, an imag

Re: ServerSocket from within Tapestry

2018-06-07 Thread Carlos Montero Canabal
quot;+ baseUrl +"/chat”); I hope the configuration for webapp helps you. Regards Carlos Montero Canabal > El 7/6/2018, a las 8:10, Christopher Dodunski > escribió: > > Thanks Eugen, and where did you place the server-side class decorated with > @ServerEndpoint("

Re: Single Page Application

2018-06-05 Thread Carlos Montero Canabal
bsite but I think it worse... I only upload the code necessary to start and understand the way to do it. I hope my example helps you Regards Carlos Montero Canabal 2018-06-05 1:12 GMT+02:00 Bob Harner : > Carlos, it'll be great to see that SPA example on your dev-util site. > Looki

Re: Single Page Application

2018-06-04 Thread Carlos Montero Canabal
Some years ago I develop mi personal website (http://dev.carlosmontero.es ) as a SPA with tapestry using the zones system (you can try navigate and check on Network dev tools the requests and responses). I have to say that for a small project, It´s not so difficult

Re: Odd breaking exception in 5.4

2018-05-25 Thread Carlos Montero Canabal
I have this problem in some situations too. I have a tomcat instance with multiple Tapestry5 apps, some with 5.3 versions and anothers with 5.4 versions. To work fine, when I restart the tomcat, I have to start / load first the 5.3 apps, and then the 5.4, it’s the only way to run everyone in th

Re: Create components dynamically and add to page

2018-04-12 Thread Carlos Montero Canabal
o H. de Paula Figueiredo > escribió: > > On Thu, Apr 12, 2018 at 1:52 PM, Carlos Montero Canabal < > carlosmonterocana...@gmail.com> wrote: > >> Hi tapestry users, >> > > Hello! > > Being pedantic and accurate, the subject line of your e-mail is

Create components dynamically and add to page

2018-04-12 Thread Carlos Montero Canabal
Hi tapestry users, I’m developing a configurable dashboard page where a user can select different widgets to his own dashboard. I’m thinking on save on database the widgets with his configuration per user. I would like to do something like this: And in my

Re: [ANN] JumpStart 7 Released!

2018-01-11 Thread Carlos Montero Canabal
Great Job Geoff! Congrats!! I use it every time to resolve doubts ;) Best regards Carlos Montero > El 11/1/2018, a las 14:14, JumpStart > escribió: > > Hi all, > > At long last, JumpStart 7 has officially been released, with a downloadable > zip file, installation notes, and tips! > > I am

Re: How to render a block parameter in component

2017-08-30 Thread Carlos Montero Canabal
Hi! To render a block you have to write So, in your layout.ml file: > El 31/8/2017, a las 8:46, Joshua Richardson > escribió: > > I want to pass a block of rendered html as a component parameter. After 2hrs > searching I have been unable to find the right doc or example. I ha

Re: 5.4.2: How to completely disable Tapestry core stack?

2017-08-29 Thread Carlos Montero Canabal
Hi, For remove tapestry default css you can see here http://tapestry5.dev-util.com/optimization/remove-tapestry-default-css For javascript, I think it’s not posible remove core.js (includes requirejs and other files that

Re: Generic advice for upgrading from 5.3.8 to 5.4

2017-06-13 Thread Carlos Montero Canabal
For my experience (I had to upgrade 4 webapps), the mayor change is adapt your javascript to AMD Modules with RequireJS. If you use jquery.ready(function(){}) in your actual scripts, you have to move these logic to AMD Modules. The final result (webapp with Tapestry 5.4.X) is fantastic. > El 1

Re: Sign in with Facebook component

2017-01-02 Thread Carlos Montero Canabal
http://tapestry5.dev-util.com/javascript/facebooklogin A Facebook example with server login Regards Carlos Montero > El 2/1/2017, a las 17:14, Qbyte Consulting > escribió: > > I'd like to add a sign in/register with Facebook type comp

Re: AMP pages with Tapestry

2016-11-30 Thread Carlos Montero Canabal
return "text/html"; } }; } } I do a speed test and it takes around 40 milliseconds in generate de response, so it’s ok for me. Regards Carlos Montero > El 30/11/2016, a las 14:06, Thiago H. de Paula Figueiredo > e

AMP pages with Tapestry

2016-11-29 Thread Carlos Montero Canabal
Hello Tapestry users, I would like to create an amp version of my pages into a tapestry5.4 webapp. According to https://www.ampproject.org/docs/reference/spec#required-markup the root html only would be: Tapestry5 make a xhtml

Tapestry examples page

2016-11-08 Thread Carlos Montero Canabal
Hi tapestry users, I want to share with us my first version of http://tapestry5.dev-util.com webapp. I love jumpstart project (http://jumpstart.doublenegative.com.au/jumpstart7/ ), so I decided some weeks ago

Re: Ajax self refresh

2016-09-14 Thread Carlos Montero Canabal
Hi, You can see on http://jumpstart.doublenegative.com.au/jumpstart7/ the examples relatives to ajax periodic update Regards Carlos Montero Enviado desde mi iPhone > El 14 sept 2016, a las 9:23, Adam X escribió: > > Hello Tapestry, > > I am implementing a page which displays various trans

Re: HTTPS on not @Secure page

2016-09-06 Thread Carlos Montero Canabal
} } I’m busy with a deadline now, but in some weeks I can create the sample project if you want Thiago. Regards Carlos Montero http://dev.carlosmontero.es <http://dev.carlosmontero.es/> > El 2/9/2016, a las 14:13, Thiago H de Paula Figueiredo > escribió: > &g

Re: file upload doesn't set file value

2016-08-31 Thread Carlos Montero Canabal
For my experience, FileUpload doesn´t support ajax form (t:async="true" or t:zone=“^”). Regards Carlos Montero > El 31/8/2016, a las 22:03, Qbyte Consulting > escribió: > > Hi, > > I'm always finding that file is null for file upload? If I submit the form > without async=true then file valu

HTTPS on not @Secure page

2016-08-30 Thread Carlos Montero Canabal
I have configured my webapp with @Secure on pages who need it. But I have a problem when I write manually the URL on browser. If I write https on not @Secure page, the links (actionLinks with t:zone or t:async for ajax support) created by tapestry starts with http and browsers blocked the cont

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

Re: using media attributes with @Import stylesheet

2016-08-11 Thread Carlos Montero Canabal
I think this code would work: @Environmental private JavaScriptSupport javaScriptSupport; @Inject @Path("css/material/bootstrap-material-design.css") private Asset materialDesignCss; void setupRender(){ javaScriptSupport.importStylesheet(new StylesheetLink(materialDesignCss, new Styles

Re: Tapestry vs Spring MVC + REST + Angular

2016-08-02 Thread Carlos Montero Canabal
Hi Geoff, Can you tell us how you use Tapestry with PhoneGap? My questions are about how you embed T5 app into PhoneGap system that requires simple html/js. Do you do “Save as” the main IndexPage of Tapestry5 on browser and put it on PhoneGap project? And deploy the t5 app to manage all the zo

Re: confused about countrycode in data-locale attribute

2016-06-27 Thread Carlos Montero Canabal
I write a jira issue about this problem https://issues.apache.org/jira/browse/TAP5-2551 some weeks ago. For my experience, the locale de_DE is the locale of your JVM. As I wrote, "so the main bug is in the default locale who returns ThreadLocale

Re: bootstrap affix onload not executed

2016-06-21 Thread Carlos Montero Canabal
Hi, In Tapestry 5.4.X versions "$(window).on('load', function ()" is never call it for requireJs. So you can create a module as: my-affix-module.js (into META-INF/modules folder) with the code define([“jquery”, “bootstrap/affix"], function($) { return function(){

Re: IgnoredPathsFilter no longer working with Wildfly10

2016-06-09 Thread Carlos Montero Canabal
I’m using Tapestry 5.4.0 and Tapestry 5.4.1 and I have WS with httpinvoker and my app module have the code: public static void contributeIgnoredPathsFilter(final Configuration configuration) { configuration.add("/adminservices.*"); } my web.xml httpinvo

Re: Hyphens in URL possible?

2016-05-02 Thread Carlos Montero Canabal
Yes. I do it in many webapps. AppModule: @Contribute(PageRenderLinkTransformer.class) @Primary public static void provideURLRewriting(final OrderedConfiguration configuration) { configuration.addInstance( “MyLinkTransformer", MyLin

Re: integrating Facebook JS SDK

2016-04-09 Thread Carlos Montero Canabal
In your controller class (.java) you can write this: javaScriptSupport.addModuleConfigurationCallback(new ModuleConfigurationCallback() { @Override public JSONObject configure(final JSONObject configuration) {

Re: [ANNOUNCE] Apache Tapestry 5.4

2016-02-12 Thread Carlos Montero Canabal
I have many apps into production with more than 50.000 users and 200.000 page-views at month and Tapestry works very good. I use Tapestry from 5.1.0.5 and it always run fast and I develop projects very easy and productive. I haven´t any problem with 5.4.0 version and I think my webapps (flight sea

Re: jss.require(...) code is not executed when using ajaxResponseRenderer.addCallback(new JavaScriptCallback())

2016-02-05 Thread Carlos Montero Canabal
Hi, Your js file you required is a js module??? I use many times require in a callback in tapestry 5.4.0 and it works perfect. Regards Carlos Montero Enviado desde mi iPhone > El 5 feb 2016, a las 2:15, g escribió: > > hello geoff, > > thanks for your feedback, and indeed: I believe it lo

Re: [ANNOUNCE] Apache Tapestry 5.4

2015-12-25 Thread Carlos Montero Canabal
Hi Tapestry team. I have to give us the congratulations for the release. I’m working with tapestry from the Tapestry 5.1.0.5 version. This 5.4 release is a big change (javascript) and I have to learn a lot of interesting new concepts. Thank you so much and keep up the good work. Carlos Monter

Handling a bad context and component events

2015-09-14 Thread Carlos Montero Canabal
Hi, I would like to know if I develop the best option to handle a bad context in my webapp. I have a website (http://www.ryalive.com ) with a form where you have to put various values. When you search, webapp redirect to http://page/arg0/arg1/arg2/arg3