Closed wfsaxton closed 8 years ago
It looks like this is an issue with ICEfaces 3.3. I removed that dependency and it works fine.
Any ideas how this could break this?
It looks like it's, specifically, the icefaces-compat library which contains the ICEfaces ice tags.
<dependency>
<groupId>org.icefaces</groupId>
<artifactId>icefaces-compat</artifactId>
<version>3.3.0</version>
</dependency>
This particular incompatibility comes as a surprise. Just to be sure: the menu vanishes even if you don't trigger a request?
BTW, since yesterday the latest version is 0.7.0 :).
Confirmed:
The HTML code generated by the b:dropMenu looks a bit odd. There's at least one li tag that's opened but never closed.
BTW, in case people want a workaround:
.dropdown {
display: block !important;
}
Seems to do the trick. Not sure why the display has to be effected @ all by this component but...
This particular incompatibility comes as a surprise. Just to be sure: the menu vanishes even if you don't trigger a request?
It only appears to happen when I trigger the "collapse" of the dropMenu or select one of the items in the menu.
Yeah, I managed to reproduce the error in the meantime. I guess there are two problems:
The result really looks interesting - even if it's not quite what it should look like:
After fixing a couple of minor bugs of the generated HTML code, things look a lot better. I suspect the "automatic AJAX" engine reacts a bit nervous if it detects HTML code it can't parse. There's still work left to do: a few components still can't be rendered with ICEFaces.
Frankly, ICEFaces support isn't a high priority to me. Let's admit we're incompatible and close this issue. BTW, compatibility has improved with BootsFaces 0.8.0.
Very simple. I put the sample code (below) into a facelets page and tried using the dropMenu. If you close the menu or select something from the menu, the entire dropmenu disappears. (style attrbutes gets "display: none").
I'm using version .66. Not sure if this is fixed in later versions, but this is the latest version from the maven repository. I don't see this behavior in the component showcase though...so not sure what's going on.