RE: bug in baction and/or blink components?
"Christian Cryder" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Yep...looks like there's a problem; probably located in the renderer. I will try and take a look at it this afternoon.... Christian ---------------------------------------------- Christian Cryder Internet Architect, ATMReports.com Project Chair, BarracudaMVC - http://barracudamvc.org ---------------------------------------------- "Coffee? I could quit anytime, just not today" > -----Original Message----- > From: [email protected] > [mailto:[email protected]]On Behalf Of Jacob Kjome > Sent: Friday, August 08, 2003 12:14 AM > To: BarracudaMVC Users List > Subject: [Barracuda] bug in baction and/or blink components? > > > > I'm seeing some odd behavior. For instance, take a look at: > http://barracudamvc.org/Barracuda/CompTest4 > > The first and third links stay as foo.html (as they are by default in the > template) and no parameters are added to them. This is certainly > not what > one would expect looking at the code... > > if (key.equals("Link1")) { > BAction baction = new BAction(); > baction.addView(new > DefaultView(vc.getTemplateNode().cloneNode(true))); > baction.addEventListener(getLinkFactory); > baction.setParam("foo1","blah1"); > baction.setParam("foo2","blah2"); > return baction; > } > .. > .. > else if (key.equals("Link3")) { > // BLink blink = new BLink("link example (event)", vc); > BLink blink = new BLink("link example (event)"); > blink.addEventListener(getLinkFactory); > blink.setParam("foo1","blah1"); > blink.setParam("foo2","blah2"); > return blink; > } > > > What's going on there? Hopefully someone else can look into > this as I am > going to be gone early tomorrow through late Sunday. > > Note that XMLC-2.2 will be released either tomorrow, over the weekend, or > at least by Monday. When I get back, I plan to cut a release of > Barracuda > including XMLC-2.2 release so the Enhydra guys can add a new Barracuda to > their next release. I'd rather not have this bug around at that > time. If > someone can look into this and fix it before I get back on Sunday > night, it > would be very helpful! > > Jake > > _______________________________________________ > Barracuda mailing list > [email protected] > http://barracudamvc.org/lists/listinfo/barracuda