[xwiki-users] How to turn off RSS feed and Tags?

2010-08-05 Thread Aleks87

How can I turn RSS feed and Tag Application off.
I dont want to see the Tag button on the botton of a page and the TAGS line
in the Document Informations Panel while editing a page.

How this would effect on Livetable. Cause I use:

#set($options = { topFilters:'input type=hidden size=${colprop.size}
name=doc.space value=Platform-KnowHow /',

to show all Docs in the Platform-KnowHow Space.



Thank you for helping me!
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/How-to-turn-off-RSS-feed-and-Tags-tp5376563p5376563.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] HSQLDB to PostgreSQL cause of embedded database does not support large wikis efficiently

2010-07-26 Thread Aleks87


Marius Dumitru Florea wrote:
 
 On 07/08/2010 04:00 PM, Aleks87 wrote:

 I have installed the standalone version of XWiki Enterprise 2.4 M1
 The standalone installation have a HSQLDB Database which I should not
 use.
 
 Is it right?
 
 It all depends on what you plan to do with your wiki. If you just want 
 to play with it, test it, or even use it internally for a few people 
 then HSQLDB is fine. If you plan to make it public on the web or an a 
 wide network then it's recommended that you switch to a more reliable 
 database.
 

I plan to use it in an intern network. About 7 people would use it for
knowledge exchange. That means that they can create owen wiki pages and if
necessary they can add attachments. But there will also be a TodoClass and
similiar to the Todo a ToolClass where the user can post usefull tools.
The Event Calendar is also included to add meating dates and the
PhotoAlbumsClass to add photos from the last party^^ (don't know if we would
use it, cause its very exhausting to add all the photos individually).
My Database is now about 35MB and I,ve only created a few test pages. I have
to add 75MB KnowHow saved in word, excel and text editor files...don't know
how much MB it would be if I copy the content of the files in a wiki page.
Some files I'll only attach because it takes to long to copy, paste and
modify all the text.

How much MB can HSQLDB handle? Where can I change this value? And would you
advise me to use another database?
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/HSQLDB-to-PostgreSQL-cause-of-embedded-database-does-not-support-large-wikis-efficiently-tp5269966p5337293.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Livetable doesn't show anything if object contains line breaks

2010-07-20 Thread Aleks87


Aleks87 wrote:
 
 
 Aleks87 wrote:
 
 1)
 I have a ToolClass with objects: Description (Description: TextArea),
 Title (Title: String), URL (URL: String).
 Creating a new Tool I have to fill out these objects. Description is a
 TextArea object (editor: PureText) and it can contain line breaks. In my
 Livetable I show these objects and their contents. But if I have a line
 break in Description my Livetable doesn't show anything.
 
 How can I solve this problem? Does anyone has an idea? Or do I have to
 remove Description from my Livetable list? Perhaps it is possible to
 transform all line breaks to one blank line? Or is this to complex?^^
 
 Ps. What for are Validation Regular Expression and Validation Message
 in the Description object made. I tried to put things like [a-zA-Z] in
 but it doesnt work. Entering numbers still work.
 
 
 Here is a part of my ToolClassSheet file:
 
 td
 class=labellabel#displayPropName($class.get(Description)):/label/td
 td$doc.display(Description, $obj)/td
 
 I'm not allowed to enter line breaks in the Description field 'cause
 Livetable doesn't work then.
 Can someone tell me how to modify the $doc.display to filter out line
 breaks?
 

My ToolClass is similiar to the TodoClass in the DevGuide.
I have the idea to create another object called string and then to set the
Description object equal to string object and transform the string
object into a string. Then I can give out string in my Livetable. But I'm
still not familiar with the API Guide (javadoc). I tried things like:
#set($string = $Description.toString())
or
$string = doc.getDoc(Description, $obj.toString())
But nothing had the wanted effect.
Can someone help me please?!
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/4-Questions-Livetable-1-3-Photo-Album-4-tp5297342p5316283.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Livetable doesn't show anything if object contains line breaks

2010-07-19 Thread Aleks87


Aleks87 wrote:
 
 1)
 I have a ToolClass with objects: Description (Description: TextArea),
 Title (Title: String), URL (URL: String).
 Creating a new Tool I have to fill out these objects. Description is a
 TextArea object (editor: PureText) and it can contain line breaks. In my
 Livetable I show these objects and their contents. But if I have a line
 break in Description my Livetable doesn't show anything.
 
 How can I solve this problem? Does anyone has an idea? Or do I have to
 remove Description from my Livetable list? Perhaps it is possible to
 transform all line breaks to one blank line? Or is this to complex?^^
 
 Ps. What for are Validation Regular Expression and Validation Message
 in the Description object made. I tried to put things like [a-zA-Z] in
 but it doesnt work. Entering numbers still work.
 

Here is a part of my ToolClassSheet file:

td
class=labellabel#displayPropName($class.get(Description)):/label/td
td$doc.display(Description, $obj)/td

I'm not allowed to enter line breaks in the Description field 'cause
Livetable doesn't work then.
Can someone tell me how to modify the $doc.display to filter out line
breaks?
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/4-Questions-Livetable-1-3-Photo-Album-4-tp5297342p5311652.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] 4 Questions - Livetable (1-3) , Photo Album (4)

2010-07-16 Thread Aleks87


Aleks87 wrote:
 
 
 3)
 As you can see in the code above I have in my Livetable:
 #set($colprops = {
_actions : {actions: [edit,delete,rename]}
 
 But _actions is A special column to display a list of actions that can
 be performed by administrators on the matched documents.
 Is it possible to make it available to all other user who have edit and
 delete rights? 
 
 

I've found the macros.vm and I tried to change
#if($colname != '_actions' || $hasAdmin)
#elseif($colname != '_actions' || $hasAdmin)
to
#if($colname != '_actions' || $hasEdit)
#elseif($colname != '_actions' || $hasEdit)

Then user with Edit Rights and no Admin Rights can see the Actions column
but without the icons (edit, delete, rename). Please, can someone who knows
the code better tell me what I still need to change?
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/4-Questions-Livetable-1-3-Photo-Album-4-tp5297342p530.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] HSQLDB to PostgreSQL cause of embedded database does not support large wikis efficiently

2010-07-08 Thread Aleks87

I have installed the standalone version of XWiki Enterprise 2.4 M1
The standalone installation have a HSQLDB Database which I should not use.
Is it right?
So I have to change the Database. And I decided to use PostgreSQL 8.3 cause
it was already installed on this pc. At this time I dont have the rights
(password) to create a Database and I have to contact the Admin for that.
But I'm not sure how this all should work.
Now I have a Folder \XWiki Enterprise\database where my XWiki content will
be saved. Is it right?
But changing to PostgreSQL I can erase this Folder because my Database will
now been in \PostgreSQL\8.3\data. Right?

I know that I have to change my hibernate.cfg.xml and to add a .jar to
\XWiki Enterprise\webapps\xwiki\WEB-INF\lib. But what .jar is the right
one? postgresql-8.3-603.jdbc3.jar or postgresql-8.3-603.jdbc4.jar

And if I have done that I can access the wiki over
http://localhost:5432/xwiki/bin/view/Main/
(5432 instead of 8080 because of PostgreSQL)

But how could the other people access the wiki. I heared it will be possible
with \\myip:5432/xwiki/bin/view/Main if all pc's are in the same network.
But it would mean that my pc have to run constantly. And the start_xwiki.bat
file has to be opened. I think that would not be the problem. But would my
wiki get performance problems after a few days?! And how safe is this all...

Sorry I'm very new to this all and I have read many tutorials and helps in
the last weeks but I'm not sure if I understand them right.
If someone could answer my questions and give me some tips how to implement
this all, it would be very helpful.

Thank you!
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/HSQLDB-to-PostgreSQL-cause-of-embedded-database-does-not-support-large-wikis-efficiently-tp5269966p5269966.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Upgrate XWiki Enterprise 2.4 M1 to M2

2010-07-01 Thread Aleks87

I have extract the WAR-file into  \Enterprise\webapps\xwiki
and imported the XAR over XWIKI - Administer Wiki - Import

For the M1 I used the Standalone installation including a Jetty container
and an HSQLDB database and had no changes in the hibernate.cfg.xml or
xwiki.cfg. So there is no need to copy them in the new WEB-INF.


Now tell me what did I do wrong?!

The new creations/applications seem to don't have a translation and the
Class Editor site also looks curious.

Here a screenshot:
http://xwiki.475771.n2.nabble.com/file/n5243269/ClassEditorM2.jpg 
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Upgrate-XWiki-Enterprise-2-4-M1-to-M2-tp5243269p5243269.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Upgrate XWiki Enterprise 2.4 M1 to M2

2010-07-01 Thread Aleks87


Marius Dumitru Florea wrote:
 
 On 07/01/2010 03:50 PM, Aleks87 wrote:

 I have extract the WAR-file into  \Enterprise\webapps\xwiki
 and imported the XAR over XWIKI -  Administer Wiki -  Import

 For the M1 I used the Standalone installation including a Jetty container
 and an HSQLDB database and had no changes in the hibernate.cfg.xml or
 xwiki.cfg. So there is no need to copy them in the new WEB-INF.


 
 Now tell me what did I do wrong?!
 
 Clear browser cache maybe?
 
 Hope this helps,
 Marius
 

 The new creations/applications seem to don't have a translation and the
 Class Editor site also looks curious.

 Here a screenshot:
 http://xwiki.475771.n2.nabble.com/file/n5243269/ClassEditorM2.jpg
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

I already cleared cache.
Last time I upgradet I have also done something wrong. I have read the
upgrading notes often enough but it never worked and at least I removed the
hole wiki and installed the standalone of the new version.
So I think its my fault. But I dont know what I am doing wrong.
This time my wiki is a little bigger and I dont want to delete all.

PS. I noticed that starting the .bat I get many WARN messages
It always says: It will not be possible to look it up. I never get this
messages before opening the .bat

Here an excerpt:
[...]
2010-07-01 13:55:41,892 [main] WARN  tion.ComponentAnnotationLoader  -
Component [org.xwiki.rest.resources.classes.ClassPropertyResource] is being
overwritten by component
[org.xwiki.rest.resources.classes.ClassPropertyResource] for Role/Hint [role
= [org.xwiki.rest.XWikiRestComponent] hint =
[org.xwiki.rest.resources.classes.ClassPropertyResource]]. It will not be
possible to look it up. 
[...]
2010-07-01 13:55:42,079 [main] WARN  tion.ComponentAnnotationLoader  -
Component [com.xpn.xwiki.wysiwyg.server.wiki.internal.DefaultLinkService] is
being overwritten by component
[com.xpn.xwiki.wysiwyg.server.wiki.internal.DefaultLinkService] for
Role/Hint [role = [com.xpn.xwiki.wysiwyg.server.wiki.LinkService] hint =
[default]]. It will not be possible to look it up. 

and there are thounds of those
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Upgrate-XWiki-Enterprise-2-4-M1-to-M2-tp5243269p5243431.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Upgrate XWiki Enterprise 2.4 M1 to M2

2010-07-01 Thread Aleks87


Sergiu Dumitriu-2 wrote:
 
 On 07/01/2010 02:50 PM, Aleks87 wrote:

 I have extract the WAR-file into  \Enterprise\webapps\xwiki
 and imported the XAR over XWIKI -  Administer Wiki -  Import

 For the M1 I used the Standalone installation including a Jetty container
 and an HSQLDB database and had no changes in the hibernate.cfg.xml or
 xwiki.cfg. So there is no need to copy them in the new WEB-INF.


 Now tell me what did I do wrong?!
 
 Did you first remove the existing files before extracting the new war? 
 You might have two versions of each jar in WEB-INF/lib if you didn't, 
 which is wrong.
 
 -- 
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

He asked me if I want to replace and I clicked yes. Have I to delete them
first?
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Upgrate-XWiki-Enterprise-2-4-M1-to-M2-tp5243269p5243439.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Table - Pagination / Filtering capabilities

2010-06-30 Thread Aleks87

I have to choose between the normal Table and the Livetable.
I like the possibility to make select boxes with the normal table (using:
class=unsortable selectFilter)
But I have problems with the filtering. If I add pagination and use the
filter field he shows me only the results of the current page. 
Livetable finds all pages but I can't make such Filter-Boxes.
Please tell me if I did something wrong with the normal table!

Here is my code:

## The full data to display
#set ($spaceDocs = $xwiki.getSpaceDocsName(Projects-Todo))
#set($itemsPerPage = 3)
#if($request.ipp)
  #set($itemsPerPage = $xwiki.parseInt($request.ipp))
#end
#set($pageNumber = 0)
#if($request.page)
  #set($pageNumber = $xwiki.parseInt($request.page))
#end
#set($startAt = $itemsPerPage * $pageNumber)
#if($startAt  0)
  #set($startAt = 0)
#end
#set($endAt = $itemsPerPage * ($pageNumber + 1))
#if($endAt  $spaceDocs.size())
  #set($endAt = $spaceDocs.size())
#end
#if($startAt  $endAt)
  #set($startAt = $endAt)
#end
#set($totalPages = ($spaceDocs.size() - 1) / $itemsPerPage)
#set($crtPageNumber = $startAt / $itemsPerPage)
#set($spaceDocsInPage = $spaceDocs.subList($startAt, $endAt))


#set ($hql = , BaseObject as obj where obj.name=doc.fullName
 and obj.className='XWiki.Todo2Class' and obj.name'XWiki.Todo2Template'
order by doc.date desc)
#set ($todos= $xwiki.searchDocuments($hql, $itemsPerPage, $startAt))


table id=todoTable class=grid sortable filterable doOddEven
cellpadding=0 cellspacing=0 border=0
  tr class=sortHeader
thPage/th
thDescription/th
th class=unsortable selectFilterPriority/th
th class=unsortable selectFilterStatus/th
thDate/th
  /tr
#foreach ($todo in $todos)
  tr
#set ($todoDoc = $xwiki.getDocument($todo))
#set ($todoObj = $todoDoc.getObject(XWiki.Todo2Class))
td[$todo]/td
td$todoObj.Description/td
td$todoObj.Priority/td
td$todoObj.Status/td
td$todoObj.Date/td
  /tr
#end
/table
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Table-Pagination-Filtering-capabilities-tp5237458p5237458.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Archive of Pages with Live Table Macro

2010-06-23 Thread Aleks87


Marius Dumitru Florea wrote:
 
 On 06/16/2010 04:15 PM, Aleks87 wrote:


 Marius Dumitru Florea wrote:

 Check out this thread
 http://lists.xwiki.org/pipermail/users/2010-June/020947.html

 Hope this helps,
 Marius


 Yes, that helped me. Thx!

 My new Code:
 ###
 {{velocity}}
 #set($collist = [doc.name, doc.space, doc.date, doc.creator,
 doc.author, _actions])
 #set($colprops = {
 doc.name : { type : text , size : 30, link
 :
 view},
 doc.space : { type : hidden, link : space},
 doc.date : { type : date },
 doc.creator : { type : text, link :
 creator},
 doc.author : { type : text, link : author},
 _actions : {actions: [edit,delete,rename]}
   })
 #set($options = { topFilters:'input type=hidden
 size=${colprop.size}
 name=doc.space value=Projects-KnowHow /',
translationPrefix : xe.index.,
rowCount: 10,
selectedColumn: doc.date,
defaultOrder : desc
   })
 #livetable(allprojectspages $collist $colprops $options)
 {{/velocity}}
 ###

 and a screenshot:
 http://xwiki.475771.n2.nabble.com/file/n5186389/list-forum.jpg


 And now I have 3 questions:
 
 1) Why does the third column call xe.index.doc.creator ?  doc.author
 also calls Last Author
 
 The creator is the user that created the page, while the author is the 
 last user that edited the page. They can be two different users.
 
 There's no xe.index.doc.creator translation key in the default 
 translation file, but you can add it following 
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/InternationalizingApplications
 
 I'll leave the other two questions for someone who knows the live table 
 component better.
 
 Hope this helps,
 Marius
 

 2) NewPage is a page created by me (in the Project-KnowHow space) to
 test the LiveTable and it works. But I don't want to see WebHome and
 List. Can I sort them out? Is there such a commanding?

 3) Is there an easy way to make the Actions column visible for all
 registered users? Yes I know that in the
 http://code.xwiki.org/xwiki/bin/view/Macros/LiveTableMacro LiveTableMacro
 Description is written:
 _actionsA special column to display a list of actions that can be
 performed by administrators on the matched documents.

 But it would be nice...otherwise all users have to open eg. NewPage
 before
 they can edit it.
 Maybe I can give Admin rights only for this page?

 ---
 All this points are little minor flaws. But it would be nice to fix them.
 Thx for help
 Aleks
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

1)
I have found the displayName option!
With
doc.creator : { type : text, displayName : Author },
I can call the column as I want.

2)
I have not found a way to hide the pages WebHome and List.
But while I was creating the Todo App I had the idea to create a
KnowHowClass with one Text Area object. With the Livetable className option
I can display all my pages that are using this Text Area object.
code: #set($options = { className:XWiki.KnowHowClass, .}

In the creating a Todo App guide 
http://www.theserverside.com/news/1363830/XWiki-A-Platform-for-Collaborative-Apps
TODO  they use a html code to create a new Todo.
I use this html code to create a new page that automatically will be shown
in my Livetable.

But there is another problem now. I can only change this new page in the
inline mode. But I want to change it by clicking on the Edit button. Is
this possible? What do I have to do for that? Or am I on the wrong way?
PS. I don't know html but I can see that the code says something about
inline^^

My Code:

1 Know How
form action= id=newwiki
  input type=hidden name=parent value=Projects.KnowHow /
  input type=hidden name=template value=XWiki.KnowHowTemplate /
  input type=hidden name=name value=/
  table
tr
  td
input type=text name=KnowHow value= size=30/
  /td
  td
input type=submit value=Create Wiki onclick='if
   (updateName(this.form.KnowHow, this.form.name))
   { action=../../inline/Projects/ + this.form.name.value;
   this.form.submit(); }' /
  /td
/tr
  /table
/form


#set($collist = [doc.name, doc.creator, doc.author,
doc.creationDate, doc.date])
#set($colprops = {
   doc.name : { type : text, link : view,
displayName : Page },
   doc.creator : { type : text, displayName :
Author },
   doc.author : { type : text, displayName : Last
Modified },
   doc.creationDate :  { type : text, displayName :
Date },
   doc.date :  { type : text, sortable:true,
displayName : Last Modified }
 })
#set($options

[xwiki-users] Extended Todo Application 1.3

2010-06-21 Thread Aleks87

I've imported the .xar in the playground and it works. But in my XWiki (XWiki
Enterprise 2.4-milestone-1.29254) I get:
Error number 4001 in 4: Error while parsing velocity page
xwiki:Todo.WebHome Wrapped Exception: Failed to evaluate content with id Web
Home

Here ist the code:
http://xwiki.475771.n2.nabble.com/file/n5204599/ExtendedTodoApplication.txt
ExtendedTodoApplication.txt 

If I erase this line:
#set ($count = $xwiki.getXWiki().search(select count(doc) from
XWikiDocument doc ${hql}, $context.context).get(0))
the error message is gone and I can see the table but the app doesn't work
as it should.

Can someone tell me whats wrong?
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Extended-Todo-Application-1-3-tp5204599p5204599.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Archive of Pages with Live Table Macro

2010-06-16 Thread Aleks87


Marius Dumitru Florea wrote:
 
 Check out this thread 
 http://lists.xwiki.org/pipermail/users/2010-June/020947.html
 
 Hope this helps,
 Marius 
 

Yes, that helped me. Thx!

