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>
...
|
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 :)
|
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;" ...
|
|
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 ... |
|
|
|
|
|
|
|
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. |
|
|
|
Given this sniplet of a form in the getCellValue ... |
|
|
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 ... |
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. |
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 ... |
|
|
|
|
|
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 ... |
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: |
|
|
|
|
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 ... |
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?? |
|
|
|
|
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. |
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! |
|
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 ... |
|
|
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 ... |
|
Here are some of the interface code ... |
|
|
|
|
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 ... |
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 ... |
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 ... |
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 ... |
|
|
|
|
|
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 ... |
|
|
|
|
|
|
|
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 ... |
|
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 ... |
|
|
|
|
|
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 ... |
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 " |
|
|
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 ... |
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. ... |
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 ... |
|
|
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 ... |
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) ... |
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 ... |
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, ... |
|
|
|
Hi, I am facing a problem with rendering within inside a . MyCode is: ... |