Hello, I'm wondering if someone could tell me if it's possible to pass the form component into my validation service to record form errors. I'm getting the following exception.
java.lang.LinkageError loader constraint violation: when resolving interface method "org.company.eprs.services.PurchaseRequestValidationService.validate(Lorg/apache/tapestry5/corelib/components/Form;)V" the class loader (instance of org/apache/tapestry5/internal/plastic/PlasticClassLoader) of the current class, org/company/eprs/pages/Purchase_Request, and the class loader (instance of org/mortbay/jetty/webapp/WebAppClassLoader) for resolved class, org/company/eprs/services/PurchaseRequestValidationService, have different Class objects for the type org/apache/tapestry5/corelib/components/Form used in the signature Code used MyClass @Component(id = "PR") private Form form; @Inject private PurchaseRequestValidation purchaseRequestValidation; void onValidateFromPR() throws Exception { this.purchaseRequestValidation.validate(this.form); } MyService public void validate(Form form) { //do something } Thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/Passing-form-component-into-service-tp5715894.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org