column « IceFaces « JSF Q&A

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

My ice:dataTable looks like below:-

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

2. How do I disable a column using icefaces?

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

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

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

5. crosstable with ice:datatable and ice:columns

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

12. Freezing columns in datatable

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

14. sorting datatable corrupts columns

15. dynamic columns

16. How ice:columns child components generate ClientId?

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

17. ice:columns background-color

18. Freeze columns in DataTable

19. Issue with nested tables inside COLUMNS Tag

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

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?

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

23. Table with fixed columns

25. DataTable Dynamic Columns

27. Datatable with repeating columns

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

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

32. Simple dynamic table with ice:columns

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

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

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

38. selectOneMenu with several columns

39. Multiple Column Sorting in DataTable

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

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

42. columns and sorting feature

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

44. Multi Column Sorting

45. auto-sort table null value in columns

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

Here are some of the interface code ...

49. Datatable spacer.gif in first column

50. Problems sorting datatable columns

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

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

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

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

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

59. Resize Move DataTable columns

60. Sortable datatable using columns

61. Column Locking??????

Hi, Are you thinking about something like this? 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

63. Align ice:tree row into columns

64. ice:columns problem

65. Fixing columns of a DataTable

68. nested column

69. columnClasses and not rendered columns

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

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

74. Handling columns in a data table

75. column vs columns sorting stuff

76. "Problem" using Columns

77. Problem with list of tables and dynamic columns

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

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

81. Drawing columns/rows from backbean

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

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...

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

86. Troubles with ice:columns tag

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

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( at com.sun.faces.lifecycle.LifecycleImpl.phase( at com.sun.faces.lifecycle.LifecycleImpl.render( at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply( at com.icesoft.faces.webapp.http.core.PageServer$1.respond( at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith( ...

88. a Cross Columns table problem

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( at com.sun.faces.lifecycle.LifecycleImpl.phase( at com.sun.faces.lifecycle.LifecycleImpl.render( at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply( at com.icesoft.faces.webapp.http.core.PageServer$1.respond( at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith( at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith( at com.icesoft.faces.webapp.http.core.PageServer.service( at com.icesoft.faces.webapp.http.core.SingleViewServer.service( at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch( at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service( at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service( at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service( at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service( at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service( at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch( at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service( at com.icesoft.faces.webapp.http.servlet.MainServlet.service( at javax.servlet.http.HttpServlet.service( at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( at org.apache.catalina.core.ApplicationFilterChain.doFilter( at org.apache.catalina.core.ApplicationDispatcher.invoke( at org.apache.catalina.core.ApplicationDispatcher.processRequest( at org.apache.catalina.core.ApplicationDispatcher.doForward( at org.apache.catalina.core.ApplicationDispatcher.forward( at org.apache.jasper.runtime.PageContextImpl.doForward( at ...

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

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: 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

92. sort column doesn't display

93. Problem with rendering within

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