Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added note about the s:date tag.

...

Instead, the recommended approach is to use Java's built-in date formatting features via use of the s:text tag.

Note

While the s:text tag is still very useful to format numbers, date formatting has become a lot easier thanks to the s:date tag.

The s:text tag should be used for all i18n values. It will look up the properties file for your action, and from that select the value for the key that you specify. This is best illustrated in an example:

...