Re: Adding JS to my component combined with using t:If

2015-05-27 Thread Geoff Callender
Have you considered adding a hidden AJAX-enabled Form to the page containing (1) a content TextField and (2) a Submit? On click of Test Button, make your JavaScript set the value of (1) to whatever is in the editor and do click() on (2). Server-side, you’d provide all the usual event-handling

Re: Adding JS to my component combined with using t:If

2015-05-27 Thread Geoff Callender
Have you considered adding a hidden AJAX-enabled Form to the page containing (1) a content TextField and (2) a Submit? On click of Test Button, make your JavaScript set the value of (1) to whatever is in the editor and do click() on (2). Server-side, you’d provide all the usual event-handling

Re: Adding JS to my component combined with using t:If

2015-05-22 Thread Thiago H de Paula Figueiredo
On Fri, 22 May 2015 07:01:14 -0300, Poggenpohl, Daniel wrote: Hello everyone, Hi! I am trying to add the capabilities of a WYSIWYG editor to my Tapestry 5.3.8 project, namely TinyMCE. I have some questions regarding use of JavaScript in my pages/components: 1) Reading https://ta