Re: Tapestry + ETag headers

2024-10-06 Thread Ben Weidig
Hi Chris! Tapestry's AssetDispatcher/ResourcerStreamer does ETag for assets: https://github.com/apache/tapestry-5/blob/b01afbedb325897084ab5f2277e99a0e6fe2a02f/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ResourceStreamerImpl.java#L156-L171 You could implement the BLOB-base

Re: Tapestry-hibernate module seemingly leaking connections

2024-06-13 Thread Christopher Dodunski (Tapestry)
Hi Ben, Your "educated guess" proved to be entirely correct! I added the below method to my RegistryProxy class, and calling it from the @OnMessage annotated method of the WebSocket server endpoint ensures Hibernate sessions get closed on completion and associated DB connections are released

Re: Tapestry-hibernate module seemingly leaking connections

2024-06-11 Thread Ben Weidig
Hi Chris, the RegistryProxy should work, we use something similar for a script editor component with access to the Registry. We don't use WebSockets, though, so the normal lifecycle applies. With WebSockets, however, someone has to handle it manually. Beware, I don't have any experience with Tape

Re: Tapestry-hibernate module seemingly leaking connections

2024-06-11 Thread Christopher Dodunski (Tapestry)
Hi Ben, Thank you for those helpful suggestions! You're right... debugging is tricky given the large number of moving parts. 😊 I've made some progress since last writing. By activating "hibernate.c3p0.debugUnreturnedConnectionStackTraces" within my Hibernate configuration I've been able to

Re: Tapestry-hibernate module seemingly leaking connections

2024-06-09 Thread Ben Weidig
Hi Chris, debugging Hibernate connection problems is no fun at all... You're correct that org.apache.tapestry5.hibernate.HibernateSessionManager is thread-scoped and is supposed to clean up after itself by rolling back any uncommitted transaction and closing the session. Hibernate/Connection iss

Re: Tapestry Grid encoder

2022-05-19 Thread Christopher Dodunski
Thanks for those links, Geoff. Actually, I'm more interested in your Grid example where you provide this component with an encoder. http://jumpstart.doublenegative.com.au/jumpstart/examples/tables/gridwithdeletecolumn1 When I try to do likewise, my IDE complains: "Attribute t:encoder is

Re: Tapestry Grid encoder

2022-05-19 Thread Christopher Dodunski
Thanks for those links, Geoff. Actually, I'm more interested in your "jumpstart/examples/tables/gridwithdeletecolumn1" Grid example where you provide this component with an encoder. When I try to do likewise, my IDE complains: "Attribute t:encoder is not allowed here". Not sure whether this

Re: Tapestry Grid encoder

2022-05-19 Thread Christopher Dodunski
Hi all, I've identified the source of the problem. It was a small omission in the HQL which resulted in an Object[] of fields rather than an entire entity being handed onto the Grid component, hence "[Ljava.lang.Object;" in the exception message below. "Could not find a coercion from ty

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 Dodunski (

Re: Tapestry Grid encoder

2022-05-14 Thread Volker Lamp
You are totally right, Chris, I got you wrong. Sorry for that. The problem may be constructor related. I remember having a similar problem a couple of years back. In my case, if I remember correctly, it was a missing default constructor. Sorry this is vague. I don't have my repo available as I'

Re: Tapestry Grid encoder

2022-05-13 Thread Christopher Dodunski (Tapestry)
Thank you for those suggestions, Volker. The common theme seems to be that I should allow Tapestry to create a default BeanModel rather than create a new instance of one in my Java class, correct? Your second suggestion is nearest to what I've done, except that I return a new BeanModel. Jus

Re: Tapestry Security

2022-05-13 Thread Volker Lamp
Hi Andreas, tapestry-security (http://www.tynamo.org/tapestry-security+guide/) is a Third Party project, not an Apache Tapestry module. The source code is available on GitHub (https://github.com/tynamo/tapestry-security). Perhaps you can speed things up by cloning the project, making the neces

Re: Tapestry Grid encoder

2022-05-13 Thread Volker Lamp
Hi Christopher, Here are three suggestions to achieve what you are trying to do. (1) Omit the 'model' parameter to let Tapestry create a default model. Use the 'add' parameter to add a column named 'crewman' to that model. In the template file, in the body of the grid component, define how to r

Re: Tapestry PeriodicExecutor - CronExpression issue with "L"

2022-04-25 Thread Ben Weidig
Hi Charles, I gave it a quick look and debugged org.apache.tapestry5.ioc.internal.services.cron.CronExpression.getTimeAfter(Date) with your expression and can confirm that there's an issue with handling "L-". At first, it got the right day, but then it gets reset to today. The code is quite com

Re: Tapestry default style sheet change doesn't seem to kick in

2022-03-06 Thread Thiago H. de Paula Figueiredo
On Tue, Feb 15, 2022 at 4:13 PM Feng Gao wrote: > Hello! > Hello! > I followed instructions on https://tapestry.apache.org/css.html to change > Tapestry (v5.7.3) default stylesheet to use Bootstrap-4.6.1 stylesheet, > instead of the default Bootstrap-4.3.1: > > Here's what I ended up with in A

Re: Tapestry default style sheet change doesn't seem to kick in

2022-02-15 Thread Bob Harner
I'll take a crack at this. In your application module class (normally AppModule.java), set the Symbol constants.BOOTSTRAP_ROOT symbol to where your replacement bootstrap files are installed (the parent of the bootstrap css and js subfolders). As far as I understand, there are no other changes need

Re: Tapestry and Typescript

2021-09-12 Thread David Taylor
ay, 1 September 2021 10:52 AM To: Tapestry users Subject: Re: Tapestry and Typescript Hi Jonathan, I haven't worked with TS in 5.7.2 so far, but I tried to look into it. The two issues on Rhino's Github are not very helpful... https://github.com/mozilla/rhino/issues/658 (solved itse

Re: Tapestry and Typescript

2021-09-02 Thread Ben Weidig
l try out the ResourceTransformer option, maybe that will be easier to > maintain. > > Cheers, > Jonathan > > -Original Message- > From: Ben Weidig > Sent: Wednesday, 1 September 2021 10:52 AM > To: Tapestry users > Subject: Re: Tapestry and Typescript >

RE: Tapestry and Typescript

2021-09-02 Thread Jonathan Luke Shearman
tation yet. I'll try out the ResourceTransformer option, maybe that will be easier to maintain. Cheers, Jonathan -Original Message- From: Ben Weidig Sent: Wednesday, 1 September 2021 10:52 AM To: Tapestry users Subject: Re: Tapestry and Typescript Hi Jonathan, I haven't wor

Re: Tapestry and Typescript

2021-09-01 Thread Ben Weidig
Hi Jonathan, I haven't worked with TS in 5.7.2 so far, but I tried to look into it. The two issues on Rhino's Github are not very helpful... https://github.com/mozilla/rhino/issues/658 (solved itself somehow) https://github.com/mozilla/rhino/issues/430 (solved with newer Rhino version) Tapestry

Re: Tapestry 5.7+ and Spock

2021-05-25 Thread Thiago H. de Paula Figueiredo
Hello, Volker and other Tapestry users! Thanks for the patch! Much appreciated! I'll try to take a look at it this weekend. Cheers! On Sat, May 22, 2021 at 5:30 PM Volker Lamp wrote: > Just a quick email with some status information. The Spock project > encouraged Tapestry should adopt 'spock-

Re: Tapestry 5.7+ and Spock

2021-05-22 Thread Volker Lamp
Just a quick email with some status information. The Spock project encouraged Tapestry should adopt 'spock-tapestry'. I contributed a patch today that will (if accepted) add 'tapestry-spock' to Tapestry as a drop-in replacement for 'spock-tapestry'. Anyone interested can follow-up in https://issues

Re: Tapestry 5.7+ and Spock

2021-04-30 Thread Thiago H. de Paula Figueiredo
Thanks, Volker! I've just thumbed-up it! On Wed, Apr 28, 2021 at 5:59 PM Volker Lamp wrote: > If you, like me, use Spock (and perhaps Geb) specification/tests for your > Tapestry apps, please support my initiative to have Spock, or > spock-tapestry, to be precise, support Tapestry 5.7+. Indicate

Re: Tapestry 5.5 beta and Java Modularity

2020-10-03 Thread Charles Roth
Thank you! On 10/3/2020 4:29 PM, Thiago H. de Paula Figueiredo wrote: Hello, Charles! TAP5-2641 is taking care of fixing the split packages problem, plus setting automatic module names for all the Tapestry JARs ("org.apache.tapestry" + project name, except for tapestry5-annotations, which will

Re: Tapestry 5.5 beta and Java Modularity

2020-10-03 Thread Thiago H. de Paula Figueiredo
Hello, Charles! TAP5-2641 is taking care of fixing the split packages problem, plus setting automatic module names for all the Tapestry JARs ("org.apache.tapestry" + project name, except for tapestry5-annotations, which will be org.apache.tapestry-annotations'). Lots of classes needed to be moved

Re: Tapestry services lifecycle

2020-09-22 Thread Christopher Dodunski (Tapestry)
Thanks, Thiago, for confirming that. And I'm glad to hear news of Tapestry 5.6.1 release. Good work! Regards, Chris. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@

Re: Tapestry services lifecycle

2020-09-19 Thread Thiago H. de Paula Figueiredo
On Tue, Sep 15, 2020 at 7:50 PM Christopher Dodunski (Tapestry) < chrisfromtapes...@christopher.net.nz> wrote: > Hi all, just a quick question... > Hello! > Once a Tapestry service implementation gets instantiated, and that > service's status moves to "realised", at what point does that > imple

Re: Tapestry Jumpstart site is down

2020-04-15 Thread JumpStart
JumpStart’s running again. Sorry about the delay. Thanks for the good wishes David. Yes, these are crazy times. But for many of us in I.T. it’s busier than ever. I hope that’s true for all of you in this user group, too. Geoff > On 15 Apr 2020, at 12:11 pm, David Taylor > wrote: > > Thanks

Re: Tapestry Jumpstart site is down

2020-04-14 Thread David Taylor
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 Taylor wrote: Hi! Search Results Web results I noticed Geoff's Tapestry J

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 > days. DNS is still resolving, but the

Re: Tapestry exposes the list of css/js files in assets

2020-02-21 Thread Thiago H. de Paula Figueiredo
On Thu, Jan 16, 2020 at 6:22 AM Nicolas Bouillon wrote: > Hi all, > Hello! Thanks for posting your findings. It should be noted that Tapestry considers anything under /WEB-INF/assets are public files. In other words, files which are intended to be seen. So, while it's not ideal to have file li

Re: Tapestry exposes the list of css/js files in assets

2020-01-26 Thread Bob Harner
I believe Dmitry's solution will only work for assets on the classpath (under src/main/resources/META-INF/assets), because it is a ClasspathAssetProtectionRule. However, the same directory listing problem seems to exist for context asset directories (subdirectories under src/main/webapp), so a diff

Re: Tapestry exposes the list of css/js files in assets

2020-01-17 Thread Dmitry Gusev
My previous rule didn't work for JAR resources, here's an improved version of regex pattern rule: import org.apache.tapestry5.SymbolConstants; import org.apache.tapestry5.ioc.annotations.Symbol; import org.apache.tapestry5.services.ClasspathAssetProtectionRule; import java.util.regex.Matcher; imp

Re: Tapestry exposes the list of css/js files in assets

2020-01-16 Thread Dmitry Gusev
Looking a bit further, it does make sense to me to block all directory requests in ClasspathAssetRequestHandler by default, as directory listing is not something you'd expect to receive via HTTP. That workaround won't work if you have folder with dot in the name though, so something more type-safe

Re: Tapestry exposes the list of css/js files in assets

2020-01-16 Thread Nicolas Bouillon
Hi, Thank you for the quick reply, I've added the following rule in my AppModule. @Contribute(ClasspathAssetProtectionRule.class) public static void contributeClasspathAssetProtectionRule( OrderedConfiguration configuration) { ClasspathAssetProtectionRule fileWithDot = (s) -> !s.toLowe

Re: Tapestry exposes the list of css/js files in assets

2020-01-16 Thread Dmitry Gusev
Hi, I wasn't aware of it, thanks for bringing it up. >From what I found in code, AssetsModule contributes three asset protection rules: for .xml, .class, and .properties files: public static void contributeClasspathAssetProtectionRule( OrderedConfiguration configuration) { ClasspathA

Re: Tapestry 5.5 progress (Glyphicons not showing)

2020-01-15 Thread Jens Breitenstein
Hi Chris, We never had issues with glyphicons locally but we do have issues (sometimes) in production when IT Admin people disallow loading of fonts and the firewall drops these files. That's the reason we use png's instead, which is a real pain. If this is your problem and anyone has a solut

Re: Tapestry 5.5 progress

2020-01-15 Thread Thiago H. de Paula Figueiredo
On Mon, Jan 13, 2020 at 7:21 PM Vangel V. Ajanovski wrote: > I am using Tapestry to develop applications for internal research and > teaching purposes, Nice! > and have recently migrated two applications that are > used daily to 5.5.0-beta-3 and they are running without issues on Java 12. > I

Re: Tapestry 5.5 progress

2020-01-15 Thread Thiago H. de Paula Figueiredo
On Fri, Jan 10, 2020 at 7:38 PM Christopher Dodunski (Tapestry) < chrisfromtapes...@christopher.net.nz> wrote: > I'm much looking forward to Tapestry 5.5's pending release. > So am I. :) > Regarding glyphicons, I recall not being able to get these displaying > even with a Tapestry app built ext

Re: Tapestry 5.5 progress

2020-01-13 Thread Vangel V. Ajanovski
I am using Tapestry to develop applications for internal research and teaching purposes, and have recently migrated two applications that are used daily to 5.5.0-beta-3 and they are running without issues on Java 12. I have tried running on Java 13 but it was not possible, due to unsupported c

Re: Tapestry 5.5 progress

2020-01-10 Thread Christopher Dodunski (Tapestry)
I'm much looking forward to Tapestry 5.5's pending release. Regarding glyphicons, I recall not being able to get these displaying even with a Tapestry app built extending the quickstart project (bootstrap 3). So the date pickers are iconless, palette arrows absent, etcetera (I need to revisit

Re: Tapestry 5.5 progress

2020-01-07 Thread Thiago H. de Paula Figueiredo
On Mon, Jan 6, 2020 at 10:30 PM David Taylor wrote: > Hello everyone and Happy New Year! > Happy New Year! > Just following up to see where we are at with testing of 5.5-beta-3. We > are testing using a private build from master to pickup the recent > changes and have not run into any compati

Re: Tapestry 5.5 progress

2020-01-06 Thread David Taylor
Hello everyone and Happy New Year! Just following up to see where we are at with testing of 5.5-beta-3.  We are testing using a private build from master to pickup the recent changes and have not run into any compatibility issues so far.  I am curious whether anyone has run into any show stopp

Re: Tapestry 5.5 beta and Java Modularity

2019-11-14 Thread Thiago H. de Paula Figueiredo
On Tue, Nov 12, 2019 at 8:36 PM Charles Roth wrote: > Hmm, thanks for the quick response. > We strive to please! :D > It looks like I will have to try the unpack-all-the-tapestry-jars and > pack-them-into-a-single-jar as an "automatic module", after all. > > I will report back if that is succe

Re: Tapestry 5.5 beta and Java Modularity

2019-11-12 Thread Charles Roth
Hmm, thanks for the quick response. It looks like I will have to try the unpack-all-the-tapestry-jars and pack-them-into-a-single-jar as an "automatic module", after all. I will report back if that is successful. (This is partly caused by another conflict in our project, with javax.xml, that

Re: Tapestry 5.5 beta and Java Modularity

2019-11-12 Thread Thiago H. de Paula Figueiredo
On Fri, Nov 8, 2019 at 8:03 PM Charles Roth wrote: Hello! Thanks for announcing the Tapestry 5.5 beta, with Java 9+ support. > Our pleasure! One nitpick: it has support for Java 9, 10 and 11 bytecode. Tapestry itself wasn't modularized yet. > Has anyone done this (i.e., use java modules) suc

Re: Tapestry 5.5 progress

2019-06-18 Thread Thiago H. de Paula Figueiredo
On Thu, Jun 13, 2019 at 5:04 PM David Taylor wrote: > Hello, > Hi! > Does anyone know where we stand on the Tapestry 5.5 release? We should get a release in the upcoming months. > Are there > specific blocking issues that need to be addressed? I recall seeing one > related to Java 11 and A

Re: Tapestry 4 with a modern JVM

2019-02-07 Thread Steve Shaw
Thanks for your feedback, everyone. I had suspected that version incompatibilities with some of the byte code and libraries and other utilities would prove to be the root cause of a lot of the problems. We’ll keep this in mind as we determine our modernization strategy. Thanks again, Steve -- S

Re: Tapestry 4 with a modern JVM

2019-02-06 Thread Ivano Luberti
Sorry for the late response. I tried the same a few years ago but I was never abel to overcame issues with javassist : version shipped with tapestry 4 was not compatible with Java 8 and upgrading javasisst  not worked too. Il 06/02/2019 15:50, Numa Schmeder ha scritto: > Hi Steve, > > I have the

Re: Tapestry 4 with a modern JVM

2019-02-06 Thread Numa Schmeder
Hi Steve, I have the same problem, you will have a lot of issues. The best would be to transfer your app to tapestry 5, but you will be loosing all dojo compatibility and quite a lot of rework. I am still hesitating on the best process. You will have to port a lot of code from external librari

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: Tapestry decorator with marker

2018-09-04 Thread Thiago H. de Paula Figueiredo
ion being just in the method implementation, since you're explicitly checking the interface methods. > > Thanks for answering all my questions! > You're welcome > > -Original Message- > From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] >

RE: Tapestry decorator with marker

2018-09-04 Thread Labhesh Ramchandani
hod(m, advice); } } Thanks for answering all my questions! -Original Message- From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: Tuesday, September 04, 2018 10:24 AM To: Tapestry users Subject: Re: Tapestry decorator with marker On Mon, Sep 3, 2018 at 10:

Re: Tapestry decorator with marker

2018-09-04 Thread Thiago H. de Paula Figueiredo
method, you can put the annotation in the service implementation method since Tapestry 5.4.2. > > Can you please suggest a better solution? > > Thanks again > > > > -Original Message- > From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] > S

RE: Tapestry decorator with marker

2018-09-03 Thread Labhesh Ramchandani
rface().getMethods()) { if (receiver.getMethodAnnotation(m, TimeIt.class) != null) { receiver.adviseMethod(m, advice); } } Thanks -Original Message- From: Labhesh Ramchandani Sent: Monday, September 03, 2018 9:13 PM To: 'Tapestry users' Subject: RE: Tapestry decora

