Skip to content

Commit

Permalink
Fix typo on AjaxRenderer and litte problem on FlyOutMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
asterd committed May 10, 2016
1 parent 8fcc23b commit f1b5ebe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void decode(FacesContext context, UIComponent component, String component
String event = context.getExternalContext().getRequestParameterMap().get("javax.faces.partial.event");
String realEvent = (String) context.getExternalContext().getRequestParameterMap().get("params");
if (null != realEvent && realEvent.startsWith("BsFEvent=")) {
realEvent = realEvent.substring("BfFEvent=".length());
realEvent = realEvent.substring("BsFEvent=".length());
if (!realEvent.equals(event)) {
// System.out.println("Difference between event and
// realEvent:" + event + " vs. " + realEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import net.bootsfaces.component.ajax.AJAXRenderer;
import net.bootsfaces.component.dropButton.DropButton;
import net.bootsfaces.component.dropMenu.DropMenu;
import net.bootsfaces.component.flyOutMenu.FlyOutMenu;
import net.bootsfaces.component.icon.IconRenderer;
import net.bootsfaces.component.listLinks.ListLinks;
import net.bootsfaces.component.navBar.NavBar;
Expand Down Expand Up @@ -108,7 +109,7 @@ public void encodeHeader(FacesContext context, String h, UIComponent navlink) th
if (parent != null) {
if (parent instanceof DropButton || parent instanceof NavBar || parent instanceof TabLinks
|| parent instanceof PillLinks || parent instanceof ListLinks || parent instanceof NavBarLinks
|| parent instanceof DropMenu) {
|| parent instanceof DropMenu || parent instanceof FlyOutMenu) {
htmlTag = "li";
}
}
Expand Down

0 comments on commit f1b5ebe

Please sign in to comment.