- How can one catch the Enter key inside a input field and send an ajax request?
- How can on accomplish mouse over effect on rows in a table?
Regards,
BTJ
Two howto questions?
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
- Maybe you can try p:hotkey component.
http://www.primefaces.org:8080/prime-sh ... hotkey.jsf
- If you enable row selection, rows will be highlighted on mouseover;
http://www.primefaces.org:8080/prime-sh ... ection.jsf
http://www.primefaces.org:8080/prime-sh ... hotkey.jsf
- If you enable row selection, rows will be highlighted on mouseover;
http://www.primefaces.org:8080/prime-sh ... ection.jsf
Yes, I thought about hotkey but looking at the example it looked like it could not be connected to a specific input field and just used globally...?
But I guess one could do something like this then:
<h:inputtext...>
<p:hotkey.../>
</h:innputtext>
BTJ
But I guess one could do something like this then:
<h:inputtext...>
<p:hotkey.../>
</h:innputtext>
BTJ
PrimeFaces 11.x | PrimeVue 3.x | Spring Boot 2.7.x | Undertow | Mojarra 2.3.x
Mac OS, Firefox and Chromium
Mac OS, Firefox and Chromium
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
That's right by design.It looks like hotkey is called when there is no focus on a widget
-
- Information
-
Who is online
Users browsing this forum: No registered users and 14 guests