Hi all,
It'm trying to use "tags" as a more structured categorization feature.
First I saw that in tagedit.vm, we can change to a select list instead of an input field for entering tags. I changed this in the displayEdit property for XWiki.TagClass, but without effect.
In tagedit.vm we have (XWiki 1.5) :
#set($displayType = $xwiki.getDocument("XWiki.TagClass").xWikiClass.tags.getProperty('displayType').value)
#set($possibleTags = $tdoc.tagsPossibleValues)
....
First line is ok and says "select", but $tdoc.tagsPossibleValues is always empty ...
So my question is : where is defined the list of possible tags for page(s) ? I though it was the "tags" field of page XWiki.TagClass, but it seems it's not ...
Thanks for help,
Jeremie
--
View this message in context: http://n2.nabble.com/Use-Tags-as-select-list-instead-of-input-tp2575113p257…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Alain,
Thanks for the input. I did see your post and did check this b4 posting. I'm running MySQL 5.051a-3ubuntu5.4 server so the only current 5.0x version of JDBC driver I can find at MySQL is mysql-connector-java-5.08 which I used to replace the jdbc jar which came with XEM in the WEB-INF/bin folder so unless I've got versions wrong it doesnt appear to be this.
Sergiu,
Thanks very much, the xwiki plugin edit - it solved my issue perfectly.
Cheers
> However I cannot add users or groups in the admin panel - I can only login as the default Admin user.
> On the page http://localhost:8380/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globala…
> Then if I go to the "index" quicklink I get the same "loading" message but nothing ever loads.
> If I go to the tree page it shows me
> $xwiki.ssfx.use("js/yui/treeview/assets/tree.css") $xwiki.jsfx.use("js/yui/yahoo/yahoo-min.js") $xwiki.jsfx.use("js/yui/treeview> > and no tree. > How can I fix this? I'm guessing they're related in some way.
This is a known bug of XEM 1.8, fixed in the trunk.
To fix it, simply edit xwiki.cfg and add the following two plugins:
com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin,\
--
Sergiu Dumitriu
Hi all,
Something really wired is hapening. We have a page that used to list all our
speakers (http://www.parisjug.org/xwiki/bin/view/Speaker/). It contains the
following code :
#set($query="where doc.web='Speaker' and doc.name!='WebHome' order by
doc.title desc")
#set($results = $xwiki.searchDocuments($query))
#foreach ($item in $results)
#includeInContext($item)
<br/>
#end
It always worked well. But now, when we click on the link, we are
automatically redirected to the XWikiPreferences pages. I've tried to show
the history of the Speaker/WebHome page, but it's impossible, it redirects
to the XWikiPreferences page.
I'm not sure there is anything wrong with the code of the page, maybe rights
issue or something like that. Do you have any idea ?
Thanks,
Antonio
Hi,
when I try to edit one of my users I get a small mask with the 2 buttons
"Save" and "Cancel". Above there is only the text
"#includeForm("XWiki.XWikiUserSheet")".
When I try to edit the "Admin" user I get a full mask. This takes some
time > 30 sec. In the mask the message
"rss: Error processing
http://www.xwiki.org/xwiki/bin/view/Main/BlogRss?xpage=rdf: Connection
reset"
is displayed. Also I get an exception on the console:
2009-04-06 13:21:26,656
[http://localhost:8080/xwiki/bin/inline/XWiki/Admin?xpage=edituser]
[18961126@qtp0-1] WARN filter.MacroFilter - MacroFilter:
unable to format macro: rss
java.io.IOException: Error processing
http://www.xwiki.org/xwiki/bin/view/Main/BlogRss?xpage=rdf: Connection
reset
at
com.xpn.xwiki.render.macro.rss.RSSMacro.execute(RSSMacro.java:101)
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(XWikiRadeoxRenderEng
ine.java:96)
Jens
Hi Sergiu,
> > The setup I have is;
> > 1. Main wiki Domain names: 'localhost', 'main.mydomain.local',
'main'
> > 2. Template Domain names: 'templatexe.template.local'
> > 3. Project management wiki: 'projects.mydomain.local'
> Can you try to add an alias with only "main" for the main wiki? The
> domain name is expected to match exactly the requested URL,
> but you're
> asking for "main", while the configuration indicates
> "main.mydomain.local".
Done, and it works. So;
main/xwiki - works
main.mydomain.local/xwiki - works
projects/xwiki - works
projects.mydomain.local/xwiki - works
I guess the only question I have is why there is only one alias for
projects (projects.mydomain.local) and both the FQDN and the short
version work. For the main however only an exact match of alias' work.
Is this a bug? Only an annoyance really though, it just threw me off
that it worked for a sub-wiki but not for the main one. Thanks for all
your help!
> The calendar and photo album applications were retired, you should
> remove those links.
Ok, that's easy
Dean Sellers applications engineer
rinstrum smart weighing
Ph: +61 7 3216 7166 Fax: +61 7 3216 6211
dean.sellers(a)rinstrum.com
41 Success St, Acacia Ridge, QLD, 4110
www.rinstrum.com
Thanks a lot Tomas, this has cleared things up a lot. First let me congratulate you and the team/community for an excellent product, I am looking forward to using it in our company and once I understand things I hope I can provide some useful contributions.
I have got my mini-farm working now, except I still can only select the main admin wiki using the IP address. It is running inside a private network, I have added entries in the DNS to point to the server IP address and these resolve correctly when I ping them, or nslookup.
Entries are
(A) main.mydomain.local -> 192.168.x.x
(CNAME) projects.mydomain.local -> main.mydomain.local
The setup I have is;
1. Main wiki Domain names: 'localhost', 'main.mydomain.local'
2. Template Domain names: 'templatexe.template.local'
3. Project management wiki: 'projects.mydomain.local'
When I hit http://projects/xwiki I get the projects wiki, excellent!
When I hit http:/main/xwiki I get the redirect
The only way to get to main is http://192.168.x.x/xwiki at the moment this is OK I guess but I would like to understand why this happens as it might point to something else wrong. Also since the installation the main wiki has links for 'Calendar' and 'Photo Albums' but these have a '?' and the pages don't exist. Is this normal, or does it point to something else wrong?
Any ideas?
Dean Sellers applications engineer
rinstrum smart weighing
Ph: +61 7 3216 7166 Fax: +61 7 3216 6211
dean.sellers(a)rinstrum.com
41 Success St, Acacia Ridge, QLD, 4110
www.rinstrum.com
> -----Original Message-----
> From: users-bounces(a)xwiki.org
> [mailto:users-bounces@xwiki.org] On Behalf Of Thomas Mortagne
> Sent: Tuesday, 7 April 2009 8:00 PM
> To: XWiki Users
> Subject: Re: [xwiki-users] Can't get XEM application xar
> imported in XEM 1.6
>
>
> I just added more documentation on
> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/
>
> To summarize your use case:
> - look at
> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki
> to learn how XWiki goes form URL to the right wiki
> - look at
> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/EditWikiDescriptor
> for general documentation on wiki descriptors
> - look at
> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/EditWikiAliases
> documentation to learn how to add/remove/edit aliases
>
> On Sat, Apr 4, 2009 at 06:02, Dean Sellers
> <dean.sellers(a)rinstrum.com> wrote:
> > Well, I am completely confused. I have exactly the same problem;
> > UBUNTU/JBOSS/XEM1.6
> >
> > I had a default setup of XE working, deleted it and then
> did exactly the
> > same things except using XEM 1.6 and allowing all privs on the MYSQL
> > database. If I swap to the deployment of XE, works fine. It
> doesn't seem
> > to matter how I hit the server with XEM running, IP address, fully
> > qualified name, name with www., name with xwiki. I still get no wiki
> > exists.
> >
> > Something happens, as the empty database gets populated
> with tables, but
> > that seems to be it. The xwiki.log seems to have a lot of entries
> > relating to lucene errors, but none of that makes sense either.
> >
> > These seem to start with sonething like:
> > java.io.FileNotFoundException:
> >
> /home/jboss/jboss-4.2.2.GA/server/xwikisvr/work/jboss.web/loca
> lhost/xwik
> > i/lucene/segments_2 (No such file or directory)
> >
> > This file doesn't exist, but the rights to create it if
> needed do. There
> > is a segments_1 created in this location
> >
> > I have a question?
> > 'add the right hosts to the main wiki's descriptor', what? And how?
> >
> > Would it be possible to explain a little better, I just
> don't get what
> > you mean, and I have seached xwiki.org and in the group but
> cannot seem
> > to find anything that makes sense. I just want to load the
> default .xar
> > and get started creating a couple of wikis.
> >
> > Dean Sellers applications engineer
> > rinstrum smart weighing
> > Ph: +61 7 3216 7166 Â Fax: +61 7 3216 6211
> > dean.sellers(a)rinstrum.com
> > 41 Success St, Acacia Ridge, QLD, 4110
> >
> > www.rinstrum.com
> >
> >> -----Original Message-----
> >> From: users-bounces(a)xwiki.org
> >> [mailto:users-bounces@xwiki.org] On Behalf Of
> >> DRoss-Smith(a)reviewjournal.com
> >> Sent: Tuesday, 31 March 2009 12:09 AM
> >> To: XWiki Users
> >> Subject: Re: [xwiki-users] Can't get XEM application xar
> >> imported in XEM 1.6
> >>
> >>
> >> Canel that... Should've been to intranet01 instead of localhost
> >>
> >>
> >> ----- Original Message -----
> >> From: Thomas Mortagne [thomas.mortagne(a)xwiki.com]
> >> Sent: 03/30/2009 04:04 PM ZE2
> >> To: XWiki Users <users(a)xwiki.org>
> >> Subject: Re: [xwiki-users] Can't get XEM application xar
> >> imported in XEM 1.6
> >>
> >>
> >>
> >> Hi ,
> >>
> >> On Mon, Mar 30, 2009 at 15:12, Martijn Ras
> >> <martijn.ras(a)gmail.com> wrote:
> >> > Hello,
> >> >
> >> > I'm trying to set up XEM on a new machine.
> >> >
> >> > I put the XEM WAR file under the webapps folder of my tomcat
> >> > installation. Created the MySQL database, just like i used
> >> to do with
> >> > the XE installations I performed so far, and set the rights as
> >> > specified in the installation section of the AdminGuide. After
> >> > starting tomcat the database was created and everything
> else looked
> >> > fine.
> >> >
> >> > However, whatever i do everything is redirected to the page
> >> > http://example.com:9080/xwiki/bin/Main/ThisWikiDoesNotExist
> >>
> >> By default XEM access a wiki based on it's host (see
> >> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki
> >> for more details). If it's not listed in one of the wikis
> >> descriptors, it can't find it. That said when no descriptor
> >> can be found the following rules are applied:
> >>
> >> Â Â * if the host is an IP (127.0.0.1, 85.65.12.36, etc.)
> >> XWiki select the main wiki
> >> Â Â * else, if the first part of the host name (what is
> >> before the first point) is "www" XWiki select the main wiki
> >> Â Â * else, if the first part of the host name match a wiki
> >> identifier XWiki select this wiki
> >>
> >> at the end if it still can't find anything he send you to the
> >> configured URL indicating that the wiki you are trying to
> >> reach does not exists (by default it's
> >> http://example.com:9080/xwiki/bin/Main/ThisWikiDoesNotExist
> >> in xwiki.cfg file).
> >>
> >> So, two solutions for you here:
> >> - clean way: access the main wiki with the ip if you can or
> >> with a host starting with "www." (like www.xwiki.org) or
> >> "xwiki." and add the right hosts to the main wiki's descriptor
> >> - set xwiki.virtual=0 in xwiki.cfg and restore it to 1 when
> >> you correctly configured the main wiki descriptor
> >>
> >> (Just added it to
> >>
> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL)
> >>
> >> >
> >> > I'm probably overlooking something really simple, anyways,
> >> can one of
> >> > you please enlighten me on how to get the XEM XAR loaded?
> >> >
> >> > Mazzel,
> >> >
> >> > Martijn.
> >> > _______________________________________________
> >> > users mailing list
> >> > users(a)xwiki.org
> >> > http://lists.xwiki.org/mailman/listinfo/users
> >> >
> >>
> >>
> >>
> >> --
> >> Thomas Mortagne
> >> _______________________________________________
> >> users mailing list
> >> users(a)xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >> _______________________________________________
> >> users mailing list
> >> users(a)xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >> --
> >> This message was scanned by ESVA and is believed to be clean.
> >> Click here to report this message as spam.
> >> http://mailscanner.cooperreeves.com.au/cgi-bin/learn-msg.cgi?i
> > d=2514E27DF3.A5F28
> >
> >
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
> --
> This message was scanned by ESVA and is believed to be clean.
> Click here to report this message as spam.
> http://mailscanner.rinstrum.com.au/cgi-bin/learn-msg.cgi?id=93
B612838D.9DB2C
Hi,
Have setup XEM 1.8 on Ubuntu 8.04 LTS, using MySQL, Jetty container and Sun Java 5.5
All seems to be relatively well as far as I can tell, can create pages, new wikis, import applications, do a calendar, blog, etc
However I cannot add users or groups in the admin panel - I can only login as the default Admin user.
On the page http://localhost:8380/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globala…
when I enter a new group name - e..g Administrators and click on the create new group button I get a "loading" message what appears to be some sort of script
$xwiki.jsfx.use("js/scriptaculous/scriptaculous.js")
and then nothing - can wait for hours but no usergroup is ever created.
I have the same issue with creating a new user.
Then if I go to the "index" quicklink I get the same "loading" message but nothing ever loads.
If I go to the tree page it shows me
$xwiki.ssfx.use("js/yui/treeview/assets/tree.css") $xwiki.jsfx.use("js/yui/yahoo/yahoo-min.js") $xwiki.jsfx.use("js/yui/treeview/treeview-min.js") $xwiki.jsfx.use("js/yui/treeview/checknode.js") $xwiki.jsfx.use("js/yui/event/event-min.js") $xwiki.jsfx.use("js/yui/connection/connection-min.js")
and no tree.
How can I fix this? I'm guessing they're related in some way.
Thanks
Hi,
One aspect thats driving me a little scatty - and I have to date installed XE, XEM and Chronopolys and XW - so far only Chrono seems pretty intuitive for me to drive out the box - is having a way for a user to see the pages they have created in some sort of hierarchy but built into the menu of the page or the quick links section or some such for easy page navigation and knowing where they are in the wiki.
e.g. I can see the page "breadcrumbs" allow one to move backwards to a higher level page, but how does one move forward or see that there is a fwd page short of placing a hyperlink to the next page on the current page or expecting users to click on "information" tab of the current page to find its "children"
I mean in Dekiwiki this is built into it so was positively elementary so I'm frustrated that I don't seem to be able to do this in Xwiki. What am I missing? I was hoping the "Document index" tree could be used for this by say finding a way to display it as part of the "Quicklinks" or similar dashlet on the dashboard, but the script to do this doesnt appear to work for user pages I'm finding and it appears this issue is regarded as a minor script issue by the developers, and even if it were to work I'm guessing that being a separate page to browse to its not really what I was hoping to see.
I can create something like this (I'll use the Xwiki terms (in parentheses) as I understand them for what I'd like to do) and write the page names in UPPERCASE and use some hypothetical names. Using XEM where I have created Wiki: MAIN_HOME (as the first wiki of the farm) I would like to use and navigate something like this ito user page hierarchy:
(Wiki)
MAIN_HOME (Wiki) --
|--Departments(Space)
|-- Planning (Page)
| --Planning projects (Page)
| -- Efficiency project (Page)
| -- Warehouse project (Page)
| -- ISO 9000 (Page)
| -- Production (Page)
| -- Downtime (Page)
| -- Utilisation (Page)
| -- ISO 14000 (Page)
| -- Finance (Page)
| Budgets (Page)
| Guidelines (Page)
| Safety (Space)
| Weekly topic (Page)
| Safety projects (Page)
| Training (Space)
| Agenda (Page)
etc
Can this type of thing be done in Xwiki or do I misunderstand something fundamental in how to use it?
I realise the XE product is intended to be basic out the box and must be customised and isnt a universal plug and go solution but I'm wrestling with what I thought should be simple to achieve so I'm wondering.
I really like the way Xwiki converts pages to PDF stripping out all the Wiki clutter and the Edit, Show print bar that hide a lot of clutter that other Wikis put and print on the wiki page, but the Xwiki created user page navigation is less than intuitive and if I'm struggling then the most users our side will be completely lost so I need to resolve this aspect first if its possible.
Is there a way - a plugin maybe?
Thanks
Cheers
About my mail addressing Users and Groups :
Pb resolved : the componant Connector MySQL I used in middelware, was
not at the right version : a rather stupid mistake.
Alain
#
" This e-mail and any attached documents may contain confidential or proprietary information. If you are not the intended recipient, please advise the sender immediately and delete this e-mail and all attached documents from your computer system. Any unauthorised disclosure, distribution or copying hereof is prohibited."
" Ce courriel et les documents qui y sont attaches peuvent contenir des informations confidentielles. Si vous n'etes pas le destinataire escompte, merci d'en informer l'expediteur immediatement et de detruire ce courriel ainsi que tous les documents attaches de votre systeme informatique. Toute divulgation, distribution ou copie du present courriel et des documents attaches sans autorisation prealable de son emetteur est interdite."
#