JavaPins - Stories tagged with JSF
1
Pins

How to trigger a Quartz job manually (JSF 2 example)

posted by anishaanisha 625 days, 8 hours, 34 minutes ago
Tuesday, August 07, 2012 5:51:30 PM GMT
In this tutorial, we will show you a JSF 2 web application, display all the Quartz jobs on dataTable, and allow user to click a link o fire the job manually. (more)
category: JSF | clicked: 5 | comment | | source: www.mkyong.com
tags: JSF, Quartz, trigger
1
Pins

Using a PhaseListener to Debug JSF Development Defects - Developer.com

posted by anishaanisha 638 days, 10 hours, 33 minutes ago
Wednesday, July 25, 2012 3:52:57 PM GMT
Many traditional Java developers quickly embraced the Java Server Faces (JSF) framework and the various library extensions for Java Web development. JSF frameworks hide a large number of details from the developer, who typically has either always used JSF frameworks or is familiar with non-JSF frameworks that implement their solutions in a very different manner. (more)
category: JSF | clicked: 1 | comment | | source: www.developer.com
tags: Debug, JSF, PhaseListener
2
Pins

ICEmobile - Enabling Enterprise Mobility with JSF

published 632 days, 9 hours, 47 minutes ago posted by anishaanisha 638 days, 14 hours, 36 minutes ago
Tuesday, July 31, 2012 4:37:59 PM GMT Wednesday, July 25, 2012 11:49:26 AM GMT
ICEmobile - Enabling Enterprise Mobility with JSFGet thread feed ICEmobile - Enabling Enterprise Mobility with JSF (6 messages)Posted by:Kito MannPosted on: May 18 2012 12:49 EDT JSF is not new to the mobile landscape.  As early as 2007, the ICEfaces framework was being used to deliver JSF-based applications to mobile devices. (more)
category: JSF | clicked: 2 | comment | | source: www.theserverside.com
tags: enterprise mobility, ICEmobile, JSF
2
Pins

Metadata based validation for JavaServer Faces

published 632 days, 9 hours, 47 minutes ago posted by anishaanisha 638 days, 14 hours, 43 minutes ago
Tuesday, July 31, 2012 4:37:59 PM GMT Wednesday, July 25, 2012 11:42:47 AM GMT
Home>News> Metadata based validation for JavaServer FacesEmail ThisHomeNews: Metadata based validation for JavaServer FacesGet thread feedMetadata based validation for JavaServer Faces (0 messages)Posted by:Kito MannPosted on: June 08 2012 09:10 EDT An important part of validation in a UI is the result displayed in case of a detected violation. ExtVal provides a pluggable mechanism that lets you provide a MessageResolver class per constraint via convention or dependency injection. It's also possible to ... (more)
category: JSF | clicked: 4 | comment | | source: www.theserverside.com
tags: JSF, Metadata, validation
1
Pins

Java Evangelist John Yeary's Blog: JSF 2.x Injecting @ManagedBean Instances

posted by tracytracy 639 days, 7 hours, 25 minutes ago
Tuesday, July 24, 2012 7:00:34 PM GMT
Here are three ways to inject a @ManagedBean into another @ManagedBean. In Java EE 6, the preferred method is to use the @ManagedProperty annotation. You can however use JSF 2.x in Java EE 5. You must simply replace the current JSF implementation with Mojarra 2.x. If this is the case,  the use of annotations is not possible. Two techniques below will work on EE5 and EE6 applications. @ManagedPropertyThe @ManagedProperty annotation will work on Java EE 6 applications as noted. To use the annotation,  you... (more)
category: Java EE | clicked: 0 | comment | | source: javaevangelist.blogspot.in
tags: example, JavaEE, JEE6, JSF, Tutorial
1
Pins

A first look at JavaServer Faces, Part 1 - JavaWorld

published 648 days, 12 hours, 49 minutes ago posted by pankajsharmapankajsharma 649 days, 11 hours, 52 minutes ago
Sunday, July 15, 2012 1:36:06 PM GMT Saturday, July 14, 2012 2:33:31 PM GMT
Recently, I had the good fortune of training and mentoring a group of novice Java developers as we implemented a complex Web application using Struts, Enterprise JavaBeans (EJB), servlets, JavaServer Pages (JSP), and the JSP Standard Tag Library (JSTL). (more)
category: JSF | clicked: 6 | comment | | source: www.javaworld.com
tags: JSF
3
Pins

The AjaxComponent strategy for JSF

published 640 days, 16 hours, 58 minutes ago posted by pankajsharmapankajsharma 649 days, 11 hours, 54 minutes ago
Monday, July 23, 2012 9:27:56 AM GMT Saturday, July 14, 2012 2:31:25 PM GMT
Adding Ajax capability to JSF applications is easy to talk about but not so simple to do. Developing a custom lifecycle phase is too complex for most needs; putting the handler code in the component's decode() method doesn't give you enough control; and using a phase listener by itself breaks encapsulation. In this article, Matt Tyson demonstrates the AjaxComponent strategy -- an effective and practical way of integrating Ajax into your JSF applications, and easily extensible to boot. (more)
category: Ajax | clicked: 2 | comment | | source: www.javaworld.com
tags: AjaxComponent, JSF
1
Pins

JSF frameworks: Shale and Seam - JavaWorld

published 648 days, 12 hours, 49 minutes ago posted by pankajsharmapankajsharma 649 days, 11 hours, 56 minutes ago
Sunday, July 15, 2012 1:36:06 PM GMT Saturday, July 14, 2012 2:29:17 PM GMT
JavaServer Faces (JSF) brings a new paradigm to developing Web-based applications in Java. Released a few years ago, but now slated to become part of Java Enterprise Edition 5 (Java EE is Sun's new name for J2EE), JSF will gradually supplant the old manner of structuring Java Web tier applications in JavaServer Pages (JSP) and servlets (more)
category: JSF | clicked: 7 | comment | | source: www.javaworld.com
tags: Framework, JSF
2
Pins

Put JSF to work - JavaWorld

published 646 days, 8 hours, 58 minutes ago posted by pankajsharmapankajsharma 649 days, 11 hours, 58 minutes ago
Tuesday, July 17, 2012 5:27:26 PM GMT Saturday, July 14, 2012 2:26:59 PM GMT
JavaServer Faces (JSF) technology is a new user interface framework for J2EE applications. It is particularly suited, by design, for use with applications based on the MVC (Model-View-Controller) architecture. Numerous articles have introduced JSF. (more)
category: JSF | clicked: 6 | comment | | source: www.javaworld.com
tags: JSF
1
Pins

Pump some AJAX into your JSF application

published 660 days, 9 hours, 23 minutes ago posted by tracytracy 662 days, 10 hours, 53 minutes ago
Tuesday, July 03, 2012 5:02:33 PM GMT Sunday, July 01, 2012 3:32:34 PM GMT
In my previous article, "Put on a Happy MyFace" (July 2006), I showed how to use the JavaServer Faces (JSF) MyFaces component-based framework to create an employee header/detail use-case. Other functionality needs to be added to this application, such as the ability to add or delete an employee. In this article, I not only introduce these new functions, but also demonstrate how to use AJAX (Asynchronous JavaScript and XML) to improve the JSF Web application user experience. AJAX is an old technology with... (more)
category: Ajax | clicked: 0 | comment | | source: www.javaworld.com
tags: Ajax, JSF
1
Pins

Seam / JSF vs Wicket: performance comparison

published 664 days, 18 hours, 8 minutes ago posted by jamesjames 665 days, 1 hour, 4 minutes ago
Friday, June 29, 2012 8:17:48 AM GMT Friday, June 29, 2012 1:21:08 AM GMT
A while after Seam support for Apache Wicket was announced, I downloaded Seam and took a look at the Wicket example. Then an idea struck – how about doing a performance comparison – I mean, here was the very same application implemented in JSF and Wicket – right? So I decided to write a JMeter script for both the JSF and Wicket versions of the Seam “hotel booking” example and compare results. I started right away but very soon got tired of waiting for app-server re-starts on my trusty lap... (more)
category: JSF | clicked: 16 | comment | | source: ptrthomas.wordpress.com
tags: JSF, SEAM, Wicket
1
Pins

ADF Practice: Understanding the JSF Immediate Attribute

posted by vinaykumarvinaykumar 672 days, 17 hours, 18 minutes ago
Thursday, June 21, 2012 9:07:28 AM GMT
There is very common myth among ADF and JSF developers that using Immediate attribute will avoid unnecessary validation in any case. It is only partly true. The myth is growing up because of misunderstanding how the Immediate attribute actually works. Using the attribute without understanding of the mechanism very often lead to bugs and unpredictable behaviour of the application. I hope, this post will be useful for developers to understand and to remember when the Immediate attribute is a good option an... (more)
category: ADF | clicked: 0 | comment | | source: adfpractice-fedor.blogspot.in
tags: Immediate Attribute, JSF
1
Pins

JasperReports JSF Plugin - Simple Parametrized Report

published 676 days, 9 hours, 17 minutes ago posted by pankajsharmapankajsharma 677 days, 4 hours, 54 minutes ago
Sunday, June 17, 2012 5:08:43 PM GMT Saturday, June 16, 2012 9:31:41 PM GMT
This article of the JasperReports JSF Plugin Use Cases Series will continue doing modifications to our sample application to show a simple report of a single element. The starting point will be the previous book list in we will add the possibility of rendering a report for a single element. (more)
category: JSF | clicked: 8 | comment | | source: www.codenibbles.com
tags: JasperReports, JSF, Plugin
1
Pins

JasperReports JSF Plugin Use Cases Series

published 681 days, 13 hours, 24 minutes ago posted by jamesjames 682 days, 2 hours, 32 minutes ago
Tuesday, June 12, 2012 1:01:29 PM GMT Monday, June 11, 2012 11:53:07 PM GMT
This is the entry point of an article series in which I will try to cover some of the use cases of JasperReport JSF Plugin, a tool created to easily integrate business reports designed for JasperReports in JSF applications. All the examples described in this series are available from the JasperReports JSF Plugin web site, at the samples section and will be part of the same business application: An online book store. (more)
category: JSF | clicked: 7 | comment | | source: www.codenibbles.com
tags: JasperReports, JSF, Plugin, Use Cases
1
Pins

JasperReports JSF Plugin Use Cases - Simple List Report

published 681 days, 13 hours, 24 minutes ago posted by jamesjames 682 days, 2 hours, 34 minutes ago
Tuesday, June 12, 2012 1:01:29 PM GMT Monday, June 11, 2012 11:51:26 PM GMT
This is the first “use case article” of the JasperReports JSF Plugin Series and I will focus on a simple requirement and I will more deep on into complex ones in further ones. The starting point is the project setup that we have already done for our book store and I will add to it a list with the different books registered in our database and that list will be available as a report as well. (more)
category: JSF | clicked: 2 | comment | | source: www.codenibbles.com
tags: JASPER, JSF, Plugin, Reports, Use Cases
2
Pins

JSF 2 dataTable sorting example

posted by sweetxnehasweetxneha 682 days, 17 hours, 49 minutes ago
Monday, June 11, 2012 8:36:14 AM GMT
Here’s the idea to sort a JSF dataTable list :1. Column Header Put a commandLink in the column header, if this link is clicked, sort the dataTable list.2. Implementation In the managed bean, uses Collections.sort() and custom comparator to sort the list.@ManagedBean(name="order") @SessionScoped publicclass OrderBean implementsSerializable{   //sort by order nopublicString sortByOrderNo(){   Collections.sort(orderArrayList, new Comparator (more)
category: JSF | clicked: 0 | comment | | source: www.mkyong.com
tags: Data, JSF, Sorting, table
1
Pins

Common Error - JSF 2.0 + Tomcat : It appears the JSP version of the container is older than 2.1…

posted by sweetxnehasweetxneha 682 days, 17 hours, 57 minutes ago
Monday, June 11, 2012 8:28:48 AM GMT
Problem While deploying JSF 2.0 web application to Tomcat 6.0.26, hits the “JSP version of the container is older than 2.1” exception and failed to start the Tomcat server. But the JSP api v2.1 is included in the project class path, why the Tomcat is still saying that JSP version is older than 2.1? Here’s the error stacks…SEVERE: Critical error during deployment: ... Caused by: com.sun.faces.config.ConfigurationException: It appears the JSP version of the container is older than and unable to lo... (more)
category: JSF | clicked: 2 | comment | | source: www.mkyong.com
tags: Error, JSF, JSP, tomcat, Version
1
Pins

JSF Error in Eclipse IDE : Unsupported content type in editor

posted by sweetxnehasweetxneha 682 days, 17 hours, 59 minutes ago
Monday, June 11, 2012 8:26:47 AM GMT
Problem Using Eclipse Ganymede (3.4) , developing JSF 2.0 web application. However when open the xhtml file with the Eclipse web page editor , it prompts a dialog box and saying …Unsupported content type in editor To associate file extension with a supported content type, please see Content Types Preference Page. P.S The .xhtml file extension is configured and associated property in the Content Types Preference Page.Solution Thousand time of tries and errors, but still unable to get rid of the “un... (more)
category: JSF | clicked: 1 | comment | | source: www.mkyong.com
tags: Content Type, Eclipse, Editor, Error, JSF
1
Pins

JSF Error in Eclipse IDE : .xhtml code assist is not working for JSF tag

posted by sweetxnehasweetxneha 682 days, 18 hours ago
Monday, June 11, 2012 8:25:14 AM GMT
Problem Using Eclipse Helios (3.6) and developing JSF 2.0 web application. In .xhtml file, when i pressed on the “Ctrl + Space” combination keys to call the code assist for JSF tag, it prompts nothing? It look like the code assist for JSF tag is not working properly in the .xhtml file extension?Solution In Eclipse project, you have to make sure the project is supported the WTP and JSF capabilities. 1. Right click on the project, choose properties, select “Project Facets“, make sure the “JavaServer Fac... (more)
category: JSF | clicked: 2 | comment | | source: www.mkyong.com
tags: Eclipse, Error, JSF, Jsf Tag, Xhtml
1
Pins

Jsf Common Error : javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

posted by sweetxnehasweetxneha 682 days, 18 hours, 2 minutes ago
Monday, June 11, 2012 8:23:26 AM GMT
Problem JSF 2.0 web application, a managed bean uses @Resource to inject the “jdbc/mkyongdb” datasource into a ds property.@ManagedBean(name="customer") @SessionScoped publicclass CustomerBean implementsSerializable{   //resource injection @Resource(name="jdbc/mkyongdb")private DataSource ds; When deployed to Tomcat 6, it hits following error messages for the MySQL datasource configuration.com.sun.faces.mgbean.ManagedBeanCreationException: An error occurred performing resource injection ... (more)
category: JSF | clicked: 7 | comment | | source: www.mkyong.com
tags: Bean, Error, JSF