In case you're interested for future reference, I've documented a way to mimick submit on change for checkboxes here:
http://jroller.com/page/mdillon101/20050201#mimicking_submitonchange_feature_on_the HTH, Mark On 6/14/05, gvp <[EMAIL PROTECTED]> wrote: > Hello Ashish, > > A couple days ago I faced this issue too. Tapestry checkbox doesn't > support submitonchange property so my solution was to add N > DirectLinks for each component with specific id and in javascript > triger navigate(document.all.linkId.url) on checkbox click event. > > And in DirectLink listener I changed the state of appropriate model > objects to checked. > > Totally another solution was to rewrite TacosTree to client centric > state so tree is loadded completely not partially and +/- click doesn't > do server roundtrip. In this case I check all children nodes in > javascript. This solution was final for me because I need to get rid > of server roundtrips when +/- is clicked. This caused reset of the rest of > form > controls. > > > Hi Guys, > > I need to implement tacos tree with check boxes on the nodes, so > > that if user select a node all children should also get selected. > > How to do this? Please suggest. > > Thanks, > > Ashish > > > -- > Best regards, > gvp > > > --------------------------------------------------------------------- > 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]
