How to execute code when user leaves the page, when their session ends, or if they close their browser [duplicate]
This question already has answers here: Doing something whenever user exits particular page (2 answers) Page unload event handling in JSF (1 answer) Closed 8 days ago. I have an older technology project that uses PrimeFaces 3.5 and Java EE. I am trying to implement a locking mechanism to prevent multiple users from editing the […]
How to execute code when user leaves the page, when their session ends, or if they close their browser [duplicate]
This question already has answers here: Doing something whenever user exits particular page (2 answers) Page unload event handling in JSF (1 answer) Closed 8 days ago. I have an older technology project that uses PrimeFaces 3.5 and Java EE. I am trying to implement a locking mechanism to prevent multiple users from editing the […]
How to execute code when user leaves the page, when their session ends, or if they close their browser [duplicate]
This question already has answers here: Doing something whenever user exits particular page (2 answers) Page unload event handling in JSF (1 answer) Closed 8 days ago. I have an older technology project that uses PrimeFaces 3.5 and Java EE. I am trying to implement a locking mechanism to prevent multiple users from editing the […]
How to execute code when user leaves the page, when their session ends, or if they close their browser [duplicate]
This question already has answers here: Doing something whenever user exits particular page (2 answers) Page unload event handling in JSF (1 answer) Closed 8 days ago. I have an older technology project that uses PrimeFaces 3.5 and Java EE. I am trying to implement a locking mechanism to prevent multiple users from editing the […]
How to execute code when user leaves the page, when their session ends, or if they close their browser [duplicate]
This question already has answers here: Doing something whenever user exits particular page (2 answers) Page unload event handling in JSF (1 answer) Closed 8 days ago. I have an older technology project that uses PrimeFaces 3.5 and Java EE. I am trying to implement a locking mechanism to prevent multiple users from editing the […]
CommandButton oncomplete is not executed
My oncomplete is not executed, where is the problem here, I debug the action that fires without problems and executes but the oncomplete does not execute.
jsf selectOneRadio: group attribute caused this error =>return value of “jakarta.faces.component.UISelectOne.getGroup()” is null
I have a jsf page that contains three selectOneRadio elements. The first two works fine. But this last one (see below) keeps getting the “”jakarta.faces.component.UISelectOne.getGroup()” is null” error. I noticed that if I remove the group attribute, I don’t get that error. I need the group attribute, but I can’t figure out why jsf is not liking it. Any idea what might be causing this error? Note: I am using myfaces 3.x
myfaces 3.x selectOneRadio generates the html input with id being included in the value
I have this selectOneRadio element in my xhtml page.
jsf conditional checked attribute using passthrough not working
I am trying to use the jsf passthrough to conditionally add the checked attribute to radio buttons. It is not working. The checked attribute gets added to the radio button even when the condition returns null. Below is a test I did. What am I doing wrong here?
Classic ASP to Java UI Conversion
My question is based on a business model of a financial services organization that currently is supporting applications that are a hybrid mix of Classic ASP and Java, with some JSP’s already in some of the applications.