[jboss-cvs] jboss-seam/examples/wiki/src/test/org/jboss/seam/wiki/test ...
Christian Bauer
christian at hibernate.org
Wed Dec 19 10:07:39 EST 2007
User: cbauer
Date: 07/12/19 10:07:39
Modified: examples/wiki/src/test/org/jboss/seam/wiki/test
HelpDocuments.dbunit.xml
Log:
JBSEAM-2409, Removed SLASH from seam text grammar and updated examples
Revision Changes Path
1.2 +1 -1 jboss-seam/examples/wiki/src/test/org/jboss/seam/wiki/test/HelpDocuments.dbunit.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: HelpDocuments.dbunit.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/test/org/jboss/seam/wiki/test/HelpDocuments.dbunit.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- HelpDocuments.dbunit.xml 19 Dec 2007 04:29:24 -0000 1.1
+++ HelpDocuments.dbunit.xml 19 Dec 2007 15:07:39 -0000 1.2
@@ -33,7 +33,7 @@
NAME_AS_TITLE="true" ENABLE_COMMENTS="false" ENABLE_COMMENT_FORM="false" ENABLE_COMMENTS_ON_FEEDS="false"
HEADER_MACROS="[NULL]" CONTENT_MACROS="[NULL]" FOOTER_MACROS="[NULL]"
HEADER="[NULL]" FOOTER="[NULL]"
- CONTENT="Most content on this website (blogs, blog comments, wiki pages, user profiles) is rendered using the [Seam Text=>http://docs.jboss.com/seam/latest/reference/en/html/text.html] engine. If you are creating content, it helps to know a few simple tricks.

++ Basic formatting

You can emphasize words using /italics/, *bold*, _underline_, ~strikeout~ or ^superscript^.

`You can emphasize words using
/italics/, *bold*, _underline_, ~strikeout~ or ^superscript^.`

But if you really want to type a special character such as \/, \* or \+, you need to escape it with a \\.

`But if you really want to type a special character
such as \/, \* or \+, you need to escape it with a \\.`

Alternatively, you can use special characters freely inside |monospace text|.

`Alternatively, you can use special characters freely
inside |monospace text|.`

++ Block formatting

Of course, you can also use!
\"inline quotes\".

"And block quotes."

And split text across several paragraphs.

`Of course, you can also use "inline quotes".

"And block quotes."

And split text across several paragraphs.`

You can create

= unorderedlists
= of stuff
= like this

or

# numbered lists
# of other things

`You can create
= unordered lists
= of stuff
= like this

or

# numbered lists
# of other things`

A third option for embedding text that uses special characters is to use a code block, delimited by *backticks*. For example:

`for (int i=0; i<100; i++) {
 log.info("Hello world!");
}`

+ Here is a first-level heading

Here is a normal paragraph.

++ Here is a second-level heading

And another paragraph.

`+ Here is a first-level heading

He!
re is a normal paragraph.

++ Here is a second-level heading&#
xA;
And another paragraph.`

++ Links

The wiki has powerful handling for links.

HTML links to [=>http://hibernate.org] or attach the link to [some link text=>http://hibernate.org].
My [e-mail address=>mailto:foo at bar.tld] will be automatically protected.

`HTML links to [=>http://hibernate.org] or attach the
link to [some link text=>http://hibernate.org].
My [e-mail address=>mailto:foo at bar.tld] will be
automatically protected.`

Internal wiki links simply use area and document\/file names:

= Link to another document: \[\=\>My Document\] 
= Link to another document with link text: \[A document\=\>My Document\]
= Link to another document in another area: \[\=\>Another Area\|My Document\]
= Link to an uploaded file or image: \[\=\>My Upload\]

You can even link to a [Hibernate JIRA issue=>hhh://2702], or a
[Seam JIRA issue=>jbseam://1920].

`You can even link to a [Hibernate J!
IRA issue=>hhh://2702],
or a [Seam JIRA issue=>jbseam://1920].`

++ Embedded HTML

You can even use <i>many</i> HTML tags directly, but <b>not</b> tags that would create a security vulnerability!

`You can even use <i>many</i> HTML tags directly,
but <b>not</b> tags that would create a
security vulnerability!`"/>
+ CONTENT="Most content on this website (blogs, blog comments, wiki pages, user profiles) is rendered using the [Seam Text=>http://docs.jboss.com/seam/latest/reference/en/html/text.html] engine. If you are creating content, it helps to know a few simple tricks.

++ Basic formatting

You can emphasize words using *emphasis*, _underline_, ~strikeout~ or ^superscript^.

`You can emphasize words using
*emphasis*, _underline_, ~strikeout~ or ^superscript^.`

But if you really want to type a special character such as \* or \+, you need to escape it with a \\.

`But if you really want to type a special character
such as \* or \+, you need to escape it with a \\.`

Alternatively, you can use special characters freely inside |monospace text|.

`Alternatively, you can use special characters freely
inside |monospace text|.`

++ Block formatting

Of course, you can also use "inline quotes&q!
uot;.

"And block quotes."

And split text across several paragraphs.

`Of course, you can also use "inline quotes".

"And block quotes."

And split text across several paragraphs.`

You can create

= unorderedlists
= of stuff
= like this

or

# numbered lists
# of other things

`You can create
= unordered lists
= of stuff
= like this

or

# numbered lists
# of other things`

A third option for embedding text that uses special characters is to use a code block, delimited by *backticks*. For example:

`for (int i=0; i<100; i++) {
 log.info("Hello world!");
}`

+ Here is a first-level heading

Here is a normal paragraph.

++ Here is a second-level heading

And another paragraph.

`+ Here is a first-level heading

Here is a normal paragraph!
.

++ Here is a second-level heading

And another para
graph.`

++ Links

The wiki has powerful handling for links.

HTML links to [=>http://hibernate.org] or attach the link to [some link text=>http://hibernate.org].
My [e-mail address=>mailto:foo at bar.tld] will be automatically protected.

`HTML links to [=>http://hibernate.org] or attach the
link to [some link text=>http://hibernate.org].
My [e-mail address=>mailto:foo at bar.tld] will be
automatically protected.`

Internal wiki links simply use area and document/file names:

= Link to another document: \[\=\>My Document\] 
= Link to another document with link text: \[A document\=\>My Document\]
= Link to another document in another area: \[\=\>Another Area\|My Document\]
= Link to an uploaded file or image: \[\=\>My Upload\]

You can even link to a [Hibernate JIRA issue=>hhh://2702], or a
[Seam JIRA issue=>jbseam://1920].

`You can even link to a [Hibernate JIRA issue=>hhh://2702],&#!
xA;or a [Seam JIRA issue=>jbseam://1920].`

++ Embedded HTML

You can even use <i>many</i> HTML tags directly, but <b>not</b> tags that would create a security vulnerability!

`You can even use <i>many</i> HTML tags directly,
but <b>not</b> tags that would create a
security vulnerability!`"/>
<WIKI_NODE
More information about the jboss-cvs-commits
mailing list