[jboss-cvs] jboss-seam/examples/wiki/src/etc ...

Christian Bauer christian at hibernate.org
Thu Apr 19 05:32:07 EDT 2007


  User: cbauer  
  Date: 07/04/19 05:32:07

  Modified:    examples/wiki/src/etc  import-dev.sql
  Log:
  Fixed comments and blog directory
  
  Revision  Changes    Path
  1.21      +5 -4      jboss-seam/examples/wiki/src/etc/import-dev.sql
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: import-dev.sql
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/etc/import-dev.sql,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -b -r1.20 -r1.21
  --- import-dev.sql	18 Apr 2007 15:34:29 -0000	1.20
  +++ import-dev.sql	19 Apr 2007 09:32:07 -0000	1.21
  @@ -86,9 +86,9 @@
   // Some guest readable/writable directories and pages for quick UI testing
   insert into NODE (NODE_ID, NODE_TYPE, NODE_REVISION, CREATED_BY_USER_ID, AREA_NR, PARENT_NODE_ID, NODE_POSITION, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CREATED_ON, LAST_MODIFIED_ON, WRITE_ACCESS_LEVEL, READ_ACCESS_LEVEL) values (9, 'DIRECTORY', 1, 1, 9, 1, 1, 0, 'Another Area', 'AnotherArea', true, '2005-06-27 13:45:00', '2005-06-27 13:45:00', 0, 0)
   
  -insert into NODE (NODE_ID, NODE_TYPE, NODE_REVISION, CREATED_BY_USER_ID, AREA_NR, PARENT_NODE_ID, NODE_POSITION, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CONTENT, CREATED_ON, LAST_MODIFIED_ON, WRITE_ACCESS_LEVEL, READ_ACCESS_LEVEL, NAME_AS_TITLE) values (10, 'DOCUMENT', 1, 1, 9, 9, 0, 0, 'Welcome!', 'Welcome', true,'You should see an image on the right, embedded in the page.@@LF@@@@LF@@<div style="float:right;border: 1px solid grey; padding:4px;margin-left:10px;margin-bottom:1px;">[=>wiki://13]</div>Login with admin-admin, member-member, special-member, or super-member to try different access levels.@@LF@@@@LF@@To attach or embedd a file, click /Browse/, upload it, and then simply link to it like you would link to another document.@@LF@@@@LF@@[This guy=>Member Area|member] has a blog.@@LF@@@@LF@@Testing [a link=>wiki://11] to some page, this should be a [broken link=>wiki://99999], a normal link without alternative text [=>wiki://12], a link to to some nonexistent [=>page]!
  and a link to a [different area=>Member Area|member]. This is [a link=>jbseam://1151] to JBoss Seam JIRA and this is a link to Hibernate JIRA: [=>hhh://2549].@@LF@@@@LF@@A plugin:@@LF@@@@LF@@<div style="width:300px;float:left;margin-right:10px;">[<=feedTeasers]</div>@@LF@@@@LF@@Seam Text is a human-friendly language for formatting text in blogs, forums and wikis. It''s easy to enter text in *bold*, /italic/, |monospace|, ~deleted~ or ^superscript^; you can easily enter links, lists, quotes and code blocks.@@LF@@@@LF@@[This is a regular link to the Hibernate website.=>http://hibernate.org]@@LF@@@@LF@@You can *not* enter HTML entities, even escaped: \&amp; \&lt; \&gt; \&quot; \&nbsp;@@LF@@@@LF@@And even emoticons: ;) :-) :-{ ;-)@@LF@@@@LF@@Another plugin on the right:@@LF@@@@LF@@<div style="float:right;margin-left:10px;">[<=lastModifiedDocuments]</div>@@LF@@@@LF@@Here is an ordered list:@@LF@@@@LF@@#JBoss@@LF@@#Seam@@LF@@#Hibernate@@LF@@@@LF@@And this is an unordered list:@@!
 LF@@@@LF@@=jBPM@@LF@@=Drools@@LF@@=Ajax4JSF@@LF@@=Facelets@@LF@@@@LF@@
"Here is a quote from someone else"@@LF@@@@LF@@`<p>Here is some code</p>`@@LF@@@@LF@@And some plain HTML (restricted subset):@@LF@@@@LF@@<b>Foo</b>@@LF@@@@LF@@You should see some comments on this document.[<=comments]','2005-06-27 13:45:00', '2005-06-27 13:45:00', 0, 0, true)
  +insert into NODE (NODE_ID, NODE_TYPE, NODE_REVISION, CREATED_BY_USER_ID, AREA_NR, PARENT_NODE_ID, NODE_POSITION, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CONTENT, CREATED_ON, LAST_MODIFIED_ON, WRITE_ACCESS_LEVEL, READ_ACCESS_LEVEL, NAME_AS_TITLE, ENABLE_COMMENTS, ENABLE_COMMENT_FORM) values (10, 'DOCUMENT', 1, 1, 9, 9, 0, 0, 'Welcome!', 'Welcome', true,'You should see an image on the right, embedded in the page.@@LF@@@@LF@@<div style="float:right;border: 1px solid grey; padding:4px;margin-left:10px;margin-bottom:1px;">[=>wiki://13]</div>Login with admin-admin, member-member, special-member, or super-member to try different access levels.@@LF@@@@LF@@To attach or embedd a file, click /Browse/, upload it, and then simply link to it like you would link to another document.@@LF@@@@LF@@[This guy=>Member Area|member] has a blog.@@LF@@@@LF@@Testing [a link=>wiki://11] to some page, this should be a [broken link=>wiki://99999], a normal link without alternative text [=>wiki://12], !
 a link to to some nonexistent [=>page] and a link to a [different area=>Member Area|member]. This is [a link=>jbseam://1151] to JBoss Seam JIRA and this is a link to Hibernate JIRA: [=>hhh://2549].@@LF@@@@LF@@A plugin:@@LF@@@@LF@@<div style="width:300px;float:left;margin-right:10px;">[<=feedTeasers]</div>@@LF@@@@LF@@Seam Text is a human-friendly language for formatting text in blogs, forums and wikis. It''s easy to enter text in *bold*, /italic/, |monospace|, ~deleted~ or ^superscript^; you can easily enter links, lists, quotes and code blocks.@@LF@@@@LF@@[This is a regular link to the Hibernate website.=>http://hibernate.org]@@LF@@@@LF@@You can *not* enter HTML entities, even escaped: \&amp; \&lt; \&gt; \&quot; \&nbsp;@@LF@@@@LF@@And even emoticons: ;) :-) :-{ ;-)@@LF@@@@LF@@Another plugin on the right:@@LF@@@@LF@@<div style="float:right;margin-left:10px;">[<=lastModifiedDocuments]</div>@@LF@@@@LF@@Here is an ordered list:@@LF@@@@LF@@#JBoss@@LF@@#Seam@@LF@@#Hibernate@@LF@@!
 @@LF@@And this is an unordered list:@@LF@@@@LF@@=jBPM@@LF@@=Drools@@LF
@@=Ajax4JSF@@LF@@=Facelets@@LF@@@@LF@@"Here is a quote from someone else"@@LF@@@@LF@@`<p>Here is some code</p>`@@LF@@@@LF@@And some plain HTML (restricted subset):@@LF@@@@LF@@<b>Foo</b>@@LF@@@@LF@@','2005-06-27 13:45:00', '2005-06-27 13:45:00', 0, 0, true, true, false)
   
  -insert into NODE (NODE_ID, NODE_TYPE, NODE_REVISION, CREATED_BY_USER_ID, AREA_NR, PARENT_NODE_ID, NODE_POSITION, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CONTENT, CREATED_ON, LAST_MODIFIED_ON, WRITE_ACCESS_LEVEL, READ_ACCESS_LEVEL) values (11, 'DOCUMENT', 1, 1, 9, 9, 1, 0, 'Foo', 'Foo', true, 'This page has comments and nothing else.@@LF@@@@LF@@[<=comments]','2005-06-27 13:45:00', '2005-06-27 13:45:00', 1, 0)
  +insert into NODE (NODE_ID, NODE_TYPE, NODE_REVISION, CREATED_BY_USER_ID, AREA_NR, PARENT_NODE_ID, NODE_POSITION, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CONTENT, CREATED_ON, LAST_MODIFIED_ON, WRITE_ACCESS_LEVEL, READ_ACCESS_LEVEL, ENABLE_COMMENTS, ENABLE_COMMENT_FORM) values (11, 'DOCUMENT', 1, 1, 9, 9, 1, 0, 'Foo', 'Foo', true, 'This page has comments and nothing else.','2005-06-27 13:45:00', '2005-06-27 13:45:00', 1, 0, true, true)
   insert into NODE (NODE_ID, NODE_TYPE, NODE_REVISION, CREATED_BY_USER_ID, AREA_NR, PARENT_NODE_ID, NODE_POSITION, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CONTENT, CREATED_ON, LAST_MODIFIED_ON, WRITE_ACCESS_LEVEL, READ_ACCESS_LEVEL) values (12, 'DOCUMENT', 1, 1, 9, 9, 2, 0, 'Bar', 'Bar', false ,'Bar','2005-06-27 13:45:00', '2005-06-27 13:45:00', 1, 0)
   update NODE set DEFAULT_DOCUMENT_ID = '10' where NODE_ID='9'
   
  @@ -106,8 +106,8 @@
   insert into NODE (NODE_ID, NODE_TYPE, NODE_REVISION, CREATED_BY_USER_ID, AREA_NR, PARENT_NODE_ID, NODE_POSITION, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CONTENT, CREATED_ON, LAST_MODIFIED_ON, WRITE_ACCESS_LEVEL, READ_ACCESS_LEVEL, NAME_AS_TITLE) values (18, 'DOCUMENT', 1, 3, 2, 3, 3, 0, 'Entry Three', 'EntryThree', false ,'Blog Entry Nr.3','2005-06-27 13:47:00', '2005-06-27 13:45:00', 1000, 0, true)
   insert into NODE (NODE_ID, NODE_TYPE, NODE_REVISION, CREATED_BY_USER_ID, AREA_NR, PARENT_NODE_ID, NODE_POSITION, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CONTENT, CREATED_ON, LAST_MODIFIED_ON, WRITE_ACCESS_LEVEL, READ_ACCESS_LEVEL, NAME_AS_TITLE) values (19, 'DOCUMENT', 1, 3, 2, 3, 4, 0, 'Entry Four', 'EntryFour', false ,'Blog Entry Nr.4','2005-06-27 13:48:00', '2005-06-27 13:45:00', 1000, 0, true)
   insert into NODE (NODE_ID, NODE_TYPE, NODE_REVISION, CREATED_BY_USER_ID, AREA_NR, PARENT_NODE_ID, NODE_POSITION, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CONTENT, CREATED_ON, LAST_MODIFIED_ON, WRITE_ACCESS_LEVEL, READ_ACCESS_LEVEL, NAME_AS_TITLE) values (20, 'DOCUMENT', 1, 3, 2, 3, 5, 0, 'Entry Five', 'EntryFive', false ,'Blog Entry Nr.5','2005-06-27 13:49:00', '2005-06-27 13:45:00', 1000, 0, true)
  -insert into NODE (NODE_ID, NODE_TYPE, NODE_REVISION, CREATED_BY_USER_ID, AREA_NR, PARENT_NODE_ID, NODE_POSITION, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CONTENT, CREATED_ON, LAST_MODIFIED_ON, WRITE_ACCESS_LEVEL, READ_ACCESS_LEVEL, NAME_AS_TITLE) values (21, 'DOCUMENT', 1, 3, 2, 3, 6, 0, 'Entry Six', 'EntrySix', false ,'Blog Entry Nr.6','2005-06-27 13:50:00', '2005-06-27 13:45:00', 1000, 0, true)
  -insert into NODE (NODE_ID, NODE_TYPE, NODE_REVISION, CREATED_BY_USER_ID, AREA_NR, PARENT_NODE_ID, NODE_POSITION, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CONTENT, CREATED_ON, LAST_MODIFIED_ON, WRITE_ACCESS_LEVEL, READ_ACCESS_LEVEL, NAME_AS_TITLE) values (22, 'DOCUMENT', 1, 3, 2, 3, 7, 0, 'This is Blog Entry Seven', 'ThisIsBlogEntrySeven', false ,'This is a regular blog entry with some text that we need to fill up the layout. Lets just repeat it a few times: This is a regular blog entry with some text that we need to fill up the layout.This is a regular blog entry with some text that we need to fill up the layout.@@LF@@@@LF@@This is a blog entry with a picture:@@LF@@@@LF@@[=>Another Area|The Moon]','2005-06-27 13:51:00', '2005-06-27 13:45:00', 1000, 0, true)
  +insert into NODE (NODE_ID, NODE_TYPE, NODE_REVISION, CREATED_BY_USER_ID, AREA_NR, PARENT_NODE_ID, NODE_POSITION, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CONTENT, CREATED_ON, LAST_MODIFIED_ON, WRITE_ACCESS_LEVEL, READ_ACCESS_LEVEL, NAME_AS_TITLE, ENABLE_COMMENTS, ENABLE_COMMENT_FORM) values (21, 'DOCUMENT', 1, 3, 2, 3, 6, 0, 'Entry Six', 'EntrySix', false ,'Blog Entry Nr.6','2005-06-27 13:50:00', '2005-06-27 13:45:00', 1000, 0, true, true, true)
  +insert into NODE (NODE_ID, NODE_TYPE, NODE_REVISION, CREATED_BY_USER_ID, AREA_NR, PARENT_NODE_ID, NODE_POSITION, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CONTENT, CREATED_ON, LAST_MODIFIED_ON, WRITE_ACCESS_LEVEL, READ_ACCESS_LEVEL, NAME_AS_TITLE, ENABLE_COMMENTS, ENABLE_COMMENT_FORM) values (22, 'DOCUMENT', 1, 3, 2, 3, 7, 0, 'This is Blog Entry Seven', 'ThisIsBlogEntrySeven', false ,'This is a regular blog entry with some text that we need to fill up the layout. Lets just repeat it a few times: This is a regular blog entry with some text that we need to fill up the layout.This is a regular blog entry with some text that we need to fill up the layout.@@LF@@@@LF@@This is a blog entry with a picture:@@LF@@@@LF@@[=>Another Area|The Moon]@@LF@@@@LF@@[<=comments]','2005-06-27 13:51:00', '2005-06-27 13:45:00', 1000, 0, true, true, true)
   
   // And some feed entries for these entris
   insert into FEEDENTRY (FEEDENTRY_ID, OBJ_VERSION, LINK, TITLE, AUTHOR, PUBLISHED_ON, UPDATED_ON, DESCRIPTION_TYPE, DESCRIPTION_VALUE, DOCUMENT_ID) values (1, 0, 'http://www.lacewiki.org/wiki/21.lace', 'Entry Six', 'Regular Member', '2007-04-09 12:45:00', '2007-04-09 12:45:00', 'text/html', '<p>Blog Entry Nr.6</p>', 21)
  @@ -122,5 +122,6 @@
   insert into COMMENTS (COMMENT_ID, OBJ_VERSION, SUBJECT, FROM_USER_NAME, FROM_USER_EMAIL, FROM_USER_HOMEPAGE, DOCUMENT_ID, COMMENT_TEXT, CREATED_ON) values (1, 0, 'This is a Test comment', 'My Name', 'my at email.address.com', 'http://www.my.home.page.com/', 10, 'Collaboration-oriented websites require a human-friendly markup language for easy entry of formatted text in forum posts, wiki pages, blogs, comments, etc. Seam provides the <s:formattedText/> control for display of formatted text that conforms to the Seam Text language. Seam Text is implemented using an ANTLR-based parser. You do not need to know anything about ANTLR to use it, however.', '2005-06-27 13:45:00')
   insert into COMMENTS (COMMENT_ID, OBJ_VERSION, SUBJECT, FROM_USER_NAME, FROM_USER_EMAIL, FROM_USER_HOMEPAGE, DOCUMENT_ID, COMMENT_TEXT, CREATED_ON) values (2, 0, 'This is another comment', 'My Name', 'my at email.address.com', 'http://www.my.home.page.com/', 10, 'Collaboration-oriented websites require a human-friendly markup language for easy entry of formatted text in forum posts, wiki pages, blogs, comments, etc. Seam provides the <s:formattedText/> control for display of formatted text that conforms to the Seam Text language. Seam Text is implemented using an ANTLR-based parser. You do not need to know anything about ANTLR to use it, however.', '2005-06-28 13:45:00')
   insert into COMMENTS (COMMENT_ID, OBJ_VERSION, SUBJECT, FROM_USER_NAME, FROM_USER_EMAIL, FROM_USER_HOMEPAGE, DOCUMENT_ID, COMMENT_TEXT, CREATED_ON) values (3, 0, 'This is a third comment', 'My Name', 'my at email.address.com', 'http://www.my.home.page.com/', 10, 'Collaboration-oriented websites require a human-friendly markup language for easy entry of formatted text in forum posts, wiki pages, blogs, comments, etc. Seam provides the <s:formattedText/> control for display of formatted text that conforms to the Seam Text language. Seam Text is implemented using an ANTLR-based parser. You do not need to know anything about ANTLR to use it, however.', '2005-06-29 13:45:00')
  +insert into COMMENTS (COMMENT_ID, OBJ_VERSION, SUBJECT, FROM_USER_NAME, FROM_USER_EMAIL, FROM_USER_HOMEPAGE, DOCUMENT_ID, COMMENT_TEXT, CREATED_ON) values (4, 0, 'My opinion about this blog entry', 'My Name', 'my at email.address.com', 'http://www.my.home.page.com/', 22, 'Collaboration-oriented websites require a human-friendly markup language for easy entry of formatted text in forum posts, wiki pages, blogs, comments, etc. Seam provides the <s:formattedText/> control for display of formatted text that conforms to the Seam Text language. Seam Text is implemented using an ANTLR-based parser. You do not need to know anything about ANTLR to use it, however.', '2005-06-29 13:45:00')
   
   
  
  
  



More information about the jboss-cvs-commits mailing list