Popular Web Frameworks

A post was made on Javalobby in the response of Rick Hightower observation on fastest growing frameworks. According to graph it is clear that there are more jobs of JSF…

Accessing a selected row from h:dataTable

Javascript to Select One Radio Button JSF Code of h:dataTable Table on JSP Page We will use valueChangeListener for this, as when user check the radio button we will get…

Getting and setting Managed Bean objects in JSF

Get appplication from FacesContext FacesContext ctx = FacesContext.getCurrentInstance(); Application app = ctx.getApplication(); Setting in Managed Bean Object app.createValueBinding(“#appSessionBean.userDataBean}”).setValue(ctx, userDataBean); Getting Managed Bean Object(s) AppSessionBean appSessionBean = (AppSessionBean)app.createValueBinding(“#{appSessionBean}”).getValue(ctx); userDataBean = (UserDataBean)appSessionBean.getUserDataBean();…

Getting HTTP Session in JSF

Getting request parameters in JSF

Here is the way, how we get request parameters from a JSP page (which is JSF enabled) in a HTTP request object. Where formName is refer to the id of…

Faces Console: A utility for JSF configurations

Faces Console is a free utility get integrated in many IDEs as plugin and provide JSF (faces-config.xml) configuration facility in a GUI. if you are using NetBeans5.0 or Eclipse3.x you…