struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpan Debroy" <arpan.deb...@gmail.com>
Subject How to change automatic type conversion error message
Date Fri, 16 May 2008 06:30:26 GMT
In my application  "id" attribute is int type of "Group" bean.

In my JSP I have written like that :-

<s:textfield name="group.id" value="%{group.id}"/>

Now if user puts a string into this text field, then error message come like
that

*invalid value for the field group.id

But I want to show the error message with only "id" not "group.id".

Is there anybody, who can show me any example how to do that.
*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message