

JSF: commandLink and datatable a small nightmare
source link: https://marco.dev/2007/06/26/jsf-commandlink-and-datatable-a-small-nightmare/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

java-version.com: What's new in Java 16? 15? Keep up to date!
JSF: commandLink and datatable a small nightmare
Many developers had problems using a commandLink in a column’s datatable.
Often when the user clicks on the link the backing bean method linked by the action is not called.
In the picture the first icon edits and the second delete the row …
According to Sun this is a feature and it will not be solved.
The most used workaround is to place the managed bean with the methods in the session scope 🙁
You can find a good explanation of the problem and an alternative solution here:
https://typo.ars-subtilior.com/articles/2007/02/07/jsf-datatable-and-commandlink
Author
Marco Molteni
Marco Molteni Blog
Recommend
-
38
-
15
java-version.com: What's new in Java 16? 15? Keep up to date! JSF 2 converters and Spring services Problem:...
-
14
java-version.com: What's new in Java 16? 15? Keep up to date! Use Groovy has Spring bean in a JSF web application
-
4
Two tips for the people who is fighting with these technologies: Implement the login page: here you have a great tutorial that explains how to i...
-
17
java-version.com: What's new in Java 16? 15? Keep up to date! Using Spring with JSF – the managed bean – tutorial
-
5
In this tutorial we are going to build API as a data source for a DataTable jQuery plugin. Introduction There is this awesome plugin I have used recently for displaying and sorting data
-
5
Experiencing JSF 1.2: Good but Needs a Framework July 30, 2011 I've got an opportunity to experiment with JSF 1.2 while prepa...
-
10
When will we see JSR 286 in JSF portlets? March 17, 2009 Since June 2008 we have the final release of Portlet 2.0 (
-
6
JSF is unable to find resources in subfolders advertisements I have a Javaee7, JSF2 web app running in Glassfish 4.0 using maven...
-
8
Getting started with JSF 4.0 on WildFly 27 15 July 202214 July 2022 by F.Marchioni
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK