The generated page must have a <html> element and a <body> element for the JavaScript integration to work.
On Sat, Sep 13, 2008 at 8:59 AM, ProAdmin Dariusz Dwornikowski <[EMAIL PROTECTED]> wrote: > Hi, > > Im doing application in 5.0.14. Everything worked nice, but now i have > got a problem with JS things, like datepicker and FCK from > t5components. They do not work, for example icon for datepicker shows > up, but no action when i click on it. Instead of FCK normal textarea > is shown. I can also see that : > <!-- > Tapestry.onDOMLoaded(function() > .... > does not show up in source of page. > Only thing i did was making tapestry to generate XHTML, according to > wiki and this list. But i reverted all changes to eliminate them as > source of problem. Also i erased fck from tml. Still datepicker does > not work. > > My application is very simple: > > The tml is; > > <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> > <h1>Adding event</h1> > <t:form t:id="event"> > <t:label t:for="title"/><br/> > <input type="text" t:id="title" t:type="TextField" t:value="title" > size="100"/> <br/><br/><br/> > > > > <t:label t:for="author"/><input type="text" t:id="author" > t:type="TextField" t:value="author"/> <br/> > <t:label t:for="dateOfPublication"/><input type="text" > t:id="dateOfPublication" t:type="datefield" > t:value="dateOfPublication"/> <br/> > <t:label t:for="category"/><input type="select" t:id="category" > t:type="select" t:model="categories"/><br/><br/><br/><hr/> > <t:label t:for="file"/><input type="upload" t:id="file" > t:type="Upload"/><br/> > <input type="submit" t:type="submit" t:id="submitButton" > value="Submit"/> > </t:form> > > </html> > > And the page class for that was not changed. > > How can i diagnose what is wrong? Logs say nothing. > > > -- > Pozdrawiam, > Dariusz Dwornikowski > ------------------------------------ > ProAdmin > ul. Królowej Jadwigi 44/2 > 61-872 Poznań > tel: 061 623-20-92 > kom: 0601 59-64-74 > fax: 061 623-20-93 > www.proadmin.com.pl > [EMAIL PROTECTED] > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind