myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Zink <jochenl...@web.de>
Subject Difference between 1.1.5 and 1.2 in validation errorMessages
Date Mon, 03 Dec 2007 08:50:09 GMT
Hello,

I have a simple <h:input> field with required validator. 

<h:input id="Name" required="true" />

With myFaces 1.1.5 (running inside tomcat 6), the validation errormessages looks like this

"You must insert a value in field Name"


With myfaces 1.2 (running inside geronimo 2.0.1), the validation errormessages looks like
this:

"You must insert a value in field _jsp97:content:submitForm:_jsp33:Name"

The last Errormessages is very ugly. Is it possible to force myfaces 1.2 to use only the local
ID and not the complete ID for validation Messages?


Thanks a lot
Regards
Jochen

_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066


Mime
View raw message