[xwiki-users] changing S5 template
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 changed s5b.vm and s5bheader.vm and tried adding a new css. Are there any other checkpoints which I might have missed out ? Please advise. Harikrishnan -- View this message in context: http://www.nabble.com/changing-S5-template-tp14501641p14501641.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] using getLocalUser()
:) Thomas had mailed me this (after I had personally mailed him) in reply to my question about removing the hyperlink with the pretty-name of the current user. -- In $xwiki you have all theses methods : getUserName(user) getUserName(user, link) getUserName(user, format) getUserName(user, format, link) it seam that in getUserName(user) link is true by default so it return you the name with a correct link to access it, if you don't want the link I suppose $xwiki.getUserName($context.getUser(), false) is correct. When you search for api methods the better way is to print the class and then go to javadoc to see the methods in the class. For example for $context you can do $context.class that print you the exact JAVA class and then you go to http://www.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki%2Dcore%2D1.1.1%2Djavadoc.zip/index.html and click on Context class link to see all methods $context contains. --- Thomas Mortagne wrote: If you want a prettier (FirstName LastName) user name you can use $xwiki.getLocalUserName($context.getUser()). 2007/11/7, Thomas Mortagne [EMAIL PROTECTED]: 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. Harikrishnan Nair [EMAIL PROTECTED]: 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 given me an output for getUser(). Harikrishnan -- View this message in context: http://www.nabble.com/using-getLocalUser%28%29-tf4763863.html#a13624781 Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/using-getLocalUser%28%29-tf4763863.html#a13641641 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] Displaying Panel items
Thanks for the help, Ricardo. Here's the code - --- #panelheader('Quick Links') * [HomeAmrita IIS.WebHome] * [PMT DiscussionsAmrita IIS.PMT_Discussions] * [Class EditorXWiki.XWikiClasses] * [PMTPMT.PMTemplateTestClass] * [PMT Test formAmrita IIS.Form_PMT_Test] #if ($xwiki.hasAdminRights()) For Admins: * [Admin CenterXWiki.WebHome] * [What's NewMain.Dashboard] $xwiki.getURL( $xwiki.getSkinFile('icons/black-rss-mini3.png') #end #set($user = $xwiki.getUser()) #if($user.isUserInGroup(XWiki.Editors)) Editor Group * [Editor's pageAmrita IIS.Editor] #end p style=font-size:0.75em;padding-left:8px; $xwiki.getDocument( (Edit this panel) /p #end #panelfooter() --- Ricardo Rodríguez wrote: V. Harikrishnan Nair wrote: hi Vito, hi Ricardo, I implemented the code as : #set($user = $xwiki.getUser()) #if($user.isUserInGroup('XWiki.Editors')) Editor Group * [Editor's pageAmrita IIS.Editor] #end But I got a really weird error - Error number 4001 in 4: Error while parsing velocity page Panels.QuickLinks Wrapped Exception: Encountered #endrn at line 26, column 1 of Panels.QuickLinks Was expecting one of: EOF ( … RPAREN … ESCAPE_DIRECTIVE … SET_DIRECTIVE … ## … \#34; … … TEXT … # … # … STRING_LITERAL … IF_DIRECTIVE … STOP_DIRECTIVE … INTEGER_LITERAL … FLOATING_POINT_LITERAL … WORD … BRACKETED_WORD … IDENTIFIER … DOT … { … } ... I checked everything but it simply would not work... - Harikrishnan Hi Harikrishnan, I've tried your code here and it works without a glitch. The error you get is at line 26, so it is not possible for us to know if one of the five code lines included in your message is the offending one. Please, could you post here your whole Panels.QuickLinks to see if it is possible for us to reproduce the error? Best, -- Ricardo Rodríguez Your XEN ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Displaying-Panel-items-tf4749669.html#a13600550 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] Panels off
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). I was wondering, can I make a new xwiki variable, $showPageLeftPanels, and use it in the .vm files ? Harikrishnan vmassol wrote: Hi Gunter, On May 21, 2007, at 7:14 PM, Gunter Leeb wrote: Hi, Is there a simple way to turn the panels off for a particular page? I know this is possible, by creating the page in a new space and configuring the new space not to show the panels. Is there another way? No, this feature doesn't exist AFAIK. We could have imagine that passing showColumns=0 in the url would have done the trick but it's not there. So there are several hacks possible: 1) modify startpage.vm so that it look in the url if you pass some parameter to hide columns 2) use css/javascript in the page that you wish to hide so that it hides the panel(s) -Vincent -- You receive this message as a subscriber of the [EMAIL PROTECTED] mailing list. To unsubscribe: mailto:[EMAIL PROTECTED] For general help: mailto:[EMAIL PROTECTED] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- View this message in context: http://www.nabble.com/Panels-off-tf3794648.html#a13601453 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] Displaying Panel items
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') * [HomeAmrita IIS.WebHome] * [PMT DiscussionsAmrita IIS.PMT_Discussions] * [Class EditorXWiki.XWikiClasses] * [PMTPMT.PMTemplateTestClass] * [PMT Test formAmrita IIS.Form_PMT_Test] #if ($xwiki.hasAdminRights()) For Admins: * [Admin CenterXWiki.WebHome] * [What's NewMain.Dashboard] $xwiki.getURL( $xwiki.getSkinFile('icons/black-rss-mini3.png') #end #set($user = $xwiki.getUser()) #if($user.isUserInGroup(XWiki.Editors)) Editor Group * [Editor's pageAmrita IIS.Editor] #end p style=font-size:0.75em;padding-left:8px; $xwiki.getDocument( (Edit this panel) /p #end #panelfooter() --- Ricardo Rodríguez wrote: V. Harikrishnan Nair wrote: hi Vito, hi Ricardo, I implemented the code as : #set($user = $xwiki.getUser()) #if($user.isUserInGroup('XWiki.Editors')) Editor Group * [Editor's pageAmrita IIS.Editor] #end But I got a really weird error - Error number 4001 in 4: Error while parsing velocity page Panels.QuickLinks Wrapped Exception: Encountered #endrn at line 26, column 1 of Panels.QuickLinks Was expecting one of: EOF ( … RPAREN … ESCAPE_DIRECTIVE … SET_DIRECTIVE … ## … \#34; … … TEXT … # … # … STRING_LITERAL … IF_DIRECTIVE … STOP_DIRECTIVE … INTEGER_LITERAL … FLOATING_POINT_LITERAL … WORD … BRACKETED_WORD … IDENTIFIER … DOT … { … } ... I checked everything but it simply would not work... - Harikrishnan Hi Harikrishnan, I've tried your code here and it works without a glitch. The error you get is at line 26, so it is not possible for us to know if one of the five code lines included in your message is the offending one. Please, could you post here your whole Panels.QuickLinks to see if it is possible for us to reproduce the error? Best, -- Ricardo Rodríguez Your XEN ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Hi Harikrishnan, the problem is in the last #end: there no #if related to it. Try to delete it and the panel should work fine. Vito -- Vitantonio Messa +358 46 889 48 49 - [EMAIL PROTECTED] COSS - The Finnish Centre for Open Source Solutions @ Technology Centre Hermia Ltd. Hermiankatu 1, FIN-33720 Tampere, FINLAND ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Displaying-Panel-items-tf4749669.html#a13601636 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] Displaying Panel items
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://www.nabble.com/Displaying-Panel-items-tf4749669.html#a13581426 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] Adding a document in XWiki.org
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 with each other and share/edit data (making use of versioning). This is on an experimental basis. All I wanted to do is - 1. Insert/read data from the company's database (I'm just doing what I am told to do, okay ?). 2. Allow employees to access their domains in the mail server/Bugzilla etc. without the need to type in username password repeatedly - just login to XWiki and go to their spaces using links. Something like MS Outlook allows you to access your all your mail accounts. 3. Enter documents under discussion which can be edited by multiple persons (along with histories and RSS) I hope this is clear enough... :-) Xwiki is serving its purpose but I guess just wanted to bend it a bit too much ! Harikrishnan Ricardo Rodríguez wrote: Vincent Massol wrote: Since I was probably not clear let me try to rephrase what I meant: 1) If what you to manipulate is data generated by xwiki (i.e. everything in the XWiki database) then you should use the API provided by xwiki and not manipulate this data directly. 2) If what you want to manipulate is your own data (for example data coming from other systems) then you have to use direct JDBC connection for sure. This is why I asked for Harikrishan's use case as he seems to be in use case 1 since he mentioned something about saving some text field in the database. Typically, the standard way for doing this in XWiki is to create an Object and let XWiki save that Object to the database. Hope it makes sense, -Vincent Definitely. It makes complete sense. I'm also a bit confused by Harikrishnan messages, that is the reason I've brought in our own case to see where, if anywhere, Harikrishnan graft to. Keeping track of this issue, -- Ricardo Rodríguez Your XEN ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Adding-a-document-in-XWiki.org-tf4723188.html#a13506236 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] Parsing textbox data
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 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 - form action = VelocityTest2 method = get input type = text name = formval input type = submit value = submit /form This is the velocity page (named VelocityTest2) which is supposed to parse the string entered into the text box - #set($groovyObject = $xwiki.parseGroovyFromPage(Amrita IIS.GroovyTest4)) #set($j = $Request.getParameterValues('formval')) $groovyObject.SQL_conn($j) A Groovy page (named GroovyTest4) takes that string and enters it into the MySQL db with the SQL_conn() function and I'm positive that my groovy code works. My problem is that the string is not being parsed from the textbox into the Velocity page. I am getting a null value instead. Thanks, Harikrishnan ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Parsing-textbox-data-tf4724953.html#a13523140 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] Sample Groovy Code
Hello Vincent, I've found out QueryPluginApi from the docs. But even if this is the API you meant, why is it not possible to use Groovy to access the database of my choice to display my data ? Harikrishnan 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 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, password, net.sourceforge.jtds.jdbc.Driver) sql.eachRow(select * from tableName, { println it.id + -- ${it.firstName} --} ); This is the code which is edited by me - --- import groovy.sql.Sql sql = Sql.newInstance(jdbc:jtds:sqlserver://localhost/xwiki_db- CLASS;domain=domainName, sa, , net.sourceforge.jtds.jdbc.Driver) sql.eachRow(select * from XWIKIDOC, { println it.id + -- $ {it.firstName} --} ); -- Can anyone please rectify any errors here ? Especially the closure in the third line as I don't know the fields present in XWIKIDOC table... Thanks, Harikrishnan ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Sample-Groovy-Code-tf4717685.html#a13502522 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] Adding a document in XWiki.org
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 like me wanted to do was to communicate with a personal database (especially through the use of forms), I believe this is important. How can I add a document in XWiki.org ? Do I have editing rights ? Harikrishnan -- View this message in context: http://www.nabble.com/Adding-a-document-in-XWiki.org-tf4723188.html#a13503839 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] Attachments comments
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), so can't there be a link to that attachment ? -- View this message in context: http://www.nabble.com/Attachments---comments-tf4695367.html#a13467074 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] xwiki-enterprise-hsqldb-1.1.1
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 list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Shifting to a new computer
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. But I do not understand - if you meant copying C:/xwiki/.../database, it did not work. There was a problem with the script (which I replaced). I do not know what $XWIKINSTALLDIR means otherwise (Is it velocity language ?). thank you for being so patient with me. Harikrishnan -- View this message in context: http://www.nabble.com/Shifting-to-a-new-computer-tf4676458.html#a13403262 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] Shifting to a new computer
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: 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. But I do not understand - if you meant copying C:/xwiki/.../database, it did not work. There was a problem with the script (which I replaced). I do not know what $XWIKINSTALLDIR means otherwise (Is it velocity language ?). thank you for being so patient with me. Copying database/ works fine. I've done it countless times. Of course if you tampered with the files inside database/ then you're on your own. Database data should never be modified directly. $XWIKINSTALLDIR is where you installed XE (that's if you've used the standalone installation). Anyway if you found the database/ directory then you know where the HSQLDB files are stored. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Shifting-to-a-new-computer-tf4676458.html#a13404094 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] Shifting to a new computer
But there should be a place visible to the human eye where all the data is stored :) ! I had a problem with the script which I replaced but the data is missing... I want to try to copy-paste the default HSQL database (wherever it is). If this works, then I can say that XWiki is the most friendly wiki I have ever come across ! I could even create a document 'In case of errors' or 'shifting your wiki' or 'creating an easy backup' !!! :) Vitantonio Messa wrote: Sorry but I cannot really help on this. I've been using XWiki with MySQL from 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 not using MySQL as database, but the one that is bundled with XWiki. I think you can simply copy and paste the database folder from the old pc to the new one. 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) - property name=connection.urljdbc:hsqldb:file:database/xwiki_db;shutdown=true/property property name=connection.usernamesa/property property name=connection.password/property property name=connection.driver_classorg.hsqldb.jdbcDriver/property property name=dialectorg.hibernate.dialect.HSQLDialect/property property name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property property name=connection.pool_size2/property property name=statement_cache.size2/property Does this mean that it is not using a database currently? I had tried to configure it to MySQL now but on restart it showed an error (refer to 'Error on restart' by me). Is it safe to configure a MySQL database in the new computer and import the xar file ? Harikrishnan ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Shifting-to-a-new-computer-tf4676458.html#a13400443 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] Error because of Preferences
No. Only I have the access. I even copy-pasted the original cfg file. But the problem I found was with the database script which I replaced. The wiki is working but the data is not available. Plus I need this solution for shifting to a new computer (refer to 'Shifting to a new computer' in this forum). BOUSQUET Jeremie-2 wrote: Hi, There are good chances that you did not lost any data, unless you erased your database, but you would have noticed ... ;-) I had the same problem after migration of wiki kernel version. When re-deployed the .war file in my tomcat container, I forgot to add again the mysql*.jar library in $TOMCAT_HOME/webapps/xwiki/WEB-INF/lib Or is there a possibility that your hibernate.cfg.xml file was updated by someone else, or by you a long ago, and tomcat was restarted only recently, so 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 Sent: mercredi 24 octobre 2007 12:48 To: users@xwiki.org Subject: Re: [xwiki-users] Error because of Preferences 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 PoolableCon nectionFactory (User not found: SA) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou rce.java:855) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource .java:540) at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionPr ovider.java:181) ... 40 more Caused by: java.sql.SQLException: User not found: SA at org.hsqldb.jdbc.Util.sqlException(Unknown Source) at org.hsqldb.jdbc.jdbcConnection.init(Unknown Source) at org.hsqldb.jdbcDriver.getConnection(Unknown Source) at org.hsqldb.jdbcDriver.connect(Unknown Source) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(Driv erConnectionFactory.java:37) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(Poolable ConnectionFactory.java:290) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(Bas icDataSource.java:877) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou rce.java:851) ... 42 more 16:07:09.484 INFO [P1-19] org.mortbay.util.Container.start(Container.java:74) 08 Started HttpContext[/,/] Or please give me a method to retrieve all the data I have entered in the wiki. -- View this message in context: http://www.nabble.com/Error-because-of-Preferences-tf4682780.html#a13383 259 Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Error-because-of-Preferences-tf4682780.html#a13400474 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] Spreadsheet and buttons
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. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Shifting to a new computer
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-new-computer-tf4676458.html#a13361084 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] Shifting to a new computer
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) - property name=connection.urljdbc:hsqldb:file:database/xwiki_db;shutdown=true/property property name=connection.usernamesa/property property name=connection.password/property property name=connection.driver_classorg.hsqldb.jdbcDriver/property property name=dialectorg.hibernate.dialect.HSQLDialect/property property name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property property name=connection.pool_size2/property property name=statement_cache.size2/property Does this mean that it is not using a database currently? I had tried to configure it to MySQL now but on restart it showed an error (refer to 'Error on restart' by me). Is it safe to configure a MySQL database in the new computer and import the xar file ? Harikrishnan -- View this message in context: http://www.nabble.com/Shifting-to-a-new-computer-tf4676458.html#a13379125 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] Spreadsheet and buttons
Is it possible to parse certain pages (where each page is a form) into a spreadsheet ? Is there a xar file for this or do I have to create another Groovy code ? Esbach, Brandon wrote: In xwiki the template is just an HTML document with extra velocity features. So, for buttons you can simply do something like input type=button value=click me / If you want to create a spreadsheet from your page it's a bit more fiddly - you'll most likely need to use a Java plugin like HSSF, and create a simple Groovy include page to do the create/update/etc to the spreadsheet. -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 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. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Spreadsheet-and-buttons-tf4675410.html#a13379159 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] Panel Wizard
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 novices have all their questions answered ? I will start contributing as soon I gain some expertise but for that I want answers... If it has been answered before, please say so but I haven't seen it anywhere else. Harikrishnan -- View this message in context: http://www.nabble.com/Panel-Wizard-tf4675192.html#a13357387 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] FW: search results preview
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 can have counter on each page, but can we get total number of hits on our website. just for statistics purposes. Thanks and Regards, anurag chitlangia | desk- (00357) 2588-6833 --- Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us. - Calvin This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/FW%3A-search-results-preview-tf4638722.html#a13357425 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] Panel Wizard
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 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 novices have all their questions answered ? I will start contributing as soon I gain some expertise but for that I want answers... If it has been answered before, please say so but I haven't seen it anywhere else. Please be patient. You're sending 4 questions per day :) People are probably busy on some other stuff. Give them time to answer. If you don't have an answer in a week then you can ask again politely and I'm sure you'll get your questions answered. Make sure you also try to solve your own questions by searching the lists, looking at the source code, searching JIRA, etc. For example for this panel wizard issue, if you search jira you'll find someone reported something similar a long time but noboyd has been able to reproduce it. Also make sure you give all the details in your mails. Here you don't say what version of XWiki you're using and with what database and what database version, so there's no way we can really help. There's currently no issue opened on the Panel Wizard AFAIK. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Panel-Wizard-tf4675192.html#a13357837 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] Panel wizard
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 context: http://www.nabble.com/Panel-wizard-tf4668815.html#a13337088 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] Page preferences
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 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 ? Preferences are at the level of the wiki or space. For disabling comments on a page basis, you can use: #set ($showcomments=0) For disabling attachments on a page basis you can use: #set ($showattachments=0) For the panels, you should be able to hide them using: #set ($hidecolumns=0) I have quickly tried these and they don't seem to work for some reason. Someone need to check out why. You can look into your templates files (*.vm). For example: commentsinline.vm and startpage.vm. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Page-preferences-tf4632206.html#a13230487 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] Finch skin problem
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 resolved ? And why can't I use pictures which are not of the specific size mentioned (200x70) as my logo ? thanks, Harikrishnan -- View this message in context: http://www.nabble.com/Finch-skin-problem-tf4598657.html#a13129508 Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users