you can if you use a combination of Freemarker AND dojo .. assume you have <form id="formId"..>
<script type="text/javascript"> dojo.require("dojo.event.*"); <#if (parameters.formId?if_exists?size > 0)> var containingForm = document.getElementById("${formId}"); Anyone else? Martin- ----- Original Message ----- From: "Néstor Boscán" <[EMAIL PROTECTED]> To: <user@struts.apache.org> Sent: Sunday, March 16, 2008 2:30 PM Subject: Struts2 - Can I access the form object from fielderror.ftl Is there a way to access the form object from fielderror.ftl. I need to access the form Id. Regards, Néstor Boscán --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]