[xwiki-users] FAQ Application tutorial not working

2008-06-30 Thread xavier . bartholome
Hi everyone,

I searched the archive, and found some problems related to the FAQ 
application tutorial, but none the same as the one I'm experienting.

I'm using version 1.4 of Xwiki, with the bundled HSQLDB database.

I went through the FAQ Application tutorial (twice) without problem. But 
when I get to the end, and want to try it out by creating the document 
Whatisthemeaningoflife, I get a message telling me that the page does 
not exist, and that I should edit it. If I try to edit, I get a normal 
blank page to edit ...

I don't think I did anything wrong, remember I did it twice, but it could 
well be ...

Does anybody have an idea?

Thanks in advance,

Xavier
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Oddities with formats

2008-06-30 Thread Joe
Would this be the same as rolling in the tiny_mce and wiki_editor folders
from my previous install (1.1)?
Also, are there any dependencies coming from the style.css that would need
to be modified?

On Sat, Jun 28, 2008 at 2:23 AM, Sergiu Dumitriu [EMAIL PROTECTED] wrote:

 Joe wrote:
  On 1.4.1 I've been noticing some odd results from the wysiwyg.
  When editing, some folks have found that data is lost (it's actually
  there, but because the wysiwyg editor didn't render the text, on next
  edit+save combination the text is lost perminantly).
 
  Also, at random times:
  --bullet points are moving about (next line, previous line, etc when it's
  showing as on the right line in edit mode.
  --A textbox gets put around the text, making it harder to edit (only way
 I
  can explain it, it's like in Word when you put a textbox into the
 document).
  I'm still trying to lock down a repeatable case around those two.
 
  The really sick part, is that when you're in edit mode it always kinda
  looks right.  Not quite, depending on the text, but almost. I am still
  trying to reproduce some other issues I've been informed of, which have a
  lower priority at this point.
 
  Using Firebug reveals a bunch of inserted div's at each bullet point
 ONLY
  under certain conditions (for example, when you select text and bullet it
  without starting from fresh) - removing these div tags (again, with
  firebug) shows that they're causing the majority of bullet point issues.
 
  1: Is this perhaps why we are losing data as well?  Random tags getting
 put
  in that are hidden - and then when the wysiwyg editor tries to render it
 as
  wikitext, it doesn't see that text?
  2: Failing all else, how do I return to v1.1 wysiwyg editor?  As it
 stands,
  I have a blanket refusal by users to use the wiki system until this is
  resolved - rolling back to an older released version is not really an
  option, if we can roll back the wysiwyg editor and the problems it is
  causing, I could salvage the bulk of issues.

 This is the main reason why we're trying to write a new WYSIWYG editor from
 scratch and dump the
 current tinyMCE-based one: lack of stability. The editor is not meant to be
 heavy customized, as it
 becomes very fragile. While trying to fix some bug, we're introducing lots
 of other bugs we're not
 aware of. We can't know what has changed and why is something failing
 without many hours of debug,
 and even if we manage to spot the problem and try to fix it, we'll probably
 break something else.

 To revert the editor only, you can checkout the sources from

 http://svn.xwiki.org/svnroot/xwiki/xwiki-platform/web/tags/xwiki-web-1.1.2/standard/src/main/webapp/
 and replace the tiny_mce and wiki_editor directories from the running wiki
 with the ones from the
 SVN. Be sure to make a backup first, so that you can revert if something
 goes wrong.
 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 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


[xwiki-users] Chart macro problem

2008-06-30 Thread CarrollJ

Hi all,
Hopefully somebody has come across this before.

I am trying to create a line chart that can have repeated data in each
column e.g
{table}
id | number
22 | 23 |
22 | 23 |
25 | 24 |
{table}

My problem is the graph will only get rendered if one column has unique
data.  

Charting exception: Error number 0 in 5: X-value already exists. Wrapped
Exception: X-value already exists. com.xpn.xwiki.XWikiException: Error
number 0 in 5: X-value already exists. Wrapped Exception: X-value already
exists. at
com.xpn.xwiki.plugin.charts.ChartingMacro.exception(ChartingMacro.java:143)
at com.xpn.xwiki.plugin.charts.ChartingMacro.execute(ChartingMacro.java:80)
at com.xpn.xwiki.render.filter.MacroFilter.handleMatch(MacroFilter.java:90)
at
org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilter.java:91)
at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48) at
org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:89) at
org.radeox.filter.FilterPipe.filter(FilterPipe.java:169) at
com.xpn.xwiki.render.XWikiRadeoxRenderEngine.render(XWikiRadeoxRenderEngine.java:92)
at
com.xpn.xwiki.render.XWikiRadeoxRenderer.render(XWikiRadeoxRenderer.java:118)

If i make all the data unique in one column above then the chart renders ok.
Is there a parameter that i can use to allow repeated data or is the
charting macro designed to have one column with unique data?

Regards,
John Carroll
-- 
View this message in context: 
http://www.nabble.com/Chart-macro-problem-tp18191025p18191025.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] LDAP Authentication

2008-06-30 Thread Thomas Mortagne
On Mon, Jun 30, 2008 at 4:59 AM, Avinash Gupta
[EMAIL PROTECTED] wrote:
 Yes the name appears on top right corner, but doesn't appear in user list.

