| Author |
Message |
|
|
|
So it mean that we have to put the gridTable inside a <h:form> tag when using Facelets ?
|
 |
|
|
I try to use gridtable in facelets page, but it raise error:
XML Parsing Error: mismatched tag. Expected: </input>.
Location: http://localhost:8080/socai_gen/home.seam
Line Number 16, Column 325:</script></td></tr><tr id="j_id33:bottomRow" class="dataTableBottom"><td width="100%" align="center"></td></tr></table><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="_id1" /><input type="hidden" name="ec_fid_ecs1" value="true"><input type="hidden" name="ec_focus_context" value="null"></form>
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^
Here is my home.xhtml:
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:e="http://simplica.com/facelet/ecruiser"
xmlns:rich="http://richfaces.org/rich"
template="layout/template.xhtml">
<ui:define name="body">
<e:gridtable>
</e:gridtable>
</ui:define>
</ui:composition>
here is template.xhtml:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:s="http://jboss.com/products/seam/taglib">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>socai_gen</title>
<link href="stylesheet/theme.css" rel="stylesheet" type="text/css" />
</head>
<body>
<ui:include src="menu.xhtml">
<ui:param name="projectName" value="socai_gen"/>
</ui:include>
<div class="body">
<ui:insert name="body"/>
</div>
<div class="footer">
Powered by <a href="http://jboss.com/products/seam">Seam</a>.
Generated by seam-gen.
</div>
</body>
</html>
I'm using Jboss 4.2.2.GA.
What's wrong ? Please help me.
|
 |
|
|
Hope your spreadsheet will improve fast
|
 |
|
|
Thank you for your reply. But I think a spreadsheet should have option for user to changing the move direction after edit, in column or in row, because one advantage of spreadsheet is performance to input data. Example when user use numpad to input large data of type number, press number for edit, press enter to move to finish edit and move to next cell for other data.
So when user chose to enter data in row, the next select cell should be on the right of current cell.
I think Ecruiser GridTable should implement that feature as standart, not custom.
|
 |
|
|
|
I'm trying to evaluate EcruiserSuite. One I need is ability to set moving direction of cell selection after edit a cell: down or right (like Microsoft Excel). In Ecruiser GridTable, the default direction is move to the cell below after press Enter. So does it have any option to set like Excel or solution to change: move to the right ? Please answer me soon. Thanks.
|
 |
|
|