jsf

Public/Popular Websites using JavaServer Faces

Are there any popular and/or public websites that utilize the JavaServer Faces framework? I don't ever recall stumbling across any ever on the Internet. In my experience JavaServer Faces is usually reserved for non-public enterprise and business level applications. I am curious to know because I am researching how terrible of an idea it...

ICE Faces fileInput file path and file name properties

I'd like to utilize an ICE Faces fileInput control to fill in the file path & file name for the input to an input field on a web page based on file that the user selects. How can I capture these properties without actually performing any file transfer operations? ...

What are the best practices for JSF?

I have done Java and JSP programming in the past, but I am new to Java Server Faces and want to know if there's a set of best practices for JSF development. ...

JSF Lifecycle and Custom components

There are a couple of things that I am having a difficult time understanding with regards to developing custom components in JSF. For the purposes of these questions, you can assume that all of the custom controls are using valuebindings/expressions (not literal bindings). Although I'll gladly upvote those who give good explanations on...

Any data-driven open source JEE5 EJB3+JSF Sample Project out there?

I am looking for an open source project that uses EJB3 as backend and JSF as frontend. It should not be a tutorial but a real application that real people are using. The application should be data-driven, i.e. the following aspects are fundamental and make 80% or more of the application. form-based (many input forms) table views, mast...

Mixing jsp and jsf

I will elaborate somewhat. Jsf is kind-of extremely painful for working with from designer's perspective, somewhat in the range of trying to draw a picture while having hands tied at your back, but it is good for chewing up forms and listing lots of data. So sites we are making in my company are jsf admin pages and jsp user pages. Proble...

Are there any JSF component libraries that generate semantic and cross-browser html markup?

I'm using RichFaces per a client requirement, but the markup it (and the stock JSF controls) generates is an awful mess of nested tables. Are there any control libraries out there that generate nicer markup? AJAX support is a huge plus! ...

The <t:message> doesn't display properly when using <t:inputFileUpload> inside <t:PanelTabbedPane>

Hi people: In a JSP page, I created a <h:form enctype="multipart/form-data"> with some elements: <t:inputText>, <t:inputDate>, etc. Also, I added some <t:message for="someElement"> And I wanted to allow the user upload several files (one at a time) within the form (using <t:inputFileUpload> ) At this point my code works fine. The hea...

How do you do paged lists in JavaServer Faces?

I have a JSF application that I am converting over to use webservices instead of straight up database queries. There are some extremely long lists that before could be returned easily with a simple SQL query. I'd like to figured out how implement the paging using JSF/web services. Is there a good design pattern for doing paged web servic...

Extracting text from a PDF using JBoss Richfaces

I am trying to write a web-app to manage references for my PhD thesis. I used to manage this information inside a personal Confluence (fantastic tool! - http://www.atlassian.com/software/confluence/) instance however I'm fed-up with the opening of PDF's and cutting and pasting values into fields that I wish to record. I have exposed a ...

How do I set the HttpOnly flag on JSF/Richfaces

I'd like to add the HttpOnly flag to JSF/richfaces cookies, especially the session cookie, to up the level of security on my web app. Any ideas? ...

How can I execute Javascript before a JSF <h:commandLink> action is performed?

If you have a JSF (which uses the onclick event of an to submit the current form), how do you execute Javascript (such as asking for delete confirmation) prior to the action being performed? ...

Using Spry inside Java Server Faces framework

I'm trying to insert a Spry accordion into an already existing JSF page using Dreamweaver. Is this possible? I've already tried several things, and only the labels show up. ...

How can I improve the performance of the RichFaces ScrollableDataTable control?

First, a little background: I'm displaying a data set with 288 rows and 8 columns (2304 records) using a ScrollableDataTable and the performance leaves a lot to be desired. An AJAX request that rerenders the control takes nearly 20 seconds to complete, compared to 7 seconds when rendering the same data using a DataTable control. Metri...

Internationalised labels in JSF/Facelets

Does Facelets have any features for neater or more readable internationalised user interface text labels that what you can otherwise do using JSF? For example, with plain JSF, using h:outputFormat is a very verbose way to interpolate variables in messages. Clarification: I know that I can add a message file entry that looks like: labe...

JSF selectItem label formatting

Trying to keep all the presentation stuff in the xhtml on this project and I need to format some values in a selectItem tag have a BigDecimal value and need to make it look like currency. Is there anyway to apply a <f:convertNumber pattern="$#,##0.00"/> Inside a <f:selectItem> tag? Any way to do this or a work around that doesn't involv...

Specifying Source for Debugging using Netbeans

Using the debugger in Netbeans 6.1, I'd like to step into a method of the JSF library (specifically method saveSerializedView of class StateManager), but I cannot figure out how to specify through the IDE the location of the source code for the JSF library. I'm even having trouble determining which jar file or files Netbeans is using for...

What is the best Ajax framework for JSF

I have an existing JSF application (Tomcat 6, MyFaces, JSF 1.2, Tomahawk, JSP) and we are looking at adding AJAX to existing pages. 1 What is the best framework you have used. 2 What issues have you had. I have stated looking at Richfaces, and just started looking at Icefaces Thanks. ...

JSF how do I retrieve the selected rows of a woodstock table

I have a JSF woodstock table with checkboxes. When a row is selected I want to do some processing with those items. I managed to get a selection of RowKey objects but can't find out how to get the original objects I put in back. The table is populated by an ObjectListDataProvider. ...

Get Form request with Seam/JSF

I have a query form that I would like to submit as a GET request so the result page may be bookmarked and otherwise RESTful. It's your classical text field with a submit button. How do I induce Seam/JSF to use GET and include the query expression as a parameter rather than POST, the default? ...