[xwiki-users] Permission issue on platform.xwiki.com and doubt about data model
Hello, I was viewing this page http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples to check some info about the data model. It was not there so I checked on the hbm file. Then, I thought about adding at least the column names to the data dictionary of that page, but after logging in I can't visualize the page anymore. I guess there is some configuration issue there. Using the opportunity, what does the XWikiDocument.date column stands for? I mean, what's the difference between "date" and "updateDate"? And what is considered to be "content", because there is a "contentUpdateDate" too... Thanks, -- Tiago Rinck Caveden http://caveden.multiply.com
Hello,
I was viewing this page http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples to check some info about the data model. It was not there so I checked on the hbm file. Then, I thought about adding at least the column names to the data dictionary of that page, but after logging in I can't visualize the page anymore. I guess there is some configuration issue there.
Using the opportunity, what does the XWikiDocument.date column stands for? I mean, what's the difference between "date" and "updateDate"? And what is
XWikiDocument Java class has a field updateDate and a method getDate() which returns this field's value. Document Java class, the one accessible from velocity, has a getDate() method (or simply "date" in velocity) that calls getDate() on the wrapped XWikiDocument instance. I don't think there is a "updateDate" field/method accessible from velocity.
considered to be "content", because there is a "contentUpdateDate" too...
"content" means unparsed textual content. You can also change one document's objects, attachments and meta data. See for yourself by adding ?xpage=xml at the end of view URL. Hope this helps, Marius.
Thanks, -- Tiago Rinck Caveden http://caveden.multiply.com _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
On Mon, Sep 1, 2008 at 3:34 PM, Tiago Rinck Caveden <caveden@gmail.com> wrote:
Hello,
I was viewing this page http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples to check some info about the data model. It was not there so I checked on the hbm file. Then, I thought about adding at least the column names to the data dictionary of that page, but after logging in I can't visualize the page anymore. I guess there is some configuration issue there.
Yes there was a config issue, fixed. Thanks for the report. -- Jean-Vincent Drean
participants (3)
-
Jean-Vincent Drean -
Marius Dumitru Florea -
Tiago Rinck Caveden