| Author |
Message |
|
|
|
Is it possible to nest table components. My example is a DataTable for which each page in the table represents a week in the current selected month. Each page in the outer table contains a DataTable, lets say the nested data table contains inventory entered in the week displayed on that page. Example. For Oct 2008 there are 5 weeks, (Oct 01 - Oct 04, Oct 05 - Oct 11, Oct 12 - Oct 18, Oct 19 - Oct 25, Oct 26 - Oct 31). Page 1 would contain a DataTable for inventory entered between Oct 01 - Oct 4, page 2 would contain a DataTable for inventory entered between Oct 5 - Oct 11 ect.....
|
 |
|
|
|
I am trying to implement a schedule where by a user can enter vacation days and I would like to display the multiple days or date ranges in a calendar with a different background color and date color. Is this possible with this component?
|
 |
|
|
You can't override header style since ecruiser rendered it at the table level but still put the default style on the at the TD level.
headerStyle="dataTableHeaderOverride"
.dataTableHeaderOverride {
vertical-align: middle;
text-align: center;
background: #4F4F4F;
background-color: #4F4F4F;
border-width: 1px;
border-color: #000000;
border-left-style: solid;
border-right-style: solid;
border-top-style: solid;
border-bottom-style: hidden;
whitespace:pre;
padding:0px;
margin:0px;
}
rendered as:
|
 |
|
|
|
It seems to occur once the browser page becomes vertically scrollable. Meaning once I use the IE 6 vertical scroll bar the popup component stops rendering under the combo box. The combobox worked fine until I added enough rows above the combo box that I was forced to scroll to it.
|
 |
|
|
|
That was my plan. The problem is when I converted a select to a e:combobox the drop down component opens at the top of the browser window and not below the displayed item. Not sure how to control the popup component.
|
 |
|
|
I have the same issue. Scrolling=none does not work! scrolling= auto fixed with on table = 935 and columns set to = 100% still renders horizontal scrollbar. IE6, glassfish, jsf 1.2, j2ee1.3.
<e:selecttable id="requestList"
align="center"
border="1"
columnSorting="false"
dataModel="#{prebuildBean.prebuildModel}"
headerStyle="dataTableHeader"
highlightRow="false"
innerBorder="1"
immediate="false"
pageSize="5"
minRows="5"
scrolling="auto"
selectionType="single"
selectedRowStyle="meccaSelectedRow"
selectionMode="row"
showTooltip="false"
showBottom="false"
style="Filter: Gray; border-width: 1px; border-color: #000000; border-style: solid;"
tooltipStyle="dataTableInner"
title="Pre-Builds"
width="935">
<e:dataTr>
<e:dataTd id="reqNbr"
align="left"
width="20%"
labelText="Action"
styleClass="tableListLink"
style="text-align:center">
<h:commandLink actionListener="#{prebuildBean.editEntry}"
value="#{ROW.reqNbr}"
styleClass="tableListLink"
title="Edit this entry">
<f:attribute name="requestId" value="#{ROW.id}"/>
</h:commandLink>
</e:dataTd>
<e:dataTd align="left"
id="reqStatus"
labelText="Status"
nowrap="true"
width="5%"
valign="middle"/>
<e:dataTd align="left"
id="assignedTo"
labelText="Assigned To"
nowrap="true"
width="20%"
valign="middle"/>
<e:dataTd align="left"
id="requestorName"
labelText="Requestor<br>Name"
nowrap="true"
width="25%"
valign="middle"/>
<e:dataTd align="left"
id="customerName"
labelText="Customer<br>Name"
nowrap="true"
width="25%"
valign="middle"/>
<e:dataTd align="left"
id="circuitType"
labelText="Circuit<br>Type"
nowrap="true"
width="20%"
valign="middle"/>
</e:dataTr>
</e:selecttable>
|
 |
|
|
|
Is there any documentation on the tags for the ecruiser combobox. I need an ajax event fired that will change the contents of the combobox or change other components on the page. I really don't want to write a bunch of java script to do this.
|
 |
|
|
|
Checkboxes will not render as checked inside an e:window
|
 |
|
|
|
I have a select table that contains a checkbox column in which the user can select specified rows to execute. It is bound to a property in a POJO. I also have a popup menu that allows the users to uncheck or check all the checkboxes in the select table. In the action listener I change the value of the POJO and I have also gone through the table's children, found the checkbox and set the check box to selected. The result is the check box is never rendered as checked/unchecked. Is there a specific technique to solve this requirement?
|
 |
|
|
|
I am using version 1.6. I copied the ec-config.xml and set the server error to true. I get the same error window with no details as to the cause of the error. It only provides a reference to elements that are not on the rendered page: j_id_id2:r-msg:muxTabsaddPaneidj_id_id2:r-msg:muxTabs:panehtml j-id_2 = view, r-msg = subview, muxTabs = tabPane id. There is no addPaneid or j_id_id2:r-msg:muxTabs:panehtml ids on the page. I will try and copy your demo into our project and try to reproduce it that way.
|
 |
|
|
|
Can you put your OrderList in one tab and your Customer List in another tab and see if you can reproduce the error on your end?
|
 |
|
|
|
I get the same error with lazy initialization as I get when I load the models from the action listener. The only way around the server error is to turn ajax off. This seems to be a state issue with any kind of component that requires state management. Seems as if the state of the components on the non-selected tabs is not present on the current selected tab. If you put static components in the tab then the tabbing event works fine.
|
 |
|
|
|
This is basically what I have. In your select table basic demo. Create a OrderHistory class and put a collection of them in your order class. Make your select table load and render off a button in your form. Add a order history button in your form that opens a window and displays the selected rows order history. The second option I have is take the order history data table out of the window and make it render off the button but if it is rendered how do I make it change when another order is selected?
|
 |
|
|
I am still receiving a server error when tabbing off the initial selected index.
This is what I am trying to do: The tabpane is not renedered unless the users request if found on the database. (I have tried both binding the tabpane and setting the component to be rendered and I have tried binding the render property and setting it. The tabpane and its contents do not render properly.) My biggest question is, do I create the table models for all the tabs before the tabpane is rendered or just the initial contents of the selected index and then create and render the other models in the other tabs from a tab action listener? The contents of 3 tabs do not change, the fourth tab makes a database call every time so what should the preload and reload attributes be set to?
|
 |
|
|
I have coded
topCellHoverStyle="topCellHoverPage"
topCellActiveStyle="topCellActivePage"
topCellDisabledStyle="topCellDisabledPage"
Yet the rendered HTML does not seem to pick this up.
Looking at the attachment, shouldn't the script for menuCell: have these rather than the default topCellHover?
|
 |
|
|