Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
patch
JSPWiki_lucene.patch 4.6 kB 1 27-Oct-2004 16:14 80.126.27.148

This page (revision-116) was last changed on 20-Feb-2011 19:54 by Harry Metske  

This page was created on 27-Sep-2003 11:56 by JanneJalkanen

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 25 added one line
----
At line 27 added 19 lines
First, let's not mix up browser behaviour with markup standards; they're two different things.
JSPWiki uses XHTML, not HTML. And yes, all XHTML element type names ("tag names"), attribute names and fixed values __must__ be in lowercase. Whereas HTML was SGML-based, XHTML is XML-based. One of SGML's numerous features that XML doesn't have (i.e., permit) is wrapping of case. Another is called ''tag minimization'' (i.e., not requiring end tags), and then there's how empty elements are handled. In HTML, {{<meta>}}, {{<img>}} and the other elements whose declared content model is {{EMPTY}} could simply be represented as a single tag, with their end tags inferred. There is no such feature in XML. The W3C's XML Working Group managed to find a relatively elegant solution for empty XML elements that actually worked in existing Web browsers: by adding "{{ />}}" (note that the space preceding the slash is __required__) here was something that worked and was SGML-legal, via a minor change to the SGML declaration for XML (the machine-readable declaration for the profile).
! Invalid (in XHTML):
{{{
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> [uppercase]
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> [no empty tag markup]
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> [missing space]
}}}
! Valid (in XHTML):
{{{
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
}}}
So what this comes down to, as it always has been, is ''declaring'' the markup language you're using and then sticking to it. If you've declared you're using XHTML you should also precede an appropriate DOCTYPE declaration with the XML declaration ({{<?xml version="1.0" encoding="UTF-8"?>}}). That's not strictly necessary but is good practice and gives validation tools a clue that you're using XML.
-- MurrayAltheim, 13-Apr-2007
----
At line 62 changed one line
!!2004/08/26 - Java2Html PlugIn: Neverending loop in attachemnt loading
!!2004/08/26 - Java2Html Plugin: Neverending loop in attachemnt loading
At line 287 changed one line
I'd like to second the motion of adding the MRG template's PrintFriendly.jsp and an accompanying link to execute that JSP (whether on the left menu or in the list of links at the bottom of each page) to the JSPWiki core.
I'd like to second the motion of adding the MRG template's ~PrintFriendly.jsp and an accompanying link to execute that JSP (whether on the left menu or in the list of links at the bottom of each page) to the JSPWiki core.
At line 293 changed one line
I don't actually want to add PrintFriendly.jsp, because I don't want to add any new top-level JSP pages unless absolutely necessary (and with the new WikiForm -plugin, after a bit of polishing, we can probably start getting rid of a bunch of the old ones as well).
I don't actually want to add ~PrintFriendly.jsp, because I don't want to add any new top-level JSP pages unless absolutely necessary (and with the new WikiForm -plugin, after a bit of polishing, we can probably start getting rid of a bunch of the old ones as well).
At line 349 changed one line
* Hi, JanneJalkanen. My name is Jin Zeng and I live in Beijing of China. Thanks for your great work, I am using your JSPWiki v2.0.52. It works well.In order to input Chinese, I set JSPWiki to use UTF-8. It also does well.Further more, I want the prompt message displayed in Chinese. So I think I need to do some change in the JSP source file.For example, I edited a file named FindContent.jsp. However, the characters I input was displayed in irregular character can not be read.How do I fix this problem then? -- Jin Zeng
* Hi, JanneJalkanen. My name is Jin Zeng and I live in Beijing of China. Thanks for your great work, I am using your JSPWiki v2.0.52. It works well.In order to input Chinese, I set JSPWiki to use UTF-8. It also does well.Further more, I want the prompt message displayed in Chinese. So I think I need to do some change in the JSP source file.For example, I edited a file named ~FindContent.jsp. However, the characters I input was displayed in irregular character can not be read.How do I fix this problem then? -- Jin Zeng
At line 361 changed one line
IE 5.5 and 6 do not like {{document.forms[1].text}}, because they use another Document Object Model (I suppose IE6 can be made to like it by changing the DOCTYPE of the page, but I haven't tried that yet). Simple solution: edit {{default/EditTemplate.jsp}} by deleting the {{onload}} instruction on lines 14 and 18. Better solution (if you want to keep the functionality): add an ID to the main FORM of the editing page, and replace {{document.forms[1].text.focus()}} using the {{getElementByID()}} function... [Wouter]
IE 5.5 and 6 do not like {{document.forms[1].text}}, because they use another Document Object Model (I suppose IE6 can be made to like it by changing the DOCTYPE of the page, but I haven't tried that yet). Simple solution: edit {{default/~EditTemplate.jsp}} by deleting the {{onload}} instruction on lines 14 and 18. Better solution (if you want to keep the functionality): add an ID to the main FORM of the editing page, and replace {{document.forms[1].text.focus()}} using the {{getElementByID()}} function... [Wouter]
At line 378 removed 4 lines
--gblasko, 13-Apr-2007
Version Date Modified Size Author Changes ... Change note
116 20-Feb-2011 19:54 22.68 kB Harry Metske to previous
115 18-Feb-2011 06:50 0.047 kB noipApoximb to previous | to last
114 14-Apr-2008 10:44 22.68 kB 121.15.13.195 to previous | to last
113 14-Apr-2008 10:43 22.681 kB 121.15.13.195 to previous | to last
112 19-Mar-2008 17:36 22.68 kB JanneJalkanen to previous | to last
111 19-Mar-2008 17:02 22.692 kB Giraffe to previous | to last
110 26-Sep-2007 23:41 22.68 kB JanneJalkanen to previous | to last
109 26-Sep-2007 02:48 22.691 kB 81.180.65.2 to previous | to last
108 06-Jun-2007 01:59 22.68 kB MurrayAltheim to previous | to last disabled unintentional links
107 13-Apr-2007 14:26 22.676 kB MurrayAltheim to previous | to last clarified some XHTML issues
106 13-Apr-2007 14:24 22.685 kB MurrayAltheim to previous | to last clarified some XHTML issues
105 13-Apr-2007 13:19 22.078 kB MurrayAltheim to previous | to last clarified some XHTML issues
104 13-Apr-2007 13:00 20.724 kB gblasko to previous | to last
103 13-Apr-2007 13:00 20.754 kB gblasko to previous | to last Comment by gblasko
102 10-Sep-2006 20:47 20.714 kB JanneJalkanen to previous | to last
101 10-Sep-2006 20:03 21.815 kB Bush to previous | to last
« This page (revision-116) was last changed on 20-Feb-2011 19:54 by Harry Metske