Re: tokens in error messages
Yayo <[email protected]> Tue, 15 Mar 2005 20:51:17 +0000 (UTC)
| Newsgroups | gmane.comp.java.strutscx.user |
|---|---|
| Message-ID | <[email protected]> |
What I'm doing is write the head with a value tag, then write the label for the
attribute and after that write the tail of the message... Nothing to do with the
request...
Also you can format a string in xsl with the java-like params as this
"The fiels '{0}' is not valid."
because there's a function substring-before($stringVar, '{0}')
and a function substring-after($stringVar, '{0}')
so you can concatenate the strings and the label... Now that I see it I think
I'll use this method!... But how can be added the other values?
maybe storing the result in another and concat again??
If there's anyone who can apply this pattern and give an example, please do,
I'll be thankfull
-------------------------------------------------------
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