Re: [Announcement] New feature for Tapestry 5.4.2 and 5.5: easily call event handler methods from JavaScript

"Thiago H. de Paula Figueiredo" <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <CAE_88GZV9yKXcPmvm6CmEw2uYgSf3tCz=sb+37OJA20RUe5tHw@mail.gmail.com>
Cool! It's nice to see a feature I've wanted for so long already being
adopted by users. Thanks for the example!

On Fri, Apr 21, 2017 at 11:18 AM, Svein-Erik Løken <[email protected]> wrote:

> The @PublishEvent was a big improvement 😊
>
>
>
> I am using it already. I have created a working demo. I really like that
> it is so easy to stop hardcoding of event url.
>
>
>
>
>
> https://github.com/sveine/tapestry-multi-module-demo/
> blob/master/module1-root/module1/src/main/java/com/demo/module1/pages/
> PublishEventDemo.java
>
> https://github.com/sveine/tapestry-multi-module-demo/
> blob/master/module1-root/module1/src/main/resources/
> com/demo/module1/pages/PublishEventDemo.tml
>
> https://github.com/sveine/tapestry-multi-module-demo/
> blob/master/module1-root/module1/src/main/resources/META-INF/modules/
> publisheventdemo.js
>
> https://github.com/sveine/tapestry-multi-module-demo/
> blob/master/core/src/main/resources/META-INF/modules/util/tapestryutil.js
> (TapestryUtil.ajaxEvent)
>



-- 
Thiago
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.