column « IceFaces « JSF Q&A





1. Getting a column value from ice:dataTable in the validator of another column    stackoverflow.com

My ice:dataTable looks like below:-

<ice:dataTable id="someTbl" var="someVar" value="#{someBean.someList}" >
   <ice:column>  
       <f:facet name="header"> <ice:outputText value="#{msgs.tblCol1}"> </f:facet>
       ...

2. How do I disable a column using icefaces?     stackoverflow.com

I want to disable a column, I use this code: <ice-cc:selectBooleanColumn title="Installed" property="installed" disabled="true" ></ice-cc:selectBooleanColumn> ...but the column is still able to change. Please help :)

3. Include contents file will be put into first column    stackoverflow.com

I have a snippet of JSF code in my web application.

<fieldset style="border: 1px solid gray;">
    <legend>
        <ice:outputText value="Title" style="font-weight: bold;" ...

5. crosstable with ice:datatable and ice:columns    icefaces.org

Hello, triing to construct a crosstable showing values coming from a backing bean. the datas are wrapped in two own datamodels extending DataModel. every item has some attributes to be shown in the table. the number of items is variable. tried to use the component but until now without succes. I can show the attributes for every datamodel alone in ...

7. dynamic column    icefaces.org





12. Freezing columns in datatable    icefaces.org

Unfortunately there is no way to do this out of the box. However it is possible if you get creative with css and a couple of tables and get a similar effect. I've read IE has support for freezing table columns but I haven't tried it and it only works in IE.

13. Hide specific DataTable column    icefaces.org

14. sorting datatable corrupts columns    icefaces.org

15. dynamic columns    icefaces.org

16. How ice:columns child components generate ClientId?    icefaces.org

Given this sniplet of a form in the getCellValue ...





17. ice:columns background-color    icefaces.org

18. Freeze columns in DataTable    icefaces.org

19. Issue with nested tables inside COLUMNS Tag    icefaces.org

Hi Please help me solving this issue, this is very urgent. I'm displaying a detailed report on the basis of selected items(customers) from the grid and selected options(sections) to a dataTable with dynamic columns. here customer names are coming as column heading and section details coming in each rows. I used the cross table technique using rowModel and columnModel to bind ...

20. clickListener doesn't work with dynamic column definitions    icefaces.org

I was able to get my ice:rowSelector's clickListener working within an ice:columns component, but only when toggleOnClick was set to false. Of course, when toggleOnClick is set to false, the selectionListener stops working and selectedClass is ignored as well. So it still is not perfect in my opinion. Hope that helps a little.

21. Span Parent (columns) with Expandable Table?    icefaces.org

Hi, Does anyone know if it is possible to span columns of the Parent row using the expandable table? In my case, I want to use the Parent row as a "title" (or category) for underlying children. The end goal is to span the columns of this row so I can put an image in the parent row. If this is ...

22. inputText as columns in the dataTable    icefaces.org

23. Table with fixed columns    icefaces.org

25. DataTable Dynamic Columns    icefaces.org

27. Datatable with repeating columns    icefaces.org

Hi, I'm trying to create a custom facelet component using a datatable that is pulling records from a database. I want the table to have repeating columns for each object in the database. ie. Column1 Column2 Column3 Column4 Column5 item 1 id item 2 id item 3 id item 4 id item 5 id item 1 name item 2 name item ...

28. dynamic columns in datatable    icefaces.org

Hallo zusammen, ich habe eine Backing bean mit einer ArrayList von Spaltentiteln und einer Liste mit entsprechenden Zeilenobjekten. (my backing bean has an arraylist of strings for columntitles and an arraylist of suitable row objects) Aber meine Seite enthlt einen Fehler und ich habe noch keine Lsung gefunden, die funktioniert. jspx:

30. dataTable delete column +Ajax push    icefaces.org

32. Simple dynamic table with ice:columns    icefaces.org

33. How to modify larger of border column in resisable dataTable    icefaces.org

I have datatable resizable and I want to reduce the thickness of the border of column. So I edit the source code of the page, and I see that the border is drawing in adding a cell that has a width=4px and contains the image spacer.gif. How can I reduce the width of the adding cell to have a same border ...

34. Can not use c:if inside of ice:columns    icefaces.org

I have this code: But it doesn't work as expected. It seems that I can not use c:if inside ice:columns tag and some other ice tags. Why? And may be someone can suggest how to write what I want without c:if??

37. [Ice:dataTable] column size trouble    icefaces.org

38. selectOneMenu with several columns    icefaces.org

39. Multiple Column Sorting in DataTable    icefaces.org

Woodstock came with the ability to sort on multiple columns. Meaning if one column is sorted, you could click on an additional column and have the values of that column subsorted. This does not seem to be supported in IceFaces. Is there way to accomplish this. I see there was a feature request for such functionality that was never implemented.

40. Do not select column in object ice: dataTable    icefaces.org

Good morning! Currently I am developing an application using ICEfaces and I encountered a problem that perhaps someone on the forum can help me. When working with a control object including a I to know the row that was selected. Would it be possible to have one of the columns were not selected? Thank you!

41. Problems with DataTable and Columns    icefaces.org

42. columns and sorting feature    icefaces.org

Hello everyBody, I try to implement DataTable which use attribute columns. This table must be sortible. I can see the table, but when I click to header all header get a symbol for sorting. when I debug, then the value for #{columnsBean.sortColumnName} never changed. can you please look in my code and tell me what I do wrong. thank you. wbr ...

43. Conditional display of columns in     icefaces.org

44. Multi Column Sorting    icefaces.org

45. auto-sort table null value in columns    icefaces.org

Hello everyone, I am using auto-sort table component in jspx pages of my application. I am explaining my problen giving the following example: the table has a column named 'City', and the script is ice-cc:column title="City" value="#{row.cities.tag}" name="cities.tag" sortable="true" The rows of the table have null and not null values for this field. When I first display the table, no error ...

47. retrieve a specific dynamic generated column from UIColumns in the backing bean    icefaces.org

Here are some of the interface code ...

49. Datatable spacer.gif in first column    icefaces.org

50. Problems sorting datatable columns    icefaces.org

52. Links in datatable columns, can you help me? :-(    icefaces.org

Hello, I have a data tabel and one of its column is named Priority. I have to put a set of Command Links in this column. For example in the Priority column of my table I have something like: "1, 2,3,4,5" (where every number is a command link) The big problem is that the number of command link iis not known ...

53. Sorting by multiple columns in data table    icefaces.org

Is it possible to sort by multiple columns in a data table in ICEFaces? Essentially, I would like to have a way to perform subsorting so that if there is a table with four columns (A, B, C, D) and I click on the header for A, I can then select the header for B which would retain the original sort ...

54. question on     icefaces.org

I'm a little confused. You state The columns data model has to be a non-row-level variable, so you couldn't do #{item.columnsDataModel}" as item is row-level. Is this a general statement or are you referring to the data model of the showcase? You then state You can, of course, use 'item' or whatever your row-level variable is. My issue ...

55. dynamic columns using ice:columns    icefaces.org

Thanks brad_k, I had already looked at it previously. But in that example, an array of ASCII values is initialized when it's run the first time only, and then it displays the number of columns specified by the user, but the array is always the same, what it changes, is the colums to be shown. I did the same, initializing the ...

57. resisable table columns    icefaces.org

59. Resize Move DataTable columns    icefaces.org

60. Sortable datatable using columns    icefaces.org

61. Column Locking??????    icefaces.org

Hi, Are you thinking about something like this? http://web.tampabay.rr.com/bmerkey/examples/locked-column-csv.html One of the problems with this is that it's an IE 5+ feature only. Other browsers, such as Firefox and Safari do not support this. As browser compatibility is a very important feature of ICEfaces, I don't think we'd consider an IE-only feature. But you could, of course, use this in your ...

62. column in data table    icefaces.org

63. Align ice:tree row into columns    icefaces.org

64. ice:columns problem    icefaces.org

65. Fixing columns of a DataTable    icefaces.org

68. nested column    icefaces.org

69. columnClasses and not rendered columns    icefaces.org

I think the columnClasses styles get dessynched when one of the columns is not rendered: data1 data2 In the following example data2 is always rendered using style1. Changing column1 rendered to true fixes the problem. The obvious workaround is to build the columnClasses string in the bean, however this can be quite tedious (especially ...

71. Sort Column doesn't work    icefaces.org

charliepjive Joined: 31/07/2007 00:00:00 Messages: 52 Offline Hi all!, I've got a little pb. I added column sorting to my table with paginator and dynamic columns population but it doesn't work... Can anyone help me please? What I found out during debug is: when I click on a column header the getters for sortColumnName and ascending are called but not the ...

73. dataTable/column question    icefaces.org

74. Handling columns in a data table    icefaces.org

75. column vs columns sorting stuff    icefaces.org

76. "Problem" using Columns    icefaces.org

77. Problem with list of tables and dynamic columns    icefaces.org

public class TableModel { private DataModel rowModel; private DataModel columnModel; public TableModel(){ this.columnModel = initColumnModel(); this.rowModel = initRowModel(); } public Object getCellValue() { if (rowModel.isRowAvailable() && columnModel.isRowAvailable()) { int col = columnModel.getRowIndex(); return ((List)rowModel.getRowData()).get(col).toString(); } return "NULL"; } public DataModel getRowModel() { return rowModel; } public DataModel getColumnModel() { return columnModel; } public DataModel initRowModel(){ String[] pera = {"Pera","Peric","22"}; String[] zika ...

78. Resize dataTable Columns    icefaces.org

Hi, Im using seam + icefaces 1.7 RC1, just created a dataTable, which is filled by my backbeans. I used the new feature for column grouping, it works fine aparently but i can't resize the columns as your example shows (component-showcase -> Resizable columns). I have the "

79. Fixed Columns    icefaces.org

81. Drawing columns/rows from backbean    icefaces.org

public HtmlDataTable getDataTableMatriz() throws Exception { ArrayList myList = createListDataModel(); ListDataModel rowModel = new ListDataModel(myList); HtmlDataTable table = new HtmlDataTable(); table.setId("tableId"); table.setVar("myItem"); table.setValue(rowModel); table.setStyle("width: 100%"); for (int i = 0; i < 12; i++) { // Set output UIOutput output = new UIOutput(); output.setId("output" + i); ValueBinding myItem = FacesContext.getCurrentInstance().getApplication().createValueBinding("#{myItem[" + i + "]}"); output.setValueBinding("value", myItem); // Set output UIColumn c ...

82. DataTable sort several columns    icefaces.org

I want to sort a data table component. But I want to allow several column sorting. For example I have two fields (Id, name). When I click on Id it short the number from min to max. After that I want to allow to click on the name and keeping the sort of the id, to sort the names alphabetically. Thanks. ...

83. dynamic columns and sortable data...    icefaces.org

You could also try using the rendered attribute to decided whether or not to render a column. That is if you have 20 columns that can be displayed, you can build the datatable with those 20 columns with each having the backing bean decide if it can be rendered or not. Whether you use columns and build the dynamic columns in ...

85. datatable and resizable columns    icefaces.org

86. Troubles with ice:columns tag    icefaces.org

Hi vlotar, I had a similar problem. The "columnWidths" attribute just does not work with . I solved the problem by using to create a list of , the columnWidths attribute works fine than. My tables are not really dynamical, because is evaluated only once, when the component tree is built. This is not an issue for me, I ...

87. ice:columns executePhase problems on 1.7.1    icefaces.org

ngyen144 Joined: 05/05/2008 00:00:00 Messages: 7 Offline This is my second projects implementing Icefaces. My current project is using Tomcat 6, Icefaces 1.7.1 JRE 1.5_15 IDE MyEclipose 6.0.1 I m trying is to create the calendar table, but there are warning as belows; WARNING: executePhase(RENDER_RESPONSE 6,com.icesoft.faces.context.BridgeFacesContext@5003f6) threw exception javax.faces.FacesException at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:135) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18) at com.icesoft.faces.webapp.http.core.PageServer$1.respond(PageServer.java:25) at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:161) ...

88. a Cross Columns table problem    icefaces.org

com.sun.faces.lifecycle.LifecycleImpl phase WARNING: executePhase(RENDER_RESPONSE 6,com.icesoft.faces.context.BridgeFacesContext@16a16ae) threw exception javax.faces.FacesException at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:135) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18) at com.icesoft.faces.webapp.http.core.PageServer$1.respond(PageServer.java:25) at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:161) at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36) at com.icesoft.faces.webapp.http.core.PageServer.service(PageServer.java:30) at com.icesoft.faces.webapp.http.core.SingleViewServer.service(SingleViewServer.java:48) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19) at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19) at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:139) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53) at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:82) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694) at ...

89. Resizable Columns Feature unavailable when using ice:columns tag    icefaces.org

Hi. I've got the same problem with this Version: ICEfaces 1.7.1 Build number: 6 Revision: 16923 The columns generated by ice:columns do not render the resizable tag. The whole code fragment for this action is missing: com.icesoft.faces.component.ext.renderkit.TableRenderer.java Renderer for ice:column: Code: line 397: private void processUIColumnHeader(FacesContext facesContext, UIComponent uiComponent, UIColumn nextColumn, Element tr, DOMContext domContext, String facet, String element, String width, ...

90. Align center ina dataTable column    icefaces.org

92. sort column doesn't display    icefaces.org

93. Problem with rendering within     icefaces.org

Hi, I am facing a problem with rendering within inside a . MyCode is: ...