Re: [ANNOUNCEMENT] Tapestry 5.8.5 released

2024-04-04 Thread JumpStart
Great work. Thank you all! Geoff > On 2 Apr 2024, at 6:07 AM, Thiago H. de Paula Figueiredo > wrote: > > Hello, Tapestry community! > > Apache Tapestry 5.8.5 has just been. It's got 2 bugfixes and it's a > drop-in replacement and recommended upgrade for Tapestry 5.7.0+ plus > projects. > > R

Re: translations and poedit

2024-03-12 Thread JumpStart
String suffix = matcher.matches() ? " [" + matcher.group(1) + "]" : > " []"; >for (var key : values.keySet()) { >values.put(key, values.get(key) + suffix); >} > >advice.setReturnValue(values); >}); &g

translations and poedit

2024-03-11 Thread JumpStart
Hi all, I need to provide a new translation for my app and then keep it maintained, and I’ll need to use a third-party to do the translation, but I don’t want to give them access to the entire project’s source. Instead, I presume what’s needed is automatic extraction of all the .properties fil

Re: Anyone still using Java 8 in Tapestry webapps

2023-10-03 Thread JumpStart
Yes. We really want to move up and have done all the work to go from Tapestry 5.4.3 to a later version so that we can upgrade our JDK from 8 to 11 or later, but got stuck when we found that HighCharts didn’t work properly in PhantomJS when all our other dependencies were upgraded accordingly! W

Re: Problem with Ajax Form Submit and invalid Response Status

2023-02-24 Thread JumpStart
Hi Michael, To date I’ve handled this more generally by letting the user know when the server cannot be reached. It’s detected by Offline.js (https://github.hubspot.com/offline/docs/welcome/), which is in in the of our layout component.

Re: Updating specific zone instances in a loop.

2023-01-04 Thread JumpStart
Thank you Dmitry, that is exactly what I needed. Absolutely marvellous. I will try to put an example in JumpStart as soon as I can, because as far as I can tell there is no other documented example around of how to solve this problem or how to use RenderCommand used in this way. Cheers, Geoff

Updating specific zone instances in a loop.

2023-01-03 Thread JumpStart
Hi all, Let’s say I have loop around a zone, and on a particular event I want to render just the 2nd and 4th instances of the zone. How do I do that?

Re: Avoiding page loading

2023-01-03 Thread JumpStart
uaranteed to be garbage-collected, I don't see an > immediate downside, except needing more memory. > > Alternatively you could trigger the page with a cron job to keep it > "fresh", but an overriden service is the more robust solution in my opinion. > > Chee

Avoiding page loading

2022-12-27 Thread JumpStart
Hi, I have one page in my production app which takes a long time to load - minimum 18 seconds. Once loaded, it is very quick to request. But from time to time throughout the day, when this page is requested Tapestry decides it has to reload it. I presume this is because the page cache uses Soft

Re: JumpStart is up

2022-07-11 Thread JumpStart
gt; > I've did a simple search for "jumpstart" and updated the links (~ 14 pages). > Hopefully that's all of them. > > Gonna check later after the cron job ran if the site is updated correctly. > > > On Mon, Jul 11, 2022 at 8:42 AM JumpStart < >

Re: JumpStart is up

2022-07-10 Thread JumpStart
Thank you Ben. Please try again now. > On 11 Jul 2022, at 2:26 pm, Ben Weidig wrote: > > Hi Geoff, > > thanks! > > I've started updating the links in Confluence, but ran into an > exception: Database data has not been set up! > > https://tapestry-jumpstar

JumpStart is up

2022-07-10 Thread JumpStart
JumpStart is up! Its new home is https://tapestry-jumpstart.org/jumpstart <https://tapestry-jumpstart.org/jumpstart>. Yesterday it had the wrong certificate but that has now been fixed. Would someone please update the links from the Tapestry site? Cheers, Geoff

Re: Jumpstart is down

2022-07-09 Thread JumpStart
JumpStart is up! It’s at https://tapestry-jumpstart.org <https://tapestry-jumpstart.org/> with the demo at https://tapestry-jumpstart.org/jumpstart <https://tapestry-jumpstart.org/jumpstart>. It has the wrong certificate today but that will be fixed tomorrow. Cheers, Geoff >

Re: Jumpstart is down

2022-07-03 Thread JumpStart
It looks like JumpStart will be running within a week (my company will host it). Does anyone have a bright idea on how to get a non-commercial domain name up, say tapestry-jumpstart.apache.org <http://tapestry-jumpstart.apache.org/> ? Geoff > On 27 Jun 2022, at 10:00 pm, Bob Harn

Re: Jumpstart is down

2022-06-25 Thread JumpStart
https://tapestry-app.apache.org/jumpstart <https://tapestry-app.apache.org/jumpstart> sounds like a great place to be! However, isn’t that domain running a Tomcat servlet server, with apps deployed as WAR files? JumpStart uses a JEE app server (preferably Wildfly or JBoss) with t

Re: Jumpstart is down

2022-06-24 Thread JumpStart
Geoff > On 24 Jun 2022, at 7:02 pm, Volker Lamp wrote: > > Hi Richard > >> We're noticing that the Jumpstart site is down. I know it is on Github >> so we could run it locally, but the official site also references it a lot. > > Yes, it's been down for

Re: Tapestry Grid encoder

2022-05-14 Thread JumpStart
These examples might help. read (no encoder): http://jumpstart.doublenegative.com.au/jumpstart/examples/tables/grid update (with encoder): http://jumpstart.doublenegative.com.au/jumpstart/examples/tables/editablegridforupdate1 Cheers, Geoff > On 14 May 2022, at 7:50 am, Christopher Dodun

Re: New update site for anjlab/eclipse-tapestry5-plugin

2022-03-01 Thread JumpStart
ded to get it up and running. >> >> Maybe we give it another try and create a how-to guide. >> Or even better, hosting it somewhere for easier usage. >> >> Cheers >> Ben >> >> >> On Tue, Mar 1, 2022 at 9:38 AM JumpStart < >> geoff.callende

New update site for anjlab/eclipse-tapestry5-plugin

2022-03-01 Thread JumpStart
Does anyone know whether there is a new update site for the Eclipse plugin anjlab/eclipse-tapestry5-plugin ? With the original site we're getting: HTTP Server 'Bad Gateway' : https://dl.bintray.com/anjlab/eclipse-tapestry5-plugin/content.xml HttpComponents connection error response code 502.

Re: LESS compiler in 5.6.4

2022-02-21 Thread JumpStart
Ah, it’s looking like CssCompressor is the culprit. > On 21 Feb 2022, at 3:29 pm, JumpStart > wrote: > > Tapestry 5.6.4 uses the same less4j-1.12.0.jar as Tapestry 5.4.3, but I’m > getting a strange output problem. > > 5.4.3 outputs this: height: calc(100vh - env(safe-a

LESS compiler in 5.6.4

2022-02-20 Thread JumpStart
Tapestry 5.6.4 uses the same less4j-1.12.0.jar as Tapestry 5.4.3, but I’m getting a strange output problem. 5.4.3 outputs this: height: calc(100vh - env(safe-area-inset-top) - 44px); 5.6.4 outputs this: height: calc(100vh - env(safe - area-inset-top) - 44px); The blanks in “safe - area” cause an

Re: Page links returned as http, not https or relative

2021-12-19 Thread JumpStart
$proxy_add_x_forwarded_for; >proxy_set_header X-Forwarded-Proto $scheme; >proxy_read_timeout 1h; >} > } > > > > On Sun, Dec 19, 2021 at 12:09 PM JumpStart < > geoff.callender.jumpst...@gmail.com> wrote: > >> Thank you Ben, you are a

Re: Page links returned as http, not https or relative

2021-12-19 Thread JumpStart
e you using? > AFAIK it's the responsibility of the container to do the right thing and > how to handle relative URLs from sendRedirect. > > What's in the "Location" header of the response? > Still a relative URL, or already the HTTP version? > > Cheers, > Ben >

Re: Page links returned as http, not https or relative

2021-12-18 Thread JumpStart
I forgot to mention that HTTPS terminates at the load balancer. The app server sees just AJP or HTTP. > On 19 Dec 2021, at 12:10 pm, JumpStart > wrote: > > Hi all, > > At long last I’ve moved redirection of HTTP to HTTPS from the app to the > infrastructure, and set ta

Page links returned as http, not https or relative

2021-12-18 Thread JumpStart
Hi all, At long last I’ve moved redirection of HTTP to HTTPS from the app to the infrastructure, and set tapestry.secure-enabled =false as recommended in https://tapestry.apache.org/https.html . But now I’m hitting an age-old issue: page links ar

Re: Best practice for health check URL?

2021-12-06 Thread JumpStart
sembler` and stream through no-op consumer >> - repeat above for each locale/axis >> >> Entire process usually takes 3-5 minute in our setup. >> After it's done we return 200 to the load balancer and the first real >> request is handled with hot caches. >>

Re: Best practice for health check URL?

2021-11-30 Thread JumpStart
HAProxy. > If not 200 is returned, HAProxy takes the server out of rotation. > > Cheers, > Ben > > > On Tue, Nov 30, 2021 at 2:41 AM JumpStart < > geoff.callender.jumpst...@gmail.com> wrote: > >> Hi Dmitry, >> >> That is spectacularly helpf

Re: Best practice for health check URL?

2021-11-29 Thread JumpStart
JS stack returned from `JavaScriptStackSource` assemble with > `JavaScriptStackAssembler` and stream through no-op consumer > - repeat above for each locale/axis > > Entire process usually takes 3-5 minute in our setup. > After it's done we return 200 to the load balancer

Best practice for health check URL?

2021-11-29 Thread JumpStart
Any suggestions on best ways to write a “health check” page to be called by load balancers? My app is getting big, and the traffic is big. If the app fails (hopefully never, but it’s a JVM) and the traffic is heavy enough, startup never seems to complete - every request times out, the app log g

Re: Variable translate in TextField

2021-11-04 Thread JumpStart
doco? @InjectComponent(‘price1”) private TextField price1Field; @InjectComponent(‘price1”) private Component price1Component; Cheers, Geoff > On 4 Nov 2021, at 4:32 am, Thiago H. de Paula Figueiredo > wrote: > > On Tue, Nov 2, 2021 at 12:55 AM JumpStart < > geoff.callender.j

Variable translate in TextField

2021-11-01 Thread JumpStart
Hi all, Does anyone have an example of a variable translate in a TextField? I want to switch between translators for different currencies because they have different numbers of decimal places. configuration, ThreadLocale threadLocale) { ...

Re: Ecmascript5 and tapestry-webresources

2021-01-28 Thread JumpStart
< > thiag...@gmail.com> wrote: > >> Hello, Geoff! >> >> Looking at GoogleClosureMinimizer, I cannot see how the options can be >> customized. Could you please create a Jira issue so we can fix this in >> 5.7.0? Thanks in advance. >> >> Cheer

Re: Ecmascript5 and tapestry-webresources

2021-01-28 Thread JumpStart
. > On 28 Jan 2021, at 5:31 pm, JumpStart > wrote: > > Can I pass options to GoogleClosureMinimizer at runtime? > > I have a 3rd party javascript file (html2canvas.min.js) that > tapestry-webresources is failing to parse because the JS is using javascript > get

Ecmascript5 and tapestry-webresources

2021-01-28 Thread JumpStart
Can I pass options to GoogleClosureMinimizer at runtime? I have a 3rd party javascript file (html2canvas.min.js) that tapestry-webresources is failing to parse because the JS is using javascript getters, which I think were introduced in ECMASCRIPT5. 2021-01-28 04:31:40,536 ERROR [org.apache.ta

JumpStart is down temporarily

2020-12-09 Thread JumpStart
Hi all, JumpStart is down, but should be up again in the next day or two. I don't have direct control over its hosting - it’s hosted by a very generous third party - but I’m told that the downtime is temporary. BTW, JumpStart is still a live project. I use Tapestry in productio

Re: Tapestry Jumpstart site is down

2020-04-15 Thread JumpStart
> Thanks Geoff. I hope you are doing well. Some crazy times. > > David > > On 4/15/2020 12:04 AM, JumpStart wrote: >> Very good question. I’ll see if I can get it up again shortly. >> >> Geoff >> >>> On 15 Apr 2020, at 12:02 pm, David Tayl

Re: Tapestry Jumpstart site is down

2020-04-14 Thread JumpStart
Very good question. I’ll see if I can get it up again shortly. Geoff > On 15 Apr 2020, at 12:02 pm, David Taylor > wrote: > > Hi! > > > Search Results > > > Web results > > I noticed Geoff's Tapestry Jumpstart site has been down for the last few

Re: New AUS version (v4.28.4) at 00:55 (Sydney)

2020-03-29 Thread JumpStart
Done. > On 29 Mar 2020, at 9:50 pm, JumpStart > wrote: > > v4.28.4 > ~~ > > Tech: improved TextAreaAutoResizer to wait longer for the textarea to become > visible before giving up. - To un

New AUS version (v4.28.4) at 00:55 (Sydney)

2020-03-29 Thread JumpStart
v4.28.4 ~~ Tech: improved TextAreaAutoResizer to wait longer for the textarea to become visible before giving up. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tap

Re: Apache Tapestry 5.5.0 released

2020-03-23 Thread JumpStart
Brilliant! I will endeavour to upgrade JumpStart as soon as possible. > On 24 Mar 2020, at 6:05 am, Carlos Montero Canabal > wrote: > > 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 Fig

Re: Recompiling of .less file triggered in prod unexpectedly

2019-10-28 Thread JumpStart
to having the GC repeatedly undoing the good work of the Tapestry asset cache. Geoff > On 25 Oct 2019, at 5:02 pm, JumpStart > wrote: > > Thank you Cezary. This is invaluable. As a first step I’ve added some logging > of the caching to see whether this is the culprit. > &

Re: Recompiling of .less file triggered in prod unexpectedly

2019-10-25 Thread JumpStart
r compilation of key assets, and finally pack it to a JAR. In the > production the second mode could be be used. > > Best regards, > Cezary > > > > On Thu, Oct 24, 2019 at 11:18 PM JumpStart < > geoff.callender.jumpst...@gmail.com> wrote: > >> Th

Re: Recompiling of .less file triggered in prod unexpectedly

2019-10-24 Thread JumpStart
he production > mode > (see > org.apache.tapestry5.internal.webresources.ResourceTransformerFactoryImpl#createCompiler). > > Cezary > > > On Thu, Oct 24, 2019 at 2:57 AM JumpStart < > geoff.callender.jumpst...@gmail.com> wrote: > >> I’m observing that after startup, and

Recompiling of .less file triggered in prod unexpectedly

2019-10-23 Thread JumpStart
I’m observing that after startup, and then after every 20 minutes or so - actually, it seems to be quite variable - the first page after login will take 20 or more seconds to be displayed. The rest of the time it is almost instantaneous. I’ve run a sampler over it during one of these 20+ sec pe

Re: Jetbrains considers to deprecate Tapestry plugin in IntelliJ 2019.3

2019-07-03 Thread JumpStart
lol. Same here. > On 3 Jul 2019, at 4:34 pm, Massimo Lusetti wrote: > > Thanks Lance, you made my day. > > On Tue, Jul 2, 2019 at 11:04 PM Lance Java > wrote: > >> Emmanuel Sowah - I think you deserve some form of long service award. >> You've been hating on Tapestry for over 13 years now. Wa

Re: Laggy response after a quiet time

2019-05-17 Thread JumpStart
termination. > > Another option is weird garbage collection interactions, e.g. caused by > non-trivial work in the "finalize" method somewhere in the application. > > Cezary > > > On Thu, May 16, 2019 at 3:33 AM JumpStart < > geoff.callender.jumpst...@gmail.com

Re: Laggy response after a quiet time

2019-05-17 Thread JumpStart
some scheduled services that could eat memory? I would >>> suspect that the garbage collector is using most of that CPU. Monitor >>> the GC and how memory is used over time. Maybe there is a mismatch >>> between the memory configurations in Docker and the JVM. >>>

Laggy response after a quiet time

2019-05-15 Thread JumpStart
Hi all, My app is working brilliantly under load, but after a quiet time it can be very slow to respond, leading our first user of the day to tap the same thing multiple times, and the next thing you know is CPU hits 100% and is stuck there, and none of those requests returns a response. Nor do

Re: Progressive Web App

2019-05-15 Thread JumpStart
Thanks Chris. We won’t be going with WebSockets for a while, not until we need to add two-way chat. No, the real challenge is doing what we want in a web browser client. Cheers, Geoff > On 11 May 2019, at 8:31 am, Christopher Dodunski > wrote: > > Hi Geoff, > > I'm in the final stages of d

Progressive Web App

2019-05-09 Thread JumpStart
Has anyone come up with a way to produce a Progressive Web App (PWA) with Tapestry? Or per I’m particularly interested in the idea of using service workers to get some content - that we know will be relevant to the logged in user - in the background and storing it client-side for quick access b

Re: Browser History API

2019-02-25 Thread JumpStart
r { >let newOptions = {...options}; >return Ajax(url, newOptions); >}; > > > I think TypeScript is a "must" to get good client code. I use also JSX. I am > looking for a way to use the same interface for Tapstery/Java services and > Typescript fo

Re: Browser History API

2019-02-22 Thread JumpStart
ponse.setHeader("Cache-Control", "no-cache, max-age=0, must-revalidate, > no-store"); > > I am using Tapestry + React + Typescript for my single page application - > works very well 😊 > > -Original Message- > From: JumpStart > Sent: fredag

Re: Browser History API

2019-02-21 Thread JumpStart
placeState(null, "", location.protocol + '//' + > location.host + location.pathname + "/yourUrlPart"); > > -Original Message- > From: JumpStart > Sent: torsdag 21. februar 2019 05:39 > To: Tapestry users > Subject: Browser History API >

Re: Browser History API

2019-02-21 Thread JumpStart
the page (in my > example I do this on IndexPage) > > I hope the example helps you. > > Regards > > Carlos Montero > > El jue., 21 feb. 2019 a las 5:39, JumpStart (< > geoff.callender.jumpst...@gmail.com>) escribió: > >> Has anyone made use of the

Browser History API

2019-02-20 Thread JumpStart
Has anyone made use of the browser History API with Tapestry AJAX calls? I have an essentially single page app, all done with Zones and async event links. Tabs down one side flips between major functions (eg. Clients, Calendar, Billing), replacing the main pane contents, and clicking on buttons

Re: Open Discussion: remove Bootstrap from T5 core

2019-02-14 Thread JumpStart
I think it’s a fabulous idea. Two thumbs up. > On 14 Feb 2019, at 9:07 pm, Bob Harner wrote: > > I agree that Tapestry shouldn't be so tightly coupled to a specific CSS > framework. > > For context and some alternative ideas, see this prior discussion of the > same topic: > > https://tapestry.

Re: Tapestry 4 with a modern JVM

2019-02-06 Thread JumpStart
No responses? I think you’re right - it will be try it and see. > On 31 Jan 2019, at 7:57 pm, Steve Shaw wrote: > > Good morning, > > Short version: is there any information available on running Tapestry 4 > (specifically 4.1.6) with a modern JVM (specifically Java 11, but we’d settle > for i

Re: [ANNOUNCEMENT] Tapestry 5.4.4

2018-12-18 Thread JumpStart
Marvellous news! Thank you very much to all involved. I’ll aim to bring JumpStart into line with it before the new year. Geoff > On 19 Dec 2018, at 7:15 am, Thiago H. de Paula Figueiredo > wrote: > > You're welcome! > > Tapestry 5.5, supporting Java 11, will be rele

Re: QuickStart

2018-11-26 Thread JumpStart
+1 > On 27 Nov 2018, at 12:16 pm, Christopher Dodunski > wrote: > > Hi all, > > I only started with Tapestry, seriously, around 18 months ago. Tapestry > may not be the latest fashion, but I love its convention over > configuration approach, use of POJOs, and the myriad other elegant > featur

Re: data-icon for option within t:select

2018-11-14 Thread JumpStart
Very good question. I don’t know the answer, but here’s an idea… The Select component does not have a class parameter, but it does render informal parameters. So if you specify class=“selectpicker” then I’d expect it will be rendered with class=“selectpicker”. By default it renders the "select"

Re: fullcalendar integration

2018-11-12 Thread JumpStart
In my AppModule I found a comment about a dependency on jquery-ui’s DatePicker. Thought it might help. @Path("/META-INF/assets/js/jquery-ui-1.9.1.js") Resource jqueryUi, @Path("/META-INF/assets/moment-timezone-with-data-2012-2022.js") Resource momentTimezoneWithData, @Path("/META-INF/assets/full

Re: Using JavaScript during Ajax request

2018-09-27 Thread JumpStart
An example: http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/modal/1 <http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/modal/1> > On 27 Sep 2018, at 7:06 pm, Nathan Quirynen > wrote: > > When your request is an ajax cal

Re: JavaScript not invoked on zone refresh

2018-09-26 Thread JumpStart
Examples can be found in JumpStart, starting here: http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/javascript > On 26 Sep 2018, at 3:19 pm, Chris Poulsen wrote: > > Reacting to the zone events sounds like the best option IMO. Controlling > this fro

Re: favicon.ico

2018-07-30 Thread JumpStart
> 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 image from >> a fixed URL? No gzipping, no asset fingerprinting, and no far-future expires >> header? >&

favicon.ico

2018-07-29 Thread JumpStart
Is there a way to have Tapestry serve up favicon.ico? That is, an image from a fixed URL? No gzipping, no asset fingerprinting, and no far-future expires header? I need this for offline.js . To date I’ve had it call a simple page in the app but sometimes the client gets confused and fails due t

Re: Money Field

2018-07-26 Thread JumpStart
y is interesting, it will help if we want >> to support multiple currencies stored in the db. Thanks. >> >> On Fri, Jul 27, 2018 at 8:14 AM JumpStart < >> geoff.callender.jumpst...@gmail.com> wrote: >> >>> You’ll find some techniques in here: >>>

Re: Money Field

2018-07-26 Thread JumpStart
You’ll find some techniques in here: http://jumpstart.doublenegative.com.au/jumpstart/examples/input/augmentingtranslators <http://jumpstart.doublenegative.com.au/jumpstart/examples/input/augmentingtranslators> http://jumpstart.doublenegative.com.au/jumpstart/examples

Re: tapestry-security 0.7.1 and tapestry-resteasy 0.5.0 released!

2018-07-16 Thread JumpStart
Thank you. I absolutely depend on tapestry-resteasy, so this is music to my ears. > On 16 Jul 2018, at 5:38 pm, Alejandro Scandroli > wrote: > > 👏 > > > > On Mon, Jul 2, 2018 at 8:26 PM Thiago H. de Paula Figueiredo < > thiag...@gmail.com> wrote: > >> This is wonderful! Thank you very much

Re: [ANN] JumpStart 7.0.4 released!

2018-05-19 Thread JumpStart
Hi Danny, No reason except that I haven’t got around to upgrading it to T5.4. However, I suspect it has a memory leak. For production use I would suggest using an AJAX file uploader such as FineUploader. In fact, that’s probably what I should put in JumpStart, now that FineLoader has become

[ANN] JumpStart 7.0.4 released!

2018-05-16 Thread JumpStart
Hi all, JumpStart 7.0.4 is out. The examples are the same but the front page has been rearranged into categories, and many AJAX examples have been moved to alongside their non-AJAX counterparts to help emphasise that AJAX in Tapestry 5 is sheer "child’s play". JumpStart can be

Re: Grid custom no field

2018-04-19 Thread JumpStart
Or a mixin? http://jumpstart.doublenegative.com.au/jumpstart/examples/lang/creatingmixins http://jumpstart.doublenegative.com.au/jumpstart/examples/tables/gridbeanmodel1 Geoff > On 19 Apr 2018, at 2:20 pm, Chris Poulsen wrote: > > Create a component? > > --

Re: In which direction is Tapestry heading?

2018-03-28 Thread JumpStart
Great example! IMHO, this kind of info should be added to the documentation. > On 28 Mar 2018, at 3:47 PM, peter.sk...@ooom.at wrote: > > Hallo Reinhold, > > Tapestry can be used without classical forms. If you have to include the form > component because of the dependence of the input componen

Re: getModuleNameToStackName(JavaScriptSupportImpl.java:340) NPE

2018-03-20 Thread JumpStart
Here’s an example (first-name-color-switcher.js) where it’s in META-INF/modules... http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/javascript …and here’s an example (person-list.js) where it’s in the normal source tree, ending up in classes… http

Re: BeanEditForm onValidate()

2018-01-16 Thread JumpStart
If Hibernate is creating/updating the database definition then you could be right. I’m not sure because I use this kind of thing for alternate key: @Entity @Table(name = "Users", uniqueConstraints = { @UniqueConstraint(columnNames = { “username" }) }) public class User ... > On 16 Jan 2018, at

Re: BeanEditForm onValidate()

2018-01-16 Thread JumpStart
Did you miss my suggestion? Try putting it in onActivate and pass it 'Abel'. I’m hoping it will have the same problem, because, as you know, it makes no sense that a transaction has taken place before onValidate(). Longer term, however, you should scrap the validation because it can be

Re: BeanEditForm onValidate()

2018-01-13 Thread JumpStart
I’m guessing that if you run that query earlier, for that user, then it would return the same exception. Try putting it in onActivate and pass it 'Abel'. Is the query joining entities? Possibly it’s returning a cartesian product of the user with another entity, ie. more than one entity returned.

[ANN] JumpStart 7 Released!

2018-01-11 Thread JumpStart
Hi all, At long last, JumpStart 7 has officially been released, with a downloadable zip file, installation notes, and tips! I am still as excited as ever about Tapestry, particularly since 5.4 which has been a stunning upgrade. Its adoption of jQuery, RequireJS, Bootstrap, and Less, has

Re: How to use CSS buttons outside of forms

2017-12-23 Thread JumpStart
A working example: http://jumpstart.doublenegative.com.au/jumpstart/examples/styling/linksandsubmits1 Geoff > On 24 Dec 2017, at 6:33 am, Christopher Dodunski > wrote: > > Concerning use of the button HTML tag, I read the following... > > "Definition and Usag

Re: Override BeanEditForm Submit Button

2017-12-16 Thread JumpStart
An example: http://jumpstart.doublenegative.com.au/jumpstart/examples/input/morecontroledit1/1 Geoff > On 17 Dec 2017, at 1:02 am, Kalle Korhonen wrote: > > You want to use the underlying BeanEditor component that does most of the > work and build your own form around it, co

Re: Render queue error in BeforeRenderTemplate when using a SelectModel

2017-07-25 Thread JumpStart
Sorry, I don’t have the time to recreate your problem, and there is some stuff missing, such as the instantiation of the encoder, but this working example may help: http://jumpstart.doublenegative.com.au/jumpstart7/examples/select/easyobject

Re: HTTPS not working with InjectPage or Class

2017-04-17 Thread JumpStart
I’ve created https://issues.apache.org/jira/browse/TAP5-2577 . > On 15 Apr 2017, at 6:36 PM, JumpStart > wrote: > > > if (request.isSecure() == securePage) > { > if (request.isSecure() && > request.getAttribute(&q

Re: HTTPS not working with InjectPage or Class

2017-04-15 Thread JumpStart
ecurePage ? LinkSecurity.SECURE : LinkSecurity.INSECURE; } else { return securePage ? LinkSecurity.FORCE_SECURE : LinkSecurity.FORCE_INSECURE; } } Agreed? Geoff > On 15 Apr 2017, at 2:08 PM, JumpStart > wrote: > > This is getting

Re: HTTPS not working with InjectPage or Class

2017-04-14 Thread JumpStart
a bit odd. Geoff > On 14 Apr 2017, at 11:17 AM, JumpStart > wrote: > > Hi, > > I’ve found 2 situations where an HTTP URL is returned despite having set the > whole application to “secure”. > > * The 2 event handlers below are not correct - they return HTTP URLs (i

HTTPS not working with InjectPage or Class

2017-04-13 Thread JumpStart
Hi, I’ve found 2 situations where an HTTP URL is returned despite having set the whole application to “secure”. * The 2 event handlers below are not correct - they return HTTP URLs (in, of course, a 302 redirect), not HTTPS URLs. public class Page1 { @InjectPage private Page2

Re: Mouse tracking with Tapestry

2017-04-06 Thread JumpStart
terribly > inefficient and I hope you can make any suggestions to improve it. > > I have a JS library that calculates all those values and writes them to > "input hidden" form fields in my .tml > > Then I used the ZoneUpdater mixin: > > http://jumpstart.do

Re: Loop of checkboxes in form

2017-01-23 Thread JumpStart
Another way without @Persist: http://jumpstart.doublenegative.com.au/jumpstart7/examples/tables/loopwithdeletecolumn1 > On 23 Jan 2017, at 7:14 PM, Lance Java wrote: > > If you want to avoid http session you could maintain a hidden text field on > the page which also gets posted alongs

Re: Ajax event for inplace Grid page change

2016-12-07 Thread JumpStart
This example shows how to get around some of the failings of GridPager with a small amount of effort: http://jumpstart.doublenegative.com.au/jumpstart7/together/ajaxcomponentscrud/persons HTH, Geoff > On 7 Dec 2016, at 9:21 PM, Adam X wrote: > > Howdy, > > I'm trying to implement s

Re: Custom validator default error message

2016-12-01 Thread JumpStart
Does this help? http://jumpstart.doublenegative.com.au/jumpstart7/examples/input/contributingvalidators Cheers, Geoff > On 1 Dec 2016, at 7:27 PM, Nathan Quirynen > wrote: > > Hi, > > I have

Re: Tapestry examples page

2016-11-11 Thread JumpStart
n't wait to discover your next use cases. >> >> Regards >> >> 2016-11-08 18:35 GMT+01:00 Carlos Montero Canabal < >> carlosmonterocana...@gmail.com>: >> >>> Hi tapestry users, >>> >>> I want to share with us my first version of

Re: Multiple Page activation context

2016-09-20 Thread JumpStart
Try this: http://jumpstart.doublenegative.com.au/jumpstart7/examples/navigation/variableparameters1 Geoff > On 21 Sep 2016, at 12:04 AM, Adam X wrote: > > I would like to have multiple (overloaded) onActivate methods in my > page but seems like Tapestry is always picking a method with

Re: Swipe and touch

2016-09-05 Thread JumpStart
I think that embedding a “touch” solution in T5.4 is a bad idea. This has been a fast-moving area, with lots of device-, and OS-version-, compatibility issues. Witness all of iOS’s touch-scroll issues over various releases. I think the best we could do is have a plugin if someone’s willing to s

Re: Tapestry vs Spring MVC + REST + Angular

2016-08-02 Thread JumpStart
n 2 Aug 2016, at 4:19 PM, Carlos Montero Canabal > wrote: > > 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 Index

Re: Tapestry vs Spring MVC + REST + Angular

2016-08-01 Thread JumpStart
Totally agree. Most recently I’ve built an extensive tablet app using T5.4 + PhoneGap. It’s massively AJAX, but I didn’t have to think about it very much - thanks to Zones. It employs only 5 pages instead of a few hundred - thanks to components and Zones. SPA without pain! The small amount

Re: TLS termination proxy and Tapestry

2016-07-22 Thread JumpStart
When you say you are avoiding absolute URLs, where have you noticed this? I can’t recall this being a problem. Now, I’m no expert on this kind of configuration, and its a while since I set this all up, so forgive me if I have my wires crossed. Also, our site’s load is small so far but growing s

Re: Webhook example

2016-06-17 Thread JumpStart
Do you mean where Tapestry provides webhooks to be called by an external party (perhaps a bot)? If yes, can it be RESTful? > On 17 Jun 2016, at 10:09 AM, abangkis wrote: > > Hi, does anyone have an example of creating a webhook in Tapestry? > > I'm trying to create a telegram bot with tapestry

Re: Tapesty5.4.0 'submit' button throws page validation error

2016-06-13 Thread JumpStart
These working examples might help too. http://jumpstart.doublenegative.com.au/jumpstart7/examples/input/programmaticvalidation http://jumpstart.doublenegative.com.au/jumpstart7/examples/in

Re: A scrip ahead of all other scripts

2016-05-19 Thread JumpStart
line.js in the head of the document, with a regular > tag as a child of the tag? Tapestry > is being loaded at the end of the document before the closing tag. > > > > 2016-05-19 15:19 GMT+02:00 JumpStart : > >> In T5.4, how can I make a script load ahead of all the othe

A scrip ahead of all other scripts

2016-05-19 Thread JumpStart
In T5.4, how can I make a script load ahead of all the others, including Tapestry’s js? The others load async so I think I need this one to load synchronously. . The script is offline.js. My problem is that offline.js works only sometimes - it has its own detection of DOMContentLoaded and docum

Re: Detect and warn of poor internet connection

2016-05-16 Thread JumpStart
med it in AppModule. Was that a mistake? Are you using T5.4? Geoff > On 7 May 2016, at 12:09 PM, JumpStart > wrote: > > Thank you Felix. I will look into that. > >> On 3 May 2016, at 5:43 PM, Felix Gonschorek wrote: >> >> HI Geoff, >> >> we successfuly

Re: Detect and warn of poor internet connection

2016-05-06 Thread JumpStart
Thank you Felix. I will look into that. > On 3 May 2016, at 5:43 PM, Felix Gonschorek wrote: > > HI Geoff, > > we successfuly used Offline ( https://github.com/hubspot/offline ) to > support that in our apps. > > Cheers > Felix > > 2016-05-03 10:52 GMT+0

  1   2   >