Hi!
It is possible to login in xwiki as a user without password? I want to link
from a software in my Hospital to xwiki. The only variable a have is the
real-name and user-name. I think about a login via velocity script with a
special admin user/password as a bridge component.
Hospital system ------------------------------> xwiki
username "foo" foo
admin ----open xwiki--------------->
pasword
--
View this message in context: http://xwiki.475771.n2.nabble.com/autologin-without-password-tp6986733p6986…
Sent from the XWiki- Users mailing list archive at Nabble.com.
> Hi Martin,
>
> On Thu, Nov 10, 2011 at 12:53 PM, Martin Evans <website(a)studenthubs.org>
> wrote:
> >>
> >> On 11/08/2011 04:03 PM, Martin Evans wrote:
> >> > I have a job scheduled to run once an hour. It logs its progress and I
> >> can
> >> > see that it's not completing the task. The weird thing is it gets a
> >> > different amount through each time. And if I paste the groovy code
> into a
> >> > normal page and view it, it executes the whole script no problems.
> >> >
> >> > Any ideas anyone?
> >>
> >> It should not stop for external reasons, the only thing that could stop
> >> it is an exception triggered while running the code, like a
> >> NullPointerException when reading some data. Can you give more details,
> >> what exactly does the code try to do?
> >> --
> >> Sergiu Dumitriu
> >> http://purl.org/net/sergiu/
> >>
> >> Ok so is there any way to see what exceptions are raised?
>
> > I don't think it is that, because when I run it in a page it works fine.
>
> This is not a good indicator because the servlet context (when you run
> your script in a wiki page) is very different than the "daemon"
> context (when your script is triggered by a scheduler). In the later
> you don't have the (servlet) request and response objects and thus you
> don't have a current document.
>
> Hope this helps,
> Marius
>
Thanks but in that case how can I debug the daemon script? It doesn't do
what it is meant to do, and that's all I know. What's stranger is that it
sometimes gets further through the scrip than other times.
Martin
I am out of the office until 11/14/2011.
Out on Veterans Day November 11; back in the office on Monday, November 14.
Note: This is an automated response to your message "users Digest, Vol 52,
Issue 29" sent on 11/11/2011 2:39:14.
This is the only notification you will receive while this person is away.
>
> On 11/08/2011 04:03 PM, Martin Evans wrote:
> > I have a job scheduled to run once an hour. It logs its progress and I
> can
> > see that it's not completing the task. The weird thing is it gets a
> > different amount through each time. And if I paste the groovy code into a
> > normal page and view it, it executes the whole script no problems.
> >
> > Any ideas anyone?
>
> It should not stop for external reasons, the only thing that could stop
> it is an exception triggered while running the code, like a
> NullPointerException when reading some data. Can you give more details,
> what exactly does the code try to do?
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
> Ok so is there any way to see what exceptions are raised? I don't think it
is that, because when I run it in a page it works fine. But I know the
scheduler can behave differently so I'm happy to investigate it.
The script reads and parses RSS XML from an external site, and creates or
updates contents of pages and objects as necessary. I'm not keen to post
the whole source code on here but if someone has some experience that could
help, I can email it directly.
Martin
Hi
My diagramming tool creates a set of html pages. I want these to be
accessible from my xwiki with the xwiki logon and security and not
otherwise. Is this possible? I've looked in the docs for "static html
pages" and not found anything useful (perhaps I'm looking for the
wrong thing). There are quite a few pages, all interlinked, and they
get rebuilt every time I do a diagram change, so anything that
involves importing them other than as a bulk transfer wouldn't really
be viable. Putting them on a completely separate web would require
logon / security synchronisation which I'd rather avoid. The pages are
an output - I don't need them version tracked.
Thanks
Tim
Hi,
I migrated successfully to XWiki 3.2, and tried to install the
http://extensions.xwiki.org/xwiki/bin/view/Extension/Workspace+Application
Workspace Application.
I first installed the
http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Manager+Plugin
Wiki Manager Plugin , then the
http://extensions.xwiki.org/xwiki/bin/view/Extension/Workspace+Component
Workspace Component , then the
http://extensions.xwiki.org/xwiki/bin/view/Extension/Workspace+Application
Workspace Application , browse to Install page and attached
workspace-template.xar as indicated (and also set xwiki.virtual=1 in my
xwiki.cfg).
After restarting (and some checks that plugins were correctly installed), I
found that :
- unexpectedly to reach my home page now I have to use an url like this :
http://host:port/xwiki/*wiki/xwiki*/view/Main/
..., or else it complains that this wiki does not exist. I would have
thought that the workspace app would not have changed the urls for everyone
...
- the urls generated inside the pages do not match this new url scheme, so
they all point now to a not existing wiki
- Browsing to WorkspaceManager.Install throws an exception in the page :
Error installing workspace template. Error number 50035 in 5: Exception in
plugin [com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin]: Wiki
[workspacetemplate] database update failed
Wrapped Exception: Error number 3202 in 3: Exception while reading document
[name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki],
type = [SPACE], parent = [name = [workspacetemplate], type = [WIKI], parent
= [null]]]]
Wrapped Exception: Error number 3301 in 3: Exception while switching to
database [workspacetemplate]
Wrapped Exception: Access denied for user 'xwiki'@'127.0.0.1' to database
'workspacetemplate'
I tried to grant all privileges (MySql) on *.* to my user xwiki on
127.0.0.1, but it did not change anything.
To summarize : very good impression on xwiki 3.2, but not so good for now on
workspaces :D
Thanks for help,
Jerem
--
View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicat…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Pre version 3.2 of Enterprise Manager, there was an option (a checkbox) to
auto save the document while in Edit mode. This seems to have disappeared
in version 3.2. Was this removed or does it now auto-save without having to
specify that option?
Thanks
Hi all,
Do you found that ctrl-v, the paste shortcut, is not available in the
Go-to panel, which can be called by ctrl-g. Is is easy to enable this?
Thanks!
I'm a complete newbie here. I ran through the Sample Application web page (FAQ Application)
and so-far so-good. I want to improve the user experience for adding a new FAQ entry.
For now my users select Add -> Page
then click on FAQTemplate
then they should know that they cannot change the 'Space Name' field
then they choose a page name
then they click "create"
Instead, I'd like to create a customized page which has only:
page name field
<create FAQ entry> button
Where should I look in the docs to see how to do this?
--chris
I have a job scheduled to run once an hour. It logs its progress and I can
see that it's not completing the task. The weird thing is it gets a
different amount through each time. And if I paste the groovy code into a
normal page and view it, it executes the whole script no problems.
Any ideas anyone?
Martin
I am out of the office until 11/09/2011.
Out on Election Day November 8; back in the office November 9.
Note: This is an automated response to your message "users Digest, Vol 52,
Issue 21" sent on 11/8/2011 4:25:53.
This is the only notification you will receive while this person is away.
Hi all,
I have XE3.2 installed on an Win2003 Server within an intranet
(Tomcat+MySQL, both latest versions), the hardware is good and enough
memory for the jvm. However, I found pages with activity (like the
dashboard and user profile pages) are very slow to load, usually 6-10
seconds, whereas the other pages can be lowed with 2 seconds (satisfied).
Little has been found when I searched the Internet inlcluding the
mailing list archive.
Is it normal or abnormal? Are there any profiling tools to identify the
time-consuming part?
Any suggestions are welcome!
Hello,
Thanks a lot for 3.2 Release!
From the good things I've noticed, the full text search indeed returns
more relevant result - especially the look-up in search.
However when doing an upgrade (from 3.1) I saw a weird exception
2011-10-12 07:57:54,556
[http://localhost/xwiki/bin/view/XWiki/WatchListRss?xpage=plain&outputSyntax…]
ERROR .x.x.s.XWikiHibernateBaseStore - Failed updating schema while
executing query [alter table activitystream_events_param
> s add index FKB94E2E7C763934E1 (eventId), add constraint
> FKB94E2E7C763934E1 foreign key (eventId) references activitystream_events
> (ase_eventid)]
> java.sql.SQLException: Can't create table
> './xwiki_utf8/#sql-dd6_11c9e.frm' (errno: 150)
I did not notice anything broken (well, except that work-spaces menu item
did not show-up, but I guess some configuration must be done to enable it).
Is it ok just to ignore this exception?
Regards,
Roman
--
View this message in context: http://xwiki.475771.n2.nabble.com/Upgrade-to-3-2-minor-issues-tp6883965p688…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
I found that if I watch a page with comma in the title, the watchlist in
my profile page won't display anything at all.
So either tiltle name shall not contain commas or the watchlist page
shall be altered.
However, I am not able to fix this...
I have been using XWIKI for over a year now and its just great. Recently, i
found it too difficult when comparing the changes of a new revision. What
would be perfect would be to see the page with its full layout and the
changed parts being highlighted or something like that. Now i have been
googling for a while to look if that is possible, but endet up nowhere. Does
anyone know if that can be done in XWIKI ?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Visually-compare-revisions-tp6963966p6963…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I want to preselect some tags in the livetable. How to implement the filter?
Something like:
..../Tags#|t=tag&p=1&l=5&s=doc.date&d=desc&tags=tag1,tag2,tag3
filter={tag1,tag2,tag3}
TagCloud activate tag1,tag2 and tag3.
Results including only tag1,tag2 and tag3
Volker
--
View this message in context: http://xwiki.475771.n2.nabble.com/Preselect-som-tags-in-livetable-tp6953355…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
Does anyone succeed to install XWiki 3.3 M1 with apt-get or aptitude?
I run Ubuntu 11.10, wget http://maven.xwiki.org/stable/xwiki-releases.list
and aptitude update failed:
E: Malformed line 1 in source list
/etc/apt/sources.list.d/xwiki-releases.list (dist parse)
E: Malformed line 1 in source list
/etc/apt/sources.list.d/xwiki-releases.list (dist parse)
E: The list of sources could not be read.
E: Malformed line 1 in source list
/etc/apt/sources.list.d/xwiki-releases.list (dist parse)
E: The list of sources could not be read.
E: Malformed line 1 in source list
/etc/apt/sources.list.d/xwiki-releases.list (dist parse)
E: Couldn't read list of package sources
I update xwiki-releases.list to
deb http://maven.xwiki.org releases/
After this update, aptitude update looks working but aptitude search
xwiki return nothing !!
Arnaud
I mean on myxwiki.org, with the user name androidtheandrew
I can still log in, but all the pages I'd written or been following are
gone.
Message-ID: <A252D111-7C95-4380-9CCF-5265CF968AA1(a)massol.net>
>>On Nov 2, 2011, at 5:58 AM, Niccolo Natalee Florence wrote:
>> All the content from inside my account - androidtheandrew - disappeared?
>Are you talking about an account on xwiki.org
?
>If so, accounts don't disappear on xwiki.org
unless:
>* you removed it yourself
>* you put some spam in the wiki somewhere (like creating a demo or test
page for you)
>* someone made a mistake but that's unlikely ;)
>Thanks
>-Vincent
Hi,
I am experiencing an error where data saved in properties of attached
objects to a page seems to be displaying incorrectly, and seemingly at
random.
I have a custom class defined with multiple properties, including a
TextArea with the editor set to WYSIWYG. Users create new objects of
this class attached to a page, and paste various information into the
WYSIWYG box in inline edit mode, usually from Microsoft Word.
The properties of each object are then displayed on the page in view
mode, including the TextArea. This works correctly a high percentage
of the time - the text pasted from Word correctly displays after the
WYSIWYG editor converts it to wiki syntax.
However - on occasion, when you look at the page, the content of that
property displays as one long paragraph, with embedded xwiki syntax
code that is displaying as code rather than rendering into html. This
appears to be destructive - once an object starts displaying in this
fashion, I can't get it to go back to displaying correctly. Whether in
view mode or in the wysiwyg editor, there is just a block of text with
wiki syntax and no line breaks.
As an example:
1) User clicks a button to add a new object to the page, and is taken
to edit mode
2) User pastes text from Word with embedded heading and style info
into the WYSIWYG editor in inline mode, then saves
3) The page then displays the object in view mode - it appears with
correctly rendered headings, which have been translated from Word into
wiki syntax, opaquely to the user
4) After a while, the user goes back to the page and sees the object
displaying as:
(% style="border: 3pt solid windowtext; padding: 1pt 4pt;" %) ((( =
HEADING 1 = ))) (% class="MsoNormal" %) == HEADING 2 == ==== Heading 4
text ==== (% class="MsoNormal" %) (% class="StyleStyleBold12pt"
style="font-size: 13pt;" %)text(%%)more text text text (%
class="StyleStyleBold12pt" style="font-size: 13pt;" %)7-28(%%)even
more text, text, text(% class="MsoNormal" %)
Etc...etc...etc... for pages at a time of wiki syntax with no line
breaks. Going back to inline edit mode, the same text appears in the
WYSIWYG editor.
This is a serious problem for me, since users are inputting lots of
data, seeing it display correctly, and coming back later to find their
data completely unreadable.
Does anyone have any idea what's going on or how to fix it?
Thanks,
Aaron
Hi, all
I tried to set up the Open Office server 3.3 for the office import and
office macro. After installing OO 3.3, I succeeded with externally
managed (local) way (failure with internally managed way), and the OO
Server was set up as an independent system service with proper start up
parameters (-headless -accept="socket,host=127.0.0.1,port=8100;urp;"
-nofirststartwizard) for sure. However, the Chinese documents are not
imported correctly and all Chinese characters were displayed as question
marks.
After reading http://markmail.org/message/ytdrsk7ue752cr73, I know the
problem is the OO HTML export encoding is not set (correctly), in my
case gb2312 instead which should be utf8. According to the former
discussion, for OO 3.2.1, a common.xcu file in the profile directory
should be altered. But for OO 3.3, there is no such a file. However,
there is a registrymodifications.xcu file located in C:\Documents and
Settings\Default User\Application Data\OpenOffice.org\3\user, which
plays a similar role as common.xcu. Note, different user has different
profile directory, and in my case "Default User" is the default
directory for system service processes.
Simply add "<item
oor:path="/org.openoffice.Office.Common/Filter/HTML/Export"><prop
oor:name="Encoding" oor:op="fuse"><value>76</value></prop>
" to that file would set up the HTML export encoding to utf8, which
solves the problem.
The XWiki development team is proud to announce the availability of
XWiki Commons, XWiki Rendering, XWiki Platform, XWiki Enterprise and
XWiki Enterprise Manager 3.3 Milestone 1. Since we're getting closer to
the end of the 3.x cycle, there are fewer new features in this release,
most of the changes being internal. The highlights of this release are:
* a preview version of the new class editor to be used in the
Application Within Minutes designer
* new Debian packages for XWiki
* a few extension manager improvements
* LDAP improvements
* improvements on uploading and downloading attachments, especially when
filesystem storage is enabled
And on the developers' front:
* script services for Application Manager and Wiki Manager
* cache improvements
* changes in the way XAR modules are packaged
* and the usual dependency upgrades and translation improvements
See the full release notes at
http://www.xwiki.org/xwiki/bin/ReleaseNotes/ReleaseNotesXWikiEnterprise33M1
for more details.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Hi,
I tried to export a page with many chinese characters as pdf, but the
resulted pdf has many "#".
There are no encoding problems elsewhere, everything is displayed correctly
by setting utf8 encoding everywhere (xwiki.cfg, database, tomcat).
I tried to search http://jira.xwiki.org and got no luck...
--
Thanks for reading!
Yang Li
Electronic Engineering, Fudan University
Hi all,
I am trying to find an extension, that enables me to put up some simple
notices (a string likes "This wiki is going to be upgraded on Nov. 1st,
sorry for the inconvineces.", or even with some links) on every page of
the whole wiki site, so that every user get notified something whatever
pages they are browsing. TWiki has such a function!
Is there such an extension out there? I got no luck when trying to find
one...
Anyone any idea?
On 2011-10-29 3:15 PM, "Sergiu Dumitriu" <sergiu(a)xwiki.com> wrote:
>
> # means that the font used in the pdf does not contain those characters.
You should find a font that has support for Chinese, copy it in
WEB-INF/fonts, extract xhtml2fo.xsl from
WEB-INF/libs/xwiki-platform-legacy-oldcore-*.jar into WEB-INF/classes, edit
it and add the name of your font next to FreeSerif and FreeMono wherever
they occur in the file, for example:
>
> <xsl:attribute
name="font-family">FreeSerif,IPAGothic,serif</xsl:attribute>
>
> Restart the server, and everything should work.
>
> A good free font is IPAGothic, which I'll have to check if it can be
redistributed by default.
>
IPAFonts can be redistributed, but it seems they are mostly for Japanese.
Looking further, I found Arphic fonts which seem to provide support for
Chinese in two variants, serif and script. From my point of view, the
script variant would look better in print, but I'd like the opinion of a
Chinese before deciding on a default.
>
> On 2011-10-28 9:56 PM, "yang Li" <yang.lee.cool(a)gmail.com> wrote:
>>
>> Hi,
>>
>> I tried to export a page with many chinese characters as pdf, but the
>> resulted pdf has many "#".
>>
>> There are no encoding problems elsewhere, everything is displayed
correctly
>> by setting utf8 encoding everywhere (xwiki.cfg, database, tomcat).
>>
>> I tried to search http://jira.xwiki.org and got no luck...
>>
>>
>>
>> --
>> Thanks for reading!
>>
>> Yang Li
>> Electronic Engineering, Fudan University
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
After add the presentation class to the page, I got the following error
even as the adminitrator.
*Slides*Failed to execute the [groovy]
macroorg.xwiki.rendering.macro.MacroExecutionException: You don't have
the right to execute this script at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:198)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:59)
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:232)
at
com.xpn.xwiki.internal.sheet.SheetDocumentDisplayer.displayAsSheetAuthor(SheetDocumentDisplayer.java:204)
at
com.xpn.xwiki.internal.sheet.SheetDocumentDisplayer.applySheet(SheetDocumentDisplayer.java:168)
at
com.xpn.xwiki.internal.sheet.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:104)
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.GeneratedMethodAccessor388.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
java.lang.reflect.Method.invoke(Unknown Source) 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.GeneratedMethodAccessor166.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
java.lang.reflect.Method.invoke(Unknown Source) 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:621) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1824)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source) at java.lang.Thread.run(Unknown Source)
Bonjour,
je gère une classe de voiliers de compétition (longtze.org) et voudrais
mettre en place un xwikin qui soit à la fois guide d’utilisation et
retours régatiers pour l'utilisation et la conduite des bateaux.
Username: xdelesquen
server name: longtze
Merci!
Hi all,
We tried xwiki a month ago with the standalone vertion including jetty
and hsqldb. And now we changed jetty to Tomcat for better performances
which is easy. However, we also want to change the database from hsqldb
to mysql because the there is a database size limit for hsqldb. But it
is difficult. We tried to export the wiki pages (including the user
registration infomation), however the pages with chinese characters as
their names has encoding problems, that is, their contents are all right
in utf8, however the names have disordered codes.
We also tried to use the Large Wiki Export, but got no lucky. It simply
doest work at all :(
Any suggestions?
Thank you all!
Hi,
I'm new to XWiki, and I would like some help on how to add JavaScript to my
pages.
I have looked at the example SkinExtensionsTutorial and can now do basic
JavaScript for example:
alert ("HelloWorld"); via the JavaScriptExtension.
I would like to add Google fusion tables to my Xwiki page an example of what
I am after is below with the JavaScript:
http://gmaps-samples.googlecode.com/svn/trunk/fusiontables/gviz_datatable.ht
ml
The JavaScript is shown below:
google.load('visualization', '1', {'packages':['table']});
function changeData(scorer) {
var whereClause = "";
if(scorer) {
whereClause = " WHERE 'Scoring Team' = '" + scorer + "'";
}
var queryText = encodeURIComponent("SELECT 'Scoring Team', 'Receiving
Team', 'Minute of goal' FROM 197026" + whereClause);
var query = new
google.visualization.Query('http://www.google.com/fusiontables/gvizdata?tq='
+ queryText);
query.send(getData);
}
function getData(response) {
var table = new
google.visualization.Table(document.getElementById('visualization'));
table.draw(response.getDataTable(), {showRowNumber: true});
How can I add this information to my Xwiki page.
Your help is much appreciated.
Best Regards,
Riaz
Hello,
I am relatively new to creating a wiki and have a simple question
hopefully. We initially downloaded the xwiki all in one installation for
trial purposes, and when we decided upon using xwiki, we installed the
xwiki using a separate database and tomcat installations. Now we can not
see the Link, Image, Table, Macro, or Import tool tabs in the WYSIWYG
editor or any tools in the wiki/source editor. I have attempted to edit
the WysiwygEditorConfiClass0 without success. We still have the
all-in-one installation running and can see all the tools in that
installation.
Any assistance would be greatly appreciated.
Robb
Hello,
When I create a new page, there are four buttons on the bottom of my page :
- PREVIEW
- SAVE & CONTINUE
- SAVE & VIEW
- CANCEL
Is there a possibility to don't see some of these buttons ?
For example, I just want to see buttons "SAVE & VIEW" and "CANCEL".
Thank you for your response.
Best regards,
Stéphanie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Buttons-when-creating-a-new-page-tp693186…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, Paul,
IMHO, from one side Xoffice - great tool, from other - it's almost useless:
- MS Word is not the only editor in the PC world
- MS Word is relatively "heavy" application.
- Installation process is far from seamless - huge headache for people "who have almost no free time and are not interested in
learning yet another program". They will have to spend 10 times more time on installing it, than on mastering WYSIWYG editor. Just try it on 10 users, you will see the difference :-)
- Localization (here I mean cyrillic names)
Much more versatile tool - web browser.
" Everyone we talked to about editing a wiki document via the web interface
was simply not interested."
When human has choice to learn or skip learning with the same final result, usually choice is obvious. Nobody ever will find browser more useful, then MS Word, until you will close MS Word option forever. That's human. Meanwhile each and every user wil find it more useful for them, then "old-styled-word" editing. So, in this case - CHOICE is bad thing to move forward. Try it on regular users and you will feel it yourself.
Last century people mastered MS Word, this century people found it extrafeatured, simplified as much as possible editing process and made wiki-cloud based systems default for document workflow.
So, for more or less big projects: Windows and Word purchase looks insane versus open source OS + web browser. As I understand, it's the only reason, why other project do not such tools (like XOffice). I do have MS Word on my Windows 7 machine, but I don't remember when I used it last time to EDIT documents. ;)
As for me, XWiki has one of the best in class web-based WISIWYG editor and all known for me users found it easy to use: NO NEED to dig into XWiki Syntax AT ALL. Just try other solutions to compare.
"The killer feature is that normal users can create a document and copy-paste screenshots into a wiki document."
This really has sence to implement into WISYWIG editor, but don't think it's a primary necessity. For me, for example, more critical - less complicated mechanism of anchor management.
Probably, these reasons are slowly pushing Xoffice aside of mainstream.
Kind regards.
Dmitry Bakbardin
24 октября 2011, 18:36 от Paul Harris <harris.pc(a)gmail.com>:
> The killer feature is that normal users can create a document and copy-paste
> screenshots into a wiki document.
> That cannot be done with (almost) any web wiki editor I can find at present.
>
> Every person we showed it to loved it, and was willing to try editing a
> document on the wiki.
> Everyone we talked to about editing a wiki document via the web interface
> was simply not interested.
> We work with people who have almost no free time and are not interested in
> learning yet another program (ie web-wiki)... They know MS Word well, they
> are already read to write content.
>
> I don't understand why you aren't pushing this simple but powerful component
> more. I don't see it mentioned on wikipedia, or wikimatrix.
> I think if you made sure xoffice worked, and let people know it existed,
> then more people would use xwiki. Its a killer feature and I don't
> understand why its not on billboards on the sides of freeways.
>
> Regards,
> Paul
>
> On 24 October 2011 20:35, Florin Ciubotaru <florin.ciubotaru(a)xwiki.com>wrote:
>
> > Hi,
> >
> > If you didn't start your documentation yet and you don't have any legacy
> > documents, I'd recommend using a pure web solution like XWiki. If you use
> > MS
> > Office for advanced content, you will have issues pushing that content to
> > the wiki anyway.
> > I created XOffice a few years ago, when MS Office was a lot more dominant
> > and web editors were still weak(including the one used by XWiki), but the
> > situation is quite different now.
> >
> > Indeed there was no development on it for the past year.
> > If you have critical issues with XOffice, it may be one of the following:
> > - you are using a localized version of Office or Windows (there are older
> > known issues with those)
> > - there is a conflict with newer XWiki versions.
> >
> > The MS Office and Windows behavior and security settings are different for
> > versions released on other languages. It doesn't make a lot of sense, but
> > that's the way it is.
> > I've been receiving quite a few requests for a new release. However I could
> > only do some bug fixing only for the En/En environment, since it's a pain
> > to
> > test and fix other versions.
> >
> > Thanks,
> > Florin Ciubotau
> >
> >
> > On Mon, Oct 24, 2011 at 9:46 AM, Vincent Massol <vincent(a)massol.net>
> > wrote:
> >
> > > Hi Paul,
> > >
> > > Indeed nobody is actively working on it at the moment and I was about to
> > > send a mail this week to propose to retire it and move it to the contrib
> > > repository since nobody in the xwiki committers are active on it and we
> > want
> > > to keep a good quality on the software that we make available.
> > >
> > > The only alternative would be someone stepping up and willing to work on
> > it
> > > and ensure it works with latest XWiki Enterprise versions. See that we
> > have
> > > nobody active on it, we could throw a vote to grandfather that person as
> > an
> > > XOffice committer so that he/she can easily work on it.
> > >
> > > Since you already fixed some bugs on it maybe you'd be interested to help
> > > out?
> > >
> > > Thanks a lot
> > > -Vincent
> > >
> > > On Oct 24, 2011, at 6:10 AM, Paul Harris wrote:
> > >
> > > > Hi all,
> > > >
> > > > I personally fixed a few bugs in xoffice at the start of the year,
> > which
> > > was
> > > > released in XOffice 1.1. That was a long time ago, and we have not
> > been
> > > > using xoffice in the meantime (not building documentation yet). Now it
> > > is
> > > > time to use it, and I'm having a lot of trouble.
> > > >
> > > > I would post a bug to JIRA if it were a single problem, but it appears
> > > that
> > > > xoffice is fundamentally broken as I can't go longer than 30 seconds
> > > without
> > > > hitting a road block.
> > > > Does anyone use it?
> > > >
> > > > * For some pages with images, when I click Edit, the text appears with
> > > blank
> > > > boxes for the images.
> > > >
> > > > * I am able to do the following: I edit a text-only page, and
> > copy-paste
> > > in
> > > > an image, then click Publish. Stop and restart Word, and it is able to
> > > Edit
> > > > the page WITH THE IMAGE correctly. Seems strange that it works for
> > this
> > > > page, but not the other.
> > > >
> > > > * Some pages cannot be edited. I click Edit and it either doesn't seem
> > > to
> > > > hear the button click, OR it will pop up "Opening page..." progress
> > > dialog,
> > > > which never disappears.
> > > >
> > > > These are serious roadblock bugs, am I the only one seeing this, or is
> > > this
> > > > so buggy that noone else is using it regularly?
> > > >
> > > > This is version 1.1 (released early 2011), with Word 2010, on Vista,
> > > freshly
> > > > installed with not much else on the laptop.
> > > >
> > > > thanks
> > > > Paul
> > > _______________________________________________
> > > 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
>
Hi all,
I personally fixed a few bugs in xoffice at the start of the year, which was
released in XOffice 1.1. That was a long time ago, and we have not been
using xoffice in the meantime (not building documentation yet). Now it is
time to use it, and I'm having a lot of trouble.
I would post a bug to JIRA if it were a single problem, but it appears that
xoffice is fundamentally broken as I can't go longer than 30 seconds without
hitting a road block.
Does anyone use it?
* For some pages with images, when I click Edit, the text appears with blank
boxes for the images.
* I am able to do the following: I edit a text-only page, and copy-paste in
an image, then click Publish. Stop and restart Word, and it is able to Edit
the page WITH THE IMAGE correctly. Seems strange that it works for this
page, but not the other.
* Some pages cannot be edited. I click Edit and it either doesn't seem to
hear the button click, OR it will pop up "Opening page..." progress dialog,
which never disappears.
These are serious roadblock bugs, am I the only one seeing this, or is this
so buggy that noone else is using it regularly?
This is version 1.1 (released early 2011), with Word 2010, on Vista, freshly
installed with not much else on the laptop.
thanks
Paul
Hi all,
Is anyone able to install XOffice?
I get messages re "MyComputer is not a trusted zone" or similar.
Is XOffice going to be dropped going forward? Its the main reason we chose
xwiki.
Thanks
Paul
Hello developers!
I seen your thread about XE 3.3 Roadmap + Finishing the 3.x cycle. In this
post also described jira-requests, which you planned to resolve in a near
future.
All is great, the general strategy and each step are right, but also exists
some other important issues (I think that its are important) and I want to
put your attention on its. If is it possible, can you analyze possibility to
include these issues in your nearly plans?
1. XE-1032 - XWiki 3.2 totally cannot work on Oracle (upgrade & fresh
install failed). I think, it is important issue, because supporting of
Oracle are declared - but in realty XE 3.2 is not supporting Oracle.
To the future, maybe is good proposal, same as you wrote in a 3.2 release
notes - which browsers are tested & supporting - also will write witch DB
are tested & supporting. I can test new releases on Oracle.
2. XE-324 - allow special (russian and asian) characters in attachment names
- very old issue, but I think is important, because without it - you cannot
declare that XWiki have normal multi-language support. All modern
web-platforms & applications now have this possibility (wikis, web-mails,
social applications, etc.) only XWiki is lagging...
3. XWIKI-2870 - Ability to select query language in Database List property.
This is more for developers, and also very old issue. I think it is
important, because if you did something modern (in this case - XWQL) - need
to support this in all "parts" of platform... If you didn't do this - your
great work for modern features - looks like as "garbage" - I cannot use XWQL
in Database List property - as a result - I am not using XWQL at all,
because I don't want to write queries 2 times.
If is it possible, can you analyze possibility to include these issues in
your nearly plans?
PS. Maybe another users know some more important unresolved issues? I think,
user opinions will be interesting for developers!
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/4Developers-more-important-issues-regardi…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Yes I do have JIRA account, just try to vote for your own issues, I don't think you will succeed. Have a look at file attached. :-)
Dmitry
20 октября 2011, 16:47 от Thomas Mortagne <thomas.mortagne(a)xwiki.com>:
> On Thu, Oct 20, 2011 at 2:13 PM, Haru Mamburu <haru_mamburu(a)mail.ru> wrote:
> > Thank you, Caleb,
> >
> > But JIRA says, that I can't vote on the topics I issued, so 0 means +1 :-)
>
> That's weird, do you have an account on jira ?
>
> >
> > Kind regards,
> >
> > Dmitry
> >
> > 20 октября 2011, 12:49 от Caleb James DeLisle <calebdelisle(a)lavabit.com>:
> >> I have just assigned myself XWIKI-6918 and XWIKI-6917, the bugs.
> >> You can go ahead and vote on the feature requests (resume download and webdav access) and we can see where things go from there.
> >>
> >> Caleb
> >>
> >> On 10/20/2011 04:02 AM, Haru Mamburu wrote:
> >> > Hi, All
> >> >
> >> > Also, I'd add all bug fixes with file storage system, because for now, I have had to switch off (in 3.2):
> >> >
> >> > - versioning of attachment
> >> > - recycle bin for attachment
> >> >
> >> > to use it more or less seamless. Otherwise, there is a big mess with deleted attachment occure. Everything I found, "JIRAded" already: XWIKI-6989, XWIKI-6921, XWIKI-6918, XWIKI-6917.
> >> > Would be nice also to have resume download for big files: XWIKI-6921
> >> >
> >> > So, we have a new feature, but with a very limited functionality, that really works. Moreover, not each and every core functions really support attachments, stored in FS. For projects with big and huge attachments these topics are essential, IMO.
> >> >
> >> > Some additional support for cyrillic XWIKI-6955 is also welcome to put in plan. :-)
> >> >
> >> > Best regards,
> >> >
> >> > Dmitry Bakbardin
> >> >
> >> >
> >> > 20 октября 2011, 11:25 от Eugen Colesnicov <ecolesnicov(a)gmail.com>:
> >> >> Hello developers!
> >> >>
> >> >> I seen your thread about XE 3.3 Roadmap + Finishing the 3.x cycle. In this
> >> >> post also described jira-requests, which you planned to resolve in a near
> >> >> future.
> >> >>
> >> >> All is great, the general strategy and each step are right, but also exists
> >> >> some other important issues (I think that its are important) and I want to
> >> >> put your attention on its. If is it possible, can you analyze possibility to
> >> >> include these issues in your nearly plans?
> >> >>
> >> >> 1. XE-1032 - XWiki 3.2 totally cannot work on Oracle (upgrade & fresh
> >> >> install failed). I think, it is important issue, because supporting of
> >> >> Oracle are declared - but in realty XE 3.2 is not supporting Oracle.
> >> >>
> >> >> To the future, maybe is good proposal, same as you wrote in a 3.2 release
> >> >> notes - which browsers are tested & supporting - also will write witch DB
> >> >> are tested & supporting. I can test new releases on Oracle.
> >> >>
> >> >> 2. XE-324 - allow special (russian and asian) characters in attachment names
> >> >> - very old issue, but I think is important, because without it - you cannot
> >> >> declare that XWiki have normal multi-language support. All modern
> >> >> web-platforms & applications now have this possibility (wikis, web-mails,
> >> >> social applications, etc.) only XWiki is lagging...
> >> >>
> >> >> 3. XWIKI-2870 - Ability to select query language in Database List property.
> >> >> This is more for developers, and also very old issue. I think it is
> >> >> important, because if you did something modern (in this case - XWQL) - need
> >> >> to support this in all "parts" of platform... If you didn't do this - your
> >> >> great work for modern features - looks like as "garbage" - I cannot use XWQL
> >> >> in Database List property - as a result - I am not using XWQL at all,
> >> >> because I don't want to write queries 2 times.
> >> >>
> >> >> If is it possible, can you analyze possibility to include these issues in
> >> >> your nearly plans?
> >> >>
> >> >> PS. Maybe another users know some more important unresolved issues? I think,
> >> >> user opinions will be interesting for developers!
> >> >>
> >> >> Thanks beforehand!
> >> >> Eugen Colesnicov
> >> >>
> >> >> --
> >> >> View this message in context: http://xwiki.475771.n2.nabble.com/4Developers-more-important-issues-regardi…
> >> >> Sent from the XWiki- Users mailing list archive at Nabble.com.
> >> >> _______________________________________________
> >> >> 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
> >>
> > _______________________________________________
> > 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
>
Hi,
Can't quite seem to figure this one out on my own...
Is there any way to change the "index" number of multiple objects of
the same class attached to a page?
I have a custom class with a number of properties, and a document with
a number of instances of that class attached. I then have some custom
display code on the Class Sheet which loops through all objects of the
custom class to display them in order. The problem is that this is
limited to displaying them in the order they were created.
When I use the class editor on the page, I get the list:
TestClass 0: Name
TestClass 1: Name
TestClass 2: Name
etc....
The velocity loop which does the displaying always returns the objects
in that order - 0,1, 2, etc....
#set($objs = $doc.getObjects('Admin.TestClass'))
#foreach($obj in $objs)
< do some custom display stuff with each $obj >
#end
Is it possible to programmatically change the order of these objects?
Ultimately, I would like for the user to be able to drag and drop the
order of objects to manually set the display order in a persistent way
- much like the built-in Class Editor does for re-ordering multiple
properties of a class.
One workaround I have thought of is to include a property of the
custom Class for something like "sort order" and then allow the user
to modify this property, while leaving the underlying index order
untouched. This seems clunky to me, though...
Any thoughts?
As always, help is much appreciated.
Aaron
Hi,
We've been recently experimenting with PeerWise (
http://peerwise.cs.auckland.ac.nz/) which allows students to make / answer /
rate simple multiple-choice style questions (there are a lot of social
features as well). I was wondering if this kind of functionality is
available in Curriki or any other XWiki derivative, it seemed implementing
something like PeerWise on top of XWiki would be really interesting :)
Many thanks for your comments.
- Asiri
Hi everyone,
I have a little problem (not really a problem, but it's been two weeks since
I can't find how to do).
I have a basic button :
<form id="survey" action="${xwiki.getURL('MySpace.AppCreation')}"
method="get">
<div>
<input type="hidden" name="appSpace" value="MySpace"/>
<input type="hidden" name="appTemplate"
value="MySpace.ApplicationClassTemplate"/>
<input type="hidden" name="appId" id="appId" value="SURVEY" />
<input type="hidden" name="appId2" id="appId2"
value="$datetool.get('yyyyMMdd-HHmmss')" />
<input type="submit" class="button"
value="${msg.get('AppCreation.form.submit')}"/>
</div>
</form>
The page just show a button "Start the survey"
Pressing the button creates a new page with this intermediate code :
#set($appId = $request.get('appId'))
#set($appId2 = $request.get('appId2'))
#set($appName = "$appId$appId2")
I store the space and other information too. And after I redirect to my new
page :
$response.sendRedirect($xwiki.getURL($targetDocName, 'inline',
"template=${appTemplate}&parent=${targetDocParent}"))
After that my survey appears (it's just a basic form), and the name of my
page is for example : SURVEY20111013-165324
My problem is that the title of my page is also the name of my page. And I
think it's not very beautiful for people who will answer my survey to see
"SURVEY20111013-165324". I prefer them to see a title like "Survey".
Is there a solution to change the title of my page and where do I exactly
need to change this title ?
Thank for your response,
Stéphanie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Don-t-see-how-to-change-the-title-of-my-p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Mostly, I'd like to use Xwiki for personal notes. I've been using a desktop
wiki program to take notes in class and plan out various projects, but if I
could do this online, it'd the same no matter what machine I use it on.
Also, partly, I'm playing around with the idea of starting a wiki site, and
I'd use Xwiki if I ever get around to starting that, so this will help
if/when I need to run the software on a dedicated server.
If you’re interested in having a wiki hosted on this farm please send an
email to the XWiki user mailing
list<http://dev.xwiki.org/xwiki/bin/view/Community/MailingLists>with a
subject of [myxwiki]
new wiki request and explaining briefly what you want to use this wiki for
(give a brief description). You’ll also need to register on myxwiki.org and
give your user name in the mail, as well as the server name you want for
your wiki (the name that will be used before .myxwiki.org to access the
wiki). Then one of the community Admins will create it for you.
--
Andrew
We're setting up a private XWiki wiki farm for our department.
Everything is working perfectly except for the fact that non-admin users
cannot create new wikis. We'd prefer to allow registered users to create
wikis on their own, without involving the admin.
Currently, when a non-admin user attempts to create a new wiki, they receive
the following error:
Wiki "testwiki9" creation failed: Error number 9001 in 5: Exception in
plugin xpn.xwiki.plugin.wikimanager.Wiki Manager
Plugin?<https://sliswiki.sjsu.edu/bin/edit/com.xpn.xwiki.plugin.wikimanager/WikiMan…>:
You dont have right to create wiki
Is there any way to customize XWiki to grant non-admin users the right to
create new wikis.
In the case of a private wiki farm, where our user base is known, it would
seem safe to do this.
Thanks in advance for any feedback.
--
Stanley E. Laufer
Network Administrator
School of Library and Information Science
San Jose State University
For italian users that are interested in updating their italian resource
file, please visit
http://l10n.xwiki.org/xwiki/bin/view/L10N/TranslationRules_it , where I
posted my last version (3.1 and 3.2) of ApplicationResources_it.properties
file.
For xwiki developers: it is still too much time consuming (at least for me)
to update translations line by line through actual system (l10n.xwiki.org),
for what regards the big application resource file (>3500 lines).
Angelo Ghisoni
--
View this message in context: http://xwiki.475771.n2.nabble.com/Italian-translation-xwiki-core-tp6888357p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'd like to modify the RSS feed and add comments posted by user (against any document) to the RSS feed.
That is the RSS feed will include user comments.
Could somebody let me know how can I make the changes?
Regards,
-Frank Ding
hello XWiki experts,
I have an object property that's of type number.
I have not been able to find the type of a variable x so that:
doc.getObject("Space.Class").set("amountr", x)
doc.save()
works without a hibernate error.
I tried float or integer "sub-type" of number.
What should I put?
I tried with x=new Float(1.0f) but failed.
thanks for hints.
paul
Hi everybody!
I have strange situation with activity macro (XWiki 3.2). If I add Activity
macro for user personal dashboard - I can see all personal messages &
events, but If I put same macro (inside dashboard or not - doesn't matter)
in simple page - I cannot see mesages for this users ...
For reproducing situation:
1) create some "test" user
2) this user made some changes for page Sandbox.TestPage3
3) from another user (admin) sent some message personaly for "test" user
4) go to personal dashboard with activity gadget with string: {{activity
spaces="Sandbox" authors="test"/}} - you can see page modification made by
"test" and also message from admin.
5) Add same activity macro {{activity spaces="Sandbox" authors="test"/}} in
another page - see result: no message, no info about page modification ...
Why? What's the difference?
My final goal - on some page (not personal dashboard) list all activity
(personal messages stream too) of fixed user and fixed space. Unfortunatly,
result what I want give me only personal dashboard of this user (on page
/xwiki/bin/view/XWiki/test), and I cannot reproduce it on another pages ...
Maybe I doing something wrong?
Please give me some advice.
--
Best Regards
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/Activity-macro-issues-tp6895656p6895656.h…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
My users want to be able to change the font size and type on their wiki
pages to make their text stand out - how can this be done? Can the WYSIWYG
editor can style pull down menu be tweaked to add text options for
different font sizes and styles or is there a macro for this? Are there any
plans to add font editing functionality to the WYSIWYG editor as say like
you get in a word processor.
Thanks
Regards,
Richard
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi Sergiu,
I'm using default installation (HLSQL+Jetty). The message itself appears at
the bottom of the page in the same place where "Saving..." and "Saved"
appear. So my guess would be that it is still XWiki, or at least it wraps
some stuff underneath.
And also strange is that it works for same attachment in other space.
Andrey
From: Sergiu Dumitriu <sergiu(a)xwiki.com>
> On 10/10/2011 07:15 AM, Crowd Covered wrote:
>
>> Hi guys,
>>
>> When deleting attachment, I've got following error message: "Failed to
>> delete attachment: ( The request was rejected by HTTP filter. Contact
>> server
>> administrator. )"
>> It is just a *.doc, added by other user and updated to once to 1.2
>> version.
>> Tried also to delete as admin to no success. In Sandbox webspace I create,
>> update and delete such an attachment without problems.
>> Search on the web by error message didn't bring correlating results.
>>
>> Can someone hint why is this happening and how to solve it? May it be smth
>> about user rights?
>> Thanks,
>> Andrey Stoliarov
>>
>
> This error doesn't sound like anything that XWiki generates, it looks like
> a server configuration issue, with the Apache HTTPD reverse proxy set up,
> assuming that's what you're using.
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
I used Thomas' workaround from XEM-113<http://jira.xwiki.org/browse/XEM-113>,
and it's working great.
Thanks and very sorry for the hassle.
On Thu, Oct 13, 2011 at 1:02 PM, Stanley Laufer <stanley.laufer(a)sjsu.edu>wrote:
> Nevermind. I see the comments on the JIRA. I'm not 100% how to implement,
> but will investigate.
>
> If anyone has developed documentation on how to do this, would you be
> willing forward?
>
> Thanks...
>
>
> On Thu, Oct 13, 2011 at 12:46 PM, Stanley Laufer <stanley.laufer(a)sjsu.edu>wrote:
>
>> I see the following JIRA regarding this issue:
>>
>> http://jira.xwiki.org/browse/WIKITHREEDOTO-14
>>
>>
>> But I'm not seeing any details regarding the resolution. Was a
>> configuration option added to disable java rights checking for the current
>> user? I scanned through xwiki.cfg, but I'm not seeing anything related...
>>
>> Many thanks...
>>
>>
>>
>> On Thu, Oct 13, 2011 at 12:35 PM, Stanley Laufer <stanley.laufer(a)sjsu.edu
>> > wrote:
>>
>>> We're setting up a private XWiki wiki farm for our department.
>>>
>>> Everything is working perfectly except for the fact that non-admin users
>>> cannot create new wikis. We'd prefer to allow registered users to create
>>> wikis on their own, without involving the admin.
>>>
>>> Currently, when a non-admin user attempts to create a new wiki, they
>>> receive the following error:
>>>
>>> Wiki "testwiki9" creation failed: Error number 9001 in 5: Exception in
>>> plugin xpn.xwiki.plugin.wikimanager.Wiki Manager Plugin?<https://sliswiki.sjsu.edu/bin/edit/com.xpn.xwiki.plugin.wikimanager/WikiMan…>:
>>> You dont have right to create wiki
>>>
>>>
>>> Is there any way to customize XWiki to grant non-admin users the right to
>>> create new wikis.
>>>
>>> In the case of a private wiki farm, where our user base is known, it
>>> would seem safe to do this.
>>>
>>> Thanks in advance for any feedback.
>>>
>>>
>>>
>>> --
>>> Stanley E. Laufer
>>> Network Administrator
>>> School of Library and Information Science
>>> San Jose State University
>>>
>>
>>
>>
>> --
>> Stanley E. Laufer
>> Network Administrator
>> School of Library and Information Science
>> San Jose State University
>>
>
>
>
> --
> Stanley E. Laufer
> Network Administrator
> School of Library and Information Science
> San Jose State University
>
--
Stanley E. Laufer
Network Administrator
School of Library and Information Science
San Jose State University
Hi XWiki community,
In the Extensions wiki (http://extensions.xwiki.org), the "Download
XWiki" (on the right column of the homepage, with the orange
background) is broken.
If someone know how to fix it. I don't.
Maxime
Hi everyone,
I was trying to reproduce the tutorial of the form with validation and
tooltips. I have a field "name" that I want to be between 1 and 10
characters (like first_name in the tutorial).
The Validation Regular Expression for this field is : /.{1,10}/
I've made others fields with Validation Regular Expression /.+/ and these
fields work without problem.
But, when I enter the field "name" with more than 10 characters, the
Validation Message doesn't appears and my form is validated.
But, I don't want my form to be validated, because the field "name" is too
long. Is there a problem anywhere (I copy all the code giving in the
tutorial) ? /.{1,10}/ is it a deprecated expression ?
Please help me ^^
Best regards,
Stéphanie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Problem-with-Validation-Regular-Expressio…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I have been running xwiki 3.1 for a while now on Fedora 13 with
PostgreSQL/Tomcat.
I decided to upgrade to 3.2 by undeploying the previous version of xwiki and
installing the 3.2 war and default xar files, reconfiguring
hibernate.cfg.xml to access the PostgreSQL database etc.
After the new war install and the hibernate.cfg.xml reconfiguration, when
trying to connect xwiki, I get:
HTTP Status 500 -
_____
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3
in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving document
xwiki:XWiki.XWikiPreferences
Wrapped Exception: Error number 3211 in 3: Exception while updating archive
XWiki.XWikiPreferences
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not load an entity:
[com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#component[docId,version1,version2
]{docId=104408758, version2=1, version1=24}]
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.
java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.j
ava:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFi
lter(SavedRequestRestorerFilter.java:217)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFi
lter(SetCharacterEncodingFilter.java:109)
and in catalina.out, I get a lot of those
</property>
<property>
<showannotations></showannotations>
</property>
<property>
<showattachments></showattachments>
</property>
<property>
<showcomments></showcomments>
</property>
<property>
<showhistory></showhistory>
</property>
<property>
<showinformation></showinformation>
</property>
<property>
<skin>XWiki.DefaultSkin</skin>
</property>
<property>
<smtp_port></smtp_port>
</property>
<property>
<smtp_server>127.0.0.1</smtp_server>
</property>
<property>
<smtp_server_password></smtp_server_password>
</property>
<property>
<smtp_server_username></smtp_server_username>
</property>
<property>
<stylesheet>style.css</stylesheet>
</property>
<property>
<stylesheets>style.css</stylesheets>
</property>
<property>
<tags></tags>
</property>
<property>
<title>$tdoc.getRenderedTitle("plain/1.0") ($doc.fullName) - XWiki</title>
</property>
<property>
<upload_maxsize>671088640</upload_maxsize>
</property>
<property>
<validation_email_content>#set ($wikiname = $request.serverName)
#set ($host = ${request.getRequestURL()})
#set ($host = ${host.substring(0, ${host.indexOf('/',
${mathtool.add(${host.indexOf('//')}, 2)})})})
Subject: Validate your account on ${wikiname}
Hello ${xwiki.getUserName("XWiki.$xwikiname", false)},
This email address was used to register a new account on ${wikiname}. If you
did not make the request, please ignore this message.
In order to activate your account, please follow this link:
${host}${xwiki.getURL('XWiki.AccountValidation', 'view',
"validkey=${validkey}&xwikiname=${xwikiname}")}</validation_email_conten
t>
</property>
<property>
<version>XWiki Enterprise $xwiki.getVersion() - <a
onclick="openURL('http://enterprise.xwiki.org/xwiki/bin/view/Main/Documentat
ion', '_blank'); return false;"
href="http://www.xwiki.org/xwiki/bin/view/Main/Documentation">Documentati
on</a></version>
</property>
<property>
<webcopyright>This wiki is licensed under a <a rel="license"
href="http://creativecommons.org/licenses/by/2.0/">Creative Commons
2.0</a> license</webcopyright>
</property>
<property>
<xwiki.title.mandatory>0</xwiki.title.mandatory>
</property>
</object>
<content>{{include document="XWiki.AdminSheet" /}}</content></xwikidoc>
Then a final
2011-10-12 22:56:30,809 [http://192.168.1.1:8080/xwiki/bin/view/Main/] WARN
o.a.s.a.RequestProcessor - Unhandled Exception thrown: class
com.xpn.xwiki.XWikiExcept
Any idea about what's going on ?
Thanks for your help,
Regards
Christophe.
Hi guys,
When deleting attachment, I've got following error message: "Failed to
delete attachment: ( The request was rejected by HTTP filter. Contact server
administrator. )"
It is just a *.doc, added by other user and updated to once to 1.2 version.
Tried also to delete as admin to no success. In Sandbox webspace I create,
update and delete such an attachment without problems.
Search on the web by error message didn't bring correlating results.
Can someone hint why is this happening and how to solve it? May it be smth
about user rights?
Thanks,
Andrey Stoliarov
Hi
We have a script developped in XWiki which does not function anymore?
Probably due to migration or rights...
My problem is that the script is developed by a IT partner 3 years ago, in XWiki 1.6
THere is a button in a screen showing a overview of pages with a button to create a new page.
This button has the following link;
http://www.cdlsworld.org/xwiki/bin/inline/CdlsatdPrivate/DjennaKoekkoek3_do…
?Parent=CdlsatdPrivate.WebHome
&template=CdlsatdCode.CdLS_ATD_UserQuestionsClassTemplate
&name=Djenna
&status=opt_un_answered
&generalize=No
&cdls=DjennaKoekkoek3_doc105
The errorcode is not helping me much...
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:CdlsatdPrivate.DjennaKoekkoek3_doc105]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:205)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:161)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:118)
... 87 more
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'get' in class java.util.Collections$EmptyList threw exception java.lang.IndexOutOfBoundsException: Index: 0 at xwiki:CdlsatdPrivate.DjennaKoekkoek3_doc105[line 124, column 32]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at org.apache.velocity.runtime.parser.node.ASTMathNode.value(ASTMathNode.java:84)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
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:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:196)
... 89 more
Caused by: java.lang.IndexOutOfBoundsException: Index: 0
at java.util.Collections$EmptyList.get(Collections.java:2970)
at sun.reflect.GeneratedMethodAccessor11070.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
The code around Line 12 (How should I find the linenumber; should I include with counting the comments lines or only the lines with code?)
## This sheet will display and edit a Private Question
##
## Test the language to display the information
#if($request.language)
#set($lang=$request.language)
#else
#set($lang=$context.language)
#end
$lang {{html}}<br/>{{/html}}
## Build a list of possible status the question can have to populate dropdown
## dependant on the language it will take the list from CdlsatdCode.Translations
## the key values of list should, off course, not be translated
## dd_status_question_v1=opt_un_answered,opt_answered,opt_in_progress,opt_more_info_required
##
## First get the translated meanings
#set($engList = $msg.get('dd_status_user_questions_en'))
#set($engStatusList=[])
#foreach( $op in $engList.split("[|,]"))
#set($temp2 = $engStatusList.add($op))
#end
$engStatusList {{html}}<br/>{{/html}}
## Second get the list codes
#set($questionStatusComma = $msg.get('dd_status_question_v1'))
#set($statusList=[])
#foreach($keyStatusTxt in $questionStatusComma.split("[|,]"))
#set($temp3 = $statusList.add($keyStatusTxt))
#end
$statusList {{html}}<br/>{{/html}}
##
## The privat question is a object of class CdlsatdCode.CdLS_ATD_UserQuestionsClass
#set($userQuestionObj = $doc.getObject("CdlsatdCode.CdLS_ATD_UserQuestionsClass"))
## Get the staus of the question
#set($userQnStatus = $userQuestionObj.getProperty('status').getValue())
##
## Evaluate the creation of a new question (or a modification)
#if($request.getParameter('success') == 'true')
## We have a slightly disturbing Rights implementation
## User is a client
## If you are not in User you are considered a Moderator (or question support person)
## But also these people should be allowed to post questions, currently they are not!
## better implementation would be; All approped people should be in User, some have extra rights like Moderator or Global moderator
#if($xwiki.getUser().isUserInGroup("XWiki.User"))
{{info}}{{html clean="false"}}$msg.get('msg_success_question_posted'){{/html}}{{/info}}
#else
{{info}}{{html clean="false"}}$msg.get('msg_success'){{/html}}{{/info}}
#end
#end
It looks like it find an empty object...
This is exactly what I find, it looks like the code is creating a page with a empty object,
but it fails to set values in the object, and after that I understand the error,
What I do not inderstand where the code is that would set the values in the object, I would expect it in the Template?
But maybe it is hidden in the code on the page where the button is in the Form-area
So maybe I should ask the question how I would do this in the new XWiki 2.7 (which we are running) If I should start all new
I would like to create a page with an object of which a few attributes are hidden from the user (containing some ID and status information)
After the click the user should experience that he is on the newly created page and filling in the remaining attributes of the object (a Question and Answer)
Second, since the intention of the page/object is to start a workflow; 1) Create a Question by a user (this step) -> 2) Accepting the Question by a moderator by status change-> 4) Moderator answering the question by typing a answer-> User accepting the answer and closing the case by changing the status
What is the best practise to put the code for each step in the workflow? At this moment all the code is in the templatesheet of the page, making it difficult to maintain and look for the code
Would you advise to put the code in the template or put code in velocity macro's and have buttons in the sheet
Help would be very much appreciated, both on finding the cause of the error and on advise what is the best practise to do such USE-Case
Hello everyone,
I put a space on my favorite and I receive a mail every hour that tells me
all new pages creating on this space (or the pages that have been
editing/deleted). When I look at the code, I see an object of type
Xwiki.Mail.
In this object, there is a code like that :
$msg.get("watchlist.notification.email.greeting")
Where can I find the translations or the file where the sentence
corresponding to this code is ?
Thank for your answer.
Best regards,
Stéphanie
--
View this message in context: http://xwiki.475771.n2.nabble.com/msg-get-tp6885314p6885314.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
Is there a best-practise implementation of CRUD avents (Create, Read, Update and Delete) in a templatesheet for a class
Default the following is generated for a XWiki class
#set($class = $doc.getObject('CdlsatdCode.CdLSATEPublicQAClass').xWikiClass)
#foreach($prop in $class.properties)
; $prop.prettyName
: $doc.display($prop.getName())
#end
This is fine for Read (=View) and Update events except for rules to be implemented around data integrity with update
When I CREATE the object (test for $doc.isNew() in most cases, unless multiple objects are created on same document, this might be case for internationalization
typical things to do in CREATE is setting of the defaults value, setting keys that link to other objects (child of...)
When I UPDATE the object there might be attributes where we test Old.value against New.Value and NEW.Value might
When I DELETE the object (or the containing document) I might want to prevent that in order for integrity (by example Parent Child relation ships, do not delete the parent while there are still childs)
This is related to my previous post, since I discover the code is really becoming a mess if I do not use a best-practise
Who has implemented a practise and can tell me about the pro's and con's, this might be even a good thing to publish on the documentation of XWiki.org
since i expect many who are involved in building forms run into the same questions
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.2. Following the goals established for the
3.x cycle, XWiki Enterprise 3.2 pushes forward in the directions of the
Application Within Minutes and Extension Manager features. The
highlights of this release are:
* many extension manager improvements
* new implementation of the sheet system making it easier to bind sheets
to objects without an explicit inclusion of the sheet in the document
content
* user dashboards giving each user the possibility to configure their
own home page
* introduction of wiki workspaces, as a more collaborative way of
managing an XWiki virtual farm
* improvements of search results scoring
* storage improvements, bringing in numerous performance and
compatibility improvements
* conversion of the panels application to the XWiki 2.0+ syntax
* easier activation and configuration of Google Analytics
And on the developers' front:
* CSRF prevention enabled by default
* support for DocBook syntax
* xwiki-commons and xwiki-rendering are now published on the central
Maven2 repository
* some major code cleanup due to the retirement of some very old plugins
and the move of legacy/deprecated code into separate modules
See the full release notes at
http://www.xwiki.org/xwiki/bin/ReleaseNotes/ReleaseNotesXWikiEnterprise32 for
more details.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
What is best practice on changing the style of a form while keeping the default colibri-style intact (for easy upgrading)
http://platform.xwiki.org/xwiki/bin/view/DevGuide/VerticalForms
In the Guide the labels, required, help, hint, Error are ALL positioned ON TOP of the input box, selector,...
Label - required -> help
hint
error
INPUT
The request of our people is to have the vertical form layout slightly changed into a so called "two column" layout with use of Group(or Row)
In the left column we would like:
Label
hint
In the right column we would like the remaining
- required -> help
error
Input
Where the label is off course horizontal aligned with Input
1) Should we use a style sheet extension that is applied to all pages (or to pages with a object display and a inline form)?
2) Is this available as a snippet
Gerritjan
Hello,
I have installed xwiki 3.1.1 on a tomcat7+ mysql 5.1 + centos 6
II have nstalled the enterprise xar pack, imported my backup from a 2.7
version on tomcat5.5
All is ok ! ...
Except .. the redirect:
When i try
*http://myip:8080/mywebapp* i am redirected to *http://myip:8080/mywebapp**
http://myip:8080/mywebapp/bin/login/XWiki/XWikiLogin*
When i try *http://myip:8080/mywebapp/*bin/login/XWiki/XWikiLogin .. it is
ok once logged. Same stuff when i logout.
Any idea ? tomcat7 ? my configuration ? A workaround ?
Thanx
--
- Nicolas Hernandez
a-n - aleph-networks*
*http://www.aleph-networks.com
Hi,
Some users on my xwiki 3.1 instance never receive notification emails, while
others do.
I couldn't find any useful difference in their profiles (use of
"Scheduler.WatchListHourlyNotifier", list of space and pages, email
correctly set in profile ...).
Tried to increase logs to debug for com.xpn.xwiki.*, I though it would add
some logs about what was doing com.xpn.xwiki.plugin.watchlist.WatchListJob,
but nothing new appears in the logs (except an important amount of "noise"
from rights check).
Do you have any advice on how to investigate about this issue ?
Thanks,
Jeremie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Watchlist-email-notification-does-not-wor…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I just upgraded our relatively small xwiki instance from 3.0.0 to 3.1.1
I did the upgrade by setting up a new host with tomcat6 etc, putting
the .war file in place, restarting tomcat to automatically expand the
.war and then merging the xwiki.cfg xwiki.properties &
hibernate.cfg.xml files
All storage is in the database (Oracle) and the only skin in use is Colibri
I then uploaded the current Administration.xar apart from the 5 pages
remarked on in the instructions.
All the data is there, but I have a slight problem, there top bar of
the wiki (http://extensions.xwiki.org/xwiki/bin/view/Extension/Colibri+Skin
where the Add Wiki Space etc "buttons are) is not there, the text is,
but without anything to
Any suggestions as to what I've managed to mangle or need to reset
would be appreciated.
Cheers
Hi all,
I found that the user portrait displayed in activity stream macro is scaled
smaller with the following markup:
<img alt="username" src="
xwiki/bin/download/XWiki/yangli/obamaMao.jpg?width=50&height=50&keep
AspectRatio=true" title="username">
However, the quality of the resulted image is very poor and highly distorted
However, if we use an alternative as
<img alt="username" src=" xwiki/bin/download/XWiki/yangli/obamaMao.jpg "
width=50 title="username">
The resulted picture would look much better!
The first way saves network flow, however, I prefer better and larger user
portrait display.
So it seems that I can (maybe cannot) modify the activity stream and comment
macro to get a better display of the user portrait, however, the macro is an
jar, which makes it a little bit difficult for me.
So any suggestions?
Thanks all : )
Hi all,
As I wrote in a former email that the quality of user avatar (user portrait)
is poor, because the macros like
#smallUserAvatar($username) will result like follows
<img
src='/./userPortrait.JPG?width=30&height=30&keepAspectRatio=true'
alt='username' title='username'/>
However, I would like an alternative instead like
<img src='/./userPortrait.JPG' width=30 alt='username' title='username'/>
So how can I do that? Any suggestions?
P.S. I am running an XE 3.1 on win7. And I have found in the mailing list
archive the following proposal but it seems no help for me as a newbie.
http://xwiki.markmail.org/thread/wzrex5j7jxhgjmc6#query:+page:1+mid:c67dra64
2nbm5h3r+state:results
Thanks : )
Hi all,
I would like to know about the architecture, data model of xwiki and so on,
but they are scattered wiki pages, and it is not conveniently for me to
print them out to read. So I am wondering that is there a pdf file that
contains all the information?
Thanks!
The XWiki development team is proud to announce the availability of
XWiki Enterprise 3.2 Release Candidate 1. This is the first (and
hopefully last) release candidate for the 3.2 series.
Apart from a few minor bugfixes, this version brings the Workspace
Manager as a standard feature of the platform, as an alternative way of
using virtual wikis, compared to XEM.
See
http://www.xwiki.org/xwiki/bin/ReleaseNotes/ReleaseNotesXWikiEnterprise32RC1
for more details.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Lucene:
I try to find all jpg´s with "foo" in the page content. I only get the jpg
or the content of a page.
(jpg AND type:attachment) AND (foo) not working
(jpg AND type:attachment) AND (Content:foo) not working
(jpg AND type:attachment) AND (foo and object:XWiki.XWikiContent) not
working
Suggestions?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Lucene-find-attachement-with-type-jpg-AND…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I'm using the LDAP tool
http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Tools#Comments so
that the config is capable of being modified without shell access on the
server, but since upgrading from milestone 2 to 3.0.36132, I'm seeing two
errors on the page.
Underneath the first section save button, I get a "Failed to execute the
[groovy] macro" error, which expands to
-----------------------------------
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:195)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:57)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:184)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:129)
at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
at
com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7605)
at
com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7554)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:836)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:785)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:879)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:557)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
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)
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.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:188)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:153)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1873)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:154)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
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(Thread.java:662)
-----------------------------------
Underneath the second section save button there is then a second "Failed to
execute the [groovy] macro" error, which expands to
-----------------------------------
org.xwiki.rendering.macro.MacroExecutionException: You don't have the right
to execute this script
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:195)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:57)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:184)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:129)
at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
at
com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7605)
at
com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7554)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:836)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:785)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:879)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:557)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
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)
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.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:188)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:153)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1873)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:154)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
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(Thread.java:662)
-----------------------------------
I'm guessing that when I upgraded from milestone2 to 3.0.36132 something
didn't happen quite correctly.
I've tried re-importing the LDAP tools xar, but this didn't have any effect.
Any suggestions would be appreciated.
Hi,
Context: a 2.7.2 XEM farm
I'm trying to permanently suppress all the deleted docs of one of the
wiki of the farm using a groovy script included in a page located in
the main wiki.
This is the code. It's a draft... A db query retrieve the list of the
deleted docs (I think it would be better to use the API to obtain this
list), then each document is deleted using the RecycleBinStore.
def emptyDocBin(wiki) {
xcontext.setDatabase(wiki)
def workWiki = xcontext.getXWiki()
def query = "SELECT DISTINCT XDD_FULLNAME FROM " + wiki + ".XWIKIRECYCLEBIN"
def docsResult = runQuery(query)
if (docsResult.size() > 0) {
for (doc in docsResult) {
def docName = doc.get("XDD_FULLNAME")
workWiki.getDeletedDocuments(docName, "", xcontext.context).each{
println "Deleting : " + it.fullName + " - " + it.getDate() + "
- " + it.id
workWiki.getRecycleBinStore().deleteFromRecycleBin(
workWiki.getDocument(it.fullName,xcontext.context),
it.getId(),
xcontext.context,
true);
}
}
}
xcontext.setDatabase(xcontext.getOriginalDatabase())
}
All is working fine, a list of deleted docs is displayed BUT nothing
is deleted and the documents are still present in the recycle bin.
In the xwiki.log, I can read this kind of "things":
2011-10-04 18:51:43,319
[http://www.lclh.org/bin/view/Admin/ShrinkRecycleBins?w=calife&confirmation=1]
[http://www.lclh.org/bin/view/Admin/ShrinkRecycleBins?w=calife&confirmation=1]
WARN store.XWikiHibernateBaseStore - Cleanup of session was needed:
SessionImpl(PersistenceContext[entityKeys=[EntityKey[com.xpn.xwiki.doc.XWikiDeletedDocument#6],
EntityKey[com.xpn.xwiki.doc.XWikiDeletedDocument#11],
EntityKey[com.xpn.xwiki.doc.XWikiDeletedDocument#12],
EntityKey[com.xpn.xwiki.doc.XWikiDeletedDocument#32],
EntityKey[com.xpn.xwiki.doc.XWikiDeletedDocument#33],
EntityKey[com.xpn.xwiki.doc.XWikiDeletedDocument#1],
EntityKey[com.xpn.xwiki.doc.XWikiDeletedDocument#36],
EntityKey[com.xpn.xwiki.doc.XWikiDeletedDocument#37],
EntityKey[com.xpn.xwiki.doc.XWikiDeletedDocument#4],
EntityKey[com.xpn.xwiki.doc.XWikiDeletedDocument#34],
EntityKey[com.xpn.xwiki.doc.XWikiDeletedDocument#35]],collectionKeys=[]];ActionQueue[insertions=[]
updates=[] deletions=[] collectionCreations=[] collectionRemovals=[]
collectionUpdates=[]])
2011-10-04 18:51:43,321 [http://www.lclh.org/bin/view/Main/]
[Statistics storing daemon] ERROR xwiki.DocumentStatsStoreItem -
Failed to save visit statictics object [class
com.xpn.xwiki.stats.impl.xwiki.VisitStatsStoreItem XWiki.Admin
DJ64XAIYEJIPIXOADG9VMJ94RHOHD2U2 DJ64XAIYEJIPIXOADG9VMJ94RHOHD2U2]
2011-10-04 18:51:43,321 [http://www.lclh.org/bin/view/Main/]
[Statistics storing daemon] WARN store.XWikiHibernateBaseStore -
Incompatible session (null) and transaction
(org.hibernate.transaction.JDBCTransaction@d9a754) status
Your help, ideas or other are welcome.
Maxime
I think depending on xwiki version you use, that you can use the watchlist
feature.
Simply go to your "Forms" space, and in the space menu (top of page) choose
"watch".
Then in your own profile, in "watchlist" part, select that you want to be
notified every hour.
I think you won't receive emails only for new documents created, but also
for updated documents.
But if there is no update, you won't receive email at all.
If it does not match your need you might need to use the Scheduler
(Scheduler.WebHome) and create an hourly job to do that and do some
scripting ...
--
View this message in context: http://xwiki.475771.n2.nabble.com/Receive-an-email-every-hour-tp6847029p685…
Sent from the XWiki- Users mailing list archive at Nabble.com.
The XWiki development team is proud to announce the availability of
XWiki Enterprise 3.1.1 and XWiki Enterprise Manager 3.1.1, bugfix
releases on the 3.1.x stable branch.
This is the first (and probably last) bugfix release for the 3.1 series.
It contains only small bugfixes backported from the 3.2 branch, mainly
around missing CSRF-prevention tokens, the extension manager, and build
improvements.
See the full release notes at
http://www.xwiki.org/xwiki/bin/ReleaseNotes/ReleaseNotesXWikiEnterprise311
for more details.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
----- "Scott Serr" <serrs(a)theserrs.net> wrote:
> I have a page that is creating sub-pages with a button called "Create
> History Log." I create the sub-page name like HistoryLog-2011-09-27
> from the current date programatically. These sub-pages have a
> HistoryLogClass object on them which I begin editing in the inline
> editor. During the save operation on this object, I'd like to rename
> the page if the user has changed a date property on the object. Is
> there a way to do this? I'd like it to work when creating a new page
> or editing and existing page with the inline editor.
>
> Reasoning: The user is creating a HistoryLog page (with object) a few
> days after the fact, so they need to manage the date manually
> sometimes. I like having the date in the page name, to make a unique
> and sortable page list. The user would like to not go through the
> extra step of renaming the page manually.
>
> Sort of like this for page creation:
> $doc.name = "HistoryLog-" + $obj.getProperty("date").getValue()
>
> Would I need to run $doc.rename() code when editing?
>
> Is there a clever solution?
My fall back solution is just create a sequence for the page name.
HistoryLog-00001
HistoryLog-00002
And then just spin through the objects for meaningful date data.
I could do away with the page per object requirement, if there was
such thing as an inline object editor a bit more configurable than
the object editor. I guess you'd need a way to render it to, so
the only way that would work is to have a sort of virtual page for
object editing and rendering.
I might just need pointed in the right direction.
Thanks,
Scott
I have a page that is creating sub-pages with a button called "Create History Log." I create the sub-page name like HistoryLog-2011-09-27 from the current date programatically. These sub-pages have a HistoryLogClass object on them which I begin editing in the inline editor. During the save operation on this object, I'd like to rename the page if the user has changed a date property on the object. Is there a way to do this? I'd like it to work when creating a new page or editing and existing page with the inline editor.
Reasoning: The user is creating a HistoryLog page (with object) a few days after the fact, so they need to manage the date manually sometimes. I like having the date in the page name, to make a unique and sortable page list. The user would like to not go through the extra step of renaming the page manually.
Sort of like this for page creation:
$doc.name = "HistoryLog-" + $obj.getProperty("date").getValue()
Would I need to run $doc.rename() code when editing?
Is there a clever solution?
Thanks,
Scott
----- "Marius Dumitru Florea" <mariusdumitru.florea(a)xwiki.com> wrote:
> On Thu, Sep 29, 2011 at 9:19 PM, Scott Serr <serrs(a)theserrs.net>
> wrote:
> >
> > I ran into an interesting side effect of having a form in my Class
> Sheet.
> >
> > <input type="hidden" name="parent" value="${doc.fullName}" />
> >
> > The above line is in a form which posts to the current page, but
> then redirects to a sub-page. The process is exactly like the FAQ
> Example. The trouble is, when doing Inline Editing on a page with the
> class object. No matter what you put in as the parent in the UI for
> the parent property, it gets reset to itself on save. The wiki and
> WYSYWIG editors don't do this of course.
> >
> > I think this is a problem because...
> >
>
> > 1. Should this form (and form element) really be evaluated? No one
> hit the submit button.
>
> How did you save without hitting the submit button? (You said "it
> gets
> reset to itself on save").
>
> > 2. It doesn't seem very safe for variable spaces to mix so easily.
> Unless this is a feature.
>
> "Inline form" edit mode is used to edit object properties. If you use
> $doc.display method to generate your form fields then you'll see that
> the field IDs/names look like this:
> ClassName_objectIndex_propertyName
> , so they don't interfere with the rest of the (hidden) fields like
> "parent" which is used to set the document title. If you generate the
> form fields yourself then indeed you have to take care to use unique
> IDs/names to prevent conflicts.
>
> Hope this helps,
> Marius
Thanks for the reply.
My page has a form like {{{html}}}<form></form>{{{/html}}} if you look at the wiki code. I'll call this the "embedded form." So when the page is viewed, then the embedded form is available. An aside, the embedded form creates sub-pages. The page also has an object and I'm fine with editing those properties in the inline form editor. And, of course the embedded form on my page is not displayed because the inline editor only shows and edits the object. My trouble comes here, when I save that object in the inline editor, I get the embedded form's hidden post variables evaluated. I did not click my embedded form's submit, I clicked the inline editor's save. It behaves as if I clicked the embedded form's submit just before the inline editor's save.
I know it sounds crazy. I'll try to isolate it to a minimal test case.
Hi all,
After migrating my XE from 2.x to 3.1, I get a bunch of these errors in my
logs : "[Statistics storing daemon] ERROR o.h.u.JDBCExceptionReporter -
Data truncation: Data too long for column 'XWV_IP' at row 1"
I suppose it's a change in the statistics related tables ...
What should I do to remove these errors ?
Full stack trace :
2011-09-14 16:11:50,551 [Statistics storing daemon] ERROR
o.h.u.JDBCExceptionReporter - Data truncation: Data too long for column
'XWV_IP' at row 1
2011-09-14 16:11:50,551 [Statistics storing daemon] ERROR
.AbstractFlushingEventListener - Could not synchronize database state with
session
org.hibernate.exception.DataException: Could not execute JDBC batch update
at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:77)
~[hibernate-3.2.6.ga.jar:3.2.6.ga]
at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
~[hibernate-3.2.6.ga.jar:3.2.6.ga]
at
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)
~[hibernate-3.2.6.ga.jar:3.2.6.ga]
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)
~[hibernate-3.2.6.ga.jar:3.2.6.ga]
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
~[hibernate-3.2.6.ga.jar:3.2.6.ga]
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
~[hibernate-3.2.6.ga.jar:3.2.6.ga]
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
[hibernate-3.2.6.ga.jar:3.2.6.ga]
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
[hibernate-3.2.6.ga.jar:3.2.6.ga]
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
[hibernate-3.2.6.ga.jar:3.2.6.ga]
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
[hibernate-3.2.6.ga.jar:3.2.6.ga]
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:871)
[xwiki-platform-oldcore-3.1.jar:na]
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:842)
[xwiki-platform-oldcore-3.1.jar:na]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiCollection(XWikiHibernateStore.java:1054)
[xwiki-platform-oldcore-3.1.jar:na]
at
com.xpn.xwiki.stats.impl.xwiki.VisitStatsStoreItem.storeInternal(VisitStatsStoreItem.java:112)
[xwiki-platform-oldcore-3.1.jar:na]
at
com.xpn.xwiki.stats.impl.xwiki.AbstractStatsStoreItem.store(AbstractStatsStoreItem.java:99)
[xwiki-platform-oldcore-3.1.jar:na]
at
com.xpn.xwiki.stats.impl.xwiki.XWikiStatsStoreService.register(XWikiStatsStoreService.java:167)
[xwiki-platform-oldcore-3.1.jar:na]
at
com.xpn.xwiki.stats.impl.xwiki.XWikiStatsStoreService.runInternal(XWikiStatsStoreService.java:119)
[xwiki-platform-oldcore-3.1.jar:na]
at
com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:99)
[xwiki-platform-oldcore-3.1.jar:na]
at java.lang.Thread.run(Thread.java:619) [na:1.6.0_11]
Caused by: java.sql.BatchUpdateException: Data truncation: Data too long for
column 'XWV_IP' at row 1
at
com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2007)
~[mysql-connector-java-5.1.10-bin.jar:na]
at
com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1443)
~[mysql-connector-java-5.1.10-bin.jar:na]
at
org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
~[commons-dbcp-1.3.jar:1.3]
at
org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
~[commons-dbcp-1.3.jar:1.3]
at
org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
~[commons-dbcp-1.3.jar:1.3]
at
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
~[hibernate-3.2.6.ga.jar:3.2.6.ga]
at
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
~[hibernate-3.2.6.ga.jar:3.2.6.ga]
... 16 common frames omitted
Thanks !
Jeremie.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Data-too-long-for-column-XWV-IP-tp6792700…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I'm planning to do the following:
Each document based on a certain template autmatically gets it's own standard poll. (No customisation.) Each user visiting the page can vote.
Having looked at the polls application and played around with templates a bit, I think I know all the ingredients I will need.
I have one problem though: Anyone who votes needs write permissions on the document that saves the votes (whereever that may be). If I'm not mistaken that means anyone who can vote theoretically can manipulate voting data by accessing these objects directly.
Is there any way to secure this against manipulation
a) from users who can vote?
b) from the user who created the page?
Probably that question is equivalent to: Is there a way to let users save changes on an object only via a script while hindering that very same user from editing it directly?
Any hints are greatly appreciated!
----- "Scott Serr" <serrs(a)theserrs.net> wrote:
> In the dev mailing list, I saw years ago that $datetool was changed to
> point to ComparisonDateTool. This gave it added functionality. Also,
> the documentation on
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting says it is
> a ComparisonDateTool.
>
> My problem is, it doesn't act like a ComparisonDateTool, it acts like
> DateTool.
>
> Works:
> $datetool.get('dd.MM.yyyy HH:mm')
>
> Does not work:
> $datetool.difference('2005-07-04','2007-02-15')
Apparently I can't pass String as Object, I have to pass Date?
Anyway, sorry for the traffic.
I ran into an interesting side effect of having a form in my Class Sheet.
<input type="hidden" name="parent" value="${doc.fullName}" />
The above line is in a form which posts to the current page, but then redirects to a sub-page. The process is exactly like the FAQ Example. The trouble is, when doing Inline Editing on a page with the class object. No matter what you put in as the parent in the UI for the parent property, it gets reset to itself on save. The wiki and WYSYWIG editors don't do this of course.
I think this is a problem because...
1. Should this form (and form element) really be evaluated? No one hit the submit button.
2. It doesn't seem very safe for variable spaces to mix so easily. Unless this is a feature.
In the dev mailing list, I saw years ago that $datetool was changed to point to ComparisonDateTool. This gave it added functionality. Also, the documentation on http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting says it is a ComparisonDateTool.
My problem is, it doesn't act like a ComparisonDateTool, it acts like DateTool.
Works:
$datetool.get('dd.MM.yyyy HH:mm')
Does not work:
$datetool.difference('2005-07-04','2007-02-15')
Is there a way to get a ComparisonDateTool object? And is it known that it's simply a DateTool again, or am I wrong?
Hi,
I'm trying some basic functionality on a multilanguage Wiki (3.1)
I create a class
I create the default Class sheet and add a object on it (like suggested in the default)
I create the default Class template and add a object on it (like suggested in the default)
Then I create a object;
It creates a page containing the object, I use the inline form editor to enter some data and save.
Now I want to create a translation in another language?
How should I do that?
The inline form editor does not have a "translate option", when I create a translation with the wiki editor i'm probably
create a new wiki document with a different language, but it seems to point to the SAME object. when I change the content of the object in the other language, these changes also show when I navigate back to the english page
It looks like I should instantiate a new object of the class, but then the page language is still 'en'
And how do we manage then that these objects still relate to each other? If I change the english version of a record this should be related to the content of the translations!
Gerritjan
Hi All,
I have successfully implemented XWiki 3.1 with LDAP authentication. Since
user name and password managment is addressed by the LDAP provider it doesnt
make sense to have these enabled on the LOGIN page.
What is the best way to remove these links/options from that page.
Thank you!
Chris
I have a data model that follow this page structure:
Detectors
-> Detector1
-> Detector1History1
-> Detector1History2
-> Detector2
(Implemented with my DetectorClass and DetectorHistoryClass)
The Detectors is like a dashboard for Detectors and their history. It's mostly working. My issue is that my Velocity code on that top dashboard page is looking pretty ugly. It has nested loops and I don't know how to do any encapsulation. If I could do things like detector1.getNewestHistory() that would be very helpful. But my Detector Object Class is limited to what I can define in XWiki. To my knowledge, XWiki's "user defined" classes aren't able to encapsulate code. Am I wrong?
It seems like defining my Velocity macros would help, but my understanding is a macro can't return anything, just evaluates to output.
If I'm wrong-headed, please correct me.
Thanks,
Scott
The XWiki development team is proud to announce the availability of
XWiki Enterprise 3.2 Milestone 3, the last milestone of the XWiki
Enterprise 3.2 version (see the roadmap at
http://enterprise.xwiki.org/xwiki/bin/Main/Roadmap ). Main new features
include:
* improved Lucene scoring
* new implementation of the sheet system
* support for OpenOffice 3.3 as the backend of the office importer
* better support for IE9 in the WYSIWYG editor
* many improvements in the extension manager and extension repository
* the removal of the Albatross skin from the distribution
* ... and quite a lot of dependency upgrades and bug fixes
See the full release notes at
http://www.xwiki.org/xwiki/bin/ReleaseNotes/ReleaseNotesXWikiEnterprise32M3
for more details.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
----- "Vincent Massol" <vincent(a)massol.net> wrote:
> Hi Scott,
>
> On Sep 27, 2011, at 12:34 AM, Scott Serr wrote:
>
> >
> > Can I limit livetable to display only the objects/pages under a
> certain parent page?
> >
> > Looks like this:
> >
> > Detectors (space)
> > Detectors.Detector1 (page)
> > Detectors.Detector2 (page)
> > Detectors.Detector1History1 (page with parent set to Detector1)
> > Detectors.Detector1History2 (page with parent set to Detector1)
> >
> > I have livetable on both pages Detector1 and Detector2, trying to
> display only their children history. But livetable displays all
> DetectorHistoryClass objects. (The Detector2 page shows Detector1's
> history objects) Is there a way to limit the results to only children
> of the calling page?
> >
> > I know you can do all this manually with foreach and filtering them
> out one at a time, but I'd like to use livetable.
>
> See the example at
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro#HFilte…
>
> Hope it helps,
> -Vincent
Thanks Vincent, I'll give it a try.
Those in charge of the xwiki web sites:
If I am not logged in, just looking at the pages the code macro can't execute!
Failed to execute the [code] macro
Thanks,
Scott
Hi all,
While gathering information on the simplify my wiki subject, I stumbled upon
the RSS makro and tried it out, works great.
But is there a way to have the RSS Links that the RSS Makro displays open in
a new window?
I know there are discussions on the sensibility of opening links in a new
window, but in this project I will have to do so.
I tried putting rel="blank" in somewhere, but nothing worked.
I tried putting a java class objekt in, but I guess since the rss feed is in
a makro, this did not work either.
Is it possible, and if yes, how?
Thanx in advance,
Wouter
Can I limit livetable to display only the objects/pages under a certain parent page?
Looks like this:
Detectors (space)
Detectors.Detector1 (page)
Detectors.Detector2 (page)
Detectors.Detector1History1 (page with parent set to Detector1)
Detectors.Detector1History2 (page with parent set to Detector1)
I have livetable on both pages Detector1 and Detector2, trying to display only their children history. But livetable displays all DetectorHistoryClass objects. (The Detector2 page shows Detector1's history objects) Is there a way to limit the results to only children of the calling page?
I know you can do all this manually with foreach and filtering them out one at a time, but I'd like to use livetable.
Thanks,
Scott
On Sep 23, 2011, at 3:20 PM, Laurence Caraccio wrote:
>
> Yes its a good 5 or 6 years old now I think but it loads and thats all that
> matters, the point of me looking into it is so that I can update everything
> to the latest versions and remove old content, cheers.
ok, good to know! :)
Thanks
-Vincent
> Regards,
>
>
>
> Laurence Caraccio
Hi guys, I'm new to using xwiki, my department has an existing wiki but
it's a mess and theres no documentation so I was wondering if there's
anyway to get a list of all the pages so I can see what's there.
Any help would be appreciated cheers.
Regards,
Laurence Caraccio
PTC software developer
Phone: 01962 81 6137 | Mobile: 077 896 202 46 (Embedded image moved to file:
E-mail: LAURCACI(a)uk.ibm.com pic03233.gif)IBM
IBM United Kingdom Limited
Registered in England and Wales with number 741598
Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
Hi!
So, this "feature" makes absolutely useless delete rights, for example, if each and every user with edit rights can easily skip Delete and Admin Prohibition. Actually edit right behaves like admin in the allowed space. As for me it looks a little bit wierd.
All users by default are simple, but as you mentioned, nothing stops the intruder with edit rights if he knows magic of URLs.
For me it looks logical, that if I PROHIBITED right to delete or Admin rights - it means prohibited, but not "don't pay attention'.
For security it means VERY big black whole. And actually we don't have any instrument to track or stop it (besides watching pages). For semi-open projects, or even open, like Wikipedia it creates paradise for vandals, even if you open edit rights only for registered users. Once you can find couple of hundreds pages in Recycle bin even if nobody but Admin has ability to delete pages. :-)
And actually rights management contradicts wit 6 user types concept http://dev.xwiki.org/xwiki/bin/view/Design/6TypesOfXWikiUsers
So, my proposal is: discuss and implement more precise rights management system in the neares future. Let's make XWiki more safe :-)
Thnks a lot for help,
Dmitry
21 сентября 2011, 17:39 от Guillaume Lerouge <guillaume(a)xwiki.com>:
> Hi Dmitry,
>
> unfortunately for your use case this is a feature of XWiki. When a user is
> granted edit right on a page, he is allowed to edit any object attached to
> that page (this is used through the "edit inline" mode as well, when editing
> in inline mode the user is actually updating the values of object properties
> in the page.
>
> One way to work around this is by making all users "simple users" by default
> so that the menus do not display the advanced edit options. However, users
> that know the right URLs will still be able to access the object edition
> mode.
>
> In short: sorry but no, not "safe" the way you mean it :-(
>
> Guillaume
>
> On Sat, Sep 17, 2011 at 6:57 AM, Haru Mamburu <haru_mamburu(a)mail.ru> wrote:
>
> >
> > Dear Users,
> >
> > XE 3.1. Playing with rights I found very unpleasant and IMO dangerous
> > behaviour.
> >
> > Two Default groups: XWikiAllGroup and XWikiAdminGroup
> >
> > Admin gives rigths to XWikiAllGroup to view pages - no problem.
> > Admin gives rigths to XWikiAllGroup to EDIT pages. From my point of view -
> > EDIT means only page EDIT in edit/inline mode,
> > but not:
> > - managing page access rights
> > - editing in editor object mode.
> >
> > I even tried to prohibit to XWikiAllGroup users Administration rights,
> > nothing changed. As for my project - it is a disaster.
> > I must separate four categories of users:
> > 1. All users - have View access to definite spaces.
> > 2. SOME registered users - have edit rights for spaces/pages (edit/inline),
> > create rights. BUT NO Access rights management, NO object mode editing)
> > 3. Admin Users with Admin rights on several spaces to delete/undelete pages
> > AND access rights management.
> > 4. XWiki Admin
> >
> > As I discovered, I can't get split second and third group. :-(
> >
> > It would be wise to avoid rights management and object editing mode
> > availability to "smart" users, that can bring a mess into the system in
> > couple of seconds. For example, "smart user" with edit rights will easily
> > prohibit access to pages to whole XWikiAllGroup OR he even can grant VIEW
> > rights ONLY to XWikiAdminGroup with the same results - page becomes
> > inaccessible to non-admin users. I checked everything with a Test user in
> > XWikiAllGroup.
> >
> > I don't know if it is a bug or a feature, but for me it's a disaster :-(
> >
> > Is there any way to make XWiki project safe?
> >
> > Best Regards
> >
> > Dmitry Bakbardin
> > _______________________________________________
> > 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
>
[I'm hoping that scripting belongs here an not in the dev list]
I'm trying to tie an attachment to an object. Say, I want to create several TrackingClass objects on a page. But one of the properties I'd like to be a PDF and link. (Or fake it to look like it) I know the properties of a class are primitives plus a few like DbList etc.
The table would have these headings:
Tracking Date | Description | PDF Link
At the bottom of the page I'd have an Add object form:
Tracking Date:
Description:
Attach PDF:
[Add Button]
This is like the "Creating a FAQ Application" example, but with an attached file in the same form submit.
I'm wondering how one might solve this problem?
Thanks,
Scott
Hi,
As an adept of freemind I was very happy to see that a freemind macro
exist for xwiki.
Unfotunately I have a ClassNotFoundException when tha applet is invoked
by the macro, it seems that the FreeMind java library can not be found
by the downloaded applet.
Here is the Stack Trace of the exception :
/Java Plug-in 1.6.0_15
Utilisation de la version JRE 1.6.0_15-b03 Java HotSpot(TM) Client VM
charger : classe freemind.main.FreeMindApplet.class introuvable.
java.lang.ClassNotFoundException: freemind.main.FreeMindApplet.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at
sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection
failed:http://code.xwiki.org/xwiki/bin/view/Macros/freemind/main/FreeMindAp…
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 7 more
Exception : java.lang.ClassNotFoundException:
freemind.main.FreeMindApplet.class/
The exception occurs on my instance of xwiki and on the xwiki web site
at this example address :
http://code.xwiki.org/xwiki/bin/view/Macros/MindMapMacro
My instance of xwiki is XWiki Enterprise 1.9.3.22597 on Windows XP SP3
and as you see in the stack trace I have the last 1.6.0_15 java plugin.
Can you give me an advice to resolve this problem.
Thanks in advance,
Julien
Dear Users,
XE 3.1. Playing with rights I found very unpleasant and IMO dangerous behaviour.
Two Default groups: XWikiAllGroup and XWikiAdminGroup
Admin gives rigths to XWikiAllGroup to view pages - no problem.
Admin gives rigths to XWikiAllGroup to EDIT pages. From my point of view - EDIT means only page EDIT in edit/inline mode,
but not:
- managing page access rights
- editing in editor object mode.
I even tried to prohibit to XWikiAllGroup users Administration rights, nothing changed. As for my project - it is a disaster.
I must separate four categories of users:
1. All users - have View access to definite spaces.
2. SOME registered users - have edit rights for spaces/pages (edit/inline), create rights. BUT NO Access rights management, NO object mode editing)
3. Admin Users with Admin rights on several spaces to delete/undelete pages AND access rights management.
4. XWiki Admin
As I discovered, I can't get split second and third group. :-(
It would be wise to avoid rights management and object editing mode availability to "smart" users, that can bring a mess into the system in couple of seconds. For example, "smart user" with edit rights will easily prohibit access to pages to whole XWikiAllGroup OR he even can grant VIEW rights ONLY to XWikiAdminGroup with the same results - page becomes inaccessible to non-admin users. I checked everything with a Test user in XWikiAllGroup.
I don't know if it is a bug or a feature, but for me it's a disaster :-(
Is there any way to make XWiki project safe?
Best Regards
Dmitry Bakbardin
Hi!
XEM 3.1. I turned on filesystem storage, attached file, then deleted it.
Due to http://jira.xwiki.org/browse/XWIKI-6918 and no acces via WebDAV yet (http://jira.xwiki.org/browse/XWIKI-6989) - there is no way to review deleted attachments in recycle bin and delete it. As far as I understand - manual delition via filesystem operations is wrong way to do this because of lost metadata.
Is there any way to delete deleted attachments correctly until XWIKI-6918 would be fixed and XE would upgraded to fixed one?
Kind regards
Dmitry Bakbardin
On the xwiki.org there is a feature on XWiki presented;
The WebDAV feature exposes wiki content (attachments, page content) through the well-known WebDAV protocol.
This allows using WebDAV clients like DAVExplorer, file browsers like the Windows Explorer (XP), the Finder (MAC) or
Nautilus (Linux) to directly browse and edit wiki content just as you would do for files in your local file system.
Does this feature require configuration of the server.
Do I understand that by dropping photo's in a folder I could add photo's the the XWiki photoalbum
although the XWiki stores all the attachments in a mySql database?
We have a server on version 2.7.1
Gerritjan
Hello!
after ?[xwiki-users] Attachment loss after restarting tomcat? I
managed to configure the paths and now the attachments seem to be
there permanently.
However I do encounter a new strange behavior with pictures now. When
I upload a PNG ? Image and embed it into the page it is there at first
when I reload the page the image is gone and the page won?t stop
loading. Any other attachment (e.g. a pdf) can be loaded.
Any Ideas what might be wrong?
Thanks again,
Stephanie
Hi all,
Some time ago we discussed [1] a proposal
http://incubator.myxwiki.org/xwiki/bin/view/Improvements/XWikiOrgProposal2
about changing the way our community website (www.xwiki.org) looks like
(improved homepage, improved navigation, new logo [2], new skin, community
wiki [3], etc.).
Since then there have been some small collaborative efforts to make this new
site come true and I want to thank for their help to Sergiu Dumitriu, Marta
Girdea, Jean-Vincent Drean, Raluca Stavro, Vincent Massol, Silvia Rusu,
Raluca Moisa, Stefan Orzu and all the people that gave feedback.
In order to speed up the process we also created a development wiki
http://newxwiki.xwiki.org/
where you can log in with your xwiki.org credentials and work on the
improvements you want to make. After the work is finished it will be ported
to xwiki.org. This way you can experiment the way your code looks like and
behaves without interfering with the live site.
Also me and Silvia created a planning for the development of the new site
http://incubator.myxwiki.org/xwiki/bin/view/Improvements/XWikiOrgPlanning
and we have split it into 4 stages. We are currently in Stage 1 of the
development.
Each entry has it own link with more information/mockups/code about the
feature. Also features that have been started have also a JIRA issue
attached to them.
We would be very happy if the community could get involved in helping us
making this happen. We still need work on deciding the content for some
sections, we need better design proposals for some elements and we need lots
of implementation work to make everything a reality.
If you want to participate you should pick something from the planning and
announce it on this thread so that we know what feature is taking care of.
Thank you,
Caty
References:
[1] [Proposal] XWiki.org horizontal navigation + home page
http://markmail.org/thread/tfmrludhw2yh5tcn
[2] [Proposal] XWiki.org Logo Challenge - Round 2
http://xwiki.markmail.org/thread/pkdd5kijpt2yqeph
[3] [Proposal] XWiki.org Community Page
http://markmail.org/thread/b3pctp2kepcprfaf
I am out of the office until 09/20/2011.
I need to attend to a personal issue; back on Tuesday, 9/20.
Note: This is an automated response to your message "users Digest, Vol 50,
Issue 22" sent on 9/18/2011 6:00:10.
This is the only notification you will receive while this person is away.