Search
Recent Topics
problem with facelets
Forum Index
->
DataTable
Author
Message
03/30/2008 22:51:24
Subject:
problem with facelets
newzthanh
Joined: 03/26/2008 13:07:58
Messages: 5
Offline
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.
04/01/2008 12:20:41
Subject:
Re:problem with facelets
adina_mihai
Simplica Team
Joined: 04/01/2007 00:00:00
Messages: 183
Offline
You should have the gridtable surrounded by <f:view> and <h:form> tags. Try this...
Forum Index
->
DataTable
Go to:
Select a forum
General
DataTable
Tree
Menu
Tab
Layout
Window
Calendar/Date Input
Lookup/Suggest Input
Powered by
JForum 2.1.7
©
JForum Team
Home
|
News
|
Contact
|
About
|
License
|
Privacy
|
Documentation
Copyright © 2009 Simplica Corporation. All rights reserved.