My new Code:
###
{{velocity}}
#set($collist = [doc.name, doc.space, doc.date, doc.creator,
doc.author, _actions])
#set($colprops = {
   doc.name : { type : text , size : 30, link :
view},
   doc.space : { type : hidden, link : space},
   doc.date : { type : date },
   doc.creator : { type : text, link : creator},
   doc.author : { type : text, link : author},
   _actions : {actions: [edit,delete,rename]}
 })
#set($options = { topFilters:'input type=hidden size=${colprop.size}
name=doc.space value=Projects-KnowHow /',
  translationPrefix : xe.index.,
  rowCount: 10,
  selectedColumn: doc.date,
  defaultOrder : desc
 })
#livetable(allprojectspages $collist $colprops $options)
{{/velocity}}
###

and a screenshot:
http://xwiki.475771.n2.nabble.com/file/n5186389/list-forum.jpg 


And now I have 3 questions:
1) Why does the third column call xe.index.doc.creator ?  doc.author
also calls Last Author

2) NewPage is a page created by me (in the Project-KnowHow space) to
test the LiveTable and it works. But I don't want to see WebHome and
List. Can I sort them out? Is there such a commanding?

3) Is there an easy way to make the Actions column visible for all
registered users? Yes I know that in the 
http://code.xwiki.org/xwiki/bin/view/Macros/LiveTableMacro LiveTableMacro 
Description is written:
_actions   A special column to display a list of actions that can be
performed by administrators on the matched documents.

But it would be nice...otherwise all users have to open eg. NewPage before
they can edit it.
Maybe I can give Admin rights only for this page?

---
All this points are little minor flaws. But it would be nice to fix them.
Thx for help
Aleks
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Archive-of-Pages-with-Live-Table-Macro-tp5181339p5186389.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Archive of Pages with Live Table Macro

2010-06-15 Thread Aleks87


Aleks87 wrote:
 
 Hello,
 I am trying to create a LiveTable like this one: 
 http://code.xwiki.org/xwiki/bin/view/Snippets/LiveTableAllDocsSnippet Live
 Table Snippet for All Docs Page 
 I have readed the Description of 
 http://code.xwiki.org/xwiki/bin/view/Macros/LiveTableMacro LiveTableMacro 
 but I'm not able to create a Live Table List which shows me a linked list
 of all created pages in one Space (e.g. Main.WebHome)
 
 - Page Name , Date , Author , Last Modified (sort by Date)
 
 Can someone help me please? My Lists are all empty. 
 

I have this code:
###
{{velocity}}
#set($collist = [doc.name,doc.date, doc.author, _actions])
#set($colprops = {
   doc.name : { type : text , size : 30, link :
view}, 
   doc.space : { type : text, link : space},
   doc.date : { type : date },
   doc.author : { type : text, link : author},
   _actions : {actions: [edit,delete,rename]}
 })
#set($options = { translationPrefix : xe.index.,
  rowCount: 10,
  description: This table lists all the documents found
on this wiki. The columns can be sorted and some can be filtered.,
  selectedColumn: doc.date,
  defaultOrder : desc
 })
#livetable(alldocs $collist $colprops $options)
{{/velocity}}
###
who makes me a Live Table:
Page , Date , Last Author , Actions [edit,delete,rename]
sorted by date

But this table is showing me all wiki pages. Is it possible to make this
live table showing me only pages in one space?
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Archive-of-Pages-with-Live-Table-Macro-tp5181339p5182068.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [Vote][Proposal] Rights Management

2010-06-11 Thread Aleks87


Ecaterina Valica-2 wrote:
 
 Hi,
 
 For a while we've been discussing how the new Rights Management UI is
 gonna
 look like. After 5 prototype versions, we may have reached a conclusion.
 
 Please take a look at:
 *Prototype*
 http://incubator.myxwiki.org/xwiki/bin/view/Improvements/Rights51Space
 *Explanations*
 http://incubator.myxwiki.org/xwiki/bin/view/Improvements/RightsProposal
 
 Please cast your vote if this is gonna be the final Rights representation,
 so that we may start the implementation.
 my +1
 Any feedback is welcomed and we can still added improvements to this
 version.
 
 The current version is a collaborative work done by me, Denis Gervalle,
 Raluca Stavro, Alex Busenius, Roman Muntyanu and many others (Guillaume,
 Sergiu, Vincent, Thomas). Thanks everyone for participating in the
 process.
 
 Thanks,
 Caty
 
 p.s: former discussion about mocking process can be seen at [Proposal]
 Rights Management UI http://markmail.org/thread/zgzufskvhe6xt6ey
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