The name at the top right corner is retrieved from user profile in the
wiki so you definitely have the user somewhere in the space XWiki.


 Thomas Mortagne [EMAIL PROTECTED] 27/06/2008 6:18 pm 
 On Fri, Jun 27, 2008 at 2:35 AM, Avinash Gupta
 [EMAIL PROTECTED] wrote:
 Thanks for the reply Thomas,



 If you use the correct LDAP authenticator
 (xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl)
 and even if you use the old one AFAIK there is no way to configure
 LDAP in order to not create the user in XWiki, otherwise XWiki would
 not be able to manager rights, groups etc.


 This means no matter what if my LDAP Authentication is working then XWiki 
 should be storing users in its database.
 My log file is clean. This is the only thing that I have in my log file


 2008-06-27 10:26:31,761 [http://localhost:8080/xwiki/bin/view/Main/WebHome] 
 [btpool0-7] INFO  .AbstractXWikiMigrationManager  - No storage migration 
 required since current version is [7351]

 My users are authenticating without a problem. I mean I can confirm that its 
 authenticating against LDAP but I can't find any users.
 xwiki-enterprise-web-1.4.1.war is the file that I downloaded. So I reckon 
 the version is 1.4.1.

 When the users log in they only see a page which says
 You are not allowed to view this document or perform this action.

 After login, do you see the user's name in the upper right corner of the page 
 ?


 When I log in as superadmin then I can create Wiki pages. Am I missing 
 something here?
 BTW where does XWiki stores user information, I searched all my database but 
 wasn't able to find any table which may store user information.

 XWiki user are wiki pages in the XWiki space. If you login with
 toto, you can view the user profile at /xwiki/bin/view/XWiki/toto.


 Thanks,
 Avinash

 Thomas Mortagne [EMAIL PROTECTED] 26/06/2008 6:58 pm 
 Hi,

 On Thu, Jun 26, 2008 at 6:28 AM, Avinash Gupta
 [EMAIL PROTECTED] wrote:
 Hello All,

 I have installed XWiki in our environment using jetty and MS SQL Server.
 I have successfully configured authentication using LDAP but I don't see 
 any users when I click on Users and Groups under Administration.

 I guess this is because XWiki just uses LDAP to authenticate but doesn't 
 stores the users anywhere.
 I checked on mailing lists and found that few discussions where people have 
 suggested to add following line in xwiki.cfg


 xwiki.authentication.createuser=ldap

 and XWiki will start storing users in his database.

 Did you looked at
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication ?
 All possible options are listed here (and I confirm that
 xwiki.authentication.createuser=ldap does not mean anything or at
 least now).

 If you use the correct LDAP authenticator
 (xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl)
 and even if you use the old one AFAIK there is no way to configure
 LDAP in order to not create the user in XWiki, otherwise XWiki would
 not be able to manager rights, groups etc. What XE/Platform version do
 you use ? Do you have any error/warning in the log ?

 But the above didn't work for me. I also found a snippet which might import 
 the users but don't know how to run it.
 I am a .Net guy and I have very limited knowledge of java.

 I would like to create groups of LDAP user and give different permissions 
 to different groups. How can I achieve this?

 Thanks,
 Avinash
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




 --
 Thomas Mortagne
 ___
 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




 --
 Thomas Mortagne
 ___
 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




-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Using the user list property in a query?

2008-06-30 Thread Joe
Is it possible to use the User List property in a query?
For some reason I can't seem to get it to return in a query (other property
types I use eg numerics/strings/dblist I can return with their respective
type).  Is it perhaps stored as a different type to StringProperty?  If so,
what is it's type (and is there any gotcha's to using it in a query)?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] problem in method :setMinorEdit(Z)V

2008-06-30 Thread Shruti Modi

I have installed xwiki 1.1.2 and using mysql database.
when I am trying to start the application I am getting the following error.

18:36:06.453 WARN!! [P1-19]
org.mortbay.jetty.servlet.ServletHandler.handle(Se
letHandler.java:618) 11 Error for /xwiki/bin/view/Main/WebHome
java.lang.NoSuchMethodError:
com.xpn.xwiki.doc.XWikiDocument.setMinorEdit(Z)V
at
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.prepareJobStubContex
SchedulerPlugin.java:195)
at
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.scheduleJob(Schedule
lugin.java:331)
at
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.restoreExistingJobs(
hedulerPlugin.java:280)
at
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.init(SchedulerPlugin
ava:128)
at
com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManag
.java:130)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManage
java:69)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManag
.java:95)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:754)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:708)
at com.xpn.xwiki.XWiki.init(XWiki.java:611)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:238)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:397)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94)
at
org.apache.struts.action.RequestProcessor.processActionPerform(Requ
tProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.
va:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1
6)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414
at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:4
)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilte
WebApplicationHandler.java:830)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterE
odingFilter.java:117)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilte
WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplica
onHandler.java:471)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java
68)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicati
Context.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.jav
244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)


Please help me to solve the problem.

Mailto: [EMAIL PROTECTED]

=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] problem in method :setMinorEdit(Z)V

2008-06-30 Thread Sergiu Dumitriu
Shruti Modi wrote:
 I have installed xwiki 1.1.2 and using mysql database.
 when I am trying to start the application I am getting the following error.
 
 18:36:06.453 WARN!! [P1-19]
 org.mortbay.jetty.servlet.ServletHandler.handle(Se
 letHandler.java:618) 11 Error for /xwiki/bin/view/Main/WebHome
 java.lang.NoSuchMethodError:
 com.xpn.xwiki.doc.XWikiDocument.setMinorEdit(Z)V
 at
 com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.prepareJobStubContex
 SchedulerPlugin.java:195)
 at

You are not using an official 1.1.2, since it does not include the scheduler 
plugin, which seems to 
be used in your wiki. That plugin is not compatible with that version of the 
platform, so you must 
either upgrade to a newer version, or remove that plugin.
-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users