Results 1 to 2 of 2
- 05-23-2010, 10:12 AM #1
Member
- Join Date
- May 2010
- Posts
- 1
- Rep Power
- 0
Need a SyntaxHighlighter for my JSF-Application
Hey guys,
i am working on a JSF-Application, in which i can store Code Snippets in my Java Derby DB and render them on my .xhtml-Pages with JSF.
But i am having serious problems, finding a syntax highlighter for my application. I think the best way, i take one that uses JavaScript on my .xhtml pages, right?
I already tried JHighlight, but i am having problems with the usage, i cant find a tutorial anywhere.
Another problem is the rendering of html-tags. How can i render a tag like <html> on my Code Snippet? The .xhtml-page can't differ between <html> on the .xhtml page and the <html> in my code snippet.
Thanks in advance for your help.
- 06-04-2010, 10:18 AM #2
Member
- Join Date
- Jun 2010
- Posts
- 1
- Rep Power
- 0
Your right about that documentation. I'm still vague on what JHighlight can do. I played with it tonight and came up with:
A Tag handler
colorcode.java - ickui - Project Hosting on Google Code
and an example
colorcode.jsp - ickui - Project Hosting on Google Code
Hope it helps in some way. Underwhelmed with it at the moment, but anything server side beats the client-side redraw imo.
Similar Threads
-
Web application in jsp
By robc in forum New To JavaReplies: 3Last Post: 05-14-2010, 08:26 AM -
Help in converting Java application to desktop application in Netbeans
By realahmed8 in forum AWT / SwingReplies: 3Last Post: 12-04-2009, 12:10 PM -
Sending J2ME application by blue tooth (by J2ME application). Very URGENT!!!
By maruffaiz in forum CLDC and MIDPReplies: 0Last Post: 04-22-2009, 01:30 PM -
Launching an application from another application dynamically
By Java Tip in forum Java TipReplies: 0Last Post: 02-16-2008, 09:31 PM -
Launching an application from another application using thread
By Java Tip in forum Java TipReplies: 0Last Post: 02-16-2008, 09:29 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks