Hi everybody,
I've installed the Todo application (
http://code.xwiki.org/xwiki/bin/view/Applications/TodoApplicationDownloads).
I can add new todos, affect them to users and so on. But when I check the
MyTodos Panel (http://localhost:8080/xwiki/bin/view/Panels/MyTodos) it's
always empty. The problem is the HQL statement. It's like that :
#set ($hql = ", BaseObject as obj, StringProperty as prop1, StringProperty
as prop2 where obj.name=doc.fullName and obj.className='XWiki.TodoClass' and
obj.name<>'XWiki.TodoClassTemplate' and obj.id=prop1.id.id and
prop1.id.name='Status'
and prop1.value <> 'Finished' and obj.id=prop2.id.id and
prop2.id.name='Assignee'
and prop2.value='$context.user' order by doc.date desc")
And if I get rid of the last assignee close (and obj.id=prop2.id.id and
prop2.id.name='Assignee' and prop2.value='$context.user' ), it works but
shows all the todos of everybody.
Do you know how to fix this HQL query so it shows the todos of the current
user ?
Thanks,
Antonio
Hi Florian,
On Oct 13, 2008, at 10:31 PM, Florian Rhomberg wrote:
> Hi!
>
> I have two questions:
>
> - As already mentioned in the subject, I want to forbid
> users to
> create spaces, only some user groups should be allowed to create
> spaces.
This is hard since we don't have an explicit notion of space. A space
is created when a document is created with that space name. However
you could perform some validation when the user saves the document if
you want. See the notification tutorial on http://platform.xwiki.org/xwiki/bin/view/DevGuide/Tutorials
> - How can I make some spaces like xwiki, Main, and especially
> Panels, Stats invisible for any user except the admin user. I do not
> want
> them into index or even when in the search.
They're already supposed to be invisible (for xwiki, panels, stats).
If you want to add other spaces, check the index page content and the
search page content. You'll see the code that excludes some pages/
spaces.
Thanks
-Vincent
I have been struggling today with setting up a left navigation.
Everytime I save the panel/space with the updated layout - the
navigation is lost. What am I doing wrong?
Hi,
Can someone tell me what's the difference between this 2 lines:
[$swtoolObj.ToolName>$doc.fullName]
<a href="$doc.getURL("view")">$swtoolObj.ToolName</a>
Here $swtoolObj.ToolName is "Windows XP", and $doc.fullName is "Main.Windows
XP". The first code line will fail to link to the "Main.Windows XP"
document, while the second works fine.
Thanks!
Ming
I found in the xwiki.wikiskins object (http://localhost:8080/xwiki/bin/edit/XWiki/XWikiSkins?editor=class) ... the list of vm templates
header.vmwiewheader.vmview.vmfooter.vmpagemenu.vmcomments2.vmedit.vmlogo.png
I suppose all theses vm used ...
But In the folder "C:\Program Files\XWiki Enterprise\webapps\xwiki\templates"
I see a file "startpage.vm" and when I edit it found
xwikivars.vmlayoutvars.vmhtmlheader.vm => (stylesheet.vm ... analytics.vm etc ...)header.vmmenuview.vm
Which are used ? where can we found a description oof everyones of them ?
Best Regards,
Azzedine.
Hi,
I would like to know if you use the
wiki editor or the wysiwyg editor ?
I have tried both but i've seen that it doesnot
generate the same things.
ex: {code} and {style:type=div|class=code}
and when you use both, it breaks layout and some
characters.
I think i'm going to disable the wysiwig editor
but i'm interesting with your opinion ?
Thanks.
Hi!
Just installed XWiki 1.6. Thought LDAP authentication would now work
for AD using sAMAccountName (with dot), but no success. I've
configured UID_ATTR=sAMAccountName, all the other configuration is
same as for version 1.3 (LDAP worked fine using cn).
P.S. Of course, I didn't just copy my old xwiki.cfg to the 1.6
version, so the new authentificator IS used now.
P.P.S. For the same configuration (for sAMAccountName) I can still
login using cn, but then the "Comments" section displays the main
login screen with the login form!
Ar cieņu, Mihails
Dear fellow xwiki users,
I'd like to display some portions of the landing page as well as some items in the menu conditionally, i.e. only for some specific groups.
I've found following code snippet on the 'Quick Links' menu:
#if ($xwiki.hasAdminRights())
Content to display conditionally
#end
Is there a way to adapt this so as to restrict display not to AdminRights, but e.g. to 'EditRights' or group rights?
I'd like to do something like this (pseudo-code)
#if ($xwiki.isMemberOfAdmin() or $xwiki.isMemberOfInternalUsers())
Content to display conditionally
#end
Thanks for your answer.
Regards,
ALBAN SCHMID
CLIENT SOLUTIONS SPECIALIST
DIRECTOR, CHANNEL SOLUTION SERVICES
CBS Interactive - Channel
Tel: +41 21 943 03 86
Skype: albanschmid
Rte Industrielle 2 | CP 138 | 1806 St-Légier, Switzerland
CNETChannel.com
We envision using xwiki to manage 2 different parts:
1. A public one accessible to our customers only
2. A private one for internal use only
My question is the following: what is the best strategy to achieve a clean content separation:
Space partitioning (i.e. one wiki, but 2 or more spaces)
or
wiki partitioning (i.e. separate wikis)
Space partitioning seems easier to set up, because only 1 wiki is needed. However, my concern is the risk of having a sloppy employee inadvertently publishing an internal page on the wrong space, i.e. on a public space. With the wiki partitioning scenario, I don't even know if this is possible to set up xwiki so as to have several wikis while running on the same code base. On top of that, I would like to have internal users being able to search through a common index (public + private), while customers could only search the public one. I don't know if that's possible at all with wiki partitioning.
Has anyone of you guys experience with such a setup?
What are the pros and cons of each?
What would the experts / architects recommend here?
Thanks for the insights.
ALBAN SCHMID
CLIENT SOLUTIONS SPECIALIST
DIRECTOR, CHANNEL SOLUTION SERVICES
CBS Interactive - Channel
Tel: +41 21 943 03 86
Skype: albanschmid
Rte Industrielle 2 | CP 138 | 1806 St-Légier, Switzerland
CNETChannel.com
In the dos console I see ....
10:22:55.848 INFO [main] org.mortbay.log.LogImpl.add(LogImpl.java:109) >16> ad
ded org.mortbay.log.OutputStreamLogSink@15e83f9
10:22:55.691 INFO [main] org.mortbay.util.FileResource.<clinit>(FileResource.j
ava:60) >11> Checking Resource aliases
10:22:56.395 INFO [main] org.mortbay.http.HttpServer.doStart(HttpServer.java:7
29) >10> Version Jetty/5.1.5
10:22:56.411 INFO [main] org.mortbay.util.Container.start(Container.java:74) >
14> Started org.mortbay.jetty.servlet.ServletHandler@1901437
10:22:56.411 INFO [main] org.mortbay.util.Container.start(Container.java:74) >
11> Started ServletHttpContext[/,/]
10:22:56.411 INFO [main] org.mortbay.http.SocketListener.start(SocketListener.
java:204) >11> Started SocketListener on 127.0.0.1:8081
10:22:56.411 INFO [main] org.mortbay.util.Container.start(Container.java:74) >
09> Started org.mortbay.jetty.Server@10655dd
10:22:56.473 INFO [main] org.mortbay.http.HttpServer.setStatsOn(HttpServer.jav
a:1133) >18> Statistics on = false for org.mortbay.jetty.Server@79a2e7
10:22:56.473 INFO [main] org.mortbay.http.HttpServer.doStart(HttpServer.java:7
29) >10> Version Jetty/5.1.5
10:22:57.318 INFO [main] org.mortbay.util.Container.start(Container.java:74) >
15> Started org.mortbay.jetty.servlet.WebApplicationHandler@e61a35
10:22:57.318 INFO [main] org.mortbay.jetty.servlet.ServletHandler$Context.log(
ServletHandler.java:1134) >17> Loading plexus context properties from: '/WEB-INF
/plexus.properties'
10:22:57.318 INFO [main] org.mortbay.jetty.servlet.ServletHandler$Context.log(
ServletHandler.java:1134) >16> Initializing Plexus.
10:22:57.333 INFO [main] org.mortbay.jetty.servlet.ServletHandler$Context.log(
ServletHandler.java:1134) >17> resource = file:/C:/Program%20Files/XWiki%20Enter
prise/webapps/xwiki/WEB-INF/plexus.xml
10:22:57.568 INFO [main] org.mortbay.jetty.servlet.ServletHandler$Context.log(
ServletHandler.java:1134) >16> Plexus initialized.
10:22:58.490 INFO [main] org.mortbay.util.Container.start(Container.java:74) >
11> Started WebApplicationContext[/xwiki,xwiki]
10:22:58.506 INFO [main] org.mortbay.jetty.servlet.WebApplicationContext.resol
veWebApp(WebApplicationContext.java:248) >13> Extract jar:file:/C:/Program%20Fil
es/XWiki%20Enterprise/webapps/xwiki.zip!/ to C:\Program Files\XWiki Enterprise\j
etty\work\Jetty__8080__xwiki_zip\webapp
10:23:17.597 INFO [main] org.mortbay.util.Container.start(Container.java:74) >
15> Started org.mortbay.jetty.servlet.WebApplicationHandler@176086d
10:23:17.597 INFO [main] org.mortbay.util.Container.start(Container.java:74) >
11> Started WebApplicationContext[/xwiki.zip,/xwiki.zip]
10:23:17.613 INFO [main] org.mortbay.http.SocketListener.start(SocketListener.
java:204) >11> Started SocketListener on 0.0.0.0:8080
10:23:17.613 INFO [main] org.mortbay.util.Container.start(Container.java:74) >
09> Started org.mortbay.jetty.Server@79a2e7
I Thinck at this time it's OK but after :
2008-10-15 10:23:35,246 [http://localhost:8080/xwiki/bin/view/Main/] [P1-19] INF
O .AbstractXWikiMigrationManager - No storage migration required since current
version is [7351]
[WARNING] Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseInt] in Main.
WebHome@14,25
[WARNING] Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseInt] in Main.
WebHome@14,25
[WARNING] Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseInt] in Main.
WebHome@14,25
[WARNING] Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseInt] in Main.
WebHome@14,25
ANyone have an idea ?