Hello
I can not get over thisprobably basic problem.
Render queue error in SetupRender[Gume:guma.editor]: Exception instantiating
instance of com.projekat.alpha1.entities.Guma (for component
'Gume:guma.editor'): Error invoking constructor
com.projekat.alpha1.entities.Guma(int, String, String, Date) (at
Guma.java:70) (for service 'BeanModelSource'): No service implements the
interface int.
I have a page Gume.tml with bean edit form only(summarized):
<t:beaneditform t:id="guma" exclude="gumaid, datum,"></t:beaneditform>
Following class Gume.java (summarized)
public class Gume {
@Inject
private Session session;
@Property
private Guma guma;
@InjectPage
private Index stranaIndex;
public Gume(){};
@CommitAfter
public Object onSuccess(){
...
}
And this is entity class Guma.java (I pasted constructor only)
public Guma(int gumaid, String proizvodjac, String model, Date datum) {
this.gumaid = gumaid;
this.proizvodjac = proizvodjac;
this.model = model;
this.datum = datum;
}
I just can not figure out how to solve this. I had several months gap
without programming and it is creating a problem already. I am using
netbeans 6.9.1 and have created Tapestry project via Maven template. I later
added hibernate stuff. Previously, I had created my projects manually, by
starting web application and modifying xml files and copying libraries.
t:grid component is working properly.
Thanks in advance
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/BeanEditForm-small-problem-tp4412666p4412666.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]