bug in baction and/or blink components?

Jacob Kjome <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.