You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Daniel Lydiard <dl...@hotmail.com> on 2006/02/07 11:25:45 UTC

[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


Re: [T4] No type converter for type org.apache.tapestry.components.IPrimaryKeyConverter is available. [Solved]

Posted by Daniel Lydiard <dl...@hotmail.com>.
I didn't notice IPrimaryKeyConvertEr (T4) and IPrimaryKeyConvertOr (T3), 
bah!



----- Original Message ----- 
From: "Daniel Lydiard" <dl...@hotmail.com>
To: "Tapestry users" <ta...@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