Hello, I have the following problem with tapestry 5.
I have a list of objects “Datapoints”. These “Datapoints” has an
attribute “calendar” of type “Calendar” with a date and a attribute
“value” of type “Double” with a value decimal. I need to show these data
in a grid.
All the other attributes: state, visibility, place, etc. are shown
without problems in the mesh, but the date of the “Calendar” and the
value of the “Double” are not shown.
If somebody could help me with this, i will be very happy.
A image: http://img217.imageshack.us/img217/3782/imageak4.jpg
------------------------------------------------------------------------
Start.html
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
<head>
<title>Bla bla bla</title>
</head>
<body>
<h1>Bla bla</h1>
<table t:type="grid" rowsPerPage="50" pagerPosition="top"
source="getDataPoints()"/>
</body>
</html>
------------------------------------------------------------------------
------------------------------------------------------------------------
Start.java
public class Start {
private static DataPointRandomProvider provider = new
DataPointRandomProvider(100);
static {
provider.loadDataPointList();
}
public List<DataPoint> getDataPoints() {
return provider.getDataPointList();
}
public void generatePoints() {
provider.loadDataPointList();
}
}
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]