RE: Tapestry decorator with marker

2018-09-03 Thread Labhesh Ramchandani
applied to Can you please suggest a better solution? Thanks again -Original Message- From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: Monday, September 03, 2018 3:37 PM To: Tapestry users Subject: Re: Tapestry decorator with marker On Sun, Sep 2, 2018 at 9:56 PM Labhe

Re: Tapestry decorator with marker

2018-09-03 Thread Thiago H. de Paula Figueiredo
On Sun, Sep 2, 2018 at 9:56 PM Labhesh Ramchandani < labhesh.ramchand...@aqr.com> wrote: > Hi, > Hello! > @Decorate > @TimeIt > public static T decorateTimer(Class serviceInterface, T delegate, > String serviceId, Logger logger, > TimerDecorator decorator) { > return deco

RE: Tapestry decorator with marker

2018-09-02 Thread Labhesh Ramchandani
Minor correction: I meant to type: @Marker(TimeIt.class) public class ASpecificManagerImpl implements ASpecificManager {...} in my email.. (and not Timer.class...) (My question is still the same...thanks) From: Labhesh Ramchandani Sent: Sunday, September 02, 2018 8:56 PM To: 'users@tapestry.a

Re: tapestry-webresources

2018-08-28 Thread marwa hussein
Hello, Actually, for the Javascript code it is not mine, as I mentioned, It is an open source package called webVOWL for visualizing ontologies. I need to visualize ontologies in my web application for my research work. Also, I am not so professional in JavaScripts and I don't know the technologies

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: tapestry-security 0.7.1 and tapestry-resteasy 0.5.0 released!

2018-07-16 Thread Alejandro Scandroli
👏 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! > > On Mon, Jul 2, 2018 at 3:01 PM Kalle Korhonen > wrote: > > > It's that time of the year again. Actually, the community has been asking > > these to be relea

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

2018-07-02 Thread Thiago H. de Paula Figueiredo
This is wonderful! Thank you very much! On Mon, Jul 2, 2018 at 3:01 PM Kalle Korhonen wrote: > It's that time of the year again. Actually, the community has been asking > these to be released for a while. Thanks to @homburgs, you can now > contribute chains with RegExPatternMatcher to tapestry-s

Re: Tapestry SelectModel

2018-01-25 Thread Thiago H. de Paula Figueiredo
Hello! IMHO, if you don't want arbitrary strings in a field, you should create an enum for that (in this case, Country) and use it as the type of your field instead of String. Tapestry should automatically use a for editing that. But, even leaving your code the way it is, and I strongly recommen

Re: tapestry-security 0.7.0 released!

2017-09-20 Thread Alejandro Scandroli
Thanks Kalle!! Alejandro. On Fri, Sep 15, 2017 at 3:25 PM, Peter Hvass wrote: > Thank you very much indeed!! > > Kind regards, > Peter Anders Hvass > CTO, James Innes Group > > > On 15 September 2017 at 16:24, Thiago H. de Pau

Re: tapestry-security 0.7.0 released!

2017-09-15 Thread Peter Hvass
Thank you very much indeed!! Kind regards, Peter Anders Hvass CTO, James Innes Group On 15 September 2017 at 16:24, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Awesome, Kalle! Thank you very much! > > On Thu,

Re: tapestry-security 0.7.0 released!

2017-09-15 Thread Thiago H. de Paula Figueiredo
Awesome, Kalle! Thank you very much! On Thu, Sep 14, 2017 at 7:58 PM, Kalle Korhonen wrote: > After an extended hiatus, I figured it’s time to do some releases. First up > is the old workhorse, tapestry-security. The 0.7.0 release represents a > true community effort, my job was mainly to merge

Re: tapestry-security 0.7.0 released!

2017-09-15 Thread Bob Harner
Excellent news, thanks Kalle! On Sep 14, 2017 6:58 PM, "Kalle Korhonen" wrote: After an extended hiatus, I figured it’s time to do some releases. First up is the old workhorse, tapestry-security. The 0.7.0 release represents a true community effort, my job was mainly to merge pull requests from

RE: Tapestry QuickStart Project (build unsuccessful)

2017-08-24 Thread Svein-Erik Løken
You only have to run this once, so I would recommend command line. The Tapestry project will not use the maven-archetype-plugin. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: us

Re: Tapestry QuickStart Project (build unsuccessful)

2017-08-24 Thread Christopher Dodunski
Thanks Svein. I noticed you are using IntelliJ, like me. Can I ask how you configured IntelliJ to use the 2.4 plugin instead either of the two it comes bundled with? I like to do everything from the IDE rather than 'mvn' from the command line. Thanks! > Hi all, > > I am a first time user of T

RE: Tapestry QuickStart Project (build unsuccessful)

2017-08-20 Thread Svein-Erik Løken
https://issues.apache.org/jira/browse/TAP5-2579

Re: tapestry background jobs in a clustered environment

2017-07-10 Thread Dmitry Gusev
Hey Barry, you're talking about scheduled jobs. With scheduled jobs external trigger may work well. In our apps we're using embedded Quartz and anjlab-tapestry-quartz [1] for scheduled jobs to do the same without external process like Jenkins. We've implemented simple REST interface to get quartz

Re: tapestry background jobs in a clustered environment

2017-07-10 Thread Barry Books
While it does create a separate process I run my batch jobs with Jenkins. The jobs are just pages so you don't have weird lifecycle problems and they are easy to test because you can just go to the page. Your load balancer will distribute the load, you get history and you don't need to write any co

Re: tapestry background jobs in a clustered environment

2017-06-28 Thread Ilya Obshadko
Yes, my case is about the same logical queue. I currently don’t have any abstraction for “units of work” or whatever you may call it - application didn’t need it when it was running on a single machine. I’ll have to introduce something similar to isolate jobs from actual business objects. On Wed,

Re: tapestry background jobs in a clustered environment

2017-06-28 Thread Dmitry Gusev
Not sure I understand where those pessimistic locks came from. In out case there's no locking at all, every machine in a cluster processes jobs simultaneously, unless, of course, the jobs are not from the same logical queue and must be executed in order. By row-level locking I mean PostgreSQL's S

Re: tapestry background jobs in a clustered environment

2017-06-28 Thread Ilya Obshadko
I was actually looking at Spring Batch (and a couple of other solutions). I don’t think Spring Batch could be of much help here. My conclusion is similar to what you are saying - implementing lightweight job coordinator is much easier. Row-level locking works well when you are dealing with a simp

Re: tapestry background jobs in a clustered environment

2017-06-27 Thread Dmitry Gusev
Hi Ilya, If you have Spring in your classpath you may look at Spring Batch. For our projects we've built something similar -- a custom jobs framework on top of PostgreSQL. The idea is that there a coordinator service (Tapestry service) that runs in a thread pool and constantly polls special DB t

Re: Tapestry Ajax Security

2017-05-01 Thread abangkis
Okay. Thank you very much for the info. On Mon, May 1, 2017 at 1:42 PM, Chris Poulsen wrote: > Your means to securing a "traditional tapestry page" (filter based > approach) should be sufficient. > > On Mon, May 1, 2017 at 6:39 AM, abangkis wrote: > > > Hi, with the client-side API release in T

Re: Tapestry cometd with HTTPS

2017-05-01 Thread Miguel Figueiredo
Hi, Thanks for the answer. I will look into that. Best regards, Miguel On Sun, Apr 30, 2017 at 10:12 PM, Lance Java wrote: > tapestry-cometd uses tapestry-offline under the hood to fool tapestry into > believing it was invoked via a request / response when it was actually > invoked via websock

Re: Tapestry Ajax Security

2017-04-30 Thread Chris Poulsen
Your means to securing a "traditional tapestry page" (filter based approach) should be sufficient. On Mon, May 1, 2017 at 6:39 AM, abangkis wrote: > Hi, with the client-side API release in Tapestry 5.4.2 probably there will > be more people that will depend on the tapestry ajax component. So I

Re: Tapestry cometd with HTTPS

2017-04-30 Thread Lance Java
tapestry-cometd uses tapestry-offline under the hood to fool tapestry into believing it was invoked via a request / response when it was actually invoked via websockets. I'm guessing you are rendering a link in your websocket flow. You'll need to provide a few extra symbols to render links includi

RE: Tapestry Quickstart problems

2017-04-20 Thread Svein-Erik Løken
https://issues.apache.org/jira/browse/TAP5-2579 https://issues.apache.org/jira/browse/TAP5-2580

Re: Tapestry-security/shiro check for 'any' permission

2017-04-20 Thread Barry Books
It's been a while but I think you are correct about how Shiro works. I would use a role to solve this. You can make a role like "maintainer" and assign that role to anyone that can maintain objects. Then you can protect any pages after the url /maintain On Wednesday, April 19, 2017, Robin Garner

Re: Tapestry Quickstart problems

2017-04-18 Thread Thiago H. de Paula Figueiredo
Hi! Yes, Jira tickets, please. On Sat, Apr 15, 2017 at 5:43 PM, Svein-Erik Løken wrote: > The Quickstart project demonstrates how fast it is to start developing a > Tapestry project. > > I have been using it for a new project, but could not debug JavaScript. (I > am using IntelliJ). I could not

Re: Tapestry-security CacheManager

2016-12-23 Thread Kalle Korhonen
Typically, you'd set the desired cachemanager in the realm itself, e.g.: public class UserRealm extends AuthorizingRealm { public UserRealm(...) { super(new MemoryConstrainedCacheManager()); Kalle On Wed, Dec 21, 2016 at 12:47 AM, Charlouze wrote: > Hello tapestry users, > > I wan

Re: Tapestry w Scala

2016-12-22 Thread Ilya Obshadko
I use mixed Java/Scala code for pages, components and services without any issues. To pass collections you need to either convert them to Java collections (calling .asJava), or contribute to type coercer: def createTapestryCoercions(configuration: org.apache.tapestry5.ioc.Configuration[org.apache.

Re: Tapestry w Scala

2016-12-19 Thread Alex Kotchnev
John, I thought I had more than this, but when I looked , all I had was this module for this specific conversion for Lists (it does do the job) . You can probably add this to your own module or use this module and include it in your module. object TapestryScalaModule { def contributeTypeCoerc

Re: Tapestry w Scala

2016-12-19 Thread Thiago H. de Paula Figueiredo
Yep, as Alex said, you can solve this issue by contributing a coercion from Scala collection/list/etc to the corresponding Java type. There's an explanation with examples here: https://tapestry.apache.org/type-coercion.html. On Mon, Dec 19, 2016 at 11:59 AM, Alex Kotchnev wrote: > John - I've be

Re: Tapestry w Scala

2016-12-19 Thread Alex Kotchnev
John - I've been running Tapestry and Scala for a few years now (e.g. www.zadachite.com on AppEngine, and a few internal apps), and it's been working pretty well. About the specific issue of the collection conversions - it bugged me for a little while, and I'm pretty sure I have a project somewher

Re: Tapestry w Scala

2016-12-16 Thread Qbyte Consulting
Thank you Thiago. I found that project and it has been very useful for creating my own. The only trouble I've had so far is delivering Scala collections back to pages for loop components. I ended up using Java collections in the Scala and that works fine. Sent from my iPhone > On 16 Dec 2016,

Re: Tapestry w Scala

2016-12-16 Thread Thiago H. de Paula Figueiredo
On Fri, Dec 16, 2016 at 6:53 AM, Qbyte Consulting wrote: > Hi, > Hi! > Has anyone implemented a T5.4 site with Scala, or are there any kickstart > type Scala projects out there for T5.4 please? I'd like to see how it's > done. > Not me, but yes. Christian KĂśberl wrote a blog post about it, htt

Re: Tapestry 5.4.1 Confirm mixin prevents onSuccessFrom... event from working

2016-12-07 Thread George Ludwig
I did some experimenting and discovered that the confirm mixin works fine for things like an actionlink, but it doesn't work on a form button. Is this intended behavior? I was able to hack around it by styling an action link to look like a button and putting it outside of my form. In this case work

Re: Tapestry examples page

2016-11-11 Thread JumpStart
Yes, very nice work. Thanks Carlos. > On 9 Nov 2016, at 5:13 AM, Dimitris Zenios wrote: > > Well done carlos.nice work > > On 8 Nov 2016 22:38, "françois facon" wrote: > >> Congratulations Carlos, your examples are very interesting. >> Can't wait to discover your next use cases. >> >> Regard

Re: Tapestry examples page

2016-11-11 Thread Bob Harner
I've added a link to tapestry5.dev-util.com from Tapestry's "Demos" page -- https://tapestry.apache.org/demos.html On Fri, Nov 11, 2016 at 7:36 AM, Thiago H. de Paula Figueiredo wrote: > On Tue, Nov 8, 2016 at 3:35 PM, Carlos Montero Canabal < > carlosmonterocana...@gmail.com> wrote: > >> Hi tape

Re: Tapestry examples page

2016-11-11 Thread Thiago H. de Paula Figueiredo
On Tue, Nov 8, 2016 at 3:35 PM, Carlos Montero Canabal < carlosmonterocana...@gmail.com> wrote: > Hi tapestry users, > OlĂĄ, Carlos! > I want to share with us my first version of http://tapestry5.dev-util.com > webapp. I love jumpstart project ( > http://jumpstar

Re: Tapestry examples page

2016-11-08 Thread Dimitris Zenios
Well done carlos.nice work On 8 Nov 2016 22:38, "françois facon" wrote: > Congratulations Carlos, your examples are very interesting. > Can't wait to discover your next use cases. > > Regards > > 2016-11-08 18:35 GMT+01:00 Carlos Montero Canabal < > carlosmonterocana...@gmail.com>: > > > Hi tape

Re: Tapestry examples page

2016-11-08 Thread françois facon
Congratulations Carlos, your examples are very interesting. Can'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 http://tapestry5.dev-util.com

Re: Tapestry 5.4.1, MessageFormatter gone?

2016-10-04 Thread Ivano Luberti
Il 03/10/2016 18:50, Thiago H de Paula Figueiredo ha scritto: > On Sat, 01 Oct 2016 13:20:27 -0300, Charles Roth > wrote: > > As far as I can remember, Ivy uses Maven repositories and does > transitive dependencies. > well it seems they kind of discourage this practice... http://ant.apache.org/i

Re: Tapestry 5.4.1, MessageFormatter gone?

2016-10-03 Thread Thiago H de Paula Figueiredo
On Sat, 01 Oct 2016 13:20:27 -0300, Charles Roth wrote: Thank you, and for the kind words of encouragement. :) We're stuck at the moment with Ivy (not Maven), so the transitive dependencies did not show up. I had to ask here to find out about the change (thanks everyone). As far as

Re: Tapestry 5.4.1, MessageFormatter gone?

2016-10-01 Thread Charles Roth
Just the packaging has changed, add dependency to commons: org.apache.tapestry commons 5.4.1 This dependency should be already there due to the tapestry-ioc and tapestry-core packages already depending on the commons one. This class was just moved unchanged from one subproject (JAR)

Re: Tapestry 5.4.1, MessageFormatter gone?

2016-09-27 Thread Thiago H de Paula Figueiredo
On Fri, 23 Sep 2016 22:32:45 -0300, Kalle Korhonen wrote: Just the packaging has changed, add dependency to commons: org.apache.tapestry commons 5.4.1 This dependency should be already there due to the tapestry-ioc and tapestry-core packages already depending on the commons one. Th

  1   2   3   4   5   6   7   8   9   10   >