HTMLDataTable « IceFaces « JSF Q&A





1. Access values of HTMLDataTable    icefaces.org

5. java.lang.NoClassDefFoundError: com/icesoft/faces/component/ext/HtmlDataTable    icefaces.org

I tried running the simple .jspx page..I am getting the below error during the runtime.I m using icefaces 1.7.2 version..I have the icefaces-comps.jar and the iceface.jar.in the path.. java.lang.NoClassDefFoundError: com/icesoft/faces/component/ext/HtmlDataTable at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2365) at java.lang.Class.getDeclaredMethods(Class.java:1763) at java.beans.Introspector$1.run(Introspector.java:1265) at java.security.AccessController.doPrivileged(Native Method) at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263) at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129) at java.beans.Introspector.getBeanInfo(Introspector.java:387) at java.beans.Introspector.getBeanInfo(Introspector.java:159) at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptors(PropertyUtils.java:949) at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptors(PropertyUtils.java:979) at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:887) at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.java:1774) at com.sun.faces.config.ManagedBeanFactory.setPropertiesIntoBean(ManagedBeanFactory.java:578) at ...

6. HtmlDataTable decode children of not rendered column    icefaces.org

//loop over children Iterator children = getChildren().iterator(); while (children.hasNext()) { UIComponent child = (UIComponent) children.next(); if (!(child instanceof UIColumn) && !(child instanceof UIColumns)) { continue; } //check if column is rendered if (!column.isRendered()) { continue; } if (child instanceof UIColumn) { Iterator granchildren = child.getChildren().iterator(); while (granchildren.hasNext()) { UIComponent granchild = (UIComponent) granchildren.next(); if (!granchild.isRendered()) { continue; } processKids(facesContext, phase, granchild); ...





10. create HtmlDataTable    icefaces.org

HtmlDataTable dataTable = new HtmlDataTable(); dataTable.setColNumber(2); dataTable.setRows(15); dataTable.setWidth("200"); UIColumn col1 = new UIColumn(); HtmlOutputText h1 = new HtmlOutputText(); h1.setValue("Value"); col1.setHeader(h1); UIColumn col2 = new UIColumn(); HtmlOutputText h2 = new HtmlOutputText(); h2.setValue("Label"); col2.setHeader(h2); ValueBinding value = application.createValueBinding("#{screenController.list}"); dataTable.setValueBinding("value", value); dataTable.setVar("valueItem"); // Set output. HtmlOutputText output1 = new HtmlOutputText(); ValueBinding myItem1 = application.createValueBinding("#{valueItem.value}"); output1.setValueBinding("value", myItem1); col1.getChildren().add(output1); HtmlOutputText output2 = new HtmlOutputText(); ValueBinding myItem2 ...

11. HtmlDataTable headerClass bug.    icefaces.org

12. HtmlDataTable issue    icefaces.org

Hi, I have a row selector in a datatable which calls a selectorListener method public void seleListen(RowSelectorEvent event) { selectedRowNum = event.getRow(); rowDataTable.setRowIndex(selectedRowNum); rowInfo = (rowCast) rowDataTable.getRowData(); rowDataTable is a HtmlDataTable with a binding to the ice datatable as in abc.jsp ... ice:dataTable binding="#{bean.rowDataTable}"......... I have a command button which involes a actionListener method in the same class as public void ...

13. [SOLVED] Dynamicly Constructed HtmlDataTable in Custom Component Displays no rows...    icefaces.org

jsight Joined: 15/12/2006 00:00:00 Messages: 18 Offline My code is as follows: /** * */ @Component(family=EntityListComponent.FAMILY) public class EntityListComponent extends UIOutput { static final String FAMILY = "com.eximtechnologies.transactionserver.web.component.EntityListComponent"; private List entities; private EntityEditorPropertyDescription[] descriptions; private HtmlDataTable dataTable; public Object getAttributeValue(Object field, String attributeName, Object defaultValue) { if (field != null) { return field; } ValueExpression ve = getValueExpression(attributeName); return (ve != ...

14. Editing a row in a HtmlDataTable    icefaces.org