quickstart pom.xml - update maven-war-plugin to 3.3.1

2022-02-02 Thread peter . skala
3.3.1 to pom.xml. Even though "mvn jetty:run" runs properly, it is better to produce error free build during the first contact with tapestry. Would you like to have look at the issue? Thanks, Peter Skala - To unsu

Re: How to pass a variable from Javascript code to Java

2018-08-27 Thread peter . skala
Hi Marwa, there is an example in the bottom part of this page https://tapestry.apache.org/ajax-and-zones.html which you can use for your development. The paragraph "Invoking server-side event handler methods from JavaScript" contains the corresponding explanation. If you do not want to use zon

Re: Single Page Application

2018-06-03 Thread peter . skala
Hi Juan, unfortunatelly I do not have a self-contained example of this approach that I could provide you now. Here: http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/In-which-direction-is-Tapestry-heading-td5733862.html#a5733882 I posted some JS code which demonstrates, how you

Re: Single Page Application

2018-05-30 Thread peter . skala
Hi, I have been experimenting with the combination tapestry + angular (1.x) few years ago, then used angular in two commercial projects. After this experience I believe, that it is, at least from my point of view, more efficient to use AMD (requireJS) and tapestry components in a way that I have

Re: Aw: Re: In which direction is Tapestry heading?

2018-03-28 Thread peter . skala
Hallo Reinhold, Tapestry can be used without classical forms. If you have to include the form component because of the dependence of the input components on it, suppress its default action. On the client side you can use any DOM event to trigger an Ajax action. A typical event handler can look l

Re: In which direction is Tapestry heading?

2018-03-27 Thread peter . skala
swagger. What would be the most effective design for it? Peter Skala > Hello! > > On Thu, Mar 22, 2018 at 8:22 PM, Reinhold Gruber wrote: > >> Hi! >> >> 6 years ago HLS wrote an article on Dzone https://dzone.com/articles/ >> tapestry-54-focus-javascrip

Re: Tapestry 5.4 Ajax Event Handling

2014-08-08 Thread peter . skala
homework done > On Wed, 06 Aug 2014 10:38:40 -0300, wrote: > >> Hi Thiago, > > Hi! > >> thanks for the useful link. >> Many thanks also for the hint - I don't event have to monkey path the >> t5-dom module, as the "on" method in this module is public. It is enough >> to call it with the "selector

Re: Tapestry 5.4 Ajax Event Handling

2014-08-06 Thread peter . skala
I am using prototype. What kind of problem is it? > Are you running with jQuery or Prototype? I just found a Zone event > problem > today and when I switched to jQuery it went away. > > > On Wed, Aug 6, 2014 at 12:49 PM, Thiago H de Paula Figueiredo < > thiag...@gmail.com> wrote: > >> On Wed, 06 A

Re: Tapestry 5.4 Ajax Event Handling

2014-08-06 Thread peter . skala
> >> Hi Thiago, > > Hi! > >> thanks for the useful link. >> Many thanks also for the hint - I don't event have to monkey path the >> t5-dom module, as the "on" method in this module is public. It is enough >> to call it with the "selector" as the first parameter instead of >> document. > > Nice! >

Re: Tapestry 5.4 Ajax Event Handling

2014-08-06 Thread peter . skala
Hi Thiago, thanks for the useful link. Many thanks also for the hint - I don't event have to monkey path the t5-dom module, as the "on" method in this module is public. It is enough to call it with the "selector" as the first parameter instead of document. I haven't filled Jira yet. This is a new

Re: Strange in Tapestry binding

2014-08-06 Thread peter . skala
the expression does not throw an exception, wenn getStudent() returns null. best regards, Peter > Hi all, > > Does anyone see the similar binding as below: > > Java code: > Student student; > > Tml file: > > > > I don't know why they add "?" in data binding ? > > Thanks, > Duy. > -

Tapestry 5.4 Ajax Event Handling

2014-08-06 Thread peter . skala
Hi everybody, I am preparing the migration of two tapestry projects from 5.3.7 to 5.4. A strong motivation for this is the fact, that die client (java script) interface is much clearer and easier to handle and to extend in Tapestry 5.4. (Great Job guys!! Thanks!) Nevertheless in both of these pr