f:convertDateTime tag in JSF

JSF-Thumbnail

Introduction f:convertDateTime is used for validating the date input. also read: Introduction to JSF JSF Interview Questions Request Processing Lifecycle phases in JSF 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. […]

h:outputFormat tag in JSF

JSF-Thumbnail

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. also read: Introduction to JSF JSF Interview Questions Request Processing Lifecycle phases in JSF JSP File (index.jsp) JavaBean […]

f:convertNumber Tag in JSF

JSF-Thumbnail

What is the use? This tag is used to register the NumberConverter instance on the enclosing component. also read: Introduction to JSF JSF Interview Questions Request Processing Lifecycle phases in JSF This class is responsible to convert String to java.util.Number object and vice-versa. JSP file JSF Bean faces-config.xml Description currencyCode : In this attribute ISO […]

How to initialize Map property in Managed Mean?

JSF-Thumbnail

Map property in Managed Mean JSF Managed Beans can initialize its Map properties in the faces-config.xml. There is a property in the faces-config.xml as map-entries. This can be used for initializing the values and can be accessed directly through the Managed Beans in any JSP pages. also read: Introduction to JSF JSF Interview Questions Request […]

Display error messages in JSF [ h:messages ] – part 1

JSF-Thumbnail

Topic : Java Server Faces (JSF) Environment : J2EE 5.0, MyFaces 1.1.5 errorMessage.jsp also read: Introduction to JSF JSF Interview Questions Request Processing Lifecycle phases in JSF ErrorMessageBean.java faces-config.xml errorMessageResult.jsp

h:selectOneMenu – Java Server Faces (JSF)

JSF-Thumbnail

Topic : Java Server Faces (JSF) Environment : J2EE 5.0, MyFaces 1.1.5 selectOneMenu.jsp also read: Introduction to JSF JSF Interview Questions Request Processing Lifecycle phases in JSF SelectOneMenuBean.java faces-config.xml selectOneMenuResult.jsp

h:selectManyMenu – Java Server Faces (JSF)

JSF-Thumbnail

Topic : Java Server Faces (JSF) Environment : J2EE 5.0, MyFaces 1.1.5 selectManyMenu.jsp also read: Introduction to JSF JSF Interview Questions Request Processing Lifecycle phases in JSF SelectManyMenuBean.java faces-config.xml selectOneMenuResult.jsp

h:selectManyCheckBox – Java Server Faces (JSF)

JSF-Thumbnail

Topic : Java Server Faces (JSF) Environment : J2EE 5.0, MyFaces 1.1.5 selectManyCheckBox.jsp also read: Introduction to JSF JSF Interview Questions Request Processing Lifecycle phases in JSF selectManyCheckBoxBean.java faces-config.xml selectManyCheckBoxResult.jsp

h:selectBooleanCheckBox – Java Server Faces (JSF)

JSF-Thumbnail

Topic : Java Server Faces (JSF) Environment : J2EE 5.0, MyFaces 1.1.5 selectBooleanCheckBox.jsp also read: Introduction to JSF JSF Interview Questions Request Processing Lifecycle phases in JSF selectBooleanCheckBoxBean.java faces-config.xml selectBooleanCheckBoxResult.jsp

How to use Resource Bundle in JSF?

JSF-Thumbnail

Topic : Java Server Faces (JSF) Environment : J2EE 5.0, MyFaces 1.1.5 Resource Bundle in JSF also read: Introduction to JSF JSF Interview Questions Request Processing Lifecycle phases in JSF This section explain how to use message resources in Java Server Faces (JSF). Resource Bundles are very important when comes to internationalization.JSF framework provides simple […]