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
Hi,
installing the debian package xwiki-enterprise-common_3.5_all on squeeze
and on wheezy failed.
Selecting previously deselected package xwiki-enterprise-common.
(Reading database ... 25065 files and directories currently installed.)
Unpacking xwiki-enterprise-common (from
.../xwiki-enterprise-common_3.5_all.deb) ...
dpkg: error processing
/var/cache/apt/archives/xwiki-enterprise-common_3.5_all.deb (--unpack):
name of conffile (starting `/etc/xwiki/web.xml') is too long (>1000
characters)
configured to not write apport reports
Errors were encountered while
processing:
/var/cache/apt/archives/xwiki-enterprise-common_3.5_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
The installation of version 3.4 works fine on squeeze and wheezy.
Does anyone run into the same problem?
Regards
Richard
Hi,
I'm missing an option to show recent blog entries for a specific category,
e.g. in a panel. Is there such a feature available? I can imagine others
have needed/used such a feature before.
Right now I'm just trying to hack Blog.RecentPostsPanel to filter on
category, but I can't wrap my head around the query needed.
In 'getEntriesForCategory' (Blog.CategoriesCode), the query is:
#set($query = ", DBStringListProperty as categories join categories.list as
category${query} and obj.id = categories.id.id and
categories.id.name='category'
and category in (${parameters})")
But that's about 10 degrees too difficult for me to comprehend :)
Any hints? Thanks!
Joris
Hi,
Since the migration from XEM 3.2 to XEM 3.4, We have a strange behaviour
on our multi-wiki instance:
Sometimes, values of WebPreferences disappear spontaneously on one of
our sub-wiki.
We lose configuration, look & feel and access rights parameters.
There is no apparent reason (the parameters are simply re-initialized).
Do you know this problem ?
Thank you
NCG
PS : I've previously posted this topic direcly on the forum by mistake.
I think It wasn't posted on mailing list. Sorry if this topic is
duplicated