You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Anton Pussep <an...@pussep.de> on 2007/10/03 13:26:34 UTC
Own TextProvider implementation for validation
I would like to use an own i18n system with the validation provided by
Struts 2 and XWork 2. The action-validation.xml will contain keys as
messages and those keys should be used in order to retrieve the messages
from my i18n system. There seems to be a TextProvider interface, thus I
could probably create an own implementation of it and set my own
TextProvider in TextProviderFactory? But I am also wondering if Struts
also provides something similar, since ActionSupport also implements
TextProvider, so is the action used as a TextProvider by the validation
interceptor?
Best,
Anton
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org