Hi all,
i have seen xwiki can do lot of stuff with groovy and velocity.I am new to
groovy so trying to understand how groovy and velocty can benefit xwiki and
ultimately end user. As most of the site says groovy and java are almost
similar. so why xwiki is using groovy when it built upon java. As per my
understanding xwiki is using groovy as scripting language where admin can
write groovy scripts at run time from UI which needs not nto be compiled
but work like in the similar fashion to java. Internally we are passing
this grrovy script as string to server which is compilinh it and executing
it at run time. Right?
Now second part is why velocity in xwiki? Velocity is used in similar
fashin to groovy in xwiki but difference is that any user without
programming rights also can write velocity scripts as it has access to
limited set of apis . Apart from that we can also write front end in
velocity script like if i write
{velocity}Hello:$xContext.getUser(){velocity} it will simply say
Hello:Scott on UI
but inside groovy scriplets everything will be taken as java code. Right?
I am trying to execute below groovy script thru one of the UI Page
String xwikiUser = xwiki.getUser("Scott")//line1 executing
String wikiname = xwiki.getXWiki().clearName("Scott", true, true,
xcontext.getContext())//line2
// other code which is also not executing
but line 2 never executes becoz i dont get control in clearName method.
After debugging it i found while
xwiki.getXWiki() it checks whether user has programming right rights
which returns null. But i have explicitly given the admin user program
rights at
wiki administartion level.
For more debugging information control goes to method i.e public boolean
hasProgrammingRights(XWikiContext context) of xwikiAuthServiceImpl.java
and line 3 returns false
// Once dropPermissions has been called, the document in the
// context cannot have programming permission.
if (context.hasDroppedPermissions()) {
return false;//;line 3
}
Not getting how to give proper programming rights to admin user here?
i have deployed the xwiki 3.5. I am trying to debug the
com.xpn.xwiki.xwiki.java file(inside xwiki-platform-legacy-oldcore-3.5.jar
file) but as soon as debugger comes to break point, it skips some line.
Basically seems like i dont not have correct 3.5 source code for the
classfile deployed .Then i got the 3.5 version of source code from
https://github.com/xwiki/xwiki-platform/tree/stable-3.5.x.
But again there are some discrepencies. Like if i open the decompiled
com.xpn.xwiki.xwiki.java from <wikiDeployedDirectory>/lib, i dont see any
file with name
AbstractXWikiMigrationManager but in downloaded 3.5 version of xwiki.java i
can see ocurrences of AbstractXWikiMigrationManager file wich is not any
where in my deployed
3.5 wiki.Looks like i am not refeering to correct 3.5 version of
com.xpn.xwiki.xwiki.java. Could you point me the right link where i can get
the correct file?Thanks in advance.
The XWiki development team is proud to announce the release of XWiki Enterprise 4.1 Milestone 1, the first milestone along the 4.1 road map.
This release brings new 3D graphs made with pure XWiki syntax, safer Groovy scripting, and better hiding of internal application related documents.
As always, it includes plenty of important bug fixes and improvements.
See: http://www.xwiki.org/xwiki/bin/ReleaseNotes/ReleaseNotesXWikiEnterprise41M1 for more details.
Or grab the fresh downloads at: http://enterprise.xwiki.org/xwiki/bin/view/Main/Download
Thanks to everyone in the community for making this release great!
Caleb
On Tue, May 15, 2012 at 10:55 AM, Moritz Hesse (EA GmbH)
<moritz.hesse(a)ea-gmbh.de> wrote:
> What is an appropriate way to structure multidimensional arrays in velocity?
>
> Let's say I want to have a main topic with two subtopics with three elements
> each:
>
> 1 maintopic
> 1.1 subtopic1
> 1.1.1 one
> 1.1.2 two
> 1.1.3 three
> 1.2 subtopic2
> 1.2.1 one
> 1.2.2 two
> 1.2.3 three
>
> My approach would be:
> {{velocity}}
> #set( $maintopic = ["subtopic1", "subtopic2"] )
> #set( $maintopic.subtopic1 = ["one", "two", "three"] )
> #set( $maintopic.subtopic2 = ["one", "two", "three"] )
> {{/velocity}}
$maintopic is a List here and not a Map so $maintopic.subtopic1 does
not mean anything.
try with
#set( $subtopic1 = ["one", "two", "three"] )
#set( $subtopic2 = ["one", "two", "three"] )
#set( $maintopic = {"subtopic1" : $subtopic1, "subtopic2" : $subtopic2} )
>
> But I cannot access the one-two-threes in each subtopic. What am I doing
> wrong?
>
> Thanks and best regards,
> Moritz
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
On Thu, May 10, 2012 at 9:48 AM, Moritz Hesse (EA GmbH)
<moritz.hesse(a)ea-gmbh.de> wrote:
> Hello,
>
> how is it possible (I presume it is) to access parameters in a URI? The
> xwiki API describes methods to encode and decode URIs (namely encodeURI and
> decodeURI). I suppose I can access it via the Request object (XWikiRequest;
> http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwi
> ki/web/XWikiRequest.html), but got no clue how.
>
> E.g. I would like to pass a boolean param by calling the URI
> http://<mydomain>/xwiki/bin/view/Main/WebHome?bool=true and access it in
> velocity code.
>
> Anyone has an idea how to proceed or a link to an example?
You can access the
http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xw…
object using $request in Velocity (or "request" mapping in general in
all other languages).
>
> Thx and bests,
> Moritz
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
Hello XWiki users,
I'd like to know what the users of XWiki use as monitoring tools.
Does anyone have experience with Nagios? Zabbix? AlertSite?
Another?
A hand-made solution?
(I haven't met one that is java based, that'd be cute!)
Here's my answer:
- with i2geo.net, we used Nagios, it was relatively faithful at warning of downtime and even at warning "failed restart" (which remain a mystery to me but happen, from time to time)
- with curriki.org, we use AlertSite, it works very well to warn about the downtime and plot performance changes. Internally, also, we use a script to detect too long response times and restart (which happens when queries start to lock too many other queries) and a hand-made monitoring tool which displays a synchronized overview of the top, page loading time, apache and appservlogs, and mysql queries; it's a youngish but can help diagnose.
thanks in advance
Paul
Hi,
I think there's a problem in UsedSpace for Admin Tools Application.
If we change the default values for "xwiki.db" and "xwiki.db.prefix"
parameters (in xwiki.cfg), the code of "showSpaceUsed" procedure doesn't
work :
def showSpaceUsed(message, table, wiki) {
def mwikiquery = (wiki=="") ? "" : "AND TABLE_SCHEMA = '${wiki}'"
def query = (table=="") ? "SELECT SUM(DATA_LENGTH)/1024/1024 as 'space'
FROM INFORMATION_SCHEMA.TABLES WHERE 1=1 ${mwikiquery}" : "SELECT
SUM(DATA_LENGTH)/1024/1024 as 'space' FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_NAME='${table}' ${mwikiquery}"
For example with "xwiki.db=manager" and "xwiki.db.prefix=xwiki_" :
My table is "xwiki_manager" and not "xwiki".
As result :
Wiki xwiki
o Total Space used: ? (No signature of method: static
java.lang.Math.floor() is applicable for argument types:
(java.lang.String) values: []
Possible solutions: floor(double), log(double), find(), acos(double),
cos(double), cosh(double)
o Attachment Space used: ? (No signature of method: static
java.lang.Math.floor() is applicable for argument types:
(java.lang.String) values: []
Possible solutions: floor(double), log(double), find(), acos(double),
cos(double), cosh(double)
o Attachment History Space used: ? (No signature of method: static
java.lang.Math.floor() is applicable for argument types:
(java.lang.String) values: []
Possible solutions: floor(double), log(double), find(), acos(double),
cos(double), cosh(double)
o Attachment Recycle bin Space used: ? (No signature of method:
static java.lang.Math.floor() is applicable for argument types:
(java.lang.String) values: []
Possible solutions: floor(double), log(double), find(), acos(double),
cos(double), cosh(double)
o History Space used: ? (No signature of method: static
java.lang.Math.floor() is applicable for argument types:
(java.lang.String) values: []
Possible solutions: floor(double), log(double), find(), acos(double),
cos(double), cosh(double)
o Recycle bin Space used: ? (No signature of method: static
java.lang.Math.floor() is applicable for argument types:
(java.lang.String) values: []
Possible solutions: floor(double), log(double), find(), acos(double),
cos(double), cosh(double)
o Other Space used 0.0MB
Best regards,
Nicolas
Hi All,
i created a space i.e MySpace1. On WebHome, i put the some content i.e
"This is my latest content". Now in my java class, i want to get the content
of MySpace1.WebHome page . Here is the code snippet i tried to get the
content of page but i get the document1 as null though the page exists.
com.xpn.xwiki.api.XWiki xwikiApi= new
com.xpn.xwiki.api.XWiki(context.getWiki(),context);
Document document1=null;
try {
document1 = xwikiApi.getDocument("MySpace1.WebHome");//
getting document1 as null
} catch (XWikiException e) {
log.info("did not find OrgDataCreation.WebHome page");
}
String contentStr="";
if(document1!=null)
{
contentStr=document1.getContent();
}
I am not sure what i am missing here?
Hi,
I fail to get a good understandinding of XWiki Query Language (my goal is
to transform working HQL to XWQL)
This code is working…
{{velocity}}
#set($classname = "CdLSATEPublic.CdLSATEPublicClass")
#set($findWQL = "
from doc.object($classname) as qat
")
#set($resultDocuments = $services.query.xwql($findWQL).execute())
#foreach($resultDocument in $resultDocuments)
$resultDocument
#end
{{/velocity}}
While this code is not working..
{{velocity}}
#set($classname = "CdLSATEPublic.CdLSATEPublicClass")
#set($findWQL = "
from doc.object($classname) as qat
where qat.language = 'en'
")
#set($resultDocuments = $services.query.xwql($findWQL).execute())
#foreach($resultDocument in $resultDocuments)
$resultDocument
#end
{{/velocity}}
Where is my problem? (see error code below…)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to
evaluate content with id [xwiki:CdlsatdCode.try2]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:247)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
... 106 more
Caused by: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'execute' in class
org.xwiki.query.internal.DefaultQuery threw exception
org.xwiki.query.QueryException: Exception while translating [
from doc.object(CdLSATEPublic.CdLSATEPublicClass) as qat
where qat.language = 'en'
] XWQL query to the [hql] language. Query statement = [
from doc.object(CdLSATEPublic.CdLSATEPublicClass) as qat
where qat.language = 'en'
] at xwiki:CdlsatdCode.try2[line 7, column 57]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
... 108 more
Caused by: org.xwiki.query.QueryException: Exception while translating [
from doc.object(CdLSATEPublic.CdLSATEPublicClass) as qat
where qat.language = 'en'
] XWQL query to the [hql] language. Query statement = [
from doc.object(CdLSATEPublic.CdLSATEPublicClass) as qat
where qat.language = 'en'
]
at org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:76)
at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72)
at org.xwiki.query.internal.SecureQueryExecutorManager.execute(SecureQueryExecutorManager.java:80)
at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:236)
at sun.reflect.GeneratedMethodAccessor413.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
... 114 more
Caused by: org.xwiki.query.jpql.lexer.LexerException: [1,95] Unknown token:
at org.xwiki.query.jpql.lexer.Lexer.getToken(Lexer.java:809)
at org.xwiki.query.jpql.lexer.Lexer.peek(Lexer.java:36)
at org.xwiki.query.jpql.parser.Parser.parse(Parser.java:110)
at org.xwiki.query.jpql.internal.JPQLParser.parse(JPQLParser.java:46)
at org.xwiki.query.xwql.internal.hql.XWQLtoHQLTranslator.translate(XWQLtoHQLTranslator.java:55)
at org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:59)
... 123 more
Gerritjan
Hi All,
I dont the *Invitation* space visible for any user . Basically i want no
user should be able to do any operation*( including should not be able
search any page inside invitation space) *on invitation space .
*What i tried for this*
**
I tried blacklisting the invitation space with following code snippet in
xwikivars.vm
*#if ($hasAdmin || $isAdvancedUser)
#set ($blacklistedSpaces = ['Invitation'])
#else
#set ($blacklistedSpaces = ['Import', 'Panels', 'Scheduler', 'Stats',
'XAppClasses', 'XAppSheets', 'XAppTemplates', 'XWiki', 'WatchCode',
'WatchSheets', 'XApp', 'WatchAdmin', 'Watch', 'ColorThemes',
'AnnotationCode','Invitation'])
#end*
what it does only is Invitation space is not visible on dasshboard. *But
still i can do search for all pages inside invitation space and navigate
to invitation space.*
What i also tried is denying all rights on invitation space for all users.
But still users can searc the pages inside invitation space.
*Kindly let me know the configuration to restrict any activity(including
search) on Invitation space.*
Last option i can think of is delete the invitation space but i don't want
to go this way keeping in mind it may be required in future.
Thanks in advance
Hi,
thanks a lot for your answer, but where do i have to put this code so that it affects all my wiki pages? Is there a central style sheet for all pages? I'm sorry, but i'm new to the xwiki system and not that familiar with programming.
zae.
>>> "Moritz Hesse (EA GmbH)" 11.05.12 11.36 Uhr >>>
This is not XWiki specific, but a CSS feature. In your stated example, the
CSS code is:
.wikiexternallink {
background: url("[...]/externallinkicon.gif") no-repeat scroll right
center transparent;
padding-right: 12px;
}
C.f. http://en.wikipedia.org/wiki/Cascading_Style_Sheets for more
information about CSS.
> i want to mark external links in my wiki like it's done here:
> http://www.xwiki.org/xwiki/bin/view/Main/ExternalLinks with a symbol after
the link.
> How can i do that?
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Please excuse, I recall my request. I changed the top margin of list
elements, that's why they disappeared.
> when I call my the page Main/AllDocs I used to have a tab to view my
> documents in a tree. All tabs disappeard (also the "deleted pages",
"deleted
> attachments" etc.). Is this a commonly known bug? How can I redisplay this
> (as the tree is a necessary tool to keep an overview of the wiki's
structure
> and contents)?
Hi,
when I call my the page Main/AllDocs I used to have a tab to view my
documents in a tree. All tabs disappeard (also the "deleted pages", "deleted
attachments" etc.). Is this a commonly known bug? How can I redisplay this
(as the tree is a necessary tool to keep an overview of the wiki's structure
and contents)?
Thanks and bests,
Moritz
Hi !
Since few days, I work with the new XWiki (4.0). But I don't understand how
XWO_ID and XWD_ID are created ? For the 3.5 version, it was the hashcode of
the string obtained by concatenating the document name, the XClass name, and
the object number. But for the 4.0 version... I don't really know.
Can you help me ? Please.
Goodbye
Caroline.
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-4-0-How-XWO-ID-and-XWD-ID-are-creat…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello XWiki experts,
we had recent disk-space issue so before we upgrade to xwiki 3.5 we need to be sure the local disk is going to handle things. We have about 50Gb available but we have very many uploaded files of 2-5 Mb... so we may run into a limit.
Do I understand properly that:
1- all attachments are stored, in their original form, in DB unless the filesystem storage is activated
2- all attachments, once stored in the DB, get stored in a local file before they are served over the line
3- this storage is within the directory configured as xwiki.temp.dir
4- this storage should be shared if we are clustering
5- this temporary storage gets erased from time to time
Correct?
Is there a way to bound the size of these attachments?
Can I fiddle with files inside there?
thanks in advance
Paul
PS: to contradict assertion 3, I got in my log:
> No permanent directory configured. Using a temporary directory [/opt/SUNWappserver 2/domains/domain1/generated/jsp/j2ee-modules/xwiki]
but this directory did not grow having downloaded an amount or having requested an attached picture with different sizes... neither did /tmp/xwiki exist.
hi,everybody!
how to write macro to use lucene to search child pages in the document tree
?
2012/5/10 <users-request(a)xwiki.org>
> Send users mailing list submissions to
> users(a)xwiki.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.xwiki.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request(a)xwiki.org
>
> You can reach the person managing the list at
> users-owner(a)xwiki.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
> 1. Re: [xwiki-devs] WYSIWYG toolbar features (Geo Du)
> 2. Passing parameters in URI (Moritz Hesse (EA GmbH))
> 3. Re: Filter items in live table (Moritz Hesse (EA GmbH))
> 4. Re: Passing parameters in URI (Thomas Mortagne)
> 5. XWiki 4.0 - How XWO_ID and XWD_ID are created ? (Caroline DETANTE)
> 6. What are you using AppWithinMinutes for? (Guillaume Lerouge)
> 7. Re: Passing parameters in URI (Moritz Hesse (EA GmbH))
> 8. Re: Possible upgrade 3.5.1 to 4.0 issue (Vincent Massol)
> 9. Re: Passing parameters in URI (Thomas Mortagne)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 10 May 2012 00:23:51 -0400
> From: Geo Du <dddu88(a)gmail.com>
> To: XWiki Users <users(a)xwiki.org>
> Subject: Re: [xwiki-users] [xwiki-devs] WYSIWYG toolbar features
> Message-ID:
> <CAM4k9MFa9VTd1eaNjnckZ+CgV2w4R3_75kAu+mEkoaK=rUpeEQ(a)mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> Thanks very much Marius, I will do more research.
>
> Dave
>
> On Mon, May 7, 2012 at 3:22 AM, Marius Dumitru Florea <
> mariusdumitru.florea(a)xwiki.com> wrote:
>
> > On Mon, May 7, 2012 at 10:20 AM, Marius Dumitru Florea
> > <mariusdumitru.florea(a)xwiki.com> wrote:
> > > Hi Dave,
> > >
> > > On Sat, May 5, 2012 at 4:14 AM, Geo Du <dddu88(a)gmail.com> wrote:
> > >> Hi, Marius,
> > >>
> > >> Thanks very much for your help, I checked the link
> > >>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configurationturned on
> > >
> > >> the full list of toolbars like the following in xwiki.cfg file, then I
> > >
> > > Where did you read "xwiki.cfg" or "xwiki.properties" on
> > > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor (the
> > > link I gave you) ?
> > >
> > >> restarted tomcat, checked the page with wysiwyg editor, nothing
> > changed, no
> > >
> > >> subtoolbar, findtoobar or symboltoolbar showed up, and actually I want
> > to
> > >
> > > There's no subtoolbar nor findtoobar.
> > >
> > > You don't have to change any configuration file nor to restart the
> > > server. You just have to go to the Administration, then to the WYSIWYG
> > > Editor section (from the left vertical menu) and there you'll be able
> > > to add plugins and features on the tool bar, like stated on
> > >
> >
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HConfigur…
> >
> > You should see this
> >
> >
> http://www.xwiki.org/xwiki/bin/download/ReleaseNotes/ReleaseNotesXWikiEnter…
> > .
> >
> > > .
> > >
> > > Hope this helps,
> > > Marius
> > >
> > >> add Text Alignment, Fonts, TextSize, colors to the toolbar, I googled
> > >> around, could not find a solution, any more clues? I checked
> > >> xwiki.properties file as well, nothing there related to wysiwyg
> editor.
> > >>
> > >> Thanks again
> > >>
> > >> Dave
> > >>
> > >>
> > >> #---------------------------------------
> > >> # WYSIWYG Editor configuration
> > >> #
> > >>
> > >> #-# You can configure the toolbars you wish to see in the WYSIWYG
> > editor by
> > >> defining the
> > >> #-# xwiki.wysiwyg.toolbars property.
> > >> #-# When not defined it defaults to:
> > >> xwiki.wysiwyg.toolbars=texttoolbar, listtoolbar, indenttoolbar,
> > >> undotoolbar, titletoolbar, \
> > >> styletoolbar, horizontaltoolbar,
> > >> attachmenttoolbar, macrostoolbar, \
> > >> tabletoolbar, tablerowtoolbar,
> tablecoltoolbar,
> > >> linktoolbar, subtoolbar, findtoolbar, symboltoolbar
> > >> #-# The full list of toolbars includes the one defined above and the
> > >> following ones:
> > >> #-# subtoolbar, findtoolbar, symboltoolbar
> > >>
> > >> Then
> > >>
> > >> On Wed, May 2, 2012 at 5:27 AM, Marius Dumitru Florea <
> > >> mariusdumitru.florea(a)xwiki.com> wrote:
> > >>
> > >>> Hi Dave,
> > >>>
> > >>> On Wed, May 2, 2012 at 6:41 AM, Geo Du <dddu88(a)gmail.com> wrote:
> > >>> > Hi, all,
> > >>> >
> > >>> > I have a problem to add more tools onto the toolbar with xwiki 3.5
> I
> > am
> > >>> > using, I like to add Text Alignment, Fonts, TextSize, colors, but I
> > >>> checked
> > >>>
> > >>> > this link:
> > >>> http://platform.xwiki.org/xwiki/bin/view/Features/WysiwygEditor,
> > >>>
> > >>> This is the user documentation. It describes the WYSIWYG editor
> > >>> features for simple users.
> > >>>
> > >>> > it is for 2.0, where is the toolbar configuration information about
> > the
> > >>> 3.5
> > >>> > version? I could not find from the admin guide.
> > >>>
> > >>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ links to
> > >>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration
> > >>> which has a section "Configure the WYSIWYG editor" which points to
> > >>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor
> > >>>
> > >>> > Also from the WYSIWYG editor configuration class,
> > >>> > https://sipa.mol.fi/xwiki/bin/view/XWiki/WysiwygEditorConfigClass,
> > it
> > >>> does
> > >>> > not define all the tool bar items.
> > >>>
> > >>> You should use the administration section dedicated for the WYSIWYG
> > editor.
> > >>>
> > >>> Hope this helps,
> > >>> Marius
> > >>>
> > >>> >
> > >>> > Would you please point me to the right direction to look at?
> > >>> >
> > >>> > Thanks very much!!
> > >>> >
> > >>> > Dave
> > >>> > _______________________________________________
> > >>> > devs mailing list
> > >>> > devs(a)xwiki.org
> > >>> > http://lists.xwiki.org/mailman/listinfo/devs
> > >>> _______________________________________________
> > >>> 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
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 10 May 2012 09:48:18 +0200
> From: "Moritz Hesse \(EA GmbH\)" <moritz.hesse(a)ea-gmbh.de>
> To: <users(a)xwiki.org>
> Subject: [xwiki-users] Passing parameters in URI
> Message-ID: <000401cd2e81$44130b10$cc392130$@hesse@ea-gmbh.de>
> Content-Type: text/plain; charset="us-ascii"
>
> Hello,
>
> how is it possible (I presume it is) to access parameters in a URI? The
> xwiki API describes methods to encode and decode URIs (namely encodeURI and
> decodeURI). I suppose I can access it via the Request object (XWikiRequest;
>
> http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwi
> ki/web/XWikiRequest.html), but got no clue how.
>
> E.g. I would like to pass a boolean param by calling the URI
> http://<mydomain>/xwiki/bin/view/Main/WebHome?bool=true and access it in
> velocity code.
>
> Anyone has an idea how to proceed or a link to an example?
>
> Thx and bests,
> Moritz
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 10 May 2012 09:50:36 +0200
> From: "Moritz Hesse \(EA GmbH\)" <moritz.hesse(a)ea-gmbh.de>
> To: "'XWiki Users'" <users(a)xwiki.org>
> Subject: Re: [xwiki-users] Filter items in live table
> Message-ID: <000501cd2e81$96286120$c2792360$@hesse@ea-gmbh.de>
> Content-Type: text/plain; charset="us-ascii"
>
> Thanks Brett and Marius, I really appreciate your help. For the first it
> was
> enough to bookmark the filter settings. But in the future I wont be able to
> bypass the problem without creating (and coding) my own list. So this was
> very helpful to get an approach to this issue.
>
> Best regards,
> Moritz
>
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 10 May 2012 10:06:54 +0200
> From: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
> To: XWiki Users <users(a)xwiki.org>
> Subject: Re: [xwiki-users] Passing parameters in URI
> Message-ID:
> <CAPnKnLGgjZDA9MReWgjHP0cCHmPWDAW3erkrRkQBS-yApFuBVA(a)mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Thu, May 10, 2012 at 9:48 AM, Moritz Hesse (EA GmbH)
> <moritz.hesse(a)ea-gmbh.de> wrote:
> > Hello,
> >
> > how is it possible (I presume it is) to access parameters in a URI? The
> > xwiki API describes methods to encode and decode URIs (namely encodeURI
> and
> > decodeURI). I suppose I can access it via the Request object
> (XWikiRequest;
> >
> http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwi
> > ki/web/XWikiRequest.html), but got no clue how.
> >
> > E.g. I would like to pass a boolean param by calling the URI
> > http://<mydomain>/xwiki/bin/view/Main/WebHome?bool=true and access it in
> > velocity code.
> >
> > Anyone has an idea how to proceed or a link to an example?
>
> You can access the
>
> http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xw…
> object using $request in Velocity (or "request" mapping in general in
> all other languages).
>
> >
> > Thx and bests,
> > Moritz
> >
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 10 May 2012 01:33:36 -0700 (PDT)
> From: Caroline DETANTE <c.detante(a)gmail.com>
> To: users(a)xwiki.org
> Subject: [xwiki-users] XWiki 4.0 - How XWO_ID and XWD_ID are created ?
> Message-ID: <1336638816370-7545951.post(a)n2.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi !
> Since few days, I work with the new XWiki (4.0). But I don't understand how
> XWO_ID and XWD_ID are created ? For the 3.5 version, it was the hashcode of
> the string obtained by concatenating the document name, the XClass name,
> and
> the object number. But for the 4.0 version... I don't really know.
> Can you help me ? Please.
>
> Goodbye
>
>
> Caroline.
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/XWiki-4-0-How-XWO-ID-and-XWD-ID-are-creat…
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>
>
> ------------------------------
>
> Message: 6
> Date: Thu, 10 May 2012 12:05:37 +0200
> From: Guillaume Lerouge <guillaume(a)xwiki.com>
> To: XWiki Users <users(a)xwiki.org>
> Subject: [xwiki-users] What are you using AppWithinMinutes for?
> Message-ID:
> <CALC6keU_DtsD3hgG9JnTA9XQwFS68Hb4iQ_Oqbwi12qm4r03Lw(a)mail.gmail.com
> >
> Content-Type: text/plain; charset=UTF-8
>
> Hi XWikiers,
>
> now that AppWithinMinutes<
> http://extensions.xwiki.org/xwiki/bin/view/Extension/App+Within+Minutes+App…
> >has
> been available for a couple releases, I was wondering what you have
> been using it for so far.
>
> On my side, I have seen AppWithinMinutes used for:
>
> - Logging safety incidents
> - Listing assets managed by a company
> - Creating a directory of software applications available to users in a
> large organization
> - Managing and classifying processes and procedures
> - Listing presentations delivered at various conferences for later
> reference
>
> I look forward to reading about your own examples.
>
> Thanks,
>
> Guillaume
>
>
> ------------------------------
>
> Message: 7
> Date: Thu, 10 May 2012 12:15:05 +0200
> From: "Moritz Hesse \(EA GmbH\)" <moritz.hesse(a)ea-gmbh.de>
> To: "'XWiki Users'" <users(a)xwiki.org>
> Subject: Re: [xwiki-users] Passing parameters in URI
> Message-ID: <000e01cd2e95$c68fa580$53aef080$@hesse@ea-gmbh.de>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi,
>
> > You can access the
> >
>
> http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwi
> ki/web/XWikiServletRequest.html
> > object using $request in Velocity (or "request" mapping in general in
> > all other languages).
>
> I don't get any wanted results, everything just looks like this:
> com.xpn.xwiki.web.XWikiServletRequest@76536fbc, that
> java.util.Collections$2@2953fef or this one
>
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter$Save
> dRequestWrapper@1498653c.
>
> Is there any helpful method (like var_dump() in PHP) that enables me to
> debug all existing values of an object?
>
> Bests,
> Moritz
>
>
>
> ------------------------------
>
> Message: 8
> Date: Thu, 10 May 2012 12:27:28 +0200
> From: Vincent Massol <vincent(a)massol.net>
> To: XWiki Users <users(a)xwiki.org>
> Subject: Re: [xwiki-users] Possible upgrade 3.5.1 to 4.0 issue
> Message-ID: <E5FB2605-01D9-4D2A-ACC5-D4E2329AB601(a)massol.net>
> Content-Type: text/plain; charset=us-ascii
>
>
> On May 5, 2012, at 1:04 AM, coldserenity wrote:
>
> > Hello,
> >
> > I have tried to upgrade to 4.0 and receive following error in the logs
> >
> > 2012-05-05 01:36:59,911
> > [
> http://localhost/xwiki/bin/view/XWiki/WatchListRss?xpage=plain&outputSyntax…
> ]
> > ERROR c.x.x.s.m.liquibase - Change Set
> > liquibase.xml::R40000-000::sdumitriu failed. Error: Error executing SQL
> > ALTER TABLE `xwikifloats` DROP FOREIGN KEY `FKFB291FBF1DFF14A1`: Error on
> > rename of './xwiki_utf8_innodb/xwikifloats' to
> > './xwiki_utf8_innodb/#sql2-dfb-6f91' (errno: 152)
> > liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE
> > `xwikifloats` DROP FOREIGN KEY `FKFB291FBF1DFF14A1`: Error on rename of
> > './xwiki_utf8_innodb/xwikifloats' to './xwiki_utf8_innodb/#sql2-dfb-6f91'
> > (errno: 152)
> >
> > Any ideas why this may happen?
> > Database is mysql 5.0.71.
> >
> > PS: Interesting why Sergiu got mentioned in the logs :)
>
> Yep that's not nice. Guys could we modify this please? I think Sergiu
> proposed to use a generic name instead like "xwiki". Is it really not
> allowed to have this empty or not use it in liquibase?
>
> Thanks
> -Vincent
>
>
>
> ------------------------------
>
> Message: 9
> Date: Thu, 10 May 2012 13:39:57 +0200
> From: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
> To: XWiki Users <users(a)xwiki.org>
> Subject: Re: [xwiki-users] Passing parameters in URI
> Message-ID:
> <CAPnKnLH4o=CuDYwtYk4La8jV=oZLKqciScWy9a4cYPzn4+bW5w(a)mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Thu, May 10, 2012 at 12:15 PM, Moritz Hesse (EA GmbH)
> <moritz.hesse(a)ea-gmbh.de> wrote:
> > Hi,
> >
> >> You can access the
> >>
> >
> http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwi
> > ki/web/XWikiServletRequest.html
> >> object using $request in Velocity (or "request" mapping in general in
> >> all other languages).
> >
> > I don't get any wanted results, everything just looks like this:
> > com.xpn.xwiki.web.XWikiServletRequest@76536fbc, that
> > java.util.Collections$2@2953fef or this one
> >
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter$Save
> > dRequestWrapper@1498653c.
>
> Did you tried $request.getParameter("myparaleter") or $request.myparameter
> ?
>
> >
> > Is there any helpful method (like var_dump() in PHP) that enables me to
> > debug all existing values of an object?
> >
> > Bests,
> > Moritz
> >
> > _______________________________________________
> > 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
>
>
> End of users Digest, Vol 58, Issue 21
> *************************************
>
On Thu, May 10, 2012 at 12:15 PM, Moritz Hesse (EA GmbH)
<moritz.hesse(a)ea-gmbh.de> wrote:
> Hi,
>
>> You can access the
>>
> http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwi
> ki/web/XWikiServletRequest.html
>> object using $request in Velocity (or "request" mapping in general in
>> all other languages).
>
> I don't get any wanted results, everything just looks like this:
> com.xpn.xwiki.web.XWikiServletRequest@76536fbc, that
> java.util.Collections$2@2953fef or this one
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter$Save
> dRequestWrapper@1498653c.
Did you tried $request.getParameter("myparaleter") or $request.myparameter ?
>
> Is there any helpful method (like var_dump() in PHP) that enables me to
> debug all existing values of an object?
>
> Bests,
> Moritz
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
On Mon, May 7, 2012 at 5:40 PM, Moritz Hesse (EA GmbH)
<moritz.hesse(a)ea-gmbh.de> wrote:
> Hi,
>
>
>
> I have created an app w/ minutes to manage some issue tickets. I am using a
> field to track the status (open, pending, closed). How can I blind out items
> which are not closed?
I suppose you used a Static List to model the status field, right? Did
you add a live table column to display this field? The status live
table column should have a drop down list just below the header to
allow you to filter the live table rows based on the Static List
values. When you filter the status column the page URL is
automatically modified to include this information, which means the
filter is bookmarkable. If you give the URL to someone else she will
see the filtered items.
If you want to 'save' this filter then indeed you need to either
create a new page that uses a different live table results page or
modify the live table results page used by the home page of your
application. See Brett's suggestion.
Hope this helps,
Marius
>
>
>
> Kind regards,
>
> Moritz
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
Hello,
how is it possible (I presume it is) to access parameters in a URI? The
xwiki API describes methods to encode and decode URIs (namely encodeURI and
decodeURI). I suppose I can access it via the Request object (XWikiRequest;
http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwi
ki/web/XWikiRequest.html), but got no clue how.
E.g. I would like to pass a boolean param by calling the URI
http://<mydomain>/xwiki/bin/view/Main/WebHome?bool=true and access it in
velocity code.
Anyone has an idea how to proceed or a link to an example?
Thx and bests,
Moritz
I have a user who created a page with a forward slash in the name. When I
try to access the page I get an error (URL not found). Does anyone know of
a script I can use to rename the page without the forward slash?
Thank you!
Dale
--
Dale Magnuson
dale.magnuson(a)gmail.com
Whenever i add a new property in xwiki.cfg file, to refer that property in
my java code, i need tomcat server restart otherwise that property is not
visible.
Is there a api/configuration can refer the newly added property in
xwiki.cfg file without server restart? Here is how i get the newly added
property from xwiki.cfg file
String
adminData=xwikiContext.getWiki().getConfig().getProperty("adminData");
Thanks.
Hi,
I would like to access my XWiki from an external web service. The web
service would send a tag to XWiki and then receive links to all pages which
are tagged with the given tag.
I looked at the REST-API and the XMLRPC-API but I couldn't find a way to do
the task with these apis.
Now i am thinking about writing my own component which would query the tag
plugin and then return the results in some way.
My question is how can I make a component accessible from outside Xwiki? Is
there an easy way to enhance the REST or XML-RCP components or is it
possible to use an script on a wikipage to forward a get-request with its
paramter to the component?
Is there a best practice for tasks like this?
Thanks a lot & Kind Regards,
Sven
Hi, all,
I got a problem whenever a user is denied access to a page, it is then
redirected to a localhost on the client browser machine, I defined the some
workspaces or pages are not allowed for unregistered users, then when a
user tries to login, it will redirect the user to
localhost/xwiki/bin/view/Main/WebHome.
Also how to setup the rights for XWikiLogin page?, since admin can only set
up rights after admin login and admin has to go to that page to setup
rights.
Thanks for your help.
Dave
I just did something like this. I am just a novice at XWiki but I was able to figure out how to create a filter page and get it to work.
On the page that I needed the filter results I did this:
{{velocity}}
#set($originalMsg = $msg)
#set($msg = $services.dynamicMessageToolFactory.createDynamicMessageTool($msg, {
'canogaviewreleasetracker.livetable.doc.name': $msg.get('platform.appwithinminutes.liveTableEditorDocNameColumnName')
}))
#set($columnsProperties = {
'doc.name': {'type': 'text', 'link': 'view', 'size': 10, 'filterable': true, 'sortable': true}
})
#set($options = {
'resultPage' : 'CanogaView.CORE_2_2_4_ReleaseFilterJSON',
'translationPrefix': 'canogaviewreleasetracker.livetable.',
'rowCount': 15,
'maxPages': 10,
'selectedColumn': '_actions',
'defaultOrder': 'asc'
})
#set($columns = ['doc.name'])
#livetable('canogaviewreleasetracker' $columns $columnsProperties $options)
#set($msg = $originalMsg)
{{/velocity}}
The important point is the "resultPage". From the page "CoanogaView.CORE_2_2_4_ReleaseFilterJSON", I have this:
{{include document="XWiki.LiveTableResultsMacros" /}}
{{velocity}}
#gridresultwithfilter("CanogaView Release Tracker.CanogaViewReleaseTrackerClass" $request.collist.split(",") "" " and doc.name like 'CORE 2.2.4%'")
{{/velocity}}
So what this filter is doing is filtering on the "doc.name" that begins with "CORE 2.2.4". Hopefully you can extrapolate from this.
Brett
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of Moritz Hesse (EA GmbH)
Sent: Monday, May 07, 2012 10:40 AM
To: users(a)xwiki.org
Subject: [xwiki-users] Filter items in live table
Hi,
I have created an app w/ minutes to manage some issue tickets. I am using a field to track the status (open, pending, closed). How can I blind out items which are not closed?
Kind regards,
Moritz
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
I recently moved my XWiki installation to a new server. Unfortunately now
some of my macros no longer work. I am still new to XWiki so I apologize
if my question is an easy one. Can anyone help me figure out my error from
the exception below?
org.xwiki.rendering.macro.MacroExecutionException: Failed to highlight content
at org.xwiki.rendering.internal.macro.code.CodeMacro.parseContent(CodeMacro.java:121)
at org.xwiki.rendering.internal.macro.code.CodeMacro.parseContent(CodeMacro.java:51)
at org.xwiki.rendering.macro.box.AbstractBoxMacro.execute(AbstractBoxMacro.java:149)
at org.xwiki.rendering.macro.box.AbstractBoxMacro.execute(AbstractBoxMacro.java:53)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:196)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:141)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:81)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:253)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38)
at com.xpn.xwiki.internal.sheet.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
at com.xpn.xwiki.internal.sheet.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:57)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:827)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:806)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:837)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:585)
at sun.reflect.GeneratedMethodAccessor398.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:186)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:152)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1816)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1753)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:841)
at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:186)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:152)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1816)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:154)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:238)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:184)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:184)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:184)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:184)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:184)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
Caused by: org.xwiki.component.manager.ComponentLookupException:
Failed to lookup component [role =
[org.xwiki.rendering.parser.HighlightParser] hint = [default]]
at org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:307)
at org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:112)
at org.xwiki.component.internal.DefaultComponentManager.lookup(DefaultComponentManager.java:72)
at org.xwiki.rendering.internal.macro.code.CodeMacro.highlight(CodeMacro.java:153)
at org.xwiki.rendering.internal.macro.code.CodeMacro.parseContent(CodeMacro.java:118)
... 110 more
Caused by: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "__pyclasspath__/pygments/__init__.py", line 37, in <module>
File "__pyclasspath__/pygments/util.py", line 12, in <module>
ImportError: No module named re
at org.python.core.PyException.fillInStackTrace(PyException.java:70)
at java.lang.Throwable.<init>(Throwable.java:56)
at org.python.core.PyException.<init>(PyException.java:46)
at org.python.core.PyException.<init>(PyException.java:43)
at org.python.core.PyException.<init>(PyException.java:61)
at org.python.core.Py.ImportError(Py.java:290)
at org.python.core.imp.import_first(imp.java:750)
at org.python.core.imp.import_name(imp.java:834)
at org.python.core.imp.importName(imp.java:884)
at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
at org.python.core.PyObject.__call__(PyObject.java:357)
at org.python.core.__builtin__.__import__(__builtin__.java:1173)
at org.python.core.imp.importOne(imp.java:903)
at pygments.util$py.f$0(__pyclasspath__/pygments/util.py:232)
at pygments.util$py.call_function(__pyclasspath__/pygments/util.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:386)
at org.python.core.util.importer.importer_load_module(importer.java:109)
at org.python.core.ClasspathPyImporter.ClasspathPyImporter_load_module(ClasspathPyImporter.java:63)
at org.python.core.ClasspathPyImporter$ClasspathPyImporter_load_module_exposer.__call__(Unknown
Source)
at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)
at org.python.core.imp.loadFromLoader(imp.java:513)
at org.python.core.imp.find_module(imp.java:467)
at org.python.core.PyModule.impAttr(PyModule.java:100)
at org.python.core.imp.import_next(imp.java:715)
at org.python.core.imp.import_logic(imp.java:777)
at org.python.core.imp.import_name(imp.java:839)
at org.python.core.imp.importName(imp.java:884)
at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
at org.python.core.PyObject.__call__(PyObject.java:357)
at org.python.core.__builtin__.__import__(__builtin__.java:1173)
at org.python.core.imp.importFromAs(imp.java:978)
at org.python.core.imp.importFrom(imp.java:954)
at pygments$py.f$0(__pyclasspath__/pygments/__init__.py:91)
at pygments$py.call_function(__pyclasspath__/pygments/__init__.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:386)
at org.python.core.util.importer.importer_load_module(importer.java:109)
at org.python.core.ClasspathPyImporter.ClasspathPyImporter_load_module(ClasspathPyImporter.java:63)
at org.python.core.ClasspathPyImporter$ClasspathPyImporter_load_module_exposer.__call__(Unknown
Source)
at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)
at org.python.core.imp.loadFromLoader(imp.java:513)
at org.python.core.imp.find_module(imp.java:467)
at org.python.core.imp.import_next(imp.java:713)
at org.python.core.imp.import_name(imp.java:824)
at org.python.core.imp.importName(imp.java:884)
at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
at org.python.core.PyObject.__call__(PyObject.java:357)
at org.python.core.__builtin__.__import__(__builtin__.java:1173)
at org.python.core.imp.importOne(imp.java:903)
at org.python.pycode._pyx15.f$0(<string>:6)
at org.python.pycode._pyx15.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1261)
at org.python.core.Py.exec(Py.java:1305)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206)
at org.xwiki.rendering.internal.parser.pygments.PygmentsParser.initialize(PygmentsParser.java:165)
at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:360)
at org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:298)
... 114 more
--
Dale Magnuson
dale.magnuson(a)gmail.com
Hi,
I have created an app w/ minutes to manage some issue tickets. I am using a
field to track the status (open, pending, closed). How can I blind out items
which are not closed?
Kind regards,
Moritz
Hi List,
I would like the front page of my wiki to show /amongst others/ the
last articles of the global blog. I tried to add a "blog" object to
the Main.WebHome page, but that causes it's entire content to be
replaced... Is there a way to "include" a blog object in such a way
that the rest of the page (mostly just text) remains visible?
Thanks in advance for your time,
Frits
Hi, all,
I got a problem with our xwiki site setup, I have apache webserver and
tomcat behind with xwiki 3.5 deployed, when I do login, logout or clicking
buttons on the server machine browser with
http://localhost:8082/xwiki/bin/login/XWiki/XWikiLogin, I can login,
everything works fine, but if I use external public internet to access our
xwiki site like: http://mydomain.com/xwiki/bin/login/XWiki/XWikiLogin, I
got the login page shown up, but if I login, it redirects me to
localhost/xwiki/bin/view/Main/WebHome, which points to my localhost, not my
server mydomain.com machine, then from the browser address bar, if I change
the localhost url to this url:
http://mydomain.com/xwiki/bin/view/Main/WebHome, I can see the page
correctly.
Hers is my httpd.conf file setup:
ProxyPass /xwiki http://localhost:8082/xwiki
ProxyPassReverse /xwiki http://localhost:8082/xwiki
Any clue what is going on?
Thanks
Dave
Je suis absent(e) du bureau jusqu'au 29/05/2012
Remarque : ceci est une réponse automatique à votre message "users Digest,
Vol 58, Issue 10" envoyé le 5/4/2012 7:59:12 PM.
C'est la seule notification que vous recevrez pendant l'absence de cette
personne.
I tried doing exactly what I see in this tutorial:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial
to to the Minimal StyleSheet eXtension. I do everything as the tutorial says but there is no effect.
So is the tutorial wrong or does the option "Always on this wiki" not work?
I can do:
{{velocity}}
$xwiki.ssx.use("XWiki.MyFirstStylesheetExtension")
{{/velocity}}
In a page and have it work, but I want to have an extension for all of the Wiki so I want to use the "Always on this wiki".
Thanks for any pointers one might give.
Brett
I have edited the XWiki Tag Class
http://<server>/xwiki/bin/view/XWiki/TagClass<http://%3cserver%3e/xwiki/bin/view/XWiki/TagClass>
and set the Tags property. The name is "tags and I have edited the Values to be the list of tags I want. However on a page, I do not see the list of tags when I click on the Tags(+). Is this only effective for a newly created page or should the tags appear on the existing pages?
Any help or thoughts will be appreciated.
Brett
The XWiki development team is pleased to announce the release of XWiki
Enterprise and XWiki Enterprise Manager 4.0.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the first release of the 4.x cycle. See
http://enterprise.xwiki.org/xwiki/bin/view/Main/Roadmap for more
informations about the 4.x cycle.
The highlights of this release are:
* reduced document database id collision. It has been well tested but
you might want to make sure you have a working backup of your
database.
* new LDAP administration UI
* Annotations merged with Comments
* Extension Manager improvements
* App Within Minutes improvements
* User profile customization
* User directory improvements and user customized view
* ColorThemes gradients customizable from ColorTheme Wizard
* New IRC Bot Application
On development side:
* Extension Manager (without xar support and wiki UI) is now part of
XWiki Commons project and can be easily used outside of XWiki
* Component roles are now based on java.lang.reflect.Type instead of
java.lang.Class which mean you can now have different roles with the
same class and different generic types (e.g. )
* New Velocity tool to serialize Java objects to JSON format
* Class reference always local
* New Rights Implementation (Experimental). You can enable and test it
in xwiki.cfg.
* New technical content hiding system
* A new ApplicationReadyEvent event has been introduce for component
that need to access the database at init.
For more information see the Release notes at
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise40
and http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXEM40
Thanks
-The XWiki dev team
Hi All,
i imported the tab extension from
http://extensions.xwiki.org/xwiki/bin/view/Extension/Tabs+Macro. But it
does not work fine. Switch tab does not work and content of all tab shows
under first tab. I have fixed the issue as it required the small
modification. How should i check in the fixed version or is there any point
of contact whom i can intimate about the change.
Hi all, stumped on a little trick in inline mode:
I created a sheet for a class, so users will use an inline mode form.
However, I want them to be able to change the title of the document, like
so:
#if ($context.action != 'view')
$doc.display('title')
{{html}}#template('tagedit.vm'){{/html}}
#end
as you can see, I am able to add a tag editor in inline mode, but the title
does not show up, and can not be edited. I'd hate to use a different object
for the title, any suggestions?
Thanks!
Hi, all,
I am trying to add an addComments sub-menu item to image button from the
menu bar of WYSIWYG editor, what it does is to add comments for an image
inserted in the editor because I need to explain what each image is about
after I put it in the editor, I checked the
class:XWiki.WysiwygEditorConfigClass and the wysiwyg.js, I added a
sub-menu in
the WysiwygEditorConfigClass for image menu, but after that, I got lost,
this sub-menu button is supposed to connect to a plugin to trigger java to
run I believe since it is a plugin and each sub-menu like
imageInsertAttached, imageInsertURL is a plugin, but I could not find the
code where it calls a plugin, so how is the sub-menu button hooked to the
plugin? when a user clicks on the submenu button in the editor (inline
form) page, which javascript function gets called?
Thanks very much in advance!!
Dave
I have been running a simple xwiki farm with 2 sub wikis for some time and
I recently tried to add a macro with a groovy script in the sub-wiki and
got the "You don't have the right to execute this script". I tried to
grant programming to the user by logging into the wiki farm site and
granting programming to the group and to the user I am using in the
sub-wiki. I imported the Admin tools application and ran the Programming
rights Check and applied the config.
I still am not able to grant the user programming rights and my macro with
the script will not run, same permissions error.
I have tried to create a new user in the wiki farm and grant programming to
it, but when I login to the subwiki it has no permissions so I don't
believe I have him setup quite right.
This is running XWiki Enterprise 2.3.1.29183 build, not sure where to go
from here.
Any help appreciated.
Bob
Hi, all,
I am using jQuery for javascript, since it is conflicting with prototype, I
use the jQuery help extension:
http://extensions.xwiki.org/xwiki/bin/view/Extension/jQuery+Helpers, so far
everything works fine on Firefox, the problem is the IE7, I got jQuery is
undefined error from the UI library: $xwiki.jsx.use("jQuery.jQueryUI"), I
can see the javascript code in firebug with last par of the code:
.bind("blur",h)})})})(jQuery);
I noticed that there is a ";" in the end, but in IE7, I checked the code
from Microsoft Script Editor when I debug, it shows no ";", not sure if
that is the problem.
In IE7, I clicked the jQuery helper extension demo pages:
bin/view/jQuery/Demo1 page and bin/view/jQuery/Demo2 page, they both gave
me "jQuery is undefined" error. so this error happens to the extension as
well.
Could anybody help me with is issue?
Thanks very much.
Dave
Hi,
The below solution does not create a new document with the expected object;
{{html}}
<form action="${newATEQA}.getURL("objectadd","language=$lang")" id="newdoc"
method="post">
<div>
<input type="hidden" name="parent" value="${doc.fullName}"/>
<input type="hidden" name="template"
value="CdLSATEPublic.CdLSATEPublicTemplate"/>
<input type="hidden" name="sheet" value="1"/>
<input type="hidden" name="spaceName" value="CdLSATEPublic"/>
<input type="hidden" name="CdLSATEPublicClass_ID" value="6"/>
<input type="hidden" name="CdLSATEPublicClass_ CountryCode" value="us"/>
<input type="hidden" name="CdLSATEPublicClass_language" value="en"/>
Document: <input type="text" name="CdLSATEPublicClass_subject"
value="Enter your question here" class="withTip" size="50"/>
<span class="buttonwrapper"><input type="submit" value="Create this
FAQ" class="button"/></span>
</div>
</form>
{{/html}}
I've define a new document name, the intention is that the new document
will be created as a child of the current document with the language
specified and a object of specified class with the attributes as specified
in Inputs.
But I get a dialog for creating a new page that des not exist (which is
correct from the wiki perspective), if i select OK it will create a empty
document with a empty object
What should i do to make this work?
Gerritjan
The XWiki development team is proud to announce the availability of
XWiki Commons, XWiki Rendering, XWiki Platform, XWiki Enterprise and
XWiki Enterprise Manager 3.5.1.
This is the first bugfix release for the 3.5 series, and, since 3.5 is
the final major release in the 3.x cycle, a bugfix release for the whole
3.x cycle. The main focus has been on quality assurance, improving the
compatibility with various database systems, polishing the new sheet
mechanism, the new extension manager, the skin, the WYSIWYG, and other
parts of the XWiki platform.
See the full release notes at
http://www.xwiki.org/xwiki/bin/ReleaseNotes/ReleaseNotesXWikiEnterprise351
for more details.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Hi All,
I had a look on projects powered with xwiki. Really i am completely
amazed!!!. Just to start with,I am planning to use the xwiki site to use
it as my blog page.i have created the DivBlog space and gave Unregistered
Users the view rights on DivBlog.Everything looks great here. But i want to
hide icons like WIKI,Space and Page name (all on top left corner of global
menu bar), LOGIN(on top right corner) for unregistered users.
Similary iwant to hide the Export and More Action options for unregistered
users(on menu bar of page). On top of it, i want to introduce 3 tabs(or
links) on top of page (exactly
in the palce of global menu bar showing space name and page name). Can i do
such configuration in xwiki?How should i go about it.?
Just a suggestion if there is document which can state these kind of
customization , i am
sure it will help the masses.
Like Tabs mentioned at
http://www.xwiki.org/xwiki/bin/view/References/ALPHABib
Like Home,Repository,Blog,WikiLinks are mentioned at
https://ec.europa.eu/employment_social/anticipedia/xwiki/bin/view/Main/
Hi!
Please, could we expect XEM 4.0 in April?
Thanks!
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
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
At http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging, it is
stated that By default XWiki is configured so that SLF4J uses Logback.
XWiki's
Logback configuration is located in the WEB-INF/classes/logback.xml file
for For XWiki 3.1 and beyond. But if user want to use log4j instaed of
logback,
where it needs to be configured.
I did not find any property related to that in xwiki.cfg or
xwiki.properties.What i tried deleting the logback.xml and putting my
log4j.properties instaed. But xwiki
does not pick log4j.properties. As per my understanding, xwiki is using
SLF4J, there should be hook somewhere where we should be able to change to
log4j insteadd
of logback.
Is it possible to view the version history for the XWiki.XWikiPreferences
page? Version is 4.0rc1.
I've made updates using the object editor to set "Maximum Upload Size" and
added an appropriate comment in version history. I now find that I can't
access the "History" information due to the special handling of this page.
Any hints would be much appreciated.
--
View this message in context: http://xwiki.475771.n2.nabble.com/View-Version-History-for-XWiki-XWikiPrefe…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I'm new to XWiki and just installed 4.0rc1. I've set up users, created
some basic pages, and everything seems ok at first. Then I tried
"AppWithinMinutes" to create a basic application with one or two simple
fields. The wizard flows fine, but when In my new app, I used the "Add
Entry" action, which seemed to work fine, but when I go back to the app
page, *no entries are listed in the livetable*. If I go back to
AppWithinMinutes page, no applications are listed in that livetable either.
I've tried a second app, and tried other entries, but I can never get
anything to appear in a livetable entry, either for my custom app or the
AppWithinMinutes page. There are no errors in catalina.out. I've
installed a few extensions, so maybe that's a problem? I don't know how to
even proceed debugging this problem. Here are my installed extensions:
Google Apps Integration 1.0
Installed
by: Ludovic Dubost
Allows to import/export from XWiki Attachments to Google Docs and use
the Google Apps editors
Task Manager Application 1.0 M3
Installed
by: Ludovic Dubost, Guillaume Lerouge
A simple task management application
Calc Macro 1.0
Installed
by: Ludovic Dubost (XWiki SAS)
Perform simple calculations and sums in Wiki tables
Semantic Tagging Application 1.0
Installed
by: Oana Tabaranu, Anna-Maria Metzak
Extends the tagging mechanism of the XWiki Platform
PlantUML Macro 1.1
Installed
by: Maxime Sinclair
Draw UML or DITAA diagrams using PlantUML
Google Document Viewer Macro 1.0
Installed
by: Jerome Velociter
Displays an embedded PDF or MS Powerpoint document using a viewer by Google
Hi ,
How can insert the image between the macro. For example i want to display
the image on the page just after login.e
https://loaclhost/myWiki/bin/view/Main/WebHome.
The location i want to display is along the side of welcome message. But as
i click WYSIWYG. i see the velocity macro, and i click
image-->attachedImage but it does not insert the image anywhere. Is it
possible to insert the image at any intended position because content is
generated at run time. Looking for from both editors i.e WYSIWYG and wiki
editor
I know the way to insert the image on newly created page, But what about
to insert the existing page using macros.
Hi Moritz,
On Mon, Apr 23, 2012 at 1:27 PM, Moritz Hesse (EA GmbH)
<moritz.hesse(a)ea-gmbh.de> wrote:
> Hi,
>
> as I am new to XWiki I am trying to gain some inspiration and ideas how to
> successfully use it for our business purposes.
>
> I have created an app (application within a minute) to organize and manage
> our projects. We have designed a structure of fix sub-wikipages, which we
> want to attach to every application item.
>
> Example: let's say we have a project #123 and some metainformation like
> project leader etc. which is all organized in the application fields. And
> now we want some subpages like 1. project-todos, project-documentation,
> project-log etc.
>
> What possible ways do exist to automatize the creation of the subpages, so
> that each time I create a project item in that app, all the predefined
> subpages will be created by the system.
>
> I don't expect you to write me the complete solution. But I would really
> appreciate if you could just drop some buzzwords or some links, that point
> me the proper direction.
I know two ways to achieve what you want:
(1) Use the observation module. You can write an event listener that
is called each time a new document is created. See
http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial
for a tutorial on how to do this, and
http://extensions.xwiki.org/xwiki/bin/view/Extension/Title+Post+Processing+…
as a simple example.
(2) Customize the sheet used to create application entries/items. You
can modify the HTML form to post to the same page and thus catch the
save action and perform there additional stuff. This is a bit more
complicated and has the downside that you won't be able to update the
sheet when you edit the application (e.g. add new field) because you
would loose your custom changes. If you don't know what a sheet is,
see http://extensions.xwiki.org/xwiki/bin/view/Extension/Sheet+Module
. If your application is named Foo, then on the FooClass page (which
holds the application structure/fields) you'll find a link to the
sheet.
Hope this helps,
Marius
>
> Thanks in advance,
> best regards,
> Moritz
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
Hi, all,
After I used xwiki for a while with POSTGRES database, I got Exception:
Could not create a DBCP pool. There is an error in the hibernate
configuration file, please review it
since it said " Cannot create PoolableConnectionFactory (FATAL: sorry, too
many clients already)", I checked the hibernate.cfg.xml file, I can see the
connection.pool_size property is configured with value 2 by default, I have
some doubts about this value, only 2 connections in the pool? that is not
enough at all, any good reason why the default value is 2? so what is the
recommended value?
Thanks
Dave
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
ERROR com.xpn.xwiki.store.DBCPConnectionProvider - Could not create a DBCP
pool. There is an error in the hibernate configuration file, please review
it.
org.apache.commons.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory (FATAL: sorry, too many clients already)
at
org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
~[commons-dbcp-1.3.jar:1.3]
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
~[commons-dbcp-1.3.jar:1.3]
at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
~[commons-dbcp-1.3.jar:1.3]
at
com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:196)
~[xwiki-platform-legacy-oldcore-3.5.jar:na]
at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at
nextek.geo.fileupload.MediaViewServlet.doGet(MediaViewServlet.java:57)
[geoservice-3.3.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
[servlet-api.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
[servlet-api.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
[catalina.jar:7.0.26]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.26]
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
[xwiki-platform-webdav-server-3.5.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.26]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.26]
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
[xwiki-platform-container-servlet-3.5.jar:na]
I am out of the office until 01-05-2012.
Voor dringende zaken kunt u terecht bij ICT-Servicedesk
Note: This is an automated response to your message "users Digest, Vol 57,
Issue 47" sent on 27-4-2012 9:54:52.
This is the only notification you will receive while this person is away.
I am out of the office until 05/11/2012.
I am on holiday without access to Lotus Notes.
Question about the eSupport videos or IM CS wiki? Please contact Kim
Dillon.
Question about KCS for MTS, SWG Support Portal Content, or Netezza content
integration? Please contact Diane Paige.
Otherwise I will get back to you when I return. Thanks and have a good
day! :-)
Note: This is an automated response to your message "users Digest, Vol 57,
Issue 47" sent on 04/27/2012 3:54:52.
This is the only notification you will receive while this person is away.
Hi All,
This mail is regarding Bulletin Board application at
http://extensions.xwiki.org/xwiki/bin/view/Extension/Bulletin+Board+Applica….
I successfully imported the application and worked great. But i want to
configure it not at xwiki space level but under spaces i created manually
like MySpace1,MySpace2 etc because i want to create the bulletrin board for
specific to each space. But looks like nested spaces are not supported as
of now as per http://jira.xwiki.org/browse/XWIKI-354.
So how i can create multiple bulletin boards specific to each space?
*What i tried*
I thought of importing the multiple bulletin board XAR file multiple times
and giving each bulletin board different name. Then i can give rights on a
specific bulletin board application to group/users created for my
space(like MySpace1). But itimporting the multiple bulletin board XAR does
not work as it always import on top of existing one and at the end there is
only one bulletin board application. Thanks in advance.
Hi All,
i have my application deployed as myApp1 on tomcat 6 service. Due to some
requirement, i copied myApp1 and pasted under webapp as myApp2.Now i
restarted tomcat
and hit my url for myApp1. Worked fine . But on hitting the url for app2 ,
i get org.infinispan.jmx.JmxDomainConflictException: Domain already
registered org.infinispan
.Below is the root cause section in exception stack trace
root cause
org.infinispan.jmx.JmxDomainConflictException: Domain already
registered org.infinispan
org.infinispan.jmx.JmxUtil.buildJmxDomain(JmxUtil.java:73)
org.infinispan.jmx.CacheManagerJmxRegistration.updateDomain(CacheManagerJmxRegistration.java:92)
org.infinispan.jmx.CacheManagerJmxRegistration.buildRegistrar(CacheManagerJmxRegistration.java:86)
org.infinispan.jmx.AbstractJmxRegistration.registerMBeans(AbstractJmxRegistration.java:46)
org.infinispan.jmx.CacheManagerJmxRegistration.start(CacheManagerJmxRegistration.java:62)
org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:637)
org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:319)
org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:283)
org.xwiki.cache.infinispan.internal.InfinispanCacheFactory.initialize(InfinispanCacheFactory.java:134)
org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:295)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:358)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:324)
org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:147)
org.xwiki.component.internal.DefaultComponentManager.lookup(DefaultComponentManager.java:72)
org.xwiki.cache.internal.DefaultCacheManager.getCacheFactory(DefaultCacheManager.java:79)
org.xwiki.cache.internal.DefaultCacheManager.getCacheFactory(DefaultCacheManager.java:61)
com.xpn.xwiki.XWiki.getCacheFactory(XWiki.java:5887)
For the information,I am running the tomcat as service.
Hi,
Please, how could I enter HTML equivalents to UNICODE codes in document title? I didn't get them rendered while working with XE 2.4.30451.
Please, check this...
http://atriumkm.idisantiago.es/bin/download/ICT/UNICODE/085onTGFbeta.png
Beta is correctly rendered in breadcrumbs and body text, but not in document title.
Any solution? Thanks for your help!
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
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
Hi,
I've two spaces (let's say, FirstSpace and SecondSpace). FirstSpace
contains a page that has child pages like this:
FirstSpace
+-Parent page
+--Child page 1.
+--Child page 2.
I'd like to move "Parent page" with all children to SecondSpace.
However, when I use the rename function on "Parent page", it will not
move child pages.
Is there any way to do a mass rename (move between spaces) on a set of
pages, or it must be done one-by-one?
Thanks in advance,
Daniel
Hey guys, I have a problem with the JW Player, that you can use for inserting
videos into your pages.
I tried it the first way of the guide, where you have to upload the two
files (player.swf and jwplayer.js)
to the server. I thought it could be the attachment files of the page.
Than i tried to include the video, but it doesn't work.
Can someone explain, how to work with the jw player in xwiki?
Thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/Video-inserting-with-JWPlayer-doesn-t-wor…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi everyone,
I never had a solution to this. Do I really have to export and re-import
everything just to remove a space with no pages in it?
Just to remind you, the problem is a page in the AllDocs that can't be
deleted because it says it doesn't exist. Yet it still apears in AllDocs,
in its own space, the same as another space but with + instead of spaces*
in the space name.
Martin
* Sorry that's confusing.
On 04/19/2012 10:20 AM, Dmitry Bakbardin wrote:
> Hi!
>
> I experienced the same problem in 3.0: two spaces with the same names and
i can't delete it also because of
>
This is http://jira.xwiki.org/browse/XWIKI-6593 which has been fixed in
3.0.1, it's not related to the + in the space name, but to the fact that
you've disabled attachment versioning.
>>> Are you sure there is only one page ? Maybe you have a "WebHome" page
>>> too in this spaces ? Did you checked with document index ?
>
> I have several pages inside problematic space and no WebHome in it. None
of these pages could be deleted.
>
> So, now I'm waiting for the upgrade to export necessary spaces and import
them back after dropping database :-((
>
> Kind Regards,
>
> Dmitry
Hi,
as I am new to XWiki I am trying to gain some inspiration and ideas how to
successfully use it for our business purposes.
I have created an app (application within a minute) to organize and manage
our projects. We have designed a structure of fix sub-wikipages, which we
want to attach to every application item.
Example: let's say we have a project #123 and some metainformation like
project leader etc. which is all organized in the application fields. And
now we want some subpages like 1. project-todos, project-documentation,
project-log etc.
What possible ways do exist to automatize the creation of the subpages, so
that each time I create a project item in that app, all the predefined
subpages will be created by the system.
I don't expect you to write me the complete solution. But I would really
appreciate if you could just drop some buzzwords or some links, that point
me the proper direction.
Thanks in advance,
best regards,
Moritz
Hi XWiki expert,
two months ago we upgraded our internal XWiki to version 3.3. After the
upgrade it happens in unregular intervals that some macro are no longer
found (error message: "Unknown macro ...") . Only macros requiring
programming rights are affected.
When adding a comment to the affected macros as user with programming
rights the Macro becomes available again.
We can not see any unusal event which can be associated with the
problem. The log files do not contain any unusal error message.
I saw the problem also on http://rhierlmeier.myxwiki.org with XWiki
Version 3.5 (Unknown Macro "spaces" in Page Main.WebHome). Storing the
Spaces Makro again solved the problem.
How can I debug the problem?
Richard
Hi,
I have hosted two different wiki application(wiki1 and wiki2) under same
tomcat6. When i hit wiki1 from IE its works fine.But as soon as i hit
wiki2, i start getting Permgen space exception. As per my understanding ,
probable reason for this is large number of class files gets loaded in
classloader. Is that correct?(Any rough idea about number of classes
deployed in xwiki will help in understanding the problem). Is there a way i
can host two wiki app under same tomcat? Here are the details of my system:-
OS:-window7
RAM:-4 GB
java_opt- -Xms1536m -Xmx1536m //(mentioned as environment variable):
tomcat version:-6.0.26
As per
http://www.mkyong.com/tomcat/tomcat-javalangoutofmemoryerror-permgen-space/,
tried to increas the permgensize by mentioning JAVA_OPTS and suggested
value against it.But no help.
Now, What else i can i do to resolve this perm gen issue?
I have gone thru
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging. As per
logback.xml(inside in MyApp/WEB_INF/classes), looks like it relies on the
fact that container will redirect all the console to logfile automaticcaly.
But it is not happening. I am using tomcat 6. i want to put all the
possible logs i.e log.info.log.warn,log.error,log.debug,log.fatal inside
log file
For logging i am using below code snippet
private static final Log log =
org.apache.commons.logging.LogFactory.getLog(AuthServiceImpl.class);//
declared as insiance variable under AuthServiceImpl.class
then in my public method i am doing the logging as
log.error("Testing AuthServiceImpl Reply = ");
But its printing the logs on tomcat console. Guys really i have no idea
how to print the to file instead of console.Inside logback.xml(inside in
MyApp/WEB_INF/classes)
i can see below setting. I have really no idea what is happening?
Thanks in advance.
Hi, all,
I logged in as an administrator, I like to create a new page under jQuery
with this URL:
http://mydomain/xwikim/bin/create/jQuery/WebHome
when I click the Create button, it always redirected me to localhost as
following:
http://localhost/xwikim/bin/edit/jQuery/jQueryUICustom?template=&parent=jQu…
which caused error message: Unable to connect, I tried to create from Main
space, also the same problem and redirected me to:
http://localhost/xwikim/bin/edit/Main/jQueryUICustom?template=&parent=Main.…
when this happens, I have to replace the localhost with mydomain on browser
address and press enter to bring up the page, this happened to me many
times when I need to do edit action, when it is view action, it works
perfectly, I have httpd apache webserver in front of tomcat, in apache
config file, my setup is:
ProxyPass /xwikim http://localhost:8082/xwikim
ProxyPassReverse /xwikim http://localhost:8082/xwikim
In tomcat server.xml file, the setup is:
<Connector port="*8082*" maxThreads="*150*"
minSpareThreads="*25*"maxSpareThreads
="*75*" enableLookups="*false*" acceptCount="*100*" connectionTimeout="*
20000*" proxyPort="*80*" disableUploadTimeout="*true*" />
I feel this setup should be ok, since it works all the time except
sometimes it does not work for edit action or login.
Does anybody have ideas about what happened and how to fix?
Thanks very much in advance.
Dave
Hi evereyone,
Maybe this question is already answered but I couldn't find it out...
Is posible to have a global dashboard at Main Wiki (with XWiki Manager)
showing the activity of all wikis in a wiki farm?
Thanks in advance.
Regards,
Iago
--
View this message in context: http://xwiki.475771.n2.nabble.com/Global-Dashboard-with-activity-of-all-wik…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello!
I have a question: I have an xwiki farm with multiple (3) wikis installed. Today I realized that the search engine display the results from all wikis and not only from the one I currently use. How can I change this?
Thanks,
Florian
>On 04/19/2012 12:34 PM, Joel Forsberg wrote:
>> Hello!
>> I've just upgraded both operating system (Fedora 17) and Xwiki to 4.0 RC-1 and got an issue with the formula macro. Whenever I use it, the resulting image created is 1020x1320 pixels big, mostly empty except for the (correctly sized) formula placed in the bottom left corner of the .png image.
>Thu Apr 19 17:49:52 UTC 2012 Sergiu Dumitriu wrote:
>It works fine for me, so let's try and see where the problem occurs.
>Start by putting this into a tex file called a.tex:
>http://pastebin.com/8Tx92S5L
>The renderer uses a three-step process, tex->dvi, dvi->ps, ps->png.
>Let's try them out in order:
>latex --interaction=nonstopmode a.tex
>This should produce a.dvi, which should be a very big page with only the formula in the center, no other text. Check if there are any errors displayed there. Try without --interaction to make latex stop at errors.
>dvips -E a.dvi -o a.ps
>This should produce a.ps, which should be tightly cropped around the
>formula. If it isn't then there's a problem, maybe dvips doesn't support
>the -E parameter.
>convert -density 120 a.ps a.png
>This should produce a.png, having the same size as the ps.
>For reference, here's what I have locally (texlive installation):
>$ latex --version
>pdfTeX 3.1415926-2.3-1.40.12 (TeX Live 2011)
>kpathsea version 6.0.1
>$ dvips --version
>This is dvips(k) 5.991 Copyright 2011 Radical Eye Software
Thanks for the quick reply.
My texlive seem to produce a PostScript file that displays okay, but somehow the convert step sets the canvas size to 1020x1320
Adding a -trim parameter to will work around the problem, such as:
convert -trim -density 120 a.ps a.png
I'll look for a mention of this behavior for Imagemagick shortly (need food)
(Sorry for messing up the thread, I guess..)
-----
For reference:
The files I produced: http://www.mediafire.com/file/6qv8tty0pn1nyz0/formula_test2.tar.bz
debug output of convert-step: http://pastebin.com/FdJPEYwr
convert -version
Version: ImageMagick 6.7.5-6 2012-03-06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
latex --version
pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
kpathsea version 3.5.6
Compiled with libpng 1.5.8; using libpng 1.5.10
Compiled with zlib 1.2.5; using zlib 1.2.5
Compiled with libpoppler
dvips --version
dvips(k) 5.96.1
kpathsea version 3.5.6
-----
Hi!
I experienced the same problem in 3.0: two spaces with the same names and i can't delete it also because of
Error number 0 in 11: Uncaught exception
Wrapped Exception: null
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: null
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:240)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Wrapped Exception:
java.lang.NullPointerException
at com.xpn.xwiki.doc.XWikiAttachment.toStringXML(XWikiAttachment.java:333)
at com.xpn.xwiki.store.VoidAttachmentVersioningStore$VoidAttachmentArchive.getArchive(VoidAttachmentVersioningStore.java:143)
at com.xpn.xwiki.doc.XWikiAttachmentArchive.getArchive(XWikiAttachmentArchive.java:126)
at com.xpn.xwiki.doc.XWikiAttachment.toXML(XWikiAttachment.java:422)
at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:4024)
at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:4102)
at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:3851)
at com.xpn.xwiki.doc.XWikiDocument.toFullXML(XWikiDocument.java:3769)
at com.xpn.xwiki.doc.XWikiDeletedDocument.setDocument(XWikiDeletedDocument.java:193)
at com.xpn.xwiki.doc.XWikiDeletedDocument.<init>(XWikiDeletedDocument.java:89)
at com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWikiHibernateRecycleBinStore.java:68)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:4319)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:4299)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:6228)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:6217)
at com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
> > Are you sure there is only one page ? Maybe you have a "WebHome" page
> > too in this spaces ? Did you checked with document index ?
I have several pages inside problematic space and no WebHome in it. None of these pages could be deleted.
So, now I'm waiting for the upgrade to export necessary spaces and import them back after dropping database :-((
Kind Regards,
Dmitry
Thu, 19 Apr 2012 13:26:12 +0100 от Martin Evans <website(a)studenthubs.org>:
> I am on Main.AllDocs and I enter '+' into the space field and two documents
> show up - try it yourself http://bit.ly/J7oIGU
>
> I don't want these pages or spaces to exist so I press delete. It tells me
> the page does not exist when I try this.
>
>
> > Are you sure there is only one page ? Maybe you have a "WebHome" page
> > too in this spaces ? Did you checked with document index ?
> >
> > How do you delete/access the page ?
> >
> > On Wed, Apr 18, 2012 at 6:54 PM, Martin Evans <website(a)studenthubs.org>
> > wrote:
> > > I currently have two spaces, one called "Environment And Sustainability"
> > > and the other called "Environment+And+Sustainability". If I try to delete
> > > the only page in the erroneous space it says "The requested document
> > could
> > > not be found". So if the page isn't there, why is the space there?
> > >
> > > Martin
> >
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Kind regards,
Dmitry
Hello!
I've just upgraded both operating system (Fedora 17) and Xwiki to 4.0 RC-1 and got an issue with the formula macro. Whenever I use it, the resulting image created is 1020x1320 pixels big, mostly empty except for the (correctly sized) formula placed in the bottom left corner of the .png image.
Does anyone have an idea what might cause this?
Kind regards, and thanks. Joel
I currently have two spaces, one called "Environment And Sustainability"
and the other called "Environment+And+Sustainability". If I try to delete
the only page in the erroneous space it says "The requested document could
not be found". So if the page isn't there, why is the space there?
Martin
Hi Folks,
Looking at extensiility of xwiki, i am looking to make a typical forum
application on top of xwiki. The forum will be basically a discussion forum
where each user will be given user id and password. There will be
pre-defined topics like Realestate,Sale-Purchase,miscellaneous,etc . Each
user can start a thread on any forum and continue the discussion. It would
be a great help , if some can point me to reference project where similar
stuff has been done or
guide me how to start with? Thanks in advance.
I am on Main.AllDocs and I enter '+' into the space field and two documents
show up - try it yourself http://bit.ly/J7oIGU
I don't want these pages or spaces to exist so I press delete. It tells me
the page does not exist when I try this.
> Are you sure there is only one page ? Maybe you have a "WebHome" page
> too in this spaces ? Did you checked with document index ?
>
> How do you delete/access the page ?
>
> On Wed, Apr 18, 2012 at 6:54 PM, Martin Evans <website(a)studenthubs.org>
> wrote:
> > I currently have two spaces, one called "Environment And Sustainability"
> > and the other called "Environment+And+Sustainability". If I try to delete
> > the only page in the erroneous space it says "The requested document
> could
> > not be found". So if the page isn't there, why is the space there?
> >
> > Martin
>
Hello,
Could someone tell me how to start Xwiki so that it listen at a given IP address and port?
The port is passed to the start script (I wish to use a standard 80), but how do I make it to listen at a specified IP only?
Thanks.
Sincerely,
Konstantin
Got is working, Thanks
Dave
2012/4/18 du du <dddu88(a)gmail.com>
> ---------- 转发的消息 ----------
> 发件人:"du du" <dddu88(a)gmail.com>
> 日期:2012-4-18 上午8:06
> 主题:Re: [xwiki-users] [xwiki-devs] xwiki:dom:loaded event callback function
> never got called
> 收件人:"XWiki Users" <users(a)xwiki.org>, "XWiki Developers" <devs(a)xwiki.org>
>
>
> I tried to use wiki="false", or remove //<![CDATA[ and //]]>, still the
> event callback function never get called, any other reason?
>
> Thanks for your response, please help.
>
> Dave
>
>
> On Wed, Apr 18, 2012 at 5:33 AM, Marius Dumitru Florea <
> mariusdumitru.florea(a)xwiki.com> wrote:
>
>> Hi Dave,
>>
>> On Wed, Apr 18, 2012 at 6:43 AM, du du <dddu88(a)gmail.com> wrote:
>> > Hi all,
>> >
>> > I have the following velocity code in xwiki page, I can see the fid and
>> > fname values when I retrieve entryobj from the server side, so I want to
>> > use javascript to add the fid and fname to image link node as
>> parameters of
>> > the href url. the problem is the javascript loaded event function never
>> got
>> > called, why?
>> >
>> > Thanks very much.
>> >
>> > Dave
>> >
>> > {{velocity filter="none"}}
>> > {{html clean="false" wiki="true"}}
>> > <script type="text/javascript">
>>
>> > //<![CDATA[
>>
>> wiki="true" causes // to generate an EM HTML tag. Just look at the
>> page HTML source (all browsers have this option) and you'll see that
>> your SCRIPT tag is messed up.
>>
>> My advice is to:
>>
>> * use a JavaScript extension (
>>
>> http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial#HM…
>> ) instead of in-line SCRIPT tag
>> * try to avoid HTML macro with wiki="true" or, if it's not possible,
>> try to reduce as much as possible its content, i.e. wrap only the code
>> that really needs it.
>>
>> Hope this helps,
>> Marius
>>
>> > document.observe("xwiki:dom:loaded", function(){
>> > var imageNode = document.getElementById('tmViewImages');
>> > var url = imageNode.href;
>> > var index = url.indexOf("?");
>> > if(index!=-1)
>> > url = url.substring(0,index-1);
>> > url=url+"?FID=$!fid&FName=$!fname";
>> > imageNode.href=url;
>> >
>> > //]]>
>> > </script>
>> >
>> > #getEntryItemObject($doc $entryObj)
>> >
>> > #if("$!entryObj" == '')
>> > #warning($msg.get('xe.blog.sheet.notpost'))
>> > ## Keep testing the inline action for backward compatibility with older
>> > blog posts.
>> > #elseif($xcontext.action != 'edit' && $xcontext.action != 'inline')
>> > ## View mode
>> >
>> > #set($fid=$entryObj.getProperty('FID').value)
>> > #set($fname=$entryObj.getProperty('FName').value)
>> > fid view: $fid
>> > fname view: $fname
>> > _______________________________________________
>> > devs mailing list
>> > devs(a)xwiki.org
>> > http://lists.xwiki.org/mailman/listinfo/devs
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
Hi, All,
I got a lot of prototype problems as following which cause all the menus at
the top are not functional correctly, when I use mouse highlight each menu,
there are no sub menu items shown up. Such as Export, the Export as PDF and
others do not show up.
Sys is not defined
}else{H.attachEvent("on"+E,F)
prototype.js (line 2172)
H.attachEvent is not a function
}else{H.attachEvent("on"+E,F)
prototype.js (line 2172)
H.attachEvent is not a function
}else{H.attachEvent("ondataavailable",F);
prototype.js (line 2168)
H.attachEvent is not a function
}else{H.attachEvent("ondataavailable",F);
prototype.js (line 2168)
H.attachEvent is not a function
I am using jquery like this:
$xwiki.ssfx.use('JScripts/jQuery/slickgrid/css/smoothness/jquery-ui-1.8.16.custom.css',
{'forceSkinAction' : true, 'language' : $context.language})
$xwiki.ssfx.use('JScripts/jQuery/slickgrid/examples.css',
{'forceSkinAction' : true, 'language' : $context.language})
$xwiki.ssfx.use('JScripts/jQuery/slickgrid/jGrid_style.css',
{'forceSkinAction' : true, 'language' : $context.language})
$xwiki.ssfx.use('JScripts/jQuery/slickgrid/slick.grid.css',
{'forceSkinAction' : true, 'language' : $context.language})
<script type="text/javascript" src="/xwikim/bin/skin/resources/
JScripts/jQuery/slickgrid/lib/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="/xwikim/bin/skin/resources/
JScripts/jQuery/slickgrid/lib/jquery.event.drag-2.0.min.js"></script>
<script type="text/javascript" src="/xwikim/bin/skin/resources/
JScripts/jQuery/slickgrid/slick.core.js"></script>
<script type="text/javascript" src="/xwikim/bin/skin/resources/
JScripts/jQuery/slickgrid/slick.editors.js"></script>
<script type="text/javascript" src="/xwikim/bin/skin/resources/
JScripts/jQuery/slickgrid/slick.grid.js"></script>
<script type="text/javascript" src="/xwikim/bin/skin/resources/
JScripts/jQuery/slickgrid/slick.formatters.js"></script>
<script type="text/javascript" src="/xwikim/bin/skin/resources/
JScripts/jQuery/slickgrid/slick.dataview.js"></script>
<script type="text/javascript"
src="/xwikim/bin/skin/resources/JScripts/jGrid.js"></script>
Does anybody have a clue why I go these kind of errors?
Thanks
Dave
Hi,
On Apr 18, 2012, at 4:24 PM, Moritz Hesse (EA GmbH) wrote:
>> you can use the "rename" feature to change the page name.
>>
>> Right now, to change the page title you have to switch to "advanced" mode
>> in your user profile and edit the page in wiki mode.
>
> Funny thing: the title field is empty in wiki editing mode. This is what
> wonders me a little. And furthermore: Can I separately change name and title
> (what would be extremely helpful in my case…).
You can check http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HTitleBehavior
Thanks
-Vincent
Hi,
I would like to provide feedback regarding the Wiki Enterprise 3.5 and
4.0-RC-1 Windows EXE Installer.
I used the Wiki Enterprise 3.5 Windows EXE Installer on Windows 7 in
English. After the install screen, the NEXT button is frozen. I am
able to click on the PREVIOUS button, and that appears to re-install.
Before going through all the steps, with the PREVIOUS button leading
to re-installing, and NEXT not working, I have to click QUIT. The
software however is installed correctly.
When I try and investigate what's happening, I try >java -jar
xwiki-enterprise-installer-windows-3.5.exe, I encounter an exception
with the inactive NEXT button.
I have tried using the installer for 4.0-RC-1 and encounter the same problem.
>java -jar xwiki-enterprise-installer-windows-3.5.exe
could not create shortcut instance
java.lang.Exception: error loading library
java.lang.Exception: can't locate library
at com.izforge.izpack.util.Librarian.loadArchSpecificLibrary(Unknown
Source)
at com.izforge.izpack.util.Librarian.loadLibrary(Unknown Source)
at com.izforge.izpack.util.os.ShellLink.initialize(Unknown Source)
at com.izforge.izpack.util.os.ShellLink.<init>(Unknown Source)
at com.izforge.izpack.util.os.Win_Shortcut.initialize(Unknown Source)
at com.izforge.izpack.panels.ShortcutPanel.panelActivate(Unknown Source)
at com.izforge.izpack.installer.InstallerFrame.switchPanel(Unknown
Source)
at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown
Source)
at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown
Source)
at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.actionPerformed(Unknown
Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
java.lang.NullPointerException
at com.izforge.izpack.util.os.Win_Shortcut.getProgramsFolder(Unknown
Source)
at com.izforge.izpack.panels.ShortcutPanel.getProgramsFolder(Unknown
Source)
at com.izforge.izpack.panels.ShortcutPanel.panelActivate(Unknown Source)
at com.izforge.izpack.installer.InstallerFrame.switchPanel(Unknown
Source)
at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown
Source)
at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown
Source)
at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.actionPerformed(Unknown
Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Regards,
Quang
Hi Moritz,
you can use the "rename" feature to change the page name.
Right now, to change the page title you have to switch to "advanced" mode
in your user profile and edit the page in wiki mode.
There is a JIRA issue in order to display the "title" field by default when
editing a page created with AppWithinMinutes, but it has not been
implemented yet.
Guillaume
On Tue, Apr 17, 2012 at 18:06, Moritz Hesse (EA GmbH) <
moritz.hesse(a)ea-gmbh.de> wrote:
> > * page name is the page name used in the URL to the page
> > * title is how the page is displayed in the UI.
>
> That makes sense. But anyway: How do I change them?
>
> Bests,
> Moritz
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Hi all,
I have the following velocity code in xwiki page, I can see the fid and
fname values when I retrieve entryobj from the server side, so I want to
use javascript to add the fid and fname to image link node as parameters of
the href url. the problem is the javascript loaded event function never got
called, why?
Thanks very much.
Dave
{{velocity filter="none"}}
{{html clean="false" wiki="true"}}
<script type="text/javascript">
//<![CDATA[
document.observe("xwiki:dom:loaded", function(){
var imageNode = document.getElementById('tmViewImages');
var url = imageNode.href;
var index = url.indexOf("?");
if(index!=-1)
url = url.substring(0,index-1);
url=url+"?FID=$!fid&FName=$!fname";
imageNode.href=url;
//]]>
</script>
#getEntryItemObject($doc $entryObj)
#if("$!entryObj" == '')
#warning($msg.get('xe.blog.sheet.notpost'))
## Keep testing the inline action for backward compatibility with older
blog posts.
#elseif($xcontext.action != 'edit' && $xcontext.action != 'inline')
## View mode
#set($fid=$entryObj.getProperty('FID').value)
#set($fname=$entryObj.getProperty('FName').value)
fid view: $fid
fname view: $fname
Hi,
How can I register a java event listener against a space created event? I
would need this to add some stuff to another database everytime a new space
was created.
Thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/On-Space-Created-Event-tp7473505p7473505.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
I have a Admin user account with my wiki setup, starting some time ago,
when I login, I type Admin, then type admin password, the Admin user name
field automatically turns into admin, which has lower case "a", that means
different user account, which is not Administrator account, I have no way
to login as Administrator, I have to use firebug debugger to open the
underline html field and put Admin as the value to login.
Any way to fix this?
Thanks
Dave
Is it possible to use script variables inside PlantUML macro?
I tried:
{{velocity}}
{{plantuml}}
...
{{/plantuml}}
{{velocity}}
but this method doezn't work. Maybe existing another solution?
--
Thanks beforehand
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/script-variables-inside-PlantUML-macro-tp…
Sent from the XWiki- Users mailing list archive at Nabble.com.
On Apr 17, 2012, at 6:06 PM, Moritz Hesse (EA GmbH) wrote:
>> * page name is the page name used in the URL to the page
>> * title is how the page is displayed in the UI.
>
> That makes sense. But anyway: How do I change them?
See http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HTitleBehavior
Thanks
-Vincent
Hi,
On Apr 17, 2012, at 4:25 PM, Moritz Hesse (EA GmbH) wrote:
> How can I rename items in my applications? I can only modify all the values
> of my specified fields but not the name or title of the items.
>
> Thx + kind regards,
> Moritz
>
> By the way: What is the difference between the page title and the page name?
> They appear to be the same in my applications.
* page name is the page name used in the URL to the page
* title is how the page is displayed in the UI.
-Vincent
How can I rename items in my applications? I can only modify all the values
of my specified fields but not the name or title of the items.
Thx + kind regards,
Moritz
By the way: What is the difference between the page title and the page name?
They appear to be the same in my applications.
On 04/17/12 10:50, Moritz Hesse (EA GmbH) wrote:
> Detailed information:
> Error number 0 in 11: Uncaught exception
> Wrapped Exception: Java heap space
> com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
> Wrapped Exception: Java heap space
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:254)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
> at
> org.apache
You have to increase amount of RAM for your JVM process.
See
http://www.xwiki.org/xwiki/bin/view/FAQ/HowToSolveAJavaHeapMemoryError
If you have a big .xar to import, you may have to:
* export your source wiki space-by-space (see
http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+Export+By+Space+…)
* split your .xar manually (unzip/edit packages.xml/zip part of dirs -
risky if you have weird page names)
* use some BIG machine (I've used EC2 High-Memory instance)
Cheers,
R.
Hi,
after upgrading to 3.5 the Admin lost its ability to change the
WebPreferences like "showcomment".
In the "Administration: Page Elements" - Section only a Save Button is
shown, but the elements are not editable.
Any suggestions?
Thanks, Stefan.
Hi - I'm trying to add a checkbox to the account registration form (XWiki Enterprise 3.5). I can add the field so it renders on the form:
##
## The terms of service agreement, checking.
#set($field =
{'name' : 'tos_agree',
'label' : '<hr />I have read and agree to the above terms of use.',
'params': {
'type' : 'checkbox'
}
})
#set($discard = $fields.add($field))
However, I would like to validate that the checkbox has been checked before allowing the registration to take place. I do not need to store the checkbox value in the user objects. I've tried several validation variations based upon the examples in the registration code and other places, but nothing has worked, so I thought I would turn to the community for some help.
Thanks in advance!
-Andrew
City of New York
I'm playing around with dynamically extracting YouTube's captions into a
XWiki document via my macro
http://m.nielsmayer.com/bin/view/Macros/YouTubeCaptioner
Examples:
http://m.nielsmayer.com/bin/view/Sandbox/Google+Talk%3A+Mindfulness+with+Jo…http://m.nielsmayer.com/bin/view/Sandbox/XWiki+-+the+french+open+source+cou…http://m.nielsmayer.com/bin/view/Macros/YouTubeCaptioner_Test (Steve Jobs
Stanford Commencement Address)
An interesting possibility entailed by the above approach is that XWiki's
annotation system can be used to annotate the extracted deep-links to the
video. Unfortunately, in the first two examples, when annotations are
turned on, the video display disappears.
Any suggestions on having both annotations and YouTube's video player on
the same document at the same time? Seems as if the page gets redisplayed
when annotations get turned on, but the YouTube-suggested "hook" to create
the player out of JavaScript doesn't get called. I changed YouTube's code
to load the YouTube javascript out of XWiki as suggested by
http://platform.xwiki.org/xwiki/bin/view/DevGuide/JavaScriptAPI#HDOMEvents2…,
but it didn't help.
Here's my code for the macro YouTubeCaptioner:
---------------------------------
{{velocity}}
{{html}}
<div id="ytplayer"></div>
<script type="text/javascript">
// Load the IFrame Player API code asynchronously. If you load the iframe
// the normal way (
//
http://developers.google.com/youtube/player_parameters#Manual_IFrame_Embeds)
// you get cross-domain-error attempting to retrieve the YouTube player
object
// in JavaScript from parent frame that is in different domain. Some
browsers
// seem stricter than others in enforcing this potential security
exploit, but
// Chrome will definitely prevent it. Instead, must create the player in
// JavaScript (
//
http://developers.google.com/youtube/player_parameters#IFrame_Player_API )
// so that the caption links in the Groovy section below can reference the
// YouTube embedded player as 'player'
//
// NPM: augmented original YouTube suggested init with suggestion from
//
http://platform.xwiki.org/xwiki/bin/view/DevGuide/JavaScriptAPI#HDOMEvents2…
// in the hopes that annotations will display at same time as video
player.
function youtube_init() {
var tag = document.createElement('script');
tag.src = "https://www.youtube.com/player_api";
var firstScriptTag = document.getElementsByTagName('script')[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
}
(XWiki && XWiki.domIsLoaded && init()) ||
document.observe("xwiki:dom:loaded", youtube_init);
// Replace the 'ytplayer' element with an <iframe> and
// YouTube player after the API code downloads.
var player;
function onYouTubePlayerAPIReady() {
player = new YT.Player('ytplayer', {
height: '390',
width: '90%',
videoId: '${xcontext.macro.params.videoId}', //pass in videoID
parameter of macro
cc: '1' //force closed
captions display
});
}
</script>
{{/html}}
##
## Make Groovy-generated HTML Table filterable and sortable in browser via
JavaScript
## http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HTables
##
$xwiki.ssfx.use("js/xwiki/table/table.css")
$xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js", true)
{{/velocity}}
{{groovy}}
import org.apache.commons.lang.StringEscapeUtils;
def url = ("http://www.youtube.com/api/timedtext?v="
+ xcontext.macro.params.videoId //pass in videoID parameter
of macro
+ (xcontext.macro.params.ttOptions ?
xcontext.macro.params.ttOptions : "")
+ "&format=1&lang=en"
).toURL().text;
def root = new XmlSlurper().parseText(url);
println "(% class='grid filterable doOddEven' id='tableid' %)";
println "|=Caption|=Start Time|=Duration";
root.children().each() {
def dec = it.text().replace("\n", " ").replace(">>", "\n####");
//remove linebreaks embedded in captions
dec = StringEscapeUtils.unescapeXml(dec);
println
"|[[{{{${dec}}}}>>path:javascript:player.seekTo(${it.attributes().start},
true);]]|${it.attributes().start}|${it.attributes().dur}";
}
{{/groovy}}
---------------------------------
Also, I've noticed that when selecting items in a table for annotation, you
have to select the entire table-row, in order for the selection to be
displayed successfully. Is this a general feature of XWiki's annotations or
a specific problem caused by my examples, which annotate dynamically
generated content.
-- Niels
http://m.nielsmayer.com <-- my new http://Jelastic.com cloud-hosted XWiki
Hi All,
2 questions regarding the printing of pages:
1. is it possible to "force" a page break for printouts of Wiki-pages to make sure, that a certain amount of information is on 1 page?
2. is it possible to repeat part of a wiki-table (caption)automatically on each page?
I need to use those as a middle step before moving to xwiki completely regarding Quality-related documents..
Thanks,
Sebastian
--
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
I'm wondering if I ran into a bug or I just don't understand the
methods very well for Livetable macro. When I order with
'selectedColumn', all pages without a value for that property
disappear from the results.
See the example below, but I've tried various types of properties.
{{velocity}}
#set($columns = ["doc.name", "_Deadline"])
#set($options = {
"className":"App.DemoClass",
"selectedColumn": "_Deadline"
})
#livetable("bydeadline" $columns $columnsProperties $options)
{{/velocity}}
Thanks for your ideas!
I tested the new hidden documents feature in xwiki 4.0RC1. I do not see
any impact of the "Hidden document" flag.
I can see hidden documents as unregistered user and also as user with
user preferences "Display hidden documents" set to "No".
Changes on the hidden document are visible in the activity stream for
such users.
Is it working?
Hi,
I have just upgraded our XWiki 3.1 to the current 3.5 version.
When trying to import into the main wiki the default pages XAR (xwiki-enterprise-ui-all-3.5.xar - from which I had removed the appropriate pages and updated the package.xml) from the Administration: Import page, I chose the file and hit upload and nothing happens.
I have tried a number of times and the result is the same.
Trying to find out what is wrong I looked at the tomcat logs and My catalina.out file is full of hundreds of errors and warnings similar to the following:
Has anyone any idea what is going on or what I might try next??
==================================================================================================================================
…
2012-04-12 14:44:25,836 [http://<my server name>/bin/import/XWiki/XWikiPreferences?editor=globaladmin§ion=Import] WARN c.x.x.w.XWikiMessageTool - The document [MindMap.Translations] is listed as an internationalization document bundle but it does not exist.
…
2012-04-12 14:44:26,462 [Lucene Index Rebuilder] WARN c.x.x.w.XWikiMessageTool - The document [MindMap.Translations] is listed as an internationalization document bundle but it does not exist.
…
[http://<my server name>/favicon.ico] WARN c.x.x.w.XWikiMessageTool - The document [MindMap.Translations] is listed as an internationalization document bundle but it does not exist.
…
2012-04-12 14:44:30,794 [New I/O client worker #229-1] WARN h.c.p.n.NettyAsyncHttpProvider - Unexpected error on close
java.lang.IllegalStateException: An Executor cannot be shut down from the thread acquired from itself. Please make sure you are not calling releaseExternalResources() from an I/O worker thread.
…
2012-04-12 14:45:05,762 [http://<my server name>/xwiki/bin/import/XWiki/Import?editor=globaladmin§ion=Import] ERROR o.i.j.JmxUtil - ISPN000034: There's already an cache manager instance registered under 'org.infinispan' JMX domain. If you want to allow multiple instances configured with same JMX domain enable 'allowDuplicateDomains' attribute in 'globalJmxStatistics' config element
…
2012-04-12 14:45:05,768 [http://<my server name>/xwiki/bin/import/XWiki/Import?editor=globaladmin§ion=Import] ERROR c.x.x.w.XWikiAction - Uncaught exception during XWiki initialisation:
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Failed to get cache factory component
…
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [justicepump], type = [WIKI], parent = [null]]]]
Wrapped Exception: Error number 3202 in 3: Exception while reading document [name = [XWikiGlobalRights], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [justicepump], type = [WIKI], parent = [null]]]]
Wrapped Exception: a different object with the same identifier value was already associated with the session: [com.xpn.xwiki.doc.XWikiDocument#981637980]
...
2012-04-12 15:46:25,496 [http://<my server name>/bin/view/Main/] WARN o.i.m.DefaultCacheManager - ISPN000156: You are not starting all your caches at the same time. This can lead to problems as asymmetric clusters are not supported, see ISPN-658. We recommend using EmbeddedCacheManager.startCaches() to start all your caches upfront.
…
2012-04-12 15:47:07,816 [Lucene Index Updater] WARN c.x.x.p.l.AttachmentData - error getting content of attachment [cat2.jpg] for document [name = [LightboxMacro], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]]
org.apache.tika.exception.TikaException: Can't read JPEG metadata
...
==================================================================================================================================
Has anyone any idea what is going on or what I might try next??
Thanks for any insight you might have,
Tim
18-20. April http://www.medetel.luwww.medetel.lu in Luxembourg
THE INTERNATIONAL eHEALTH, TELEMEDICINE AND HEALTH ICT FORUM For Education,
Networking and Business
Will anybody from the XWiki community be there?
I will be there, send me a mail if you are interested to meet and discuss
XWiki there.
Volker from Oslo. XWiki ((at)) radiology.no.
--
View this message in context: http://xwiki.475771.n2.nabble.com/18-20-april-THE-INTERNATIONAL-eHEALTH-TEL…
Sent from the XWiki- Users mailing list archive at Nabble.com.