[xwiki-devs] XWIKI - List pages in ASC/DESC order.
Hi, How can i list the document names with ascending order in date wise. I used the following code to list the current document in the space. I need to list those page in ASC/DESC order. *#foreach($subdoc in $xwiki.getSpaceDocsName("$doc.web")) - [${doc.web}.${subdoc}] #end* -- Prathap
Hi, Please read the doc: http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples Let us know why you didn't find this doc so that we can improve the navigation to it. Thanks -Vincent On Jul 31, 2008, at 11:47 AM, Prathap Pandian wrote:
Hi,
How can i list the document names with ascending order in date wise.
I used the following code to list the current document in the space.
I need to list those page in ASC/DESC order.
*#foreach($subdoc in $xwiki.getSpaceDocsName("$doc.web")) - [${doc.web}.${subdoc}] #end*
-- Prathap
Before i don't know how to frame HQL query. Now got some idea's. Thanks for your link. -- Prathap On Thu, Jul 31, 2008 at 3:21 PM, Vincent Massol <[email protected]> wrote:
Hi,
Please read the doc: http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples
Let us know why you didn't find this doc so that we can improve the navigation to it.
Thanks -Vincent
On Jul 31, 2008, at 11:47 AM, Prathap Pandian wrote:
Hi,
How can i list the document names with ascending order in date wise.
I used the following code to list the current document in the space.
I need to list those page in ASC/DESC order.
*#foreach($subdoc in $xwiki.getSpaceDocsName("$doc.web")) - [${doc.web}.${subdoc}] #end*
-- Prathap
devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On Jul 31, 2008, at 12:48 PM, Prathap Pandian wrote:
Before i don't know how to frame HQL query. Now got some idea's.
I'm happy for you but you didn't answer my question... Thanks -Vincent
On Thu, Jul 31, 2008 at 3:21 PM, Vincent Massol <[email protected]> wrote:
Hi,
Please read the doc: http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples
Let us know why you didn't find this doc so that we can improve the navigation to it.
Thanks -Vincent
On Jul 31, 2008, at 11:47 AM, Prathap Pandian wrote:
Hi,
How can i list the document names with ascending order in date wise.
I used the following code to list the current document in the space.
I need to list those page in ASC/DESC order.
*#foreach($subdoc in $xwiki.getSpaceDocsName("$doc.web")) - [${doc.web}.${subdoc}] #end*
-- Prathap
I can't able to find the way to bring that one in ASC/DESC order. That's the reason -- Prathap On Thu, Jul 31, 2008 at 4:25 PM, Vincent Massol <[email protected]> wrote:
On Jul 31, 2008, at 12:48 PM, Prathap Pandian wrote:
Before i don't know how to frame HQL query. Now got some idea's.
I'm happy for you but you didn't answer my question...
Thanks -Vincent
On Thu, Jul 31, 2008 at 3:21 PM, Vincent Massol <[email protected]> wrote:
Hi,
Please read the doc: http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples
Let us know why you didn't find this doc so that we can improve the navigation to it.
Thanks -Vincent
On Jul 31, 2008, at 11:47 AM, Prathap Pandian wrote:
Hi,
How can i list the document names with ascending order in date wise.
I used the following code to list the current document in the space.
I need to list those page in ASC/DESC order.
*#foreach($subdoc in $xwiki.getSpaceDocsName("$doc.web")) - [${doc.web}.${subdoc}] #end*
-- Prathap
devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
And i can't able to find that doc until you send. I think you can have all doc link in the one page with title, then it will be useful i guess. -- Prathap On Thu, Jul 31, 2008 at 4:41 PM, Prathap Pandian <[email protected]>wrote:
I can't able to find the way to bring that one in ASC/DESC order. That's the reason
-- Prathap
On Thu, Jul 31, 2008 at 4:25 PM, Vincent Massol <[email protected]>wrote:
On Jul 31, 2008, at 12:48 PM, Prathap Pandian wrote:
Before i don't know how to frame HQL query. Now got some idea's.
I'm happy for you but you didn't answer my question...
Thanks -Vincent
On Thu, Jul 31, 2008 at 3:21 PM, Vincent Massol <[email protected]> wrote:
Hi,
Please read the doc: http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples
Let us know why you didn't find this doc so that we can improve the navigation to it.
Thanks -Vincent
On Jul 31, 2008, at 11:47 AM, Prathap Pandian wrote:
Hi,
How can i list the document names with ascending order in date wise.
I used the following code to list the current document in the space.
I need to list those page in ASC/DESC order.
*#foreach($subdoc in $xwiki.getSpaceDocsName("$doc.web")) - [${doc.web}.${subdoc}] #end*
-- Prathap
devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On Jul 31, 2008, at 1:14 PM, Prathap Pandian wrote:
And i can't able to find that doc until you send.
I think you can have all doc link in the one page with title, then it will be useful i guess.
Where? Can you give a link? Right now the link is in the scripting page at http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting Where would you have expected to find it? Thanks -Vincent
On Thu, Jul 31, 2008 at 4:41 PM, Prathap Pandian <[email protected]>wrote:
I can't able to find the way to bring that one in ASC/DESC order. That's the reason
-- Prathap
On Thu, Jul 31, 2008 at 4:25 PM, Vincent Massol <[email protected]>wrote:
On Jul 31, 2008, at 12:48 PM, Prathap Pandian wrote:
Before i don't know how to frame HQL query. Now got some idea's.
I'm happy for you but you didn't answer my question...
Thanks -Vincent
On Thu, Jul 31, 2008 at 3:21 PM, Vincent Massol <[email protected]> wrote:
Hi,
Please read the doc: http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples
Let us know why you didn't find this doc so that we can improve the navigation to it.
Thanks -Vincent
On Jul 31, 2008, at 11:47 AM, Prathap Pandian wrote:
Hi,
How can i list the document names with ascending order in date wise.
I used the following code to list the current document in the space.
I need to list those page in ASC/DESC order.
*#foreach($subdoc in $xwiki.getSpaceDocsName("$doc.web")) - [${doc.web}.${subdoc}] #end*
-- Prathap
Hello, I found that page when I needed it, but using the opportunity to make a suggestion, I once missed some sort of Data Dictionary, describing which are the "tables" we can make select on, accessible from this page that describes how to make the queries. I ended up reading Hibernate config files, but anyway, it would be nice the docs on the site. PS: There seems to be something wrong with the page, for the last three queries I see a "table:null" message where I suppose there should be something else. Best regards, Tiago. On Thu, Jul 31, 2008 at 1:23 PM, Vincent Massol <[email protected]> wrote:
On Jul 31, 2008, at 1:14 PM, Prathap Pandian wrote:
And i can't able to find that doc until you send.
I think you can have all doc link in the one page with title, then it will be useful i guess.
Where? Can you give a link?
Right now the link is in the scripting page at http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting
Where would you have expected to find it?
Thanks -Vincent
On Thu, Jul 31, 2008 at 4:41 PM, Prathap Pandian <[email protected]>wrote:
I can't able to find the way to bring that one in ASC/DESC order. That's the reason
-- Prathap
On Thu, Jul 31, 2008 at 4:25 PM, Vincent Massol <[email protected]>wrote:
On Jul 31, 2008, at 12:48 PM, Prathap Pandian wrote:
Before i don't know how to frame HQL query. Now got some idea's.
I'm happy for you but you didn't answer my question...
Thanks -Vincent
On Thu, Jul 31, 2008 at 3:21 PM, Vincent Massol <[email protected]> wrote:
Hi,
Please read the doc:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples
Let us know why you didn't find this doc so that we can improve the navigation to it.
Thanks -Vincent
On Jul 31, 2008, at 11:47 AM, Prathap Pandian wrote:
> Hi, > > How can i list the document names with ascending order in date > wise. > > I used the following code to list the current document in the > space. > > I need to list those page in ASC/DESC order. > > *#foreach($subdoc in $xwiki.getSpaceDocsName("$doc.web")) > - [${doc.web}.${subdoc}] > #end* > > -- > Prathap
devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Tiago Rinck Caveden http://caveden.multiply.com
On Thu, Jul 31, 2008 at 2:47 PM, Tiago Rinck Caveden <[email protected]> wrote:
Hello,
I found that page when I needed it, but using the opportunity to make a suggestion, I once missed some sort of Data Dictionary, describing which are the "tables" we can make select on, accessible from this page that describes how to make the queries. I ended up reading Hibernate config files, but anyway, it would be nice the docs on the site.
Right, this kind of dictionnary would be useful. I've started a "queryable object fields" section here : http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples#HNonex... Any help on this would be welcome.
PS: There seems to be something wrong with the page, for the last three queries I see a "table:null" message where I suppose there should be something else.
The problem is that this wiki does not contain any user. It's on my todo. Thanks, JV.
participants (4)
-
Jean-Vincent Drean -
Prathap Pandian -
Tiago Rinck Caveden -
Vincent Massol