Re: [xwiki-users] Class with DB List multiselect
Hi, On Fri, Apr 3, 2015 at 9:25 PM, Gerritjan Koekkoek < gerritjankoekk...@gmail.com> wrote: >> I would like to create a form for a international audience (multi language) >> So I created a AppWithinMinutes app. >> I would like that my users can Multiselect from a list that is a selection >> of objects based on a class. >> >> So i created a class (with AppWithinMinutes: >> Class properties >> Short Text (shortText1: String) >> Long Text (longText1: TextArea) >> Long Text (longText2: TextArea) >> Database List (databaseList1: Database List) >> >> The databaseList1 has the following properties: >> DisplayType: checkbox >> Multiple Select: true >> XWiki Class Name: XWiki.UIExtensionClass >> Id Field Name: name () >> Value Field Name: name >> >> >> The first issue I get that I get all objects of the class. I hoped to add a >> selection by adding this query: >> from doc.object(XWiki.UIExtensionClass) as obj where >> lower(obj.extensionPointId) like '%cdlsworld.standardized.questionaires%' >> and ('wiki' = obj.scope) order by obj.name >> But how can I add this? >> >> ==Eduard replied >Why not use the HQL Query option for the DBList property? It's right next >to the Class Name option. > >Have a look at >http://dev.xwiki.org/xwiki/bin/view/Drafts/DatabaseListProperties and >http://www.xwiki.org/xwiki/bin/view/FAQ/HowToCreateAOneToManyRelationshipInXWiki >for more details. === That works, I used the xwql -> hql converter script-snippet to convert the xwql select doc.fullName as id ,doc.title as value from XWikiDocument as doc , BaseObject as obj , com.xpn.xwiki.objects.StringProperty as obj_extensionPointId1 , com.xpn.xwiki.objects.StringProperty as obj_scope2 , com.xpn.xwiki.objects.StringProperty as obj_name3 where ( lower ( obj_extensionPointId1.value ) like '%cdlsworld.standardized.questionaires%' and ( 'wiki' = obj_scope2.value ) ) and doc.fullName=obj.name and obj.className='XWiki.UIExtensionClass' and obj_extensionPointId1.id.id=obj.id and obj_extensionPointId1.id.name='extensionPointId' and obj_scope2.id.id=obj.id and obj_scope2.id.name='scope' and obj_name3.id.id=obj.id and obj_name3.id.name='name' order by obj_name3.value >> The second issue that I hoped to be able to use for the option to add the >> translated value >> $services.localization.get('$value') >> Eduard replied: == > What is $value? The document name returned by the above query? The value is now replaced by doc.title. The documents returned have a title in the following format: $services.localization.render('cdlsworld.standardized.questionaires.cdlsqweApplication') The issue is that in the form I do get the as doc.title the velocity script: $services.localization.render('cdlsworld.standardized.questionaires.cdlsqweApplication') in the doc itself this title is evaluated as: "Social and Physical abilities" and I had hoped this would be the displayed item in the select list >Thanks, >Eduard >> ___ >> 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xwiki Flamingo Icons Bug?
Do you have this file /webapp/resources/uicomponents/wiki/wiki.css ? Maybe http://jira.xwiki.org/browse/XWIKI-10577 is the issue. We delete the file and moved the selectors to Colibri. Thanks, Caty On Sat, Apr 4, 2015 at 6:36 PM, Georg Hirn wrote: > Hi all! > > @Eduard: > I have commented out the lucene plugin, that works, the exception has gone > away, thank you. > But my original issue still exists. > Sorry I did not know that attachments not work, here are the links to the > screenshots: > >- > > https://drive.google.com/file/d/0B_VsU8fJmgGTUDk4OEdtcFpBa3c/view?usp=sharing >- > > https://drive.google.com/file/d/0B_VsU8fJmgGTN3kxTHRJV2FJckU/view?usp=sharing >- > > https://drive.google.com/file/d/0B_VsU8fJmgGTY1V4VWh5bTlMUnM/view?usp=sharing > > @Thomas: > I compared these two files and found the following differences: > > xwiki.cfg: > xwiki.cfg.dpkg-dist: > xwiki.title.compatibility=1 > xwiki.title.compatibility=0 > LucenePlugin listed no LucenePlugin > listed > WatchListPlugin listed no WatchListPlugin > listed > > I changed that to xwiki.title.compatibility=0 and commented LucenePlugin > and WatchListPlugin out, restarted tomcat, but the original issue is still > there. > > Thanks, > Georg > > > 2015-04-04 13:41 GMT+02:00 Thomas Mortagne : > > > On Sat, Apr 4, 2015 at 12:23 PM, Eduard Moraru > > wrote: > > > Hi, > > > > > > The relevant exception in that log is > "java.lang.ClassNotFoundException: > > > com.xpn.xwiki.plugin.lucene.LucenePlugin". The Lucene Plugin has been > > > retired [1] and replaced by the Solr Search application [2]. > > > > > > You are currently getting that exception because you did not properly > > > upgrade your xwiki.cfg/xwiki.properties configuration files. They need > to > > > be upgraded appropriately to the release notes of the versions you are > > > upgrading through. > > > > > > In this particular case, you did not remove from the xwiki.cfg file, > > inside > > > the "xwiki.plugins" section, the reference to LucenePlugin. Once you > > remove > > > it, XWiki should no longer try to load it and you should not get that > > > exception message any more. > > > > In this particular case it probably means you kept the current version > > when apt-get asked you if you wanted to move to the new one. You > > should compare /etc/xwiki/xwiki.cfg and /etc/xwiki/xwiki.cfg.dpkg-dist > > (this is the new standard version) files. > > > > > > > > Regarding your original issue, try sharing a screenshot with us. Note > > that > > > attachments don`t work on this list, so please use an image upload > online > > > service and share us the link. > > > > > > Thanks, > > > Eduard > > > > > > -- > > > [1] > > > > > > http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70M1#HDeprecatedandRetiredprojects > > > [2] > > > > > > http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Application > > > > > > On Fri, Apr 3, 2015 at 3:39 PM, Georg Hirn > wrote: > > > > > >> Ok, I have made a apt-get upgrade for xwiki. It did update some > packages > > >> with no errors, see apt-get log: > > >> > > >> Log started: 2015-04-03 13:53:45 > > >> > (Lese Datenbank ... ^M(Lese Datenbank ... 5%^M(Lese Datenbank ... > > >> > 10%^M(Lese Datenbank ... 15%^M(Lese Datenbank ... 20%^M(Lese > Datenbank > > >> ... > > >> > 25%^M(Lese Datenbank ... 30%^M(Lese Datenbank ... 35%^M(Lese > Datenbank > > >> ... > > >> > 40%^M(Lese Datenbank ... 45%^M(Lese Datenbank ... 50%^M(Lese > Datenbank > > >> ... > > >> > 55%^M(Lese Datenbank ... 60%^M(Lese Datenbank ... 65%^M(Lese > Datenbank > > >> ... > > >> > 70%^M(Lese Datenbank ... 75%^M(Lese Datenbank ... 80%^M(Lese > Datenbank > > >> ... > > >> > 85%^M(Lese Datenbank ... 90%^M(Lese Datenbank ... 95%^M(Lese > Datenbank > > >> ... > > >> > 100%^M(Lese Datenbank ... 165997 Dateien und Verzeichnisse sind > > derzeit > > >> > installiert.) > > >> > Vorbereitung zum Entpacken von > > >> > .../xwiki-enterprise-tomcat7-mysql_7.0+1_all.deb ... > > >> > Entpacken von xwiki-enterprise-tomcat7-mysql (7.0+1) über (7.0) ... > > >> > * Stopping Tomcat servlet engine tomcat7 ESC[205G ^MESC[199G[ > > OK ] > > >> > * Starting Tomcat servlet engine tomcat7 ESC[205G ^MESC[199G[ > > OK ] > > >> > Vorbereitung zum Entpacken von > > >> > .../xwiki-enterprise-tomcat-common_7.0+1_all.deb ... > > >> > Entpacken von xwiki-enterprise-tomcat-common (7.0+1) über (7.0) ... > > >> > Vorbereitung zum Entpacken von > > >> > .../xwiki-enterprise-mysql-common_7.0+1_all.deb ... > > >> > Entpacken von xwiki-enterprise-mysql-common (7.0+1) über (7.0) ... > > >> > Vorbereitung zum Entpacken von > > .../xwiki-enterprise-common_7.0+1_all.deb > > >> > ... > > >> > Entpacken von xwiki-enterprise-common (7.0+1) über (7.0) ... > > >> > xwiki-enterprise-common (7.0+1) wird eingerichtet ... > > >> > xwiki-enterprise-tomcat-common (7.0+1) wird eingerichtet ... > > >> > xwiki-enterprise-mysql-comm
Re: [xwiki-users] Xwiki Flamingo Icons Bug?
Hi all! @Eduard: I have commented out the lucene plugin, that works, the exception has gone away, thank you. But my original issue still exists. Sorry I did not know that attachments not work, here are the links to the screenshots: - https://drive.google.com/file/d/0B_VsU8fJmgGTUDk4OEdtcFpBa3c/view?usp=sharing - https://drive.google.com/file/d/0B_VsU8fJmgGTN3kxTHRJV2FJckU/view?usp=sharing - https://drive.google.com/file/d/0B_VsU8fJmgGTY1V4VWh5bTlMUnM/view?usp=sharing @Thomas: I compared these two files and found the following differences: xwiki.cfg: xwiki.cfg.dpkg-dist: xwiki.title.compatibility=1 xwiki.title.compatibility=0 LucenePlugin listed no LucenePlugin listed WatchListPlugin listed no WatchListPlugin listed I changed that to xwiki.title.compatibility=0 and commented LucenePlugin and WatchListPlugin out, restarted tomcat, but the original issue is still there. Thanks, Georg 2015-04-04 13:41 GMT+02:00 Thomas Mortagne : > On Sat, Apr 4, 2015 at 12:23 PM, Eduard Moraru > wrote: > > Hi, > > > > The relevant exception in that log is "java.lang.ClassNotFoundException: > > com.xpn.xwiki.plugin.lucene.LucenePlugin". The Lucene Plugin has been > > retired [1] and replaced by the Solr Search application [2]. > > > > You are currently getting that exception because you did not properly > > upgrade your xwiki.cfg/xwiki.properties configuration files. They need to > > be upgraded appropriately to the release notes of the versions you are > > upgrading through. > > > > In this particular case, you did not remove from the xwiki.cfg file, > inside > > the "xwiki.plugins" section, the reference to LucenePlugin. Once you > remove > > it, XWiki should no longer try to load it and you should not get that > > exception message any more. > > In this particular case it probably means you kept the current version > when apt-get asked you if you wanted to move to the new one. You > should compare /etc/xwiki/xwiki.cfg and /etc/xwiki/xwiki.cfg.dpkg-dist > (this is the new standard version) files. > > > > > Regarding your original issue, try sharing a screenshot with us. Note > that > > attachments don`t work on this list, so please use an image upload online > > service and share us the link. > > > > Thanks, > > Eduard > > > > -- > > [1] > > > http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70M1#HDeprecatedandRetiredprojects > > [2] > > > http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Application > > > > On Fri, Apr 3, 2015 at 3:39 PM, Georg Hirn wrote: > > > >> Ok, I have made a apt-get upgrade for xwiki. It did update some packages > >> with no errors, see apt-get log: > >> > >> Log started: 2015-04-03 13:53:45 > >> > (Lese Datenbank ... ^M(Lese Datenbank ... 5%^M(Lese Datenbank ... > >> > 10%^M(Lese Datenbank ... 15%^M(Lese Datenbank ... 20%^M(Lese Datenbank > >> ... > >> > 25%^M(Lese Datenbank ... 30%^M(Lese Datenbank ... 35%^M(Lese Datenbank > >> ... > >> > 40%^M(Lese Datenbank ... 45%^M(Lese Datenbank ... 50%^M(Lese Datenbank > >> ... > >> > 55%^M(Lese Datenbank ... 60%^M(Lese Datenbank ... 65%^M(Lese Datenbank > >> ... > >> > 70%^M(Lese Datenbank ... 75%^M(Lese Datenbank ... 80%^M(Lese Datenbank > >> ... > >> > 85%^M(Lese Datenbank ... 90%^M(Lese Datenbank ... 95%^M(Lese Datenbank > >> ... > >> > 100%^M(Lese Datenbank ... 165997 Dateien und Verzeichnisse sind > derzeit > >> > installiert.) > >> > Vorbereitung zum Entpacken von > >> > .../xwiki-enterprise-tomcat7-mysql_7.0+1_all.deb ... > >> > Entpacken von xwiki-enterprise-tomcat7-mysql (7.0+1) über (7.0) ... > >> > * Stopping Tomcat servlet engine tomcat7 ESC[205G ^MESC[199G[ > OK ] > >> > * Starting Tomcat servlet engine tomcat7 ESC[205G ^MESC[199G[ > OK ] > >> > Vorbereitung zum Entpacken von > >> > .../xwiki-enterprise-tomcat-common_7.0+1_all.deb ... > >> > Entpacken von xwiki-enterprise-tomcat-common (7.0+1) über (7.0) ... > >> > Vorbereitung zum Entpacken von > >> > .../xwiki-enterprise-mysql-common_7.0+1_all.deb ... > >> > Entpacken von xwiki-enterprise-mysql-common (7.0+1) über (7.0) ... > >> > Vorbereitung zum Entpacken von > .../xwiki-enterprise-common_7.0+1_all.deb > >> > ... > >> > Entpacken von xwiki-enterprise-common (7.0+1) über (7.0) ... > >> > xwiki-enterprise-common (7.0+1) wird eingerichtet ... > >> > xwiki-enterprise-tomcat-common (7.0+1) wird eingerichtet ... > >> > xwiki-enterprise-mysql-common (7.0+1) wird eingerichtet ... > >> > dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf > >> > dbconfig-common: flushing administrative password > >> > xwiki-enterprise-tomcat7-mysql (7.0+1) wird eingerichtet ... > >> > * Stopping Tomcat servlet engine tomcat7 ESC[205G ^MESC[199G[ > OK ] > >> > * Starting Tomcat servlet engine tomcat7 ESC[205G ^MESC[199G[ > OK ] > >> > Log ended: 2015-04-03 13:54:27 > >> > >> > >> Then I opened xwiki again but still the same behavior. > >>
Re: [xwiki-users] Xwiki Flamingo Icons Bug?
On Sat, Apr 4, 2015 at 12:23 PM, Eduard Moraru wrote: > Hi, > > The relevant exception in that log is "java.lang.ClassNotFoundException: > com.xpn.xwiki.plugin.lucene.LucenePlugin". The Lucene Plugin has been > retired [1] and replaced by the Solr Search application [2]. > > You are currently getting that exception because you did not properly > upgrade your xwiki.cfg/xwiki.properties configuration files. They need to > be upgraded appropriately to the release notes of the versions you are > upgrading through. > > In this particular case, you did not remove from the xwiki.cfg file, inside > the "xwiki.plugins" section, the reference to LucenePlugin. Once you remove > it, XWiki should no longer try to load it and you should not get that > exception message any more. In this particular case it probably means you kept the current version when apt-get asked you if you wanted to move to the new one. You should compare /etc/xwiki/xwiki.cfg and /etc/xwiki/xwiki.cfg.dpkg-dist (this is the new standard version) files. > > Regarding your original issue, try sharing a screenshot with us. Note that > attachments don`t work on this list, so please use an image upload online > service and share us the link. > > Thanks, > Eduard > > -- > [1] > http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70M1#HDeprecatedandRetiredprojects > [2] > http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Application > > On Fri, Apr 3, 2015 at 3:39 PM, Georg Hirn wrote: > >> Ok, I have made a apt-get upgrade for xwiki. It did update some packages >> with no errors, see apt-get log: >> >> Log started: 2015-04-03 13:53:45 >> > (Lese Datenbank ... ^M(Lese Datenbank ... 5%^M(Lese Datenbank ... >> > 10%^M(Lese Datenbank ... 15%^M(Lese Datenbank ... 20%^M(Lese Datenbank >> ... >> > 25%^M(Lese Datenbank ... 30%^M(Lese Datenbank ... 35%^M(Lese Datenbank >> ... >> > 40%^M(Lese Datenbank ... 45%^M(Lese Datenbank ... 50%^M(Lese Datenbank >> ... >> > 55%^M(Lese Datenbank ... 60%^M(Lese Datenbank ... 65%^M(Lese Datenbank >> ... >> > 70%^M(Lese Datenbank ... 75%^M(Lese Datenbank ... 80%^M(Lese Datenbank >> ... >> > 85%^M(Lese Datenbank ... 90%^M(Lese Datenbank ... 95%^M(Lese Datenbank >> ... >> > 100%^M(Lese Datenbank ... 165997 Dateien und Verzeichnisse sind derzeit >> > installiert.) >> > Vorbereitung zum Entpacken von >> > .../xwiki-enterprise-tomcat7-mysql_7.0+1_all.deb ... >> > Entpacken von xwiki-enterprise-tomcat7-mysql (7.0+1) über (7.0) ... >> > * Stopping Tomcat servlet engine tomcat7 ESC[205G ^MESC[199G[ OK ] >> > * Starting Tomcat servlet engine tomcat7 ESC[205G ^MESC[199G[ OK ] >> > Vorbereitung zum Entpacken von >> > .../xwiki-enterprise-tomcat-common_7.0+1_all.deb ... >> > Entpacken von xwiki-enterprise-tomcat-common (7.0+1) über (7.0) ... >> > Vorbereitung zum Entpacken von >> > .../xwiki-enterprise-mysql-common_7.0+1_all.deb ... >> > Entpacken von xwiki-enterprise-mysql-common (7.0+1) über (7.0) ... >> > Vorbereitung zum Entpacken von .../xwiki-enterprise-common_7.0+1_all.deb >> > ... >> > Entpacken von xwiki-enterprise-common (7.0+1) über (7.0) ... >> > xwiki-enterprise-common (7.0+1) wird eingerichtet ... >> > xwiki-enterprise-tomcat-common (7.0+1) wird eingerichtet ... >> > xwiki-enterprise-mysql-common (7.0+1) wird eingerichtet ... >> > dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf >> > dbconfig-common: flushing administrative password >> > xwiki-enterprise-tomcat7-mysql (7.0+1) wird eingerichtet ... >> > * Stopping Tomcat servlet engine tomcat7 ESC[205G ^MESC[199G[ OK ] >> > * Starting Tomcat servlet engine tomcat7 ESC[205G ^MESC[199G[ OK ] >> > Log ended: 2015-04-03 13:54:27 >> >> >> Then I opened xwiki again but still the same behavior. >> Don't know if this helps, but here is the output of the catalina.out after >> restarting tomcat and logging in to xwiki: >> >> WARNUNG: Problem with directory [/usr/share/tomcat7/server], exists: >> > [false], isDirectory: [false], canRead: [false] >> > Apr 03, 2015 2:18:11 PM org.apache.catalina.startup.ClassLoaderFactory >> > validateFile >> > WARNUNG: Problem with directory [/usr/share/tomcat7/shared/classes], >> > exists: [false], isDirectory: [false], canRead: [false] >> > Apr 03, 2015 2:18:11 PM org.apache.catalina.startup.ClassLoaderFactory >> > validateFile >> > WARNUNG: Problem with directory [/usr/share/tomcat7/shared], exists: >> > [false], isDirectory: [false], canRead: [false] >> > Apr 03, 2015 2:18:12 PM org.apache.coyote.AbstractProtocol init >> > INFORMATION: Initializing ProtocolHandler ["ajp-bio-8009"] >> > Apr 03, 2015 2:18:12 PM org.apache.catalina.startup.Catalina load >> > INFORMATION: Initialization processed in 690 ms >> > Apr 03, 2015 2:18:12 PM org.apache.catalina.core.StandardService >> > startInternal >> > INFORMATION: Starting service Catalina >> > Apr 03, 2015 2:18:12 PM org.apache.catalina.core.StandardEngine >> > startInternal >> > INFORMATION: Starting Servlet Engine: Apac
Re: [xwiki-users] Xwiki Flamingo Icons Bug?
Hi, The relevant exception in that log is "java.lang.ClassNotFoundException: com.xpn.xwiki.plugin.lucene.LucenePlugin". The Lucene Plugin has been retired [1] and replaced by the Solr Search application [2]. You are currently getting that exception because you did not properly upgrade your xwiki.cfg/xwiki.properties configuration files. They need to be upgraded appropriately to the release notes of the versions you are upgrading through. In this particular case, you did not remove from the xwiki.cfg file, inside the "xwiki.plugins" section, the reference to LucenePlugin. Once you remove it, XWiki should no longer try to load it and you should not get that exception message any more. Regarding your original issue, try sharing a screenshot with us. Note that attachments don`t work on this list, so please use an image upload online service and share us the link. Thanks, Eduard -- [1] http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70M1#HDeprecatedandRetiredprojects [2] http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Application On Fri, Apr 3, 2015 at 3:39 PM, Georg Hirn wrote: > Ok, I have made a apt-get upgrade for xwiki. It did update some packages > with no errors, see apt-get log: > > Log started: 2015-04-03 13:53:45 > > (Lese Datenbank ... ^M(Lese Datenbank ... 5%^M(Lese Datenbank ... > > 10%^M(Lese Datenbank ... 15%^M(Lese Datenbank ... 20%^M(Lese Datenbank > ... > > 25%^M(Lese Datenbank ... 30%^M(Lese Datenbank ... 35%^M(Lese Datenbank > ... > > 40%^M(Lese Datenbank ... 45%^M(Lese Datenbank ... 50%^M(Lese Datenbank > ... > > 55%^M(Lese Datenbank ... 60%^M(Lese Datenbank ... 65%^M(Lese Datenbank > ... > > 70%^M(Lese Datenbank ... 75%^M(Lese Datenbank ... 80%^M(Lese Datenbank > ... > > 85%^M(Lese Datenbank ... 90%^M(Lese Datenbank ... 95%^M(Lese Datenbank > ... > > 100%^M(Lese Datenbank ... 165997 Dateien und Verzeichnisse sind derzeit > > installiert.) > > Vorbereitung zum Entpacken von > > .../xwiki-enterprise-tomcat7-mysql_7.0+1_all.deb ... > > Entpacken von xwiki-enterprise-tomcat7-mysql (7.0+1) über (7.0) ... > > * Stopping Tomcat servlet engine tomcat7 ESC[205G ^MESC[199G[ OK ] > > * Starting Tomcat servlet engine tomcat7 ESC[205G ^MESC[199G[ OK ] > > Vorbereitung zum Entpacken von > > .../xwiki-enterprise-tomcat-common_7.0+1_all.deb ... > > Entpacken von xwiki-enterprise-tomcat-common (7.0+1) über (7.0) ... > > Vorbereitung zum Entpacken von > > .../xwiki-enterprise-mysql-common_7.0+1_all.deb ... > > Entpacken von xwiki-enterprise-mysql-common (7.0+1) über (7.0) ... > > Vorbereitung zum Entpacken von .../xwiki-enterprise-common_7.0+1_all.deb > > ... > > Entpacken von xwiki-enterprise-common (7.0+1) über (7.0) ... > > xwiki-enterprise-common (7.0+1) wird eingerichtet ... > > xwiki-enterprise-tomcat-common (7.0+1) wird eingerichtet ... > > xwiki-enterprise-mysql-common (7.0+1) wird eingerichtet ... > > dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf > > dbconfig-common: flushing administrative password > > xwiki-enterprise-tomcat7-mysql (7.0+1) wird eingerichtet ... > > * Stopping Tomcat servlet engine tomcat7 ESC[205G ^MESC[199G[ OK ] > > * Starting Tomcat servlet engine tomcat7 ESC[205G ^MESC[199G[ OK ] > > Log ended: 2015-04-03 13:54:27 > > > Then I opened xwiki again but still the same behavior. > Don't know if this helps, but here is the output of the catalina.out after > restarting tomcat and logging in to xwiki: > > WARNUNG: Problem with directory [/usr/share/tomcat7/server], exists: > > [false], isDirectory: [false], canRead: [false] > > Apr 03, 2015 2:18:11 PM org.apache.catalina.startup.ClassLoaderFactory > > validateFile > > WARNUNG: Problem with directory [/usr/share/tomcat7/shared/classes], > > exists: [false], isDirectory: [false], canRead: [false] > > Apr 03, 2015 2:18:11 PM org.apache.catalina.startup.ClassLoaderFactory > > validateFile > > WARNUNG: Problem with directory [/usr/share/tomcat7/shared], exists: > > [false], isDirectory: [false], canRead: [false] > > Apr 03, 2015 2:18:12 PM org.apache.coyote.AbstractProtocol init > > INFORMATION: Initializing ProtocolHandler ["ajp-bio-8009"] > > Apr 03, 2015 2:18:12 PM org.apache.catalina.startup.Catalina load > > INFORMATION: Initialization processed in 690 ms > > Apr 03, 2015 2:18:12 PM org.apache.catalina.core.StandardService > > startInternal > > INFORMATION: Starting service Catalina > > Apr 03, 2015 2:18:12 PM org.apache.catalina.core.StandardEngine > > startInternal > > INFORMATION: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu) > > Apr 03, 2015 2:18:12 PM org.apache.catalina.startup.HostConfig > > deployDescriptor > > INFORMATION: Deploying configuration descriptor > > /etc/tomcat7/Catalina/localhost/xwiki.xml > > 2015-04-03 14:18:41,423 [localhost-startStop-1] WARN > > ltInstalledExtensionRepository - Invalid extension > > [org.xwiki.platform:xwiki-platform-search-lucene-ui-6.4.3] on namespace > > [wiki:xwiki] (InvalidEx
Re: [xwiki-users] Class with DB List multiselect
Hi, On Fri, Apr 3, 2015 at 9:25 PM, Gerritjan Koekkoek < gerritjankoekk...@gmail.com> wrote: > I would like to create a form for a international audience (multi language) > So I created a AppWithinMinutes app. > I would like that my users can Multiselect from a list that is a selection > of objects based on a class. > > So i created a class (with AppWithinMinutes: > Class properties > Short Text (shortText1: String) > Long Text (longText1: TextArea) > Long Text (longText2: TextArea) > Database List (databaseList1: Database List) > > The databaseList1 has the following properties: > DisplayType: checkbox > Multiple Select: true > XWiki Class Name: XWiki.UIExtensionClass > Id Field Name: name () > Value Field Name: name > > > The first issue I get that I get all objects of the class. I hoped to add a > selection by adding this query: > from doc.object(XWiki.UIExtensionClass) as obj where > lower(obj.extensionPointId) like '%cdlsworld.standardized.questionaires%' > and ('wiki' = obj.scope) order by obj.name > But how can I add this? > > Why not use the HQL Query option for the DBList property? It's right next to the Class Name option. Have a look at http://dev.xwiki.org/xwiki/bin/view/Drafts/DatabaseListProperties and http://www.xwiki.org/xwiki/bin/view/FAQ/HowToCreateAOneToManyRelationshipInXWiki for more details. > The second issue that I hoped to be able to use for the option to add the > translated value > $services.localization.get('$value') > What is $value? The document name returned by the above query? Thanks, Eduard > ___ > 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
Re: [xwiki-users] XWiki Users Displaying
Hi, Here is the documentation page of the User Directory app: http://extensions.xwiki.org/xwiki/bin/view/Extension/User+Directory+Application You should use that to list your users and, as Ricardo says, just fill in the information for each user in their profile. Also, as you probably guessed, you (/they) need to create an account for each member of the company that you want listed and that you generally want to manage by using the wiki. They will be able to log into the wiki, perform whatever it is that you want them to do in the wiki and, additionally, be listed in the User Directory. Thanks, Eduard On Sat, Apr 4, 2015 at 2:24 AM, wrote: > Hi Vlad! > > I'm sure Brahms, Chopin, Schubert and many more colleagues would have > enjoyed XWiki a lot! But I'm afraid it is a bit late for them all... but > not for all of us! > > If I'm correct, what you are looking for it is simply the User Directory > of any XWiki installation. Here you have the link to Wiki User Directory by > itself... > > http://www.xwiki.org/xwiki/bin/view/Main/UserDirectory > > This page show, by default, information you load at user creating time > (for creating users, go to Home>Administe wiki, once you have logging in as > admin or an user with admin rights). XWiki data model is easily extensible > and you allways can create new properties in existing classes or brand new > classes to hold any kind of people/user related information. > > Here you have a nice page on how create new users... > > http://enterprise.xwiki.org/xwiki/bin/view/GettingStarted/CreatingNewUsers > > About how advertise that pages in your wiki: by default, you'll find an > User Indez link in the left column of any new XWiki installation. Just > create some new users and play around a bit with them. You easily > understand the basis of the system. But of course it could be included in > the Dashboard or any other page that has been installed by the > upgrade/installation process. > > This is a nice place to start to understand how XWiki pages are built... > > http://enterprise.xwiki.org/xwiki/bin/view/GettingStarted/EditingAPage > > Hope this helps! > > Ricardo > > -- > Ricardo Rodríguez > Research Management and Promotion Technician > Technical Secretariat > Health Research Institute of Santiago de Compostela (IDIS) > http://www.idisantiago.es > > > De: users [users-boun...@xwiki.org] en nombre de Vlad Andreev [ > v...@cleveroad.com] > Enviado: sábado, 04 de abril de 2015 1:01 > Para: users@xwiki.org > Asunto: Re: [xwiki-users] XWiki Users Displaying > > Something like this: https://i.vimeocdn.com/video/11065681_640.jpg > > Will be awesome! > Please help! > > 2015-04-04 1:09 GMT+03:00 Vlad Andreev : > > > Hello! > > > > I'm trying to use XWIki for purposes for company documentation and data. > > > > My first step is to setup XWiki for HR Department, and for now I have > > problems with that. > > > > Can you please help me? > > > >1. How can I make some kind of Address Book? We need a place, where we > >can put in all contacts of our current team, their photo, emails, tel. > >numbers, skype, etc. > >2. Is it possible to place this kind of information on dashboard? > >3. Is there any way to place an announcement, so all xwiki users will > >see it? > > > > > > -- > > > > *Faithfully yours,Andreev Vladislav* > > *Head Project Manager* > > *Cleveroad Inc.* > > > > > > -- > > *Faithfully yours,Andreev Vladislav* > *Head Project Manager* > *Cleveroad Inc.* > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > > > > Nota: A información contida nesta mensaxe e os seus posibles documentos > adxuntos é privada e confidencial e está dirixida únicamente ó seu > destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, > por favor elimínea. A distribución ou copia desta mensaxe non está > autorizada. > > Nota: La información contenida en este mensaje y sus posibles documentos > adjuntos es privada y confidencial y está dirigida únicamente a su > destinatario/a. Si usted no es el/la destinatario/a original de este > mensaje, por favor elimínelo. La distribución o copia de este mensaje no > está autorizada. > > See more languages: http://www.sergas.es/aviso_confidencialidad.htm > ___ > 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