How to set selected tab in rich:tabPanel tag?

JSF-Thumbnail

Topic : Java Server Faces (JSF), RichFaces, Ajax4Jsf Environment : J2EE 5.0, MyFaces 1.1.5, RichFaces 3.1.0 rich:tabPanel also read: Introduction to JSF JSF Interview Questions Request Processing Lifecycle phases in JSF This example illustrates how to set the selected tab in rich:tabPanel. This tag is used for creating the multiple tabs with in same page […]

h:commandLink – How to pass Parameter to next page?

JSF-Thumbnail

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

How to use h:selectBooleanCheckBox within h:dataTable?

JSF-Thumbnail

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

f:attribute Tag in Java Server Faces (JSF)

JSF-Thumbnail

Topic : Java Server Faces (JSF) Environment : J2EE 5.0, MyFaces 1.1.5 Introduction to f:attribute also read: Introduction to JSF JSF Interview Questions Request Processing Lifecycle phases in JSF This section demonstrates how to use the f:attribute tag in Java Server Faces(JSF). This tag is part fo the core tag library. How to use? f:attribute […]

Display error messages in JSF [ h:message ] – part 2

JSF-Thumbnail

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

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

Hibernate Vs EJB 3.0

java-ee-thumbnail

Originally published in DeveloperIQ magazine What is CMP and BMP in EJB? So, why is it that Entity beans alone were found wanting and the specification keeps on changing? Entity beans are of two types. CMP & BMP. CMP stands for Container-Managed Persistence and BMP stands for Bean-managed persistence. Theoretically, the EJB specification does not […]

AJAX – Conversation with an Ajaxian

ajax-thumbnail

Session 1: What is Ajax? Scene: Friday evening at Malcolms cafe-a pub downtown frequented by Geeks: Me : (jostling my way through the crowd) Where can I find the Ajaxian? also read: HTML Tutorials CSS Tutorials JavaScript Tutorials Bartender (pointing to a table on the far corner) Last table on the right. Me : (interrupting […]

Templates in Groovy

groovy-thumbnail

1) Introduction In this article, we will expose the various APIs for processing Templates in Groovy. A template can be thought of some static content along with some well-defined place-holders. These templates can be re-used any number of times by simply copying it and substituting the place-holders with some appropriate values. The first section of […]

Closures in Groovy

groovy-thumbnail

1) Introduction In this article, let us look into one of the important features supported in Groovy, the Closures. Groovy is an object-oriented scripting language in which the syntax resembles Java. Not all languages support the concept of Closures directly, although they may provide indirect support, that too with so many limitations and restrictions. This […]