You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I started using BootFaces a few weeks ago. My question is why after clicking a navCommandLink (inside a dropMenu) and executing the action (JSF action), the entire dropMenu gets unavailable?
In order to make it available again, I have to click another navCommandLink (outside dropMenu), and then the dropMenu works again...
Environment:
JDK 1.8 (OpenJDK)
BootFaces-OSP-0.9.1
MyFaces 2.2
TomEE Plume - 1.7.4
Browsers:
Mozilla Firefox 49
Google Chrome 53.0.2785.143
The text was updated successfully, but these errors were encountered:
edugarciagt
changed the title
b:dropMenu and b:navCommandLink behaviour after action executed.
b:dropMenu and b:navCommandLink behavior after action executed.
Oct 11, 2016
We couldn't reproduce your bug, so I'm not sure my answer solves the problem, but I spot two things that are a bit odd:
If you provide an action, you don't need the href="#" bit. It's simply ignored if there's an action.
The action is meant to be an EL expression. It seems to work in your case, too, but the generated code is inefficient. Plus, it generates an AJAX request due to a bug (navCommandLink works different: partialResponse #501). Try replacing it with a non-AJAX <b:navLink />:
Hi, I started using BootFaces a few weeks ago. My question is why after clicking a navCommandLink (inside a dropMenu) and executing the action (JSF action), the entire dropMenu gets unavailable?
In order to make it available again, I have to click another navCommandLink (outside dropMenu), and then the dropMenu works again...
Here is my testing code:
Which is included in a page by the use of ui:include tag as follows:
Environment:
JDK 1.8 (OpenJDK)
BootFaces-OSP-0.9.1
MyFaces 2.2
TomEE Plume - 1.7.4
Browsers:
Mozilla Firefox 49
Google Chrome 53.0.2785.143
The text was updated successfully, but these errors were encountered: