Hello,

I suppose you don't read all threads in detail, so I post the question directly.

I could provide a patch to the beaneditform component in order to easily record errors for a field without the need to inject the Field component.
Usage pattern:

@Component
private BeaneditForm form;
void onValidateForm(){
form.recordError("myFieldName", messages.get("error_country_not_found");
}

The downside is that a full bunch of classes is
affected and before writing this simple patch, I would like to get feedback, if this is likely to be accepted?

This is discussed in detail here.

http://www.mail-archive.com/users@tapestry.apache.org/msg38215.html

--
Best Regards / Viele Grüße

Sebastian Hennebrueder

-----
http://www.laliluna.de
Laliluna.de, Berliner Strasse 22, 61118 Bad Vilbel, Germany

* Java Software Development, Support
* Training for Hibernate, EJB3 and Spring
* Tutorials for JSP, JavaServer Faces, Struts, Hibernate and EJB


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to