Improvements to S.loc and S.?
Corresponding thread:
http://groups.google.com/group/liftweb/browse_thread/thread/be9e948e1829b979
Two improvements:
- There should be an S.loc(String, NodeSeq => NodeSeq). The function is to transform the returned xml (for example to replace placeholders). It would be great to have an example for this in the wiki...
- S.?("some_key") currently returns some_key when (1) using xml language files and (2) the translation corresponding to some_key contains xml tags.
http://groups.google.com/group/liftweb/browse_thread/thread/be9e948e1829b979
Two improvements:
- There should be an S.loc(String, NodeSeq => NodeSeq). The function is to transform the returned xml (for example to replace placeholders). It would be great to have an example for this in the wiki...
- S.?("some_key") currently returns some_key when (1) using xml language files and (2) the translation corresponding to some_key contains xml tags.
Leave a comment