Archive | July 4th, 2008

f:convertDateTime tag in JSF

July 4, 2008

0 Comments

Introduction f:convertDateTime is used for validating the date input. If the user enters any invlid input, it will throw the error message to the screen. Also it allows the user to specify the apttern of date format using the ‘pattern’ attribute. JSP File (index.jsp) 1 2 3 4 5 6 7 8 9 10 11 [...]

email

h:outputFormat tag in JSF

July 4, 2008

0 Comments

Introduction The outputFormat tag renders parameterized text and allows you to customize the appearance of this text using CSS styles. Parameterized text is compound text containing placeholder values to be replaced by actual values at rendering time. JSP File (index.jsp) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 <%@page [...]

f:convertNumber Tag in JSF

July 4, 2008

0 Comments

What is the use? This tag is used to register the NumberConverter instance on the enclosing component. This class is responsible to convert String to java.util.Number object and vice-versa. JSP file 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 <%@page pageEncoding="UTF-8"%> <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%> <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%> [...]

Create EJB 3.0 project in NetBeans 6.1

July 4, 2008

0 Comments

Introduction This article explains how to create EJB 3.0 project using NetBeans IDE 6.1. This article will not explain the details of EJB 3.0 but will give basic knowledge on how to create simple EJB 3.0 project using NetBeans 6.1 IDE. Creating Project in NetBeans 6.1 Step 1 : Create Project Show Full Image Step [...]