XClass representing a blog entry

Last modified by Florin Ciubotaru on 2010/07/09 17:48

Class Properties

  • Title (title: String)
  • Content (content: TextArea)
  • Extract (extract: TextArea)
  • Category (category: Database Tree)
  • Is hidden (hidden: Boolean)
  • Is published (published: Boolean)
  • Publish date (publishDate: Date)
  • You can use the class editor to add or modify the class properties.

Create a new page

Title of the new page
Location in the page hierarchy where this new page will be created.

Existing Pages

The following pages have objects described by this class.

Class Sheets

IconInformation

The sheet allows you to control the presentation of pages of this type. You can use the default presentation, which enumerates all the available fields, or you can design your own presentation. You can also choose different presentations for the viewing and for the editing modes.

View the sheet page (The Wiki Blog / Sheet for displaying blog entries) »

Class Template

IconInformation

The template is the page used as the model when creating a new page of this type. It contains an instance of your class.

View the template page (The Wiki Blog / Template for blog entries) »

Class Template Provider

IconInformation

The template provider allows to create wiki pages using an existing template. A template will be displayed in the Create menu.

Failed to execute the [velocity] macro. Cause: [Error number 9001 in 3: The query [, BaseObject obj, IntegerProperty isPublished, IntegerProperty hidden, DateProperty publishDate  where doc.fullName <> 'Blog.BlogPostTemplate' and obj.name = doc.fullName and obj.className = 'Blog.BlogPostClass' and publishDate.id.id = obj.id and publishDate.id.name = 'publishDate' and isPublished.id.id = obj.id and isPublished.id.name = 'published' and hidden.id.id = obj.id and hidden.id.name = 'hidden' and (doc.creator = 'XWiki.XWikiGuest' or (isPublished.value = 1 and hidden.value = 0)) and isPublished.value = 1 and hidden.value <> 1 order by publishDate.value desc] requires programming right]. Click on this message for details.

Failed to execute the [velocity] macro. Cause: [Error number 9001 in 3: The query [, BaseObject obj, IntegerProperty isPublished, IntegerProperty hidden, DateProperty publishDate  where doc.fullName <> 'Blog.BlogPostTemplate' and obj.name = doc.fullName and obj.className = 'Blog.BlogPostClass' and publishDate.id.id = obj.id and publishDate.id.name = 'publishDate' and isPublished.id.id = obj.id and isPublished.id.name = 'published' and hidden.id.id = obj.id and hidden.id.name = 'hidden' and (doc.creator = 'XWiki.XWikiGuest' or (isPublished.value = 1 and hidden.value = 0)) and isPublished.value = 0 order by publishDate.value desc] requires programming right]. Click on this message for details.

Failed to execute the [velocity] macro. Cause: [Error number 9001 in 3: The query [, DBStringListProperty as categories join categories.list as category, BaseObject obj, IntegerProperty isPublished, IntegerProperty hidden, DateProperty publishDate  where doc.fullName <> 'Blog.BlogPostTemplate' and obj.name = doc.fullName and obj.className = 'Blog.BlogPostClass' and publishDate.id.id = obj.id and publishDate.id.name = 'publishDate' and isPublished.id.id = obj.id and isPublished.id.name = 'published' and hidden.id.id = obj.id and hidden.id.name = 'hidden' and (doc.creator = 'XWiki.XWikiGuest' or (isPublished.value = 1 and hidden.value = 0)) and obj.id = categories.id.id and categories.id.name='category' and category in (?) order by publishDate.value desc] requires programming right]. Click on this message for details.

Failed to execute the [velocity] macro. Cause: [Error number 9001 in 3: The query [, BaseObject obj, IntegerProperty isPublished, IntegerProperty hidden, DateProperty publishDate  where doc.fullName <> 'Blog.BlogPostTemplate' and obj.name = doc.fullName and obj.className = 'Blog.BlogPostClass' and publishDate.id.id = obj.id and publishDate.id.name = 'publishDate' and isPublished.id.id = obj.id and isPublished.id.name = 'published' and hidden.id.id = obj.id and hidden.id.name = 'hidden' and (doc.creator = 'XWiki.XWikiGuest' or (isPublished.value = 1 and hidden.value = 0)) and (doc.space = 'Blog' or doc.parent = 'Blog.WebHome') order by year(publishDate.value)] requires programming right]. Click on this message for details.