Problem with BList rendering
Mark van Leeuwen <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Organization | Virgil B.V. |
| Message-ID | <[email protected]> |
Hello,
We are experiencing some difficulties with BList rendering.
We have the following snip in our html mockup:
<ul id="anID">
<li>will be removed</li>
</ul>
We have the following code to fill this <ul>
DefaultListModel listModel = new DefaultListModel();
listModel.add(new BLink("my link", anURL));
BList bList = new BList(listModel);
bList.addView(new DefaultView(page.getElementAnID()));
The resulting HTML code is
<ul id="anID">
<li>
<ul id="anID">
<li><a href="http://barracudamvc.org.is.down">my link</a></li>
</ul>
</li>
</ul>
I suppose this is a problem with Barracuda, I do not expect it to
reinject a <ul><li> inside a <li> while rendering. We're using version
1.2.5 by the way.
Regards,
--
Mark