This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes Controlling values in JSF. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Controlling values in JSF." Watch "Controlling values in JSF." New topic

Controlling values in JSF.

Nagendra Shastry

Joined: Oct 26, 2010
Posts: 19
Hello all,

I am very new to JSF field. I have a question. I have fetched some data from DB say I have data of 10 students out of which 5 guys have 60%+ marks. I want to display students with 60%+ marks on the browser. I want to control it in JSF or Iceface tag and I don't want to write any logic for sorting in backend. Can you please help out??
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15962

Welcome to the JavaRanch, Nagendra!

The core JSF does not provide any persistent data (database) services nor does it provide logic. It only supplies the MVC framework. So if you are relying only on core JSF, you cannot do this.

While there are limits, some extension tagsets for JSF such as RichFaces do provide limited control of presentation that allows altering the order of elements displayed in a RichFaces extendedDataTable so that you can click on a column header and the rows will be displayed sorted according to the values in that column.

Customer surveys are for companies who didn't pay proper attention to begin with.
Nagendra Shastry

Joined: Oct 26, 2010
Posts: 19
Thanks Tim..:-)
It is sorta covered in the JavaRanch Style Guide.
subject: Controlling values in JSF.
Similar Threads
JSF 2.0 MyConverter.getAsObject(...) how to get a handle on the backing bean
jsf not updating the database
need advice. I am feeling very down. Am I a loser?
JSF 1.2 and CSRF (Cross Site Request Forgery) protection
JSF - printing .txt file content