Re: tokens in error messages

Yayo <[email protected]> Wed, 16 Mar 2005 20:35:37 +0000 (UTC)
Newsgroups gmane.comp.java.strutscx.user
Message-ID <[email protected]>
now this is it!!

	<xsl:value-of select="substring-before($res,'{0}')"/>
			labelhere
	<xsl:value-of select="substring-after($res,'{0}')"/>

from

<errors-required>El campo '{0}' no es válido</errors-required>


will output



El campo ' labelhere ' no es válido



it's how it goes!





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click