Re: Javascript templating? Removing java code mixed with js

2010-05-08 Thread nino martinez wael
take a look at inputevents in wicketstuff, it uses the javascript template james mention.. 2010/5/7 Anthony DePalma fatef...@gmail.com: I recently developed a component that can be added to any form to put a character countdown div next to any textarea. Just for some background, the component

Javascript templating? Removing java code mixed with js

2010-05-07 Thread Anthony DePalma
I recently developed a component that can be added to any form to put a character countdown div next to any textarea. Just for some background, the component constructor is: CharacterCountdownPanel(String id, TextArea textArea, int charLimit). The textarea is necessary because the countdown panel

Re: Javascript templating? Removing java code mixed with js

2010-05-07 Thread James Carman
Did you look at the JavaScriptTemplate class? On Fri, May 7, 2010 at 2:31 PM, Anthony DePalma fatef...@gmail.com wrote: I recently developed a component that can be added to any form to put a character countdown div next to any textarea. Just for some background, the component constructor is: