MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
bingqiu2008
Post subject: Having problem with ice:dataTable  PostPosted: May 13, 2009 - 02:31 AM



Joined: May 13, 2009
Posts: 1

I am a newbie of iceface. I know this should be a easy problem, but somehow I can't find the solution. I am trying to display a two-row table using ice:dataTable. (Originally I tried to show something dynamic, but finally I gave up.) , but the result of the codes only displays the header of the table.

Please see the codes as below:
___________________________
<?xml version="1.0" encoding="ISO-8859-1" ?>
<jsp:root version="1.2"
xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ice="http://www.icesoft.com/icefaces/component">
<jsp:directive.page contentType="text/html;charset=ISO-8859-1" pageEncoding="ISO-8859-1" />
<f:view>
<ice:outputDeclaration
doctypeRoot="html"
doctypePublic="-//W3C//DTD HTML 4.01 Transitional//EN"
doctypeSystem="http://www.w3.org/TR/html4/loose.dtd" />
<html>
<head>
<title>ICEfaces, Ajax for Java EE</title>
<link rel="stylesheet" type="text/css" href="./xmlhttp/css/xp/xp.css"/>
</head>
<body>

<ice:outputText value="Thank you for using ICEfaces." />

<ice:form>

<ice:dataTable id="strange" border="1" value="#{sessionBean.productlineList}" var="productline" rows="2">

<ice:column>
<f:facet name="header">
<ice:outputText id="col1header" value="productline"></ice:outputText>
</f:facet>
<ice:outputText id="name" value="row1"></ice:outputText>
</ice:column>

<ice:column>
<f:facet name="header">
<ice:outputText id="col2header" value="textdescription"></ice:outputText>
</f:facet>
<ice:outputText id="text" value="row1"></ice:outputText>
</ice:column>

</ice:dataTable>

</ice:form>

</body>
</html>
</f:view>
</jsp:root>
___________________________

Please help me with it. It really drives me crazy. I would really really appreciate any suggestions or advices.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Having problem with ice:dataTable  PostPosted: May 14, 2009 - 12:46 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

bingqiu2008,
I would suggest you cross post this query on the ICEFaces forum as well.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits