No, I'm not using a form. Thanks nevertheless. Manuel
-----Original Message----- From: Steve Shucker [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 17. Januar 2007 17:28 To: Tapestry users Subject: Re: Tacos:Tree - Node opens after submit only Are you using the tree in a form? If so, it's bugged. http://tacoscomponents.jot.com/BugReporter/Bug32 I posted a workaround a while ago, but it assumes that you don't have any form controls in your tree nodes. http://mail-archives.apache.org/mod_mbox/tapestry-users/200606.mbox/%3C018e0 [EMAIL PROTECTED] If you're not in a form, ignore me. -Steve Manuel Thurn wrote: > Hello everybody, > > I tried to implement a tree using the sources of the Tacos demo (I use > Tacos 4.0.0 with Tapestry 4.0.2) as a guide but the nodes won't open > in Ajax style (without page reload). When I click on a node the font > gets bold and the plus sign switches to minus but the node shows its > content only after a submit. > > HTML snippet: > <div jwcid="tree" id="tree"> > <span jwcid="nodeLink"> > <span jwcid="icon"/> > <span jwcid="nodeLabel"/> > </span> > </div> > > Excerpt of my page specification: > > <component id="nodeLink" type="Tacos:AjaxDirectLink"> > <binding name="listener" > value="ognl:components.tree.listeners.contentExpansion"/> > <binding name="parameters" value="linkParameters"/> > <binding name="updateComponents" value="componentsToUpdate"/> > > <binding name="effects" > value="template:{highlight:{'${component.id}':'[255,255,184], 500, 500', > '${component.id}':'[255,255,184], 500, 500'}, > fadeshow:{'${component.id}':300, '${component.id}':500}}"/> > > </component> > > <component id="nodeLabel" type="Insert"> > <binding name="value" value="nodeLabelText"/> > <binding name="class" value="nodeLabelStyle"/> > </component> > > <component id="tree" type="Tacos:Tree"> > <binding name="contentProvider" value="contentProvider"/> > <binding name="keyProvider" value="keyProvider"/> > <binding name="value" value="component"/> > <binding name="state" value="componentState"/> > <binding name="sorter" value="treeSorter"/> > <binding name="rowStyle" value="beans.evenOdd"/> > <binding name="partialBlockClass" value="literal:treeBlock"/> > <binding name="linkListener" value="listener:select"/> > <binding name="delayedLoad" value="ognl:true"/> > <binding name="loadElement" value="literal:partialWait"/> > <binding name="nodeLinkAjax" value="ognl:true"/> > </component> > > I would be very thankfully for any advice. > > Greetings, > Manuel > > > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]