[xwiki-users] changing S5 template

2007-12-26 Thread V. Harikrishnan Nair
Hello all... I have been trying to edit my S5 template. I have been able to remove the already existing logo.gif and substitute my picture in the class editor but it doesn't come up. I wanted to add an image as a header as well which should've come up when ?xpage=s5b is added. I change

Re: [xwiki-users] using getLocalUser()

2007-11-07 Thread V. Harikrishnan Nair
;> Hi, >> >> You can get user name with $context.getLocalUser() or users full name >> with $context.getUser(). Full name means generally containing "XWiki." >> be fore user name, it's the full name of the document containing the >> user. >> >> 2007/11/7, V. Har

[xwiki-users] Arrays in groovy and velocity

2007-11-07 Thread V. Harikrishnan Nair
Hi... Is it possible to return an array of strings from a Groovy page to a Velocity page and manipulate the array in Velocity? Harikrishnan -- View this message in context: http://www.nabble.com/Arrays-in-groovy-and-velocity-tf4769113.html#a13641605 Sent from the XWiki- Users mailing list ar

[xwiki-users] using getLocalUser()

2007-11-07 Thread V. Harikrishnan Nair
Hi... I tried use $xwiki.getUser to get the current user's name but I got a value like this '[EMAIL PROTECTED]'. So, I looked into the API doc and used getLocalUser() but it does not work. This is the syntax that I used - #set($user = $xwiki.getLocalUser()) $user What is wrong here ? It had g

Re: [xwiki-users] Disable and hide comments

2007-11-06 Thread V. Harikrishnan Nair
y for a page or is there an easier way out ? Harikrishnan V. Harikrishnan Nair wrote: > > The same steps can be applied for hiding the left panels and displaying > them at will on specific pages but there is problem with the display. > > Try turning off the 'display the left

Re: [xwiki-users] Disable and hide comments

2007-11-06 Thread V. Harikrishnan Nair
The same steps can be applied for hiding the left panels and displaying them at will on specific pages but there is problem with the display. Try turning off the 'display the left column' in /xwiki/bin/edit/XWiki/XWikiPreferences?editor=object&classname=XWiki.XWikiPreferences and then placing #se

Re: [xwiki-users] Disable and hide comments

2007-11-06 Thread V. Harikrishnan Nair
space). > > WDYT? > > Any volunteer? > > Thanks > -Vincent > > On Nov 6, 2007, at 11:37 AM, V. Harikrishnan Nair wrote: > >> >> Just for your information -> >> >> After following Sergiu's steps, you can show commen

Re: [xwiki-users] Disable and hide comments

2007-11-06 Thread V. Harikrishnan Nair
Just for your information -> After following Sergiu's steps, you can show comments on selected pages using #set ($showcomments=1) in the wiki editor of that page... Harikrishnan Sergiu Dumitriu wrote: > > Marie Sauvage [EBM WebSourcing] wrote: >> Hi all ! >> >> I'm trying to disable comment

Re: [xwiki-users] Displaying Panel items

2007-11-05 Thread V. Harikrishnan Nair
That's perfect ! Thanks, Vito, I should've noticed that... Vitantonio Messa wrote: > > V. Harikrishnan Nair wrote: >> Thanks for the help, Ricardo. Here's the code - >> --- >> #panelheader('Quick Links') >> * [Home>Amrita IIS

Re: [xwiki-users] Panels off

2007-11-05 Thread V. Harikrishnan Nair
Hi... I usually never like to 'reopen cases' but this is also what I am looking for... I've tried to hide the panel for the starting page by using #set($showLeftPanels = "0") and then again bringing it back to #set($showLeftPanels = "1") wherever I wanted it (I agree, it was a stupid idea

Re: [xwiki-users] Error when creating Classes

2007-11-05 Thread V. Harikrishnan Nair
You're in the wrong thread, Tim... I think you should send this as a new post. Campbell, Timothy D wrote: > > Hi, > Has anyone experienced this problem or does anyone know what could be > wrong when creating classes? I need to create 2 classes 1 for a virtual > instance and 1 for a second

Re: [xwiki-users] Displaying Panel items

2007-11-05 Thread V. Harikrishnan Nair
[Editor's page>Amrita IIS.Editor] #end $xwiki.getDocument( (Edit this panel) #end #panelfooter() --- Ricardo Rodríguez wrote: > > V. Harikrishnan Nair wrote: >> hi Vito, >> hi Ricardo, >> >> I implemented the code as : >> >> #set($u

Re: [xwiki-users] Displaying Panel items

2007-11-05 Thread V. Harikrishnan Nair
urrent user has >> administrator rights, you can check if he is in the group you want. >> >> There was a discussion about that some days ago on the mailing list. >> Look for it, if I remember right there was also the code you need. >> >> Vito >&g

[xwiki-users] Displaying Panel items

2007-11-04 Thread V. Harikrishnan Nair
Hi. It is seen that Panel items can be hidden from users other than the Admins using this statement -> #if ($xwiki.hasAdminRights()), right ? Is it possible to be able to display certain Panel items to certain user groups ? If so, how ? Harikrishnan -- View this message in context: http:

Re: [xwiki-users] Parsing textbox data

2007-10-31 Thread V. Harikrishnan Nair
It's perfect ! Thank you, Vito. Vitantonio Messa wrote: > > hi, > > I think this should work: > #set($j = $request.formval) > > Vito > > > > V. Harikrishnan Nair wrote: >> Hello again ! >> >> I want to take a string entered int

[xwiki-users] Parsing textbox data

2007-10-31 Thread V. Harikrishnan Nair
Hello again ! I want to take a string entered into a textbox and place it into a MySQL db (which is not XWiki's RDB). For that I created a simple form shown below - This is the velocity page (named VelocityTest2) which is supposed to parse the string entered into the text box

Re: [xwiki-users] Adding a document in XWiki.org

2007-10-31 Thread V. Harikrishnan Nair
Hi Ricardo, Ricardo Rodríguez wrote: > > Perhaps the Three Wise Men could be a better target for our messages :-) > (I do hope this Christian metaphor is known enough!) > the metaphor is well known and so is James Blunt (forgive me if it's a poor joke) > Accessing RDBMS other than XWiki

Re: [xwiki-users] Adding a document in XWiki.org

2007-10-31 Thread V. Harikrishnan Nair
Gosh ! I didn't realise that I could create such an uproar ! :-)) To answer Q1. -> I wanted to make XWiki a platform for integrating some tools like XPlanner with a Project Mangement template which carries copious amounts of data in its database and also as an area where employees can interact

[xwiki-users] Adding a document in XWiki.org

2007-10-30 Thread V. Harikrishnan Nair
Hello... I've been able to read and enter data into my personal MySQL database (after a very long night, finally!) and I think this should be added into the documentation for XWiki.org but first, I want to get data from a textbox into the database... Because the first thing that newbies

Re: [xwiki-users] Sample Groovy Code

2007-10-30 Thread V. Harikrishnan Nair
. XWiki offers API for doing this. > > What tutorial are you referring to? > > Thanks > -Vincent > > On Oct 30, 2007, at 11:53 AM, V. Harikrishnan Nair wrote: > >> >> Hi all... >> >> I am learning how to read from the default xwiki database x

Re: [xwiki-users] Sample Groovy Code

2007-10-30 Thread V. Harikrishnan Nair
me the API ? vmassol wrote: > > Hi, > > Don't call the database directly. XWiki offers API for doing this. > > What tutorial are you referring to? > > Thanks > -Vincent > > On Oct 30, 2007, at 11:53 AM, V. Harikrishnan Nair wrote: > >> >> Hi

[xwiki-users] Sample Groovy Code

2007-10-30 Thread V. Harikrishnan Nair
Hi all... I am learning how to read from the default xwiki database xwiki_db using groovy. This is the code I got from the tutorial -> - import groovy.sql.Sql sql = Sql.newInstance("jdbc:jtds:sqlserver://serverName/dbName-CLASS;domain=domainName", "username",

[xwiki-users] xwiki-enterprise-hsqldb-1.1.1

2007-10-29 Thread V. Harikrishnan Nair
Hi... does xwiki-enterprise-hsqldb-1.1.1 allow me to view the data which is present in my current xwiki xwiki-enterprise-windows-1.1 ? Harikrishnan -- View this message in context: http://www.nabble.com/xwiki-enterprise-hsqldb-1.1.1-tf471.html#a13483165 Sent from the XWiki- Users mailing

Re: [xwiki-users] Attachments & comments

2007-10-29 Thread V. Harikrishnan Nair
Messa wrote: > > V. Harikrishnan Nair wrote: >> >> Vitantonio Messa wrote: >>> the real problem I'm facing is how to link together comments and >>> attachments: because when loading one page I should be able to retrieve >>> the comment with the c

Re: [xwiki-users] Attachments & comments

2007-10-29 Thread V. Harikrishnan Nair
Vitantonio Messa wrote: > > the real problem I'm facing is how to link together comments and > attachments: because when loading one page I should be able to retrieve > the comment with the corresponding attachment. > you mean, like a pointer ? The attachment has a name (an identification),

Re: [xwiki-users] Live bookmark...

2007-10-29 Thread V. Harikrishnan Nair
> > It will allow you to subscribe to the pages you wish on your wiki & get > notifications by mail and / or RSS when those pages are modified... > Documentation about the feature coming soon :-) > > Guillaume > > On 29/10/2007, V. Harikrishnan Nair <[EMAIL PRO

[xwiki-users] Live bookmark...

2007-10-29 Thread V. Harikrishnan Nair
Hi again... I am asking this after a thorough search on the Internet for a solution. I got many answers but I couldn't understand how to do it. I know it is a very basic problem but I want some help... I tested the Personal RSS by subscribing to a page but the link says 'Live bookmark feed

[xwiki-users] Personal RSS plug-in

2007-10-29 Thread V. Harikrishnan Nair
Hi... I had imported the PersonalRSSFeed.xar for RSS on every page. Is it necessary to add the name of the plug-in in the xwiki.plugins in the xwiki.cfg file ? Is it com.xpn.xwiki.plugin.PersonalRSSFeed.PersonalRSSFeedPlugin ? Harikrishnan -- View this message in context: http://www.nabble.

Re: [xwiki-users] Attachments & comments

2007-10-26 Thread V. Harikrishnan Nair
Hi Vito, You can create an 'add attachment' button which appears after the 'add comment' button is pressed... Harikrishnan Vitantonio Messa wrote: > > Hi Vincent, > > of course users that are going to attach files will have editing rights > on those pages. What I want to do is give to

Re: [xwiki-users] Exception while reading document XWiki.XWikiPreferences

2007-10-26 Thread V. Harikrishnan Nair
Hi. The same thing has happened to me too. I had run xwiki without changing the conf.xml file first. When I changed the database after the very first call I got the error you mentioned below. My guess is that when you run it for the first time, it 'sticks' to the database it sees first and ref

Re: [xwiki-users] Tags per space

2007-10-26 Thread V. Harikrishnan Nair
Hello Marie, I can suggest another option. You can restrict viewing of each page individually i.e. you can go to the page edit link's access rights link and enforce a restriction on a group for that particular page. Or go to space Preferences and enforce restrictions there. Harikrishnan Nair

Re: [xwiki-users] Shifting to a new computer

2007-10-25 Thread V. Harikrishnan Nair
I had installed using this -> xwiki-enterprise-installer-windows-1.2-milestone-1.exe Thank you anyway, Vincent, I've found the culprit. The files were indeed tampered with inadvertently. :) vmassol wrote: > > > On Oct 25, 2007, at 11:41 AM, V. Harikrishnan Nair wrote: &g

Re: [xwiki-users] Shifting to a new computer

2007-10-25 Thread V. Harikrishnan Nair
vmassol wrote: > > Re HSQLDB yes, you can also very simply copy the $XWIKINSTALLDIR/ > database/ directory to the new computer too but the import/export > will work between any databases and should be preferred. > Sorry for 'turning a blind eye', Vincent, thank you for pointing it out. Bu

Re: [xwiki-users] Error because of Preferences

2007-10-24 Thread V. Harikrishnan Nair
o the problem appears only now ? Most of the time default > mysql user for xwiki is named xwiki ... > > > Jeremie > > > > > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of V. Harikrishnan Nair > Se

Re: [xwiki-users] Shifting to a new computer

2007-10-24 Thread V. Harikrishnan Nair
rom the beginning, so I really don't > know that much about HSQL-DB. > > Vito > > > > V. Harikrishnan Nair wrote: >> Can I view the data from the database which is bundled with XWiki ? >> >> >> Vitantonio Messa wrote: >>> So you're n

Re: [xwiki-users] Error because of Preferences

2007-10-24 Thread V. Harikrishnan Nair
I have not changed anything in the hibernate.cfg.xml file. The username 'sa' was present by default and I tried another backup file of the hibernate.cfg.xml file but it did not work either... This is the stack trace -> Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create Poolab

Re: [xwiki-users] Error because of Preferences

2007-10-24 Thread V. Harikrishnan Nair
rom the menu. In this way, if you change your mind and one day will > need the printing option, it will be easy to have it back. > > Vito > > > > V. Harikrishnan Nair wrote: >> Hi. >> >> I was trying to get rid of the "Print" link through the

[xwiki-users] Error because of Preferences

2007-10-24 Thread V. Harikrishnan Nair
Hi. I was trying to get rid of the "Print" link through the .vm file and I got the error below. I undid everything I changed but the error persists. HTTP ERROR: 500 Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3202 in 3: Exception while reading

Re: [xwiki-users] Shifting to a new computer

2007-10-23 Thread V. Harikrishnan Nair
. Can anyone confirm this? > > Vito > > > > V. Harikrishnan Nair wrote: >> I've got a small doubt. Right now, the database configuration in the >> hibernate.cfg.xml is using the one shown below and not the MySQL (which >> is >> commented) - >>

Re: [xwiki-users] Spreadsheet and buttons

2007-10-23 Thread V. Harikrishnan Nair
gt; > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of V. Harikrishnan Nair > Sent: 23 October 2007 07:12 > To: users@xwiki.org > Subject: [xwiki-users] Spreadsheet and buttons > > > Hi... > > Is there a way to creat

Re: [xwiki-users] Shifting to a new computer

2007-10-23 Thread V. Harikrishnan Nair
I've got a small doubt. Right now, the database configuration in the hibernate.cfg.xml is using the one shown below and not the MySQL (which is commented) - jdbc:hsqldb:file:database/xwiki_db;shutdown=true sa org.hsqldb.jdbcDriver org.hibernate.dialect.HSQLDialect com.xpn.xw

[xwiki-users] Shifting to a new computer

2007-10-23 Thread V. Harikrishnan Nair
Hi. I am shifting my wiki into another computer. I wish to retain the same state of the wiki as it is now - the same registered users, document pages, preferences etc. Could I just copy-paste the wiki files ? :) Harikrishnan -- View this message in context: http://www.nabble.com/Shifting-to-a

[xwiki-users] Spreadsheet and buttons

2007-10-22 Thread V. Harikrishnan Nair
Hi... Is there a way to create a spreadsheet or add buttons into a form template ? Harikrishnan -- View this message in context: http://www.nabble.com/Spreadsheet-and-buttons-tf4675410.html#a13358011 Sent from the XWiki- Users mailing list archive at Nabble.com. __

Re: [xwiki-users] Panel Wizard

2007-10-22 Thread V. Harikrishnan Nair
I'm sorry, I guess I really was a bit too impatient... It won't happen again ! thank you, Vincent. vmassol wrote: > > > On Oct 23, 2007, at 6:44 AM, V. Harikrishnan Nair wrote: > >> >> Hi all. >> >> My Panel wizard is not working properly. I

Re: [xwiki-users] FW: search results preview

2007-10-22 Thread V. Harikrishnan Nair
What do you mean by preview of the search results ? Do you not think that it adds an overhead ? Anurag Chitlangia wrote: > > > > > > Hi, > I am wondering if xwiki can provide preview of search results. > not just the links, but also where it appears on the page. > > > > > also > > We c

[xwiki-users] Panel Wizard

2007-10-22 Thread V. Harikrishnan Nair
Hi all. My Panel wizard is not working properly. I tried to drag and drop my panel items and it could not be done. The item which when I click upon, does not move with the mouse pointer. It goes elsewhere. Nobody has answered to my problem yet... How is XWiki going to be popular unless no

[xwiki-users] Panel wizard

2007-10-21 Thread V. Harikrishnan Nair
Hi. The panel wizard is supposed to make the job of editing the panel easier but it is very difficult to drag and drop the panel items where I want them. The menu item does not travel with the pointer. It is very annoying. Is there a solution to this ? Harikrishnan -- View this message in cont

[xwiki-users] Personal RSS

2007-10-21 Thread V. Harikrishnan Nair
Hi. I have just imported the XAR for personal page RSS feeds. When I subscribe to a page, the link does not work- I need to just add the port number to the url after 'localhost'. How do I do that ? Also what is the difference between following a page and subscribing to it ? Harikrishnan -- Vie

Re: [xwiki-users] Error on restart

2007-10-19 Thread V. Harikrishnan Nair
I've caught hold of the error. I changed the database configuration in hibernate.cfg.xml. It was changed to MySQL AFTER I started using it. Perhaps it showed the problem only after jetty was stopped during power failure. vmassol wrote: > > > On Oct 19, 2007, at 11:48 AM, V

[xwiki-users] Error on restart

2007-10-19 Thread V. Harikrishnan Nair
Hi all, My computer just shut down after a UPS failure and when I started it and accessed my wiki, I got the error -> HTTP ERROR: 500 Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences

Re: [xwiki-users] In the WYSIWYG editor

2007-10-19 Thread V. Harikrishnan Nair
Got it. Thank you, Vincent. Also, can you tell me where I can find documentation for the class properties ? I mean, how to use the database list and database tree list ? vmassol wrote: > > Hi, > > On Oct 19, 2007, at 9:24 AM, V. Harikrishnan Nair wrote: > >> >>

Re: [xwiki-users] When creating a new class

2007-10-19 Thread V. Harikrishnan Nair
Vitantonio Messa wrote: > > Hi Tobias, > > since the class is a page in the xwiki, to delete it you have simply to > delete the page. > > Vito > If it is a page, then I should be able to retrieve it through a search, right ? It doesn't appear in either the normal or Lucene searches... Wher

[xwiki-users] In the WYSIWYG editor

2007-10-19 Thread V. Harikrishnan Nair
Suppose I want to display '\\' in the page. But since it is a new line command in the editor, it will be executed and take the next word to the next line. There must be some way to get to display it rather than execute it like the way slash (\) is used in \' and \" to display the quotation marks

Re: [xwiki-users] When creating a new class

2007-10-19 Thread V. Harikrishnan Nair
Can I create one ? Tobias Roth-4 wrote: > > On October 19, 2007 07:58:18 Marc Lijour wrote: >> On October 19, 2007 01:37:17 am V. Harikrishnan Nair wrote: >>> Hi. >>> >>> I added a wrong class property into my class and I want to remove it. >&g

[xwiki-users] When creating a new class

2007-10-18 Thread V. Harikrishnan Nair
Hi. I added a wrong class property into my class and I want to remove it. I canceled the edit without saving and opened it again but it was still there. Shouldn't there be a button like the one there is to remove an object ? Harikrishnan Nair -- View this message in context: http://www.nabb

Re: [xwiki-users] Page preferences

2007-10-16 Thread V. Harikrishnan Nair
It didn't work for me too. Is there any file that stores the names of the velocity variables ? vmassol wrote: > > Hi, > > On Oct 16, 2007, at 8:11 AM, V. Harikrishnan Nair wrote: > >> >> Hi all, >> >> I am able to change preferences of

[xwiki-users] Page preferences

2007-10-15 Thread V. Harikrishnan Nair
Hi all, I am able to change preferences of the entire wiki and a space. Can I make preference changes to a specific page ? For example, if I do not want the comments and attachments boxes to appear in some pages, the right/left menu to be present in some other pages, etc. ? How do I do that ?

[xwiki-users] XWiki filing system

2007-10-15 Thread V. Harikrishnan Nair
hi all. My wiki was working fine until today when I discovered that I couldn't find any of the spaces that I had created and also I couldn't login even as the superadmin. I also found that Xwiki Guest has been admin privileges inspite of me having denied them. Can anyone help ? Also, from

[xwiki-users] Use of Wiki farm

2007-10-11 Thread V. Harikrishnan Nair
eniently ? [5.] Employees are registering themselves into the wiki but do not have the edit privilege to edit specific pages where the documents are pasted. I do not know how to go about doing that either... Please give as much help as possible. regards, V. Harikrishnan Nair -- View

Re: [xwiki-users] User Registration

2007-10-11 Thread V. Harikrishnan Nair
home page but now when I enter using a superadmin password (which I've done so hundreds of times before) it says that the page is locked by XWikiGuest. Can anyone help? Thanks, Harikrishnan Vitantonio Messa wrote: > > Hi, > > V. Harikrishnan Nair wrote: >> hi...

[xwiki-users] User Registration

2007-10-11 Thread V. Harikrishnan Nair
hi... The XWiki page has a registration link through which I registered a new user. But when I log in with that username and password, I get a message saying that name/password is incorrect. How do I rectify it and allow a large number of users (say 100) to use it ? Thanks, Harikrishnan -- V

[xwiki-users] WYSIWYG editor

2007-10-11 Thread V. Harikrishnan Nair
I once pasted an article from MS Word to the WYSIWYG editor. I found all the tab-spaces replaced by some unwanted characters. It was a real pain to format the page after that. Can there be a facility to allow formatting like MS Office or create a plug-in for Open Office or something ? -- View th

[xwiki-users] Finch skin problem

2007-10-09 Thread V. Harikrishnan Nair
Hi all, I just changed my xwiki skin to Finch and I noticed my username (superadmin) displayed on the top right corner as the line below - $xwiki.getDocument($context.user).display("first_name", "view", $xwiki.getDocument($context.user).getObject("XWiki.XWikiUsers", 0))'s profile Can this be

Re: [xwiki-users] MySQL and XWiki

2007-10-09 Thread V. Harikrishnan Nair
objects to > query/update/delete/create information. > Have a look at the "FAQ tool" for more info on how to use XWiki for this > purpose. > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of V. Harikrishnan Nair > Sent: 01 O

[xwiki-users] MySQL and XWiki

2007-09-30 Thread V. Harikrishnan Nair
emely grateful if anyone could give me the basic steps to enter data into and read from a database using forms. Thanks, V. Harikrishnan Nair -- View this message in context: http://www.nabble.com/MySQL-and-XWiki-tf4538220.html#a12952559 Sent from the XWiki- Users mailing list archive at Nabbl