Re: T5: template parser XHTML-well formed --> javascript goes wrong

2008-01-02 Thread Chris Lewis
Hello, This is a documented issue (https://issues.apache.org/jira/browse/TAPESTRY-1818) that has been fixed in 5.0.8 (subversion). The bug wasn't that such code was converted as T5, for better or worse, attempts to force xml formatted data. Rather the bug was that T5 didn't support CDATA bloc

Re: T5: template parser XHTML-well formed --> javascript goes wrong

2008-01-02 Thread Fernando Padilla
Another pattern is to push as much javascript into .js files, as parameterized functions. Then from the webpage, you can call the appropriate function with the appropriate values. So you limit the js that you maintain within the template. Britske wrote: Hi , I have a template which includ

Re: T5: template parser XHTML-well formed --> javascript goes wrong

2008-01-02 Thread yuan gogo
does this help? 2008/1/2, Britske <[EMAIL PROTECTED]>: > > > Hi , > > I have a template which includes a javascript-function: > > function asyncCall (){ > if(($('quickTextField').value.length > 2)) > { > new Ajax.Request ('${quickSearchBoxLink}', > {asynchronous:true,onSuccess:handleRes

T5: template parser XHTML-well formed --> javascript goes wrong

2008-01-02 Thread Britske
Hi , I have a template which includes a javascript-function: function asyncCall (){ if(($('quickTextField').value.length > 2)) { new Ajax.Request ('${quickSearchBoxLink}', {asynchronous:true,onSuccess:handleResponse}); } } However, this gets converted to (note the > instead of '