Author: mvitenkov
Date: 2008-09-26 07:47:04 -0400 (Fri, 26 Sep 2008)
New Revision: 10569
Modified:
trunk/test-applications/jsp/src/main/java/extendedDataTable/ExtendedDataTableControlBean.java
Log:
Modified:
trunk/test-applications/jsp/src/main/java/extendedDataTable/ExtendedDataTableControlBean.java
===================================================================
---
trunk/test-applications/jsp/src/main/java/extendedDataTable/ExtendedDataTableControlBean.java 2008-09-26
11:46:49 UTC (rev 10568)
+++
trunk/test-applications/jsp/src/main/java/extendedDataTable/ExtendedDataTableControlBean.java 2008-09-26
11:47:04 UTC (rev 10569)
@@ -3,6 +3,9 @@
import java.util.ArrayList;
import java.util.List;
import org.richfaces.component.html.HtmlExtendedDataTable;
+
+import util.componentInfo.ComponentInfo;
+
import javax.faces.event.ActionEvent;
import javax.faces.context.FacesContext;
import javax.faces.model.SelectItem;
@@ -32,6 +35,10 @@
FacesContext context = FacesContext.getCurrentInstance();
bindLabel = extDTable.getBaseClientId(context);
}
+ public void addExtDTable(){
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(extDTable);
+ }
public ExtendedDataTableControlBean() {
sortModeSelectItems.add(new SelectItem("single", "single"));
Show replies by date