Hi friends,
I'm planning to use XWiki on a lab as a Documentation Tool. The Access to
the Wiki would be restricted... so, people could only be added by an
Administrator.
By default, anyone who clicks on Register link on XWiki main page can
Register itself. I tryed to change the Acess Rights of the Register Page
(I`ve added XWikiAdminGroup with full acess to Register Page and XWikiGuess
Denyed), but nothing changed... anyone can still register anyperson. I've
already tried many things on AcessRights but I'm not able to see what's the
problem. The rights on Register Page seems to never change.
I really need to restrict the rights on Register Pages.
May anyone, please, help me?
cheers
Jonas.
--
JONAS FURTADO DIAS
>> jonasdias(a)gmail.com
Hello again, and here's my progress report:
I need the Google gdata api integrated into xwiki to help me with my task of
developing Google Docs capabilities for XWiki.
The gdata api can be downloaded from:
http://code.google.com/p/gdata-java-client/ (other programming languages
available, but I believe we need java, right? :) )
Upon build, said api exports about a dozen jars into it's lib folder, of
which (I believe) I only need 3: gdata-base, gdata-spreadsheets and
gdata-client (might need others too, not sure, since I can't attempt to
build right now - the gdata api requires JDK 1.5 to build). Those jars need
be added to the xwiki lib folder and updating of build.xml and pom.xml as
necessary.
>From my observation, Google updates this api frequently (2 weeks?) so it
would be really nice if we could actually include the gdata download and
build process into svn / building xwiki (not sure if it can <or should> be
done, since I am not up to speed with how the whole svn building is done).
If there are any other details required, do ask, and I'll do my best to
answer ASAP.
Have a nice day,
Radu
Cheers guys!
I need help with something: I need to add a couple of fields to the
registration form (google user and password for Google Docs), but I can't
find the darn sources responsible for generating that page or any user
management tools (tried spotlight-ing them, searching with eclipse, and
still nothing), please hint me at them.
Thanks for your time,
Radu Danciu
Hello,
How can I get in java the value of an input build with apache.ecs.xhtml? I searched an hour or so on google and haven't found anything related to that.
E.g:
input hidden_input = new input();
input.setID(prefix + name);
...
and at a certain moment its value changes (with javascript). Then I need its value in java. Maybe there is a way to get it using xwiki api somehow...
I would be very thankful for an answer. Thank you very much.
Evelina
Hi,
XWiki Watch is a GWT based Feed Aggregator with collaborative features.
It has the following features:
- Feeds, Groups and Keywords configuration using an AJAX interface.
Configuration are managed by spaces.
- Storing of articles themselves in XWiki pages using the FeedPlugin's
capabilities
- AJAX UI to navigate articles, open the content
- Collaborative tagging, commenting and flagging of articles, store a
'read' status
- Filtering UI to see only articles from a group, a feed, only flagged
articles, matching a keyword, etc..
- TagCloud of tags applied to articles
- Text analysis feature on the content of articles matching a filter
- Press Review feature allowing to generate an HTML or PDF page listing
articles and comments matching a filter
- Look and Feel adapted to the Albatross skin by Laurent Lunati !
- Packageable as an XWiki Application (xar) that can run on XWiki 1.1M2
(currently the trunk) with correct plugins activated (FeedPlugin,
AutoTag, ZipExplorer)
XWiki Watch is based on the new GWT App framework included in the XWiki
Core GWT API (XWIKI-1334)
Some code I will propose to move to the core GWT API (A choice dialog
and a Wizard manager)
I'd like to propose a vote for:
1/ Create a new project XWiki Watch
2/ Opening the developement of XWiki Watch (build documentation, provide
a RoadMap, etc..)
3/ Decide where to commit it
4/ Decide weather or not to provide a different dev and users lists
Ludovic
--
Ludovic Dubost
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
AIM: nvludo Yahoo: ludovic
Hi all,
While implementing XWIKI-1264
<http://jira.xwiki.org/jira/browse/XWIKI-1264>(Transform the AllDocs
page into an index with A-Z links to show docs by
letter) I faced the following problem :
I wanted to show letter links only for relevant letters (for the user not
being faced with empty result for letters that has no document related). But
how to search for distinct letters from the wiki ?
1- we use $xwiki.search("select distinct substring(doc.name, 1, 1) from
XWikiDocument as doc where 1=1")
but then, the document depends on a privileged API, if someone without
programming right edit and saves it, it breaks.
2- we implement a method like "getDocumentsIndex()" in the XWiki API
but as Vincent says, it's not really generic, it applies only on this case.
3- we call a groovy script that holds privileged API calls (possibly the
whole wiki privileged calls)
but, it's not really clean either, and it's too bad we have to maintain two
docs for a small script like the AllDocs one.
As for now we found none of this option good enough, there will be all
letters proposed... with the possibility the users faces an empty result
page.
What do you think? Are there any other option ?
I think this problem leads to the more generic problem of how to handle
privileged calls in the default wiki.
Jerome.
Hey!
Regarding the dialog going on over at
http://jira.xwiki.org/jira/browse/XWIKI-523 ..thought I'd move it here.
Touché regarding the point that I should do this myself. It might not be
a hard thing to do, theoretically, if you're into both the java code and
the db model of xwiki. However, without the benefit of this knowledge,
I'm of the impression that fixing this would take me a lot of time.
And I am of course in no position to expect that you guys, who are busy
developing xwiki for the good of all mankind, would do this for me. But
maybe I can suggest a trade of some sort? I produce something within my
abilities, and vice versa?
My plan is to get deeper into the development matters of xwiki by
writing snippets and plugins, and thereby growing steadily more familiar
with the architecture and the api. Right now I'm working on jabber
(maybe using the JWChat client) inside xwiki, enabling real-time
communication between the currently logged in users. Would this be of
interest to you? I will of course contribute this plugin no matter what
you decide to do about the mentioned issue, but at least now I've stated
my humble wish :-)
best regards
Thomas Drevon
I have searced the xwiki site, list history, the web, subscribed to xwiki-users, before asking this:
I am running xwiki standalone, the file is wiki-1.1-milestone-1.tar.gz and it says "Standalone installation including a Jetty container and an HSQLDB database all set up. Should be used by first-time users"
Please tell me where are the files (or directories) that I need to save to have a full backup. Both database and configs but not the libs. It is running in /home/alain/dev/java/xwiki.
I compared the original .tar.gz with my modified xwiki, appart from logs, only these files are different:
db/xwiki_db.script
db/xwiki_db.properties (only the date changed)
temp/imageCache/ (empty directory, belongs to root)
db/xwiki_db.script looks like an sql-dump, and my modifications are included. Could it be that a database dump is created every time I modify something? Anyway the database apears *not* to be inside the xwiki directory...
PLEASE HELP, I want to make a full backup, but without all the libs and fixed stuff (the whole directory is 55Mb! ).
Thansk for any help,
Alain
Cheers guys!
During my research of the way Google does stuff with their Gdata Protocol,
I've come across some decisions that have to be made (more like priorities -
what should work first and what to improve later).
First off - means of authentication. In order to use gdata, you need a
google account (gmail counts as one). As an alternative, you can, upon
invitation, view a document without having to log in (as stated
here<http://docs.google.com/support/bin/answer.py?answer=47597&topic=9378>).
That would be a good way of interaction with visitors who don't have
editing permissions (as of yet I've not found a way to send invitations
using the API, but there should be one... I hope). Then comes the account
part:
- A wiki can request that each editor use his own account to edit.
That would mean:
- + being able to collaboratively edit documents (the service
allows for multi-user edit) <still requires invitation>
- - require a download to my account, edit, send back to wiki
kind of work flow (much like download to desktop, edit, upload)
!! I might
be wrong on this, needs further research since there is the collaborative
side of things !!
- more + / - to come (if anybody can think of other things to
list here, please do)
- Any one wiki instance admin can create a google account and use it
as a generic wiki acount. That would mean:
- - not being able to edit collaboratively (might not even be
able to edit different documents at the same time - not sure if Google
allows multiple log-ins per account)
- + edit in place
- - limit of 200 spreadsheets / 5000 documents or images per
account (would be ok for a small to medium sized wiki, but a larger one
would seriously suffer especially when it comes to spreadsheets)
- more + / - to come (again, any ideas are welcome additions to
the general picture)
I'd like to take this occasion to ask you, the devs (and users) of xwiki
what you would like to see from Google Docs Integration (prioritize). I'd
really appreciate knowing what the expectations are. Also, any upsides or
downsides to the issue of authentication are welcome into discussion .
Another issue is the fact that the gdata api provided by google will have to
be integrated into the xwiki trunk (I'd like to know how this should be
done).
If possible, take some time to read the references bellow and others
related, and comment upon what should be done and how.
Thank you for your time and patience,
Radu Danciu
References:
http://docs.google.com/support/bin/answer.py?answer=47597&topic=9378<http://docs.google.com/support/bin/answer.py?answer=47597&topic=9378><http://docs.google.com/support/bin/answer.py?answer=47597&topic=9378>
http://docs.google.com/support/spreadsheets/bin/answer.py?answer=37603http://docs.google.com/support/bin/answer.py?answer=37560&topic=8613http://code.google.com/apis/gdata/client-java.htmlhttp://en.wikipedia.org/wiki/Google_Docs_&_Spreadsheets
I'm running into the following build error upon trying to ant standalone the
xwiki trunk along with gdata jars and my classes for google docs:
[javac]
/tmp/clover50747.tmp/src50748.tmp/com/xpn/xwiki/gwt/api/client/GdataAttachmentListInteraction.java:10:
generics are not supported in -source 1.4
[javac] (try -source 1.5 to enable generics)
[javac] private Map<String, ListEntry> entriesCached;
[javac] ^
[javac] 1 error
Sergiu hinted that it's because of Java 1.4 (Gdata needs at least 1.5). How
do I get over this?
Also, what modifications should i make to pom.xml in order to add some jars
to the project? (gdata api jars - originally sources, that have to be built
into jars)
Thanks for your time,
Radu Danciu
Hello,
I have problems making a query to retrieve from the database all the objects that are from a certain class (e.g "TryClass") and of a certain type as well (e.g "StaticListClass").
Can anyone give me a hint please?
Thank you very much.
Evelina Slatineanu
Hi,
Here's a list Catalin and I came up with while brainstorming about
ideas around testing for XWiki. Please feel free to comment, argue,
suggest new ideas, etc.
0) Agree that we want to have our functional tests written in Java.
Vs using Selenium IDE only
Pros:
- DSL -> easy to write and low maintenance (if a UI changes it's
fixed in one place)
- ability to write more complex tests with branch control (if, loop,
etc)
- ability to write tests easily (try creating a test that types some
content in our Tiny MCE editor and you'll understand that part ;-))
- run automatically as part of our build/CI
Cons:
- require a minimal knowledge of Java. Thus it's going to prevent us
from having non technical people write functional tests for us.
I'm currently 100% convinced that our Java choice is right but I know
Ludovic isn't fully convinced which is why I'm listing this point
here to see what others think.
1) Finish setting up our Java functional test fwk.
Goals:
- make it as easy as possible to use.
- make it low maintenance (ie tests shouldn't fail often and if some
UI is changed it should be very easy to fix the tests)
Tasks:
- Continue improving our DSL for testing. Specifically add the
ability to test over several skins and create one DSL per skin.
- Add DSL methods for asserting the rendered HTML (cf Catalin's tests
in http://jira.xwiki.org/jira/browse/XWIKI-1207)
2) Add clover support in the build to assert Test Coverage (TC)
We need this to evaluate easily what we are not testing. It should
report on both unit and functional tests execution.
Note: This is easy to do with the nice Clover plugin for m2 ;-) (I'm
the author of that plugin)
3) Add functional tests to cover 30% of the code under test.
This is a first milestone that we should aim towards. For this we
need to have 2) to see where we stand. Our target goal should be in
the range of 60-70% TC. For my past experience this is a good
ballpark figure and having this results in:
a) well tested code and confidence something new doesn't break what
exists. This is very interesting for us in the 1.x time frame as we
don't want to add regressions to 1.0. But also it gives us greater
confidence for redesigning internal parts of XWiki for implementing
the 2.0 architecture
b) the ability to release in production at each release (provided new
features get tests added when they're added)
4) Explore in-VM testing
The idea is to have several VM (Virtual Machines) running different
OSes for example (Windows, linux, Mac) and a combination of Databases
(Oracle, MySQL, PostGre). You run the XWiki maven build in them so
that the tests get executed in VM. This allows 2 things:
a) test for different environment. For example this tests our start/
stop scripts, our database setups
b) this allows more complex tests to be written like: virtual wikis
c) this allows to implement hard to write tests like the "add
attachment" one. For this you need the attachment to be on your file
system. With a VM you control the full setup of the VM and you can
restore the VM at each run
5) create a test plan listing tests to be written
We need this written in JIRA. This goes with 3).
6) Explore using Reality QA
This is a nice tool/service created by Patrick Lightbody (who's a
friend).
See http://www.realityqa.com/screencasts/realitycheck_tutorial/
RealityCheck.htm to see it in action.
Right now the main issue is that it won't run selenium tests written
in Java but Patrick says it's coming:
http://community.realityqa.com/thread.jspa?threadID=1010
The other thing that could be nice is the ability to upload our app
inside their VM:
http://community.realityqa.com/thread/1011 (but we can host our VMs
to start with).
What Reality QA buys us is the ability to run all our tests on all
platforms/browsers.
7) Improve the maven build
For example:
- ability to run the app on a defined port so that it doesn't
interfere with an already running xwiki instance
- stop the container when a test fails
8) Finish setting up our CI tool
Tests are pretty useless without CI. I'm working on setting up
TeamCity. I'm having some issues that I'm debugging with jetbrains
(at first glance seems caused by ObjectWeb SVN).
Catalin will work on some of these points as part of GSOC
(http://www.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/
FunctionalTestSuite). We haven't decided yet which points he'll work
on but at least he'll do/help on the following: 1, 3 and 5. 3 and 5
being the most important items.
WDYT about all these?
Thanks
-Vincent
On Jun 8, 2007, at 9:34 AM, Catalin Hritcu wrote:
> Author: hritcu
> Date: 2007-06-08 09:34:30 +0200 (Fri, 08 Jun 2007)
> New Revision: 3571
>
> Modified:
> xwiki/trunk/application-test/pom.xml
> xwiki/trunk/application-test/src/test/it/com/xpn/xwiki/it/
> framework/AbstractXWikiTestCase.java
> xwiki/trunk/application-test/src/test/it/com/xpn/xwiki/it/
> framework/AlbatrossSkinExecutor.java
> Log:
> Removed dependency on XMLUnit.
Just to explain: I've agreed with Catalin to remove it because the
code we get is HTML (not XHTML) and xmlunit requires valid XML so the
combo wasn't working that great.
It's also simpler just to use Selenium's internal xpath feature.
-Vincent
Hi,
I'm currently working on the development of a portal based on Xwiki, and
may be what I am using to deploy groovy code could be helpfull.
You can find the code at:
https://protactinium.pps.jussieu.fr:12345/websvn/listing.php?repname=EDOS&p…
The whole stuff is based on autotools (automake/autoconf) and curl.
The very simple configure script builds a property file that stores the
Xwiki server name, port, username, password. There are then bash scripts
that use 'curl' for login in, uploading and downloading Xwiki pages. The
pages are stored as plain text files with .xwiki extension.
I edit the pages using emacs and groovy-mode (syntax coloring,
indentation, parenthesis checking...). The groovy-mode Emacs lisp file
can be found on http://groovy.codehaus.org/Emacs+Plugin
Once the pages edited and saved in emacs, I upload them in Xwiki using
'make upload' and test them using firefox. This can of course be done
directly from Emacs with M-compile.
Thanks to the fact that automake/autoconf support running configure in a
different directory than the sources (i.e. the Xwiki documents), I can
deploy simultaneously on 2 Xwikis, one running localy where I test the
code, and another one running a more stable version. This is done by
creating 2 'build' directories and running configure with
--srcdir=SRCDIR argument.
I know it is not in any case the standard way of developing in Xwiki,
but I find it helpfull. If it can be of any help...
A question now: is it possible to define Xwiki classes the same way?
Right now, I define my classes using the web interface, but if I am
curious to know if it is possible to do it textually?
François
I'm trying to use tooltips.
Since the bug http://jira.xwiki.org/jira/browse/XWIKI-977
has been closed, I thought I can use it but I can't get it work.
I have this code in my page :
$xwiki.addTooltipJS()
$xwiki.addTooltip("htmlText", "tooltip")
The generated HTML code is like this :
<script type="text/javascript"
src="/xwiki/skins/albatross/ajax/wzToolTip.js"></script><p
class="paragraph" />
<span class="tooltip_span" onmouseover="this.WIDTH='300'; return
escape('tooltip');">htmlText</span><p class="paragraph" />
Am I doing something wrongly ?
Thanks,
Arno.
Hello,
How can I make a query to retrieve data if the user has chosen "Multiple Select"?
Until now I only made queries using StringProperty, but Sergiu told me that with multiple select, data are kept on separate rows, so I tried StringListProperty and ListProperty but with no success. Anyone, an ideea, please?
Thank you.
Hi all,
I have a problem with imports.
I have some objects that I need to export that contains empty dates.
The property "emptyIsToday" is set to "0" and the field value is empty.
Exported file is like :
Field declaration :
[...]
<dateDetection>
<name>dateDetection</name>
<prettyName>Date de détection</prettyName>
<unmodifiable>0</unmodifiable>
<size>10</size>
<dateFormat>dd/MM/yyyy</dateFormat>
<emptyIsToday>0</emptyIsToday>
<customDisplay></customDisplay>
<validationRegExp></validationRegExp>
<tooltip>format (jj/mm/aaaa)</tooltip>
<number>4</number>
<validationMessage></validationMessage>
<classType>com.xpn.xwiki.objects.classes.DateClass</classType>
</dateDetection>
[...]
Value :
[...]
<property>
<dateDetection></dateDetection>
</property>
[...]
So all seems normal in exported file.
Then when I do my import and go to see the object, it is valued with the
current's date :
Date de détection: 06/06/2007
Any idea or suggestion ?
Regards,
--
Arnaud Thimel
Société Code Lutin - http://www.codelutin.com
Hi all,
I'm working on developing a plug-in for eclipse that would allow XWiki to
integrate seamlessly with the development environment (as part of GSoC2007).
I have investigated TimTam which is a similar plug-in. The major issue i
need to clarify is what sort of integration would be necessary, displaying
XWiki pages within a browser widget inside eclipse environment seems quite
straight forward, but this would simply mean that I have eliminated the
requirement for an external browser. On the other hand TimTam provides a
tree navigation function which is quite handy; is it possible to have this
kind of a functionality with XWiki ? or else, is there a better way to do
this ?
The related JIRA issue is,
http://jira.xwiki.org/jira/browse/XWIKI-1323
Regards,
- Tharindu.
Hi,
Yesterday I updated my XWiki from SVN.
I have a project working on it, and with the latest XWiki, I can't
launch my project.
It seems that there's an issue with my database because I can launch the
standalone XWiki, it works fine. But as soon as I plug it to my
database, I got the following exception. (XWiki.XWikiPreferences is just
an exemple, I got this exception for each document)
This is very odd because my database was working fine until now !
In the source code, it sounds like my "BasicDataSource ds" in
DBCPConnectionProvider.java is null. So I guess it comes from my
configuration, then i tried to check my hibernate.cfg.xml, but all seems
fine.
Does anyone has an idea ?
Arno.
The exception :
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while
reading document XWiki.XWikiPreferences
Wrapped Exception: null
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:452)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:160)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:956)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:990)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:2233)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:675)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:567)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:282)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:383)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:96)
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:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
java.lang.NullPointerException
at
com.xpn.xwiki.store.DBCPConnectionProvider.getConnection(DBCPConnectionProvider.java:209)
at
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:360)
at
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:122)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.getRealConnection(XWikiHibernateBaseStore.java:665)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:545)
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:352)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:160)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:956)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:990)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:2233)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:675)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:567)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:282)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:383)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:96)
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:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)
Hi Nicolas,
On Jun 4, 2007, at 10:39 AM, Nicolas FOURNIER wrote:
> Author: nfournier
> Date: 2007-06-04 10:39:41 +0200 (Mon, 04 Jun 2007)
> New Revision: 3550
>
[snip]
> Log:
> XEM-12
>
This is my third mail on the topic without any answer from you...
Could you please check the previous 2 mails, answer to them, and
follow our development practices?
Note: As a developer you MUST follow the mails on the list from time
to time. There are important information for you, in addition to
questions/remarks asked directly to you.
Thanks
-Vincent
On Jun 3, 2007, at 2:48 PM, Sergiu Dumitriu wrote:
> Author: sdumitriu
> Date: 2007-06-03 14:48:38 +0200 (Sun, 03 Jun 2007)
> New Revision: 3547
>
> Modified:
> xwiki/trunk/web/standard/src/main/webapp/skins/albatross/
> xwikivars.vm
> Log:
> $parent is wrongly set. However, this variable is not used in
> Albatross.
So why do we keep it? :)
-Vincent
Hello,
I have a tricky question. For my ajax suggest, I need to know the class a document belongs to. To be more precise: the user makes a class, let's say TryClass, and then a new document of that class. The class has a property (String let's say) that is displayed as an input. When the user writes something in the input field, my ajax sends a request to a velocity template (something like ?xpage=process&input=aaa).
In process.vm I need to know the class (the USER's class) the document from which the request was made belongs to. I modified the java code like that
BaseClass bclass = getxWikiClass();
String classname;
if(bclass == null) classname = "";
else classname = bclass.getName();
but the classname is actually StringClass (the class of the property) so I thought there might me a way to find out the user class in the velocity template, by using $context or something like that....I don't really know.
Please help.
Thank you,
Evelina Slatineanu