Home » Eclipse Kepler

Tag Archives: Eclipse Kepler

Eclipse XPath Evaluation Plugin Example

Hello, I started using Eclipse IDE to work with XML. In this tutorial, we will learn to use the XML and XPath Editor available through the Web Tools Platform (WTP) within Eclipse. 1. Introduction XML stands for Extensible Markup Language and is a text-based markup language derived from Standard Generalized Markup Language (SGML). XML tags identify the data and are ...

Read More »

Eclipse HTML Plugin Example

Hello, I started using Eclipse IDE to work with HTML5 and Bootstrap. However, editing HTML files in Eclipse IDE was not nice and it felt like using Windows Notepad. In this tutorial, we will learn how to use the HTML Editor available through the Web Tools Platform (WTP) within Eclipse.                 1. Introduction ...

Read More »

Eclipse Zest Plugin Tutorial

Eclipse Zest is a visualization toolkit for graphs. This tutorial explains how to directly create a Zest Graph in Eclipse IDE and how to use the JFace abstraction.                   Table Of Contents 1. Introduction 1.1 Zest Components 1.2 Zest Layout Managers 1.3 Zest Filters 1.4 Zest Installation 2. Eclipse Zest Plugin Tutorial ...

Read More »

Radio Buttons Example with JSF 2.0

So today, we ‘re gonna talk about radiobuttons’ integration together with JSF 2.0 and Eclipse IDE. In JSF, we can use the h:selectOneRadio tag, in order to create a radiobutton like input element.                     For example, assume the following JSF code: <h:selectOneRadio value="#{user.favoriteBMW}"> <f:selectItem itemValue="335" itemLabel="BMW 335" /> <f:selectItem itemValue="316" itemLabel=" ...

Read More »

Hidden Value Example with JSF 2.0

In this example, we are going to demonstrate a simple way to implement a hidden value field in JSF. Hidden value fields, are used to submit data that are not inserted and authorised from the user. Some years ago (J2EE 1.4), a hidden value field was one of the three techniques that were used to implement web sessions. In JSF, ...

Read More »

Textarea Example with JSF 2.0

In this example of JSF Tag Library series, we are going to show an effective way to implement a textarea field. Suppose that we want to insert a textarea of 20 columns and 10 rows. In HTML, this means <textarea cols="20" rows="10"></textarea>. According to JSF, we can use the following tag, to implement it: <h:inputTextarea cols="20" rows="10" />. So, let’ ...

Read More »

Password Example with JSF 2.0

If you didn’t notice from the previous example, we started a mini example series for the JSF Tag Library, so in the next couple examples, we are going to deal with several simple, but quite useful JSF tags. Today, we ‘ll deal with a password field. While on JSF, we can use the following tag, in order to render an ...

Read More »

TextBox Example with JSF 2.0

In this example, we are going to demonstrate a simple application, which purpose is to transfer data inserted to a page’s textbox (in our case, a sample username), to another page. While on JSF, we can use the following tag, in order to render an HTML input of a textbox: <h:inputText/>. To get the meaning, imagine that the fore-mentioned xhtml’s ...

Read More »

Ajax Example with JSF 2.0

Hi there, you do remember right from my last example, today we ‘re gonna talk about integrating JSF together with Ajax. Ajax stands for Asynchronous Javascript and XML and is also a helpful technique for creating web pages with dynamic content (i.e. when you want to update a single component in your web page, instead of updating the whole page). This ...

Read More »

Hello World Example with JSF 2.0

As I promised in my previous article, in this example, we are going to develop a simple Hello World application, with Javaserver Faces (JSF) 2.0. It may seem a bit of handy, but following along will make you understand how to easily configure every related project. So, let’s start!                   Project Environment ...

Read More »