This is the rendered code, could you please provide the corresponding template and page class code?
Uli Am Do, 21.02.2008, 13:28, schrieb Andy Pahne: > Hi, > > I try to imlement a suggest feature with the Suggest component. > Unfortunatly the suggestions do not render properly. I had a look at the > TimeTracker demo and copied all relevant parts into my test application, > but the generated result looks different and the suggestions are not > visible. > > My code and templates are copied from the TimeTracker demo (incl. CSS, > Border component and everything else). But if I inspect the DOM after > the suggestions should have been rendered, the result looks different. > It's no surprise that no suggestions are rendered at all because of > style="display: none;" > in the output of my test... > > > > from the TimeTracker demo: > > ... > <input autocomplete="off" id="suggest" name="suggest" size="34" > value="" type="text"> > <div style="position: absolute; left: 147px; top: 220px; width: 230px; > opacity: 0.999999;" id="suggestchoices" class="autocomplete"><ul><li > class="selected"><img > src="http://setiathome.free.fr/images/flags/ye.gif">Yemen</li></ul> > ... > </div> > </td> > > ... > > > from my appilication: > > ... > <input autocomplete="off" id="suggest" name="suggest" size="60" value="" > type="text"><div style="display: none;" id="suggestchoices" > class="autocomplete"><script> > //<![CDATA[ > dojo.require("tapestry.event"); > //]]> > </script><script> > //<![CDATA[ > tapestry.cleanConnect("eventListenerDemo", "onmouseover", > "event1975610136"); > tapestry.event1975610136=function(e){ > var content={beventname:"onmouseover"}; > tapestry.event.buildEventProperties(e, content, > arguments); > if (!content["beventtarget.id"]) > content["beventtarget.id"]="eventListenerDemo"; > > tapestry.bind("/oos/directevent.svc?page=test%2FAjaxTest&session=T", > content); > }; > tapestry.connect("eventListenerDemo", "onmouseover", > "event1975610136"); > //]]> > </script><ul><li><img > src="http://setiathome.free.fr/images/flags/si.gif">Slovenia</li> > ... > </ul></div></td> > </tr> > ... > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
