You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Timothy McKnight <ta...@sbcglobal.net> on 2004/10/16 23:52:54 UTC
Help with Contrib Table
Hello,
When I build the following Web app using Contrib Table
i get "Tag <span> on line 16 contains an invalid jwcid
'table@contrib.Table'."...
ognl:completeStatsList is a LinkedList of
IndividualStats
<span jwcid="table@contrib.Table"
width="90%"
source="ognl:completeStatsList"
columns="Place, Name, Score, Location"/>
<property-specification name="statsList"
type="java.util.List" persistent="yes"/>
<property-specification name="istats"
type="com.mikesamuse.components.IndividualStats"/>
package com.mikesamuse.components;
import java.io.Serializable;
public class IndividualStats implements Serializable {
private String mPlace;
private String mName;
private String mScore;
private String mLocation;
public IndividualStats(String aPlace, String aName,
String aScore, String aLocation){
this.mPlace = aPlace;
this.mName = aName;
this.mScore = aScore;
this.mLocation = aLocation;
}
public String getLocation() {
return mLocation;
}
public String getName() {
return mName;
}
public String getPlace() {
return mPlace;
}
public String getScore() {
return mScore;
}
}
I have contrib defined in my .application file.
<library id="contrib"
specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
And the contrib jar file is in my classpath.
Even a good example will be appreciated.
Thanks,
Tim
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
RE: Help with Contrib Table
Posted by Lindsay Steele <ls...@iinet.net.au>.
Try using <span jwcid="table@contrib:Table"
Notice the : instead of the .
-----Original Message-----
From: Timothy McKnight [mailto:tamcknight@sbcglobal.net]
Sent: Sunday, 17 October 2004 7:53 AM
To: Tapestry users
Subject: Help with Contrib Table
Hello,
When I build the following Web app using Contrib Table
i get "Tag <span> on line 16 contains an invalid jwcid
'table@contrib.Table'."...
ognl:completeStatsList is a LinkedList of
IndividualStats
<span jwcid="table@contrib.Table"
width="90%"
source="ognl:completeStatsList"
columns="Place, Name, Score, Location"/>
<property-specification name="statsList"
type="java.util.List" persistent="yes"/> <property-specification
name="istats" type="com.mikesamuse.components.IndividualStats"/>
package com.mikesamuse.components;
import java.io.Serializable;
public class IndividualStats implements Serializable {
private String mPlace;
private String mName;
private String mScore;
private String mLocation;
public IndividualStats(String aPlace, String aName,
String aScore, String aLocation){
this.mPlace = aPlace;
this.mName = aName;
this.mScore = aScore;
this.mLocation = aLocation;
}
public String getLocation() {
return mLocation;
}
public String getName() {
return mName;
}
public String getPlace() {
return mPlace;
}
public String getScore() {
return mScore;
}
}
I have contrib defined in my .application file.
<library id="contrib"
specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
And the contrib jar file is in my classpath.
Even a good example will be appreciated.
Thanks,
Tim
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org