Hi XWiki Users,
I have defined a template page and the associated termplate provider.
All is functional: the template selection popup shows up when a new
page is created.
Now, I try to build a link (using Velocity) that will create a new
page from the template. Any idea ?
Regards,
Maxime
After upgrading to XWiki 3.5 (from 2.6) I noticed that the Lucene search
index was not working properly. On advice I got in the #xwiki IRC chat, I
shut down the server (Tomcat), deleted the Lucene index directory, and
restarted the server. Only about 300 of the thousands of pages were
indexed at that point. I tried re-indexing using the Admin->Search page,
but every time I do that the Admin->Search page gets 'stuck' (won't render).
I saw no errors in the catalina.out log file, and I configured
WEB-INF/classes/logback.xml to enable some more logging to a separate
file... still nothing very informative.
Any ideas what I can do to troubleshoot this? I'm guessing there's some
page in my wiki database that is causing the re-index process to get stuck.
Thanks in advance,
- Josh
As a workaround I tried to inject the stylesheets needed via Plugin.
AbstractSkinExtensionPlugin cssplugin =
(AbstractSkinExtensionPlugin) xwiki.getPlugin("ssfx", context);
cssplugin.use(dir+"stylesheet.css",context);
But it failed.
On the other hand,
AbstractSkinExtensionPlugin jsplugin =
(AbstractSkinExtensionPlugin) xwiki.getPlugin("jsfx", context);
jsplugin.use(dir+"ui.multiselect.js",context);
worked as expected.
I forgot my user name on the last request.
User name: quaternion
Email address (if it matters): ken dot mcwilliams at gmail dot com
Requested wiki name:
struts2.myxwiki.com or if that is not good for some reason...
struts2adventures.myxwiki.com
Reason:
I would like to build a struts2 information wiki.
struts.apache.org/ is an excellent resource for struts2 users, I would
like to focus on the verticals of a struts2 web application (That is
the use cases of persisting data, basic ajax interactions using
Struts2/Spring/JPA).
Hi,
I created a velocity macro and called it like this.
{{velocity}}
$services.xtestprogress.render()
{{/velocity}}
It happens that all <link/> -Tags inserted in the render method are
removed in the resulting website.
Any ideas?
Thanks, Stefan.
I have two web application hosted on two different tomcat instances say T1
and T2(xwiki is on T2). I am making below method
in a java class on T1 to retrieve java xwikiUserObject named from T2
private Properties checkContentChanges() {
Properties reply = null;
try {
String urlStr = "
http://myApp:8080/wiki/bin/view/?checkContent=true&Name=dummy;"
URL url;
reply = new Properties();
try {
url = new URL(urlStr);
//sun.net.www.protocol.http.HttpURLConnection conn =
(sun.net.www.protocol.http.HttpURLConnection) url
.openConnection();//line 1
URLConnection conn = url
.openConnection();// line 2
conn.addRequestProperty("User-Agent",
"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64;
Trident/5.0)");
InputStream is = conn.getInputStream();// line3
reply.load(conn.getInputStream());
}
catch (MalformedURLException e) {
e.printStackTrace();
}
catch (IOException e) {
e.printStackTrace();//line 5
}
}
But at line 3 i am getting error java.io.IOException: Server returned HTTP
response code: 403 for URL: http://myApp:8080/wiki/... Though the call goes
to method on T2 and
it returns expected user object. So T2 side works fine but once it return
i get above exception at line 5 at T1 . I tried line 1 too instead of line
2 but same exception? As i tried to find it out on net especially on
http://en.wikipedia.org/wiki/HTTP_403 looks like its due to some config on
xwiki side. Not getting whats the exact issue?
Though thru the brower same url works fine
.
Hi devs,
XWiki is planning to participate in this year's Google Summer of Code [1].
The organization registration period has already started and the deadline
is the 9th of March [2] (a bit more than one week).
1. We need to provide by then a list of proposals and assign mentors for
the students that are going to implement them.
I would like to ask everybody that wants to participate as a mentor from
the XWiki organization to review the proposals [3] list (that is currently
empty) and add as many interesting proposals as possible.
The proposals can be either new, or they can be revived from previous year
proposals. Just navigate to the previous years, find the proposal you like
and know about, go to its proposal page (click it) and press the "Clone to
this year" link. Now you can assign yourself as lead for that project,
update it's description if needed and wait for the student applications to
start pouring :)
2. We also need to submit the actual application [4] of the XWiki
organization to participate to the GSoC 2012 project so I would also like
to ask you to review it so that we have a better chance of being selected
into the program.
Thanks for your help,
Eduard
----------
[1] http://www.google-melange.com/gsoc/homepage/google/gsoc2012
[2] http://www.google-melange.com/gsoc/events/google/gsoc2012
[3]
http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/#HProposedProjects28…
[4]
http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/OrganizationApplicat…
Hello I would like to build a struts2 information wiki.
struts.apache.org/ is an excellent resource for struts2 users, I would
like to focus on the verticals of a struts2 web application (That is
the use cases of persisting data, basic ajax interactions using
Struts2/Spring/JPA).
struts2.myxwiki.org or
struts2adventures.myxwiki.org
Would both be great.
I currently have my attachments stored in the database and am
attempting to migrate to filesystem storage. Toggling it seems to work
fine for new attachments. My issue is with migrating attachments via
the FileSystem Attachment Porter script
(http://extensions.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+…).
Before running it, I change my config so that I'm back to using
database attachments. I've updated the obsolete class references, and
also whittled it down to just the doIt() method, but when running it,
I receive the exception "Unknown entity:
org.xwiki.store.legacy.doc.internal.ListAttachmentArchive"
Please advise.
Thanks ahead,
Brian