Hello everybody, 
I'm new to Tapestry 5 and I need help to solve a problem. 

I defined an entity bean "Operator" in my ejb3 project, and I want it to be
the object of a beaneditform in a Tapestry 5 project. 

So, I wrote this in the AddOperator.tml page:


and I get this Tapestry error:
Embedded component 'operatorEditor' has no type. You should specify a type
in the component template, or define the component inside class
sittingduck.pages.AddOperator using the @Component annotation on a private
instance variable.

In my understanding, my AddOperator.java seems to be ok because I defined:
        @Persist
        private Operator operator;
         
and both setter and getter methods.

I tried different ways, like setting a new instance of Operator to the
AddOperator page via page injection, or assigning a new instance of Operator
to the property field during the onActivate() method of AddOperator page,
but no success. 

Please advise.
-- 
View this message in context: 
http://www.nabble.com/problem-beaneditform-and-external-ejb3-tp19769807p19769807.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

Reply via email to