[xwiki-users] Questions about Blog Example

2012-03-27 Thread du du
Hi, all I am studying the BlogClass, BlogPostClass, I checked the Blog.BlogCode, there are alot of velocity scripts, I can see the search documents from db, but could not find any code related to insert document records into database, so how is the document created from blog saved into database? p

Re: [xwiki-users] Questions about Blog Example

2012-03-27 Thread du du
Also from the following BlogPostSheet wiki code, after users type in message from the inline form, users click Save & View button, how are the messages saved to database? see the attached code: {{include document="Blog.BlogCode"/}} {{include document="Blog.CategoriesCode"/}} {{velocity filter="no

Re: [xwiki-users] Questions about Blog Example

2012-03-27 Thread Sergiu Dumitriu
On 03/27/2012 11:36 PM, du du wrote: Hi, all I am studying the BlogClass, BlogPostClass, I checked the Blog.BlogCode, there are alot of velocity scripts, I can see the search documents from db, but could not find any code related to insert document records into database, so how is the document c

Re: [xwiki-users] Questions about Blog Example

2012-03-28 Thread Guillaume Lerouge
Hi, you might find it simpler to look at this example to understand how an XWiki application works: http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial Guillaume On Wed, Mar 28, 2012 at 07:05, Sergiu Dumitriu wrote: > On 03/27/2012 11:36 PM, du du wrote: > >> Hi, all >> >> I am study