I added a new
<%@ page formatter="myFormatter" %>
directive to PSP. This can be used to specify an alternate formatter
function to use instead of str() when processing <%= ... %> blocks.
You might want to use this if certain types need to be formatted in a certain
way across an entire page; for example, if you want all integers to be
formatted with commas like "1,234,567" you could make that happen by
specifying a custom formatter. Or, if you want to html-encode all strings,
that's another potential use.
Get latest updates about Open Source Projects, Conferences and News.