Author: tkuprevich
Date: 2009-01-26 06:01:33 -0500 (Mon, 26 Jan 2009)
New Revision: 12415
Modified:
trunk/test-applications/jsp/src/main/java/scrollableDataTable/ScrollableDataTable.java
Log:
Modified:
trunk/test-applications/jsp/src/main/java/scrollableDataTable/ScrollableDataTable.java
===================================================================
---
trunk/test-applications/jsp/src/main/java/scrollableDataTable/ScrollableDataTable.java 2009-01-23
23:44:08 UTC (rev 12414)
+++
trunk/test-applications/jsp/src/main/java/scrollableDataTable/ScrollableDataTable.java 2009-01-26
11:01:33 UTC (rev 12415)
@@ -4,6 +4,9 @@
import java.util.GregorianCalendar;
import java.util.Iterator;
+import javax.faces.context.FacesContext;
+import javax.faces.event.ActionEvent;
+
import org.ajax4jsf.model.DataComponentState;
import org.richfaces.component.html.HtmlScrollableDataTable;
import org.richfaces.model.selection.SimpleSelection;
@@ -40,6 +43,15 @@
private GregorianCalendar date;
private HtmlScrollableDataTable htmlScrollableDataTable = null;
+ public void checkBinding(ActionEvent e){
+ String id = htmlScrollableDataTable.getId();
+ if("sdt".equals(id)){
+ System.out.println("Binding works for SDT");
+ } else {
+ System.out.println("Binding doesn't work for SDT");
+ }
+ }
+
public void addHtmlScrollableDataTable() {
ComponentInfo info = ComponentInfo.getInstance();
info.addField(htmlScrollableDataTable);
Show replies by date