You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ti...@dlh.de on 2005/07/22 21:10:33 UTC
error handling in forms
Hi.
I want to show the error on a form at the specific field.
I use <logic:messagesPresent property="myProperty"></logic:...>
But as this is kinda lot of code even in a small form I tried to use a
tile instead.
I pass the property with <tiles:put> to the definition and I can read
that from the
<tiles:getAsString> But what I wanna do is to access it in a way like
<logic:messagesPresent property="<%= property %>">
Does anyone has an idea of how I can do that?
Maybe with more flexibility to render the field against the error exists
or not.
Thanks
Timo