What's the standard design solution for the following problem :
The application prompts the user for some text. This is entered in a text area. And it's easy to store it as a long String. But how to preserve the line breaks to keep the separate paragraphs ? Should the text be stored as String[] ? Should the controller convert the text area String into String[] ?
A collection of articles and resources of interest to the modern software developer
Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do.
-- Steve Jobs
Friday, October 14, 2011
Grails - user - Paragraphs
Grails - user - Paragraphs
Labels:
Formatting,
Grails,
TagLib
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment