Showing posts with label Web. Show all posts
Showing posts with label Web. Show all posts

Sunday, April 1, 2012

How to use a4j:repeat and a4j:commandLink to have expandable data rows that brings contents via Ajax


We will discuss a way to use a4j:repeat to create a tabular structure on a JSF page, where each row can be further expanded via Ajax. I am assuming that you have Ajax4JSF installed in your web application. If not, refer this link to install Ajax4JSF in your web application.

This is the requirement. User selects a state from the dropdown, and based on the selected state we need to create a table that list all the zip codes in the state. User can then click the zip code, which will expand the row and paint all the subscribers from that zip code. Since the size of data is going to be huge, we decided to load the content via ajax

Sunday, January 2, 2011

Blog Archive