In my last topic I wrote: Is it possible to allow unregistered users: view,
comment, edit and delete rights for all spaces and its pages (blogs, todos)
except for one space with its content?
Because I want to make a very open wiki with one group of user which have
privileges. 

I think this would be possible with this new Rights Managment (RM)!

The icons are very easy to understand for me. But thats because I tested the
current RM. A link in the current RM on every rubric View, Comment, Edit,
Delete, Admin, Register, Program where I can get an explanation to this
rights would have helped me a lot. In this new RM there are only the icons
so perhaps it would be better to make somethink like a tool tip. If you go
with your mouse over the edit icon there should come a tooltip with an info
what edit rights are including all. Only if its possible. Just for beginner
like me...^^
The style isn't realy important for me. The simpler the better and faster.
Yellow background..hmm don't know..if I change something I know that I've
changed it without yellow background but it also doesn't interfere. So do as
you please.
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Vote-Proposal-Rights-Management-tp5163401p5167305.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] No button to create a document template

2010-06-07 Thread Aleks87

Hello again,

I have downloaded the xwiki-enterprise-web-2.3.1.war and replaced it
(copied META-INF, resources, skins, templates, WEB-INF into C:\Program
Files\XWiki Enterprise\webapps\xwiki)

and now I don't know what to do...

In the 
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise231#HMigrationNotes
Migration Notes  is writen something about adding 2 new lines. What for 2
lines and where I have to add them?
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/No-button-to-create-a-document-template-tp5125841p5148026.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] No button to create a document template

2010-06-07 Thread Aleks87


tmortagne wrote:
 
 It's just a technical explanation of what changed in the xwiki/2.0
 syntax behavior. Just look at the end of the box where you have the
 list of pages you absolutely need to upgrade. Also don't forget to
 look at the 2.3.1 release note
 (http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise23).
 

Your link shows the Release Notes for XWiki Enterprise 2.3
I readed the Release Notes for 2.3.1 and I have to upgrate:
* XWiki.ClassSheet
* XWiki.WebSearch
* XWiki.LuceneSearch
or not? But I don't know how...

My problem is that I still have no create a document template
button...there is still an Failed to execute macro: html


tmortagne wrote:
 
 Note that if you plan to fully upgrade the wiki and you don't have
 custom applications you don't have to take care of this warning, it's
 only for people how upgrade only the war will find pages that don't
 work anymore.
 

I have custom applications. They're not really important cause I'm just
testing some .xar 's and the Rights Managment to find out if this wiki is
according to my ideas. But some day I will have important applications and I
won't be able to update my xwiki cause of ignorance.

---

I have saved the hibernate.cfg.xml and xwiki.cfg and ensured that the
xwiki.cfg file is correctly configured to perform the migration like
described 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradinganXWikiInstallation
here .
But I don't know how to go on...sorry but my english is not the best one
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/No-button-to-create-a-document-template-tp5125841p5148284.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] No button to create a document template

2010-06-01 Thread Aleks87

I'm new to XWiki and trying to create a class with objects just to learn it I
want to create a Todo application like described on this page:
http://www.theserverside.com/news/1363830/XWiki-A-Platform-for-Collaborative-Apps
http://www.theserverside.com/news/1363830/XWiki-A-Platform-for-Collaborative-Apps
 
But then I came to the point where it says: To create the Todo Class
Template, click the Create the document template button
and I have only a Failed to execute macro: html notice instead of a
button:
http://xwiki.475771.n2.nabble.com/file/n5125841/Unbenannt.jpg 

Please help me I'm searching the hole day and can't find a solution.
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/No-button-to-create-a-document-template-tp5125841p5125841.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users