2011-07-14 14:09, Support Geoplanning:
org.apache.tapestry5.ioc.internal.util.TapestryException: Parameter
'translate' of component admin/Tasks:taskedit.taskeditform.foreignid is
bound to null. This parameter is not allowed to be null. [at
classpath:com/marketip/geoplanning/web/components/admin/TaskEditForm.tml, line
138]
TML :
<t:form t:id="myForm">
<t:textfield t:id="pojoId" t:value="myPojoInstance.id" />
<t:textfield t:id="pojoName" t:value="myPojoInstance.name" />
</t:form>
=> this will show the above exception at render time, and simply
removing the “implements Identifiable<String>” of the MyPojo class will
make everything running just fine.
Seems that your code example is not consitent. The error says there's a
component "foreignid" but in your tml there's no such field.
Please check your example - maybe you're having the inconsistency in
your app as well.
The problem is that it's hard to help you when you modify your example
so, that the field in the error is not there anymore.
> Above all, I don’t have the problem when running the application on
> Jetty (Eclipse plugin) but I do have the problem when deploying the
> application on a Tomcat 6.
This looks even more like some inconsistent build app - maybe the tml is
picked up but the class isnt (or vice versa). Please check your environemnt.
--
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org