Permission issue on platform.xwiki.com and doubt about data model

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Permission issue on platform.xwiki.com and doubt about data model

Tiago Rinck Caveden
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
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Tiago Rinck Caveden
http://caveden.multiply.com
Reply | Threaded
Open this post in threaded view
|

Re: Permission issue on platform.xwiki.com and doubt about data model

Marius Dumitru Florea
> 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
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>


_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Permission issue on platform.xwiki.com and doubt about data model

Jean-Vincent Drean
In reply to this post by Tiago Rinck Caveden
On Mon, Sep 1, 2008 at 3:34 PM, Tiago Rinck Caveden <[hidden email]> 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
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users