JSF 2 Tutorials and Examples

JSF-Thumbnail

JavaServer Faces (JSF) which provides a Component-Based Architecture for developing reusable User Interface Components hides most of the complex stuffs that are happening in the View portion of the MVC-2 Architecture. The framework is not only limited to developing customized User Interface Components but also provides support for various Advanced Features like Event handling Mechanism, Validating User Inputs that are sent by the clients, Easy Page Navigation […]

JavaScript Elements Placements

js-thumbnail

Javascript can be written internaly (in the program) or externally. These two are discussed in detail in the following sections. Internal JavaScript Code JavaScript code is written inside the html page. The script code can be written in html page either in <head> , <body> or in both <head> and <body< section. The JavaScript code […]

JQuery Callback Function

jquery

It is reference to executable code or piece of executable code that is passed as an argument from other method which is invoked due to some kind of event. It can be used as base to define functionality for new components. When you are executing the JavaScript code, you may get errors if you try […]

WeakReference in Java

java-thumbnail

WeakReference, SoftReference and PhantomReference are added to the Java API long back but have not effectively used by most of the programmers. The reason being the less knowledge on the concept of how these APIs work for managing the references. Basically these APIs are helping the Garbage Collector to claim the memory looking at the […]

Eclipse Tips : Refactoring History

eclipse-thumbnail

Rafactoring History is one of the rarely useful feature supported by Eclipse. If you are do lot of changes in the project, using this feature you could see the list of changes done on that project with the brief details about the changes. Note that this is not similar to the local history where local history […]

Eclipse Tips : Default Browser Settings

eclipse-thumbnail

If you are working with Eclipse, it has the internal browser for running the web applications. By default, this option is set to its own Eclipse system web browser which will be running inside the Eclipse environment itself. Typically developers run the web applications using the “Run As” command by right click on the web […]

Eclipse Tips : Rename Variable (ALT + SHIFT + R)

eclipse-thumbnail

Eclipse provides cool short cut key for renaming the variables across within a class or entire workspace. If you are not aware of this feature, you would use “find” option and replace the variable with new name. But, this will lead to a problem of not renaming all the references. You can easily rename the […]

Eclipse Tips : How To Create Custom Code Template In Eclipse

eclipse-thumbnail

One of the awesome feature in Eclipse is to create the custom code template to insert on the appropriate context. For example, there is default for loop template is exist in the Eclipse IDE, if you type for and press CTRL + SPACE, it would insert the complete for loop syntax with the condition. This […]

PrimeFaces Clock Example

primefaces-thumbnail

Primefaces provides a time component for taking the time from the user by using the Clock component. Clock displays server or client date time live. When it comes for displaying the server time, the Clock component provides AutoSync feature in server mode that can sync the clock with the server periodically. 1. Clock Tag Info 2. Clock Tag Attributes 3. The View index.xhtml […]

Eclipse Tips : Open Declarations (CTRL + O)

eclipse-thumbnail

When you are working within a class, often you would need to look up or navigate to the specific method in the same class. If you are not aware of CTRL + O short cut, then probably you would have searched the method using search dialog or scroll down manually to the method. However, if […]

Eclipse Tips : How To Add User Library In Eclipse

eclipse-thumbnail

In Eclipse environment, library means set of JAR files which is used for implementing a particular framework or version. By default, Eclipse comes with set of libraries used for the Java environments, Web applications, etc. which are known as the system / web libraries. To make things simpler, Eclipse has the facility to create own […]

Close
Please support the site
By clicking any of these buttons you help our site to get better