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

2015-05-22 Thread Thiago H de Paula Figueiredo
On Fri, 22 May 2015 09:59:53 -0300, Poggenpohl, Daniel wrote: Hello again and thanks for answering, Hi! But when I create a page containing some textarea in a form, import the tinyMCE.js, and put the mixin on the textarea in the tml, the editor is not started. Have you checked the br

AjaxUpload and BeanEditContext

2015-05-22 Thread Peter Hvass
Hello all, tl;dr - need to push a BeanEditContext before AjaxUpload's upload event and pop just afterwards. I've been playing around with this; https://gist.github.com/xfyre/83f82f6e5145ee041217 It appears to be based on Tawus' AjaxUpload component here; https://github.com/tawus/tawus/tree/maste

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

2015-05-22 Thread Poggenpohl, Daniel
Hello again and thanks for answering, I removed the from the beginning of the component template and created a mixin like on http://metacoder.de/entry/TinyMCE-Mixin-in-Tapestry-5---Version-2-4 . F

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

Adding JS to my component combined with using t:If

2015-05-22 Thread Poggenpohl, Daniel
Hello everyone, 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://tapestry.apache.org/legacy-javascript.html , the preferred way to reference a