| Author |
Message |
|
|
Yes, but the behavior was that once you entered the edit mode the inputText box disapeared and the defaut edit box appeared. The user can then type unlimitedly until the page goes nuts and the server throws an error. The best solution is to add size and maxlength to the default editor.
FYI, The e:window is way cool!!! I have it hooked to a valuechangelistener on a e:selecttable. Is there anyway to fire an event from a double click?
|
 |
|
|
|
One other question is I do not see a way to set the default inputText box size and maxlength in the gridTd. I did put in a custom editor with the inputText but you don't the same behavior in rendering or entering the edit mode.
|
 |
|
|
|
I was not able to download your attachment. However, your managed bean scope must be "session" for the paging to work.
|
 |
|
|
Binding the e:gridTd editable property throws null pointer in GridCell.
Before RENDER_RESPONSE 6 /testMain.jsp
TESTBEAN setting Data
<Nov 5, 2007 3:10:13 PM MST> <Error> <ServletContext-/champs> <BEA-000000> <null
java.lang.NullPointerException
at ecruiser.advanced.datatable.GridCell.getEditable(Unknown Source)
at ecruiser.advanced.datatable.render.html.HTML_GridTableRenderer.encodeJSInitialization(Unknown Source)
at ecruiser.advanced.datatable.render.html.HTML_DataTableRenderer.renderMainRow(Unknown Source)
at ecruiser.advanced.datatable.render.html.HTML_BasicDataTableRenderer.encodeEnd(Unknown Source)
at ecruiser.advanced.datatable.render.html.HTML_DataTableRenderer.encodeEnd(Unknown Source)
Truncated. see log file for complete stacktrace
>
Nov 5, 2007 3:10:13 PM com.sun.faces.lifecycle.LifecycleImpl phase
WARNING: executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@aa48bc) threw exception
|
 |
|
|
|
Please disregard. We found it to be from the tool tip mouse over. Once we set show tool tip off or changed the tool tip style it went away.
|
 |
|
|
We are not able to get rid of a mouse over style that appears on the data row. It looks to default to New Times 10pt. It happens on all columns if you resize them small enough
<e:selecttable id="stationList"
title="Station List"
border="1"
innerBorder="1"
pageSize="18"
minRows="18"
align="center"
columnSorting="false"
width="935px"
highlightRow="false"
selectionType="single"
selectedRowStyle="frescoSelectedRow"
selectionMode="row"
innerStyle="dataTableInner"
tooltipStyle="dataTableInner"
rowStyle="dataTableOdd;dataTableEven"
headerStyle="dataTableHeader"
topStyle="dataTableTop"
showFooter="false"
footerStyle="dataTableFooter"
binding="#{stationListBean.stationTable}"
data="#{stationListBean.stationList}">
|
 |
|
|
When using the facet approach:
<e:lookupinput
id="fromEquip"
keyField="equipmentType,etAlias1"
suggestColumnIds="equipmentType"
suggestDisabled="true"
windowPopup="false"
size="10"
maxRecords="10"
maxlength="8"
styleClass="fieldInput"
suggestBoxStyle="suggestBox"
suggestColumnStyles="suggestColumn"
hoverStyle="hover"
value="#{openTrunk.fromEquip}">
<f:facet name="fEquipLookup">
<e:selecttable title="Item Inventory"
data="#{etBean.equipmentList}"
pageSize="10"
scrolling="none"
ajax="true"
selectionMode="row"
selectionType="single">
<e:dataTr>
<e:dataTd id="equipmentType" labelText="Equipment"/>
<e:dataTd id="etAlias1" labelText="Alias 1"/>
</e:dataTr>
</e:selecttable>
</f:facet>
</e:lookupinput>
After APPLY_REQUEST_VALUES 2 /openCapacityTrunkMain.jsp<Oct 22, 2007 4:40:14 PM MDT> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal
.WebAppServletContext@c9d448 - appName: 'Fresco-war', name: 'Fresco-war.war', context-path: '/champs'] Root cause of ServletException.
java.lang.NullPointerException
at ecruiser.advanced.suggest.renderer.html.HTML_LookupInputRenderer.decode(Unknown Source)
at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:761)
at ecruiser.component.ClientEventSource.decode(Unknown Source)
at ecruiser.component.EditableElement.decode(Unknown Source)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1003)
When the SelectTable is generated dynamically the table does not render. The suggestion box renders but the windows dropdown bleed through in IE 6.
|
 |
|
|
|
Thanks. My problem set is that the datatable is to large for paging to be effective. So we are trying only rendering rows based on the starting character. What we would like to do is span the columns in the footer to contain one column with A, B, C... outputlinks/commandlinks. Every time I use the example below I get one column for each header column but the example seems to show the columns spaned with 2 command buttons. Is this is the same issue as the header grouping forum notes?
|
 |
|
|
|
I was curious if you have the code for figure 22 in the dataTabe documentaion. I am having problems rendering one column in the footer that contains links.
|
 |
|
|
Please disregard. I figured it out. To maniplute the settings on the column template you only need to define one row in the backing bean and rather than setting a model on the table, use the setData method.
|
 |
|
|
|
I have a page in which I run a query and return the results to a dataTable. Each row when selected displays a gridPanel in which the user can enter query information and basically run a sql query related to that row. I need each of these results to be displayed in a e:dataTable. I have tried to create the table and set the wrapped model on the table but that renders no rows. I have tried to create the table without setting the model and that renders no rows. I have tried to set the model create the TableRows and cells using the getter signature so sorting works but the gives me a unique error. When I create the cell ID with a unique Id I get duplicated rows rendered, if 9 rows were returned and set on the model and 9 rows added in creating the cells, 81 rows get rendered. See RouteCapacity.getLegCapacity, RouteCapacity.addCapacityTables, RouteLeg.createCapTable()
|
 |
|
|
|
See attached files
|
 |
|
|
|
Turning off scrolling on tables seems to only work in Fire Fox. IE 6 and 7 always renders scroll bars on tables.
|
 |
|
|
|
BEA 10. The tree renders a root and leafs from a DB query. The leaves have a selection listener that simply obtains the node out of the model and renders another query form. When that query is submited we add the results to the selected node. We have moved away from the tree because we can not keep the tree from closing. I re-wrote the page with a select table rather than the tree. Once the selection occurs we render a query form, when that form is submitted the selection listenr fires when we use ECUtil add dirty component.
|
 |
|
|
|
Patterned after Spreadsheet demo. Can not center grid table. Using e:div from demo with rendersChildren=true. It rendered the gridtable but the styles are messed up where data can not be seen. Can not get rid of the scrollbars when set to none. After selecting editable cell some action endlessly fires resizing editable cell height. Was wondering if you could tell me how to obtain the information from the grid table or model when the submit button is pressed. Using grid table throws IllegalArgumentException. Using the datamodel and API docs doesn't lend much help. The application basically updates a properties file from a grid table.
|
 |
|
|