Tuesday January 13, 2004

[New Feature] Wiki Syntax support added to comments For you, my friends, I've added the ability to use JSPWiki syntax when writing comments. All you need to do is start your comment with an exclamation point - ! Hopefully this will help add automatic line-breaks when you add a line-break in the textarea, as well as making it easier for you to you to type in any code. If you're typing or pasting in Java code, try using the Java2HtmlPlugin. It's easy to use, just type the starting and closing tags, and insert a blank line before your code. For example, here's the raw text.
[{Java2HtmlPlugin
public class HelloWorld {
public static void main(String args[]) {
System.out.println("Hello World!");
}
}
}]
I don't know if the "Preview" button (from the Permalink) supports it, but I've added the following to both twisty comments and regular comments.
#if($content.startsWith("!"))
#set( $wikiText = $stringUtils.substring($content,1))
#set( $renderedText = $wikiPlugin.render($wikiText))
#else
#set( $renderedText = $content )
#end
$renderedText
Enjoy! Posted in Roller at Jan 13 2004, 05:48:44 PM MST 3 Comments
Good News from TheServerSide I woke this morning and was doing my normal perusing of JavaBlogs and came across a couple of gems: Middlegen 2.0 VO was released and TheServerSide.com has a new UI. A couple of thoughts I had:
- What the heck does VO stand for in the Middlegen Release message? Does this new release support Struts 1.1?
- The new UI for TSS looks great, but did they intentionally not set a background color on the page (shows up gray on my screen)? I think they forgot to set a background-color, because the stylesheet doesn't have one defined. Do me a favor, if you're a web developer, change your default background color in your browser to something obnoxious (i.e. purple) so you don't make this same mistake. Granted, most browsers default to white, but this is a mistake that only rookies make.
Posted in Java at Jan 13 2004, 06:28:56 AM MST 6 Comments
Search This Site
Recent Entries
- Fantastic Fun in Jackson Hole
- How We Hired a Team of 10 in 2 Months
- Jack's Skiing Like A Madman!
- My Future of Web Frameworks Presentation
- My Guest Room Remodel is finished!
- Web Application Testing with Selenium by Jason Huggins
- Web Application Testing with Selenium at Agile Denver next Monday
- 17" MacBook Pro Stolen from Living Room
- Using JRebel with IntelliJ IDEA on OS X
- Reviews for Grails: A Quick-Start Guide and Kanban and Scrum