[xwiki-devs] XWIKI Workspace
Hi, How can i create a workspace in xwiki automatically through (Coding). -- Thanks, Prathap Pandian M
Hello,
Hi,
How can i create a workspace in xwiki automatically through (Coding).
May be possible, but you will have to give us more details on your plan to get a helpful answer... Do you want to do: * Create a workspace from velocity code in XWiki Enterprise ? * Create a workspace from a java plugin, and use it in XWiki Enterprise ? * Create a workspace programmatically from XWiki Workspaces? * Something else ? Cheers, Jerome.
-- Thanks, Prathap Pandian M _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
Hello, For example i am having two pages. Page 1 and page 2 In the Page 1 i am having a redirect URL to page2. When i am entering in to the pages 2 it should create a workspace with current user name. thats it.. Whether this one is possible. In xwiki.. -- Thanks, Prathap Pandian M On Fri, Jun 20, 2008 at 8:51 PM, Jerome Velociter <jerome@xwiki.com> wrote:
Hello,
Hi,
How can i create a workspace in xwiki automatically through (Coding).
May be possible, but you will have to give us more details on your plan to get a helpful answer...
Do you want to do:
* Create a workspace from velocity code in XWiki Enterprise ? * Create a workspace from a java plugin, and use it in XWiki Enterprise ? * Create a workspace programmatically from XWiki Workspaces? * Something else ?
Cheers, Jerome.
-- Thanks, Prathap Pandian M _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
Perhaps the terminology is confusing. I think when you say 'workspace' you are referring to an XWiki Space and not the XWiki Workspace which is an alternative to XWiki Enterprise. So correct me if I am wrong but you want an action a user takes in an XWiki page that will create a New Space (with its own Web Home page). You can see how to do that by looking at the /xwiki/bin/edit/Panels/NewPage?editor=object& and seeing how a new space is created there. Ollie Prathap Pandian wrote:
Hello,
For example i am having two pages.
Page 1 and page 2
In the Page 1 i am having a redirect URL to page2.
When i am entering in to the pages 2 it should create a workspace with current user name. thats it..
Whether this one is possible. In xwiki..
-- Thanks, Prathap Pandian M
On Fri, Jun 20, 2008 at 8:51 PM, Jerome Velociter <jerome@xwiki.com> wrote:
Hello,
Hi,
How can i create a workspace in xwiki automatically through (Coding).
May be possible, but you will have to give us more details on your plan to get a helpful answer...
Do you want to do:
* Create a workspace from velocity code in XWiki Enterprise ? * Create a workspace from a java plugin, and use it in XWiki Enterprise ? * Create a workspace programmatically from XWiki Workspaces? * Something else ?
Cheers, Jerome.
-- Thanks, Prathap Pandian M _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- View this message in context: http://www.nabble.com/XWIKI-Workspace-tp18031693p18076819.html Sent from the XWiki- Dev mailing list archive at Nabble.com.
Yes you are right. I want to create a space, but not manually. It should create automatically and the space name should be the current user. (Current login user). Create a new user in XWIKI. Now login the newly created user, it should created a new space with that user name. -- Prathap On Tue, Jun 24, 2008 at 1:14 AM, Mike Oliver <moliver@corenttech.com> wrote:
Perhaps the terminology is confusing. I think when you say 'workspace' you are referring to an XWiki Space and not the XWiki Workspace which is an alternative to XWiki Enterprise.
So correct me if I am wrong but you want an action a user takes in an XWiki page that will create a New Space (with its own Web Home page).
You can see how to do that by looking at the /xwiki/bin/edit/Panels/NewPage?editor=object& and seeing how a new space is created there.
Ollie
Prathap Pandian wrote:
Hello,
For example i am having two pages.
Page 1 and page 2
In the Page 1 i am having a redirect URL to page2.
When i am entering in to the pages 2 it should create a workspace with current user name. thats it..
Whether this one is possible. In xwiki..
-- Thanks, Prathap Pandian M
On Fri, Jun 20, 2008 at 8:51 PM, Jerome Velociter <jerome@xwiki.com> wrote:
Hello,
Hi,
How can i create a workspace in xwiki automatically through (Coding).
May be possible, but you will have to give us more details on your plan to get a helpful answer...
Do you want to do:
* Create a workspace from velocity code in XWiki Enterprise ? * Create a workspace from a java plugin, and use it in XWiki Enterprise
?
* Create a workspace programmatically from XWiki Workspaces? * Something else ?
Cheers, Jerome.
-- Thanks, Prathap Pandian M _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- View this message in context: http://www.nabble.com/XWIKI-Workspace-tp18031693p18076819.html Sent from the XWiki- Dev mailing list archive at Nabble.com.
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
Or we can have like this. I am creating a new user, in the mean time it should create a new space (automatically) with that user name. Is this possible. -- Prathap On Tue, Jun 24, 2008 at 9:29 AM, Prathap Pandian <prathapmeister@gmail.com> wrote:
Yes you are right. I want to create a space, but not manually. It should create automatically and the space name should be the current user. (Current login user).
Create a new user in XWIKI. Now login the newly created user, it should created a new space with that user name.
-- Prathap
On Tue, Jun 24, 2008 at 1:14 AM, Mike Oliver <moliver@corenttech.com> wrote:
Perhaps the terminology is confusing. I think when you say 'workspace' you are referring to an XWiki Space and not the XWiki Workspace which is an alternative to XWiki Enterprise.
So correct me if I am wrong but you want an action a user takes in an XWiki page that will create a New Space (with its own Web Home page).
You can see how to do that by looking at the /xwiki/bin/edit/Panels/NewPage?editor=object& and seeing how a new space is created there.
Ollie
Prathap Pandian wrote:
Hello,
For example i am having two pages.
Page 1 and page 2
In the Page 1 i am having a redirect URL to page2.
When i am entering in to the pages 2 it should create a workspace with current user name. thats it..
Whether this one is possible. In xwiki..
-- Thanks, Prathap Pandian M
On Fri, Jun 20, 2008 at 8:51 PM, Jerome Velociter <jerome@xwiki.com> wrote:
Hello,
Hi,
How can i create a workspace in xwiki automatically through (Coding).
May be possible, but you will have to give us more details on your plan to get a helpful answer...
Do you want to do:
* Create a workspace from velocity code in XWiki Enterprise ? * Create a workspace from a java plugin, and use it in XWiki Enterprise
?
* Create a workspace programmatically from XWiki Workspaces? * Something else ?
Cheers, Jerome.
-- Thanks, Prathap Pandian M _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- View this message in context: http://www.nabble.com/XWIKI-Workspace-tp18031693p18076819.html Sent from the XWiki- Dev mailing list archive at Nabble.com.
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Notifications should help you. Prathap Pandian wrote:
Or we can have like this. I am creating a new user, in the mean time it should create a new space (automatically) with that user name. Is this possible.
-- Prathap
On Tue, Jun 24, 2008 at 9:29 AM, Prathap Pandian <prathapmeister@gmail.com> wrote:
Yes you are right. I want to create a space, but not manually. It should create automatically and the space name should be the current user. (Current login user).
Create a new user in XWIKI. Now login the newly created user, it should created a new space with that user name.
-- Prathap
On Tue, Jun 24, 2008 at 1:14 AM, Mike Oliver <moliver@corenttech.com> wrote:
Perhaps the terminology is confusing. I think when you say 'workspace' you are referring to an XWiki Space and not the XWiki Workspace which is an alternative to XWiki Enterprise.
So correct me if I am wrong but you want an action a user takes in an XWiki page that will create a New Space (with its own Web Home page).
You can see how to do that by looking at the /xwiki/bin/edit/Panels/NewPage?editor=object& and seeing how a new space is created there.
Ollie
Prathap Pandian wrote:
Hello,
For example i am having two pages.
Page 1 and page 2
In the Page 1 i am having a redirect URL to page2.
When i am entering in to the pages 2 it should create a workspace with current user name. thats it..
Whether this one is possible. In xwiki..
-- Thanks, Prathap Pandian M
On Fri, Jun 20, 2008 at 8:51 PM, Jerome Velociter <jerome@xwiki.com> wrote:
Hello,
Hi,
How can i create a workspace in xwiki automatically through (Coding). May be possible, but you will have to give us more details on your plan to get a helpful answer...
Do you want to do:
* Create a workspace from velocity code in XWiki Enterprise ? * Create a workspace from a java plugin, and use it in XWiki Enterprise ? * Create a workspace programmatically from XWiki Workspaces? * Something else ?
-- Sergiu Dumitriu http://purl.org/net/sergiu/
I am just a beginner in XWIKI. Is there any other simple way to create a space automatically. -- Prathap On Tue, Jun 24, 2008 at 11:28 AM, Sergiu Dumitriu <sergiu@xwiki.com> wrote:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Notifications should help you.
Prathap Pandian wrote:
Or we can have like this. I am creating a new user, in the mean time it should create a new space (automatically) with that user name. Is this possible.
-- Prathap
On Tue, Jun 24, 2008 at 9:29 AM, Prathap Pandian < prathapmeister@gmail.com> wrote:
Yes you are right. I want to create a space, but not manually. It should create automatically and the space name should be the current user. (Current login user).
Create a new user in XWIKI. Now login the newly created user, it should created a new space with that user name.
-- Prathap
On Tue, Jun 24, 2008 at 1:14 AM, Mike Oliver <moliver@corenttech.com> wrote:
Perhaps the terminology is confusing. I think when you say 'workspace' you are referring to an XWiki Space and not the XWiki Workspace which is an alternative to XWiki Enterprise.
So correct me if I am wrong but you want an action a user takes in an XWiki page that will create a New Space (with its own Web Home page).
You can see how to do that by looking at the /xwiki/bin/edit/Panels/NewPage?editor=object& and seeing how a new space is created there.
Ollie
Prathap Pandian wrote:
Hello,
For example i am having two pages.
Page 1 and page 2
In the Page 1 i am having a redirect URL to page2.
When i am entering in to the pages 2 it should create a workspace with current user name. thats it..
Whether this one is possible. In xwiki..
-- Thanks, Prathap Pandian M
On Fri, Jun 20, 2008 at 8:51 PM, Jerome Velociter <jerome@xwiki.com> wrote:
Hello,
> Hi, > > How can i create a workspace in xwiki automatically through (Coding). May be possible, but you will have to give us more details on your plan to get a helpful answer...
Do you want to do:
* Create a workspace from velocity code in XWiki Enterprise ? * Create a workspace from a java plugin, and use it in XWiki Enterprise ? * Create a workspace programmatically from XWiki Workspaces? * Something else ?
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
Prathap Pandian wrote:
I am just a beginner in XWIKI.
Is there any other simple way to create a space automatically.
Maybe you should know that you do not have to create spaces. A space is just a concept. So, as long as there is a document in a "space", the space exists. If you don't want something specific in that space, then don't bother creating it. -- Sergiu Dumitriu http://purl.org/net/sergiu/
Once it created i will have a document in it. But is should create automatically. For example create a new user, now login as newly created user. It should display a space with his/her name and he/she can directly click the space and add the document in the pages.. This is what i want to do.. -- Prathap On Tue, Jun 24, 2008 at 5:06 PM, Sergiu Dumitriu <sergiu@xwiki.com> wrote:
Prathap Pandian wrote:
I am just a beginner in XWIKI.
Is there any other simple way to create a space automatically.
Maybe you should know that you do not have to create spaces. A space is just a concept. So, as long as there is a document in a "space", the space exists. If you don't want something specific in that space, then don't bother creating it. -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
Prathap Pandian wrote:
Once it created i will have a document in it. But is should create automatically.
For example create a new user, now login as newly created user. It should display a space with his/her name and he/she can directly click the space and add the document in the pages..
You CANNOT create a space, EVER. There's no such thing as creating a space. You create a document in that space, and that's it. You can just display the link if you want to, but there's no way you can create an empty space. This is one of the features of most wikis, you don't have to create a document before saving it. When you save a document, it gets created. It is like all documents exist already, but are empty. It is the same thing with spaces in XWiki. All spaces exist, but they don't have any documents in them.
This is what i want to do..
-- Prathap
On Tue, Jun 24, 2008 at 5:06 PM, Sergiu Dumitriu <sergiu@xwiki.com> wrote:
Prathap Pandian wrote:
I am just a beginner in XWIKI.
Is there any other simple way to create a space automatically.
Maybe you should know that you do not have to create spaces. A space is just a concept. So, as long as there is a document in a "space", the space exists. If you don't want something specific in that space, then don't bother creating it.
-- Sergiu Dumitriu http://purl.org/net/sergiu/
Sergiu Dumitriu wrote:
Prathap Pandian wrote:
Once it created i will have a document in it. But is should create automatically.
Yes, this is what is happening, but the other way around. Once it will have a document in it, the space will exist. It is "created" automatically, just that it isn't created. It starts having documents in it.
For example create a new user, now login as newly created user. It should display a space with his/her name and he/she can directly click the space and add the document in the pages..
You CANNOT create a space, EVER. There's no such thing as creating a space. You create a document in that space, and that's it. You can just display the link if you want to, but there's no way you can create an empty space.
This is one of the features of most wikis, you don't have to create a document before saving it. When you save a document, it gets created. It is like all documents exist already, but are empty. It is the same thing with spaces in XWiki. All spaces exist, but they don't have any documents in them.
-- Sergiu Dumitriu http://purl.org/net/sergiu/
Thanks Sergiu Dumitriu -- Prathap On Tue, Jun 24, 2008 at 6:21 PM, Sergiu Dumitriu <sergiu@xwiki.com> wrote:
Sergiu Dumitriu wrote:
Prathap Pandian wrote:
Once it created i will have a document in it. But is should create automatically.
Yes, this is what is happening, but the other way around. Once it will have a document in it, the space will exist. It is "created" automatically, just that it isn't created. It starts having documents in it.
For example create a new user, now login as newly created user. It should display a space with his/her name and he/she can directly click the space and add the document in the pages..
You CANNOT create a space, EVER. There's no such thing as creating a space. You create a document in that space, and that's it. You can just display the link if you want to, but there's no way you can create an empty space.
This is one of the features of most wikis, you don't have to create a document before saving it. When you save a document, it gets created. It is like all documents exist already, but are empty. It is the same thing with spaces in XWiki. All spaces exist, but they don't have any documents in them.
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
participants (4)
-
Jerome Velociter -
Mike Oliver -
Prathap Pandian -
Sergiu Dumitriu