tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Lydiard" <dlydi...@hotmail.com>
Subject Re: [T4] No type converter for type org.apache.tapestry.components.IPrimaryKeyConverter is available. [Solved]
Date Wed, 08 Feb 2006 19:07:03 GMT
I didn't notice IPrimaryKeyConvertEr (T4) and IPrimaryKeyConvertOr (T3), 
bah!



----- Original Message ----- 
From: "Daniel Lydiard" <dlydiard@hotmail.com>
To: "Tapestry users" <tapestry-user@jakarta.apache.org>
Sent: Tuesday, February 07, 2006 2:25 AM
Subject: [T4] No type converter for type 
org.apache.tapestry.components.IPrimaryKeyConverter is available.


> 324 <component id="forEachWorkflowRecord" type="For">
> 325 <binding name="source" value="workflow"/>
> 326 <binding name="value" value="currentWorkflowRecord"/>
> 327 <binding name="converter" value="workflowConverter"/>
> 328 <binding name="element" value="literal:tr"/>
> 329 </component>
>
>
> My java class has a
> import org.apache.tapestry.contrib.table.model.IPrimaryKeyConvertor; but 
> eclipse can't find org.apache.tapestry.components.IPrimaryKeyConverter.
>
> Along with
> @Persist
>  public abstract IPrimaryKeyConvertor getWorkflowConverter();
>
>  public abstract void setWorkflowConverter(IPrimaryKeyConvertor 
> primaryKeyConvertor);
>
> and
> setWorkflowConverter(new IPrimaryKeyConvertor() {
>      public Object getPrimaryKey(Object objValue) {
>       ...
>      }
>
>      public Object getValue(Object objPrimaryKey) {
>       ...
>      }
>    });
>
>
>
> I have tapestry-4.0.jar, tapestry-contrib-4.0.jar, 
> tapestry-annotations-4.0.jar, tapestry-portlet-4.0.jar in my web context 
> lib directory along with spring/hibernate jars etc...
>
>
> What am i missing? :(
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Mime
View raw message