Good morning
I instaled the Office Importer to import a .doc file saved in OpenOffice 2.4, into my XWiki. The result was
almost perfect, but where I should have this "[ ]" i have this "?", a link to an empty page.
For example:
listPojosByField(String field, Object value, ServiceContext ctx, String[][] optimizations) 21 - in the
original document
listPojosByField(String field, Object value, ServiceContext ctx, String][? optimizations) 21 - after
conversion
JSP [READ-ONLY] Página gerada com nome que segue a nomenclatura AREA_MODULO_Componente.jsp. - in the
original document
JSP READ-ONLY? Página gerada com nome que segue a nomenclatura AREA_MODULO_Componente.jsp. - after
conversion
Can you help me resolving this?
Best regards
Bruno Neves
Hi Ludovic,
I have been trying to mount xwiki-wedav on XP as a drive but couldn't get it
to work :(
I will explain my setup to you so that you can let me know what i'm doing
wrong.
1. I have integrated xwiki-webdav into an existing XE installation so that
xwiki-webdav root is located under /xwiki/webdav
2. I have written the ROOT servlet as bellow
<code>
protected void doOptions(HttpServletRequest request, HttpServletResponse
response)
throws ServletException, IOException
{
response.setStatus(HttpServletResponse.SC_OK);
response.setHeader("MS-Author-Via", "DAV");
response.setHeader("Content-Language", "en");
response.setHeader("DAV", "1,2");
response.setHeader("Allow", "OPTIONS, GET, HEAD, PROPFIND, LOCK,
UNLOCK");
response.setHeader("Content-Length", "0");
response.flushBuffer();
}
protected void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException
{
resp.sendRedirect("/xwiki");
}
</code>
3. I have following two webapps on jetty (XE Installation)
xwiki-enterprise-hsqldb-1.5/webapps/root <- root webapp
xwiki-enterprise-hsqldb-1.5/webapps/xwiki <- XE
3. And when i do OPTIONS request on "/" using telnet:
[asiri@asiri-desktop xwiki-enterprise-hsqldb-1.5]$ telnet localhost 80
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
OPTIONS / HTTP/1.1
Host: localhsot
HTTP/1.1 200 OK
Date: Sat, 16 Aug 2008 10:34:37 GMT
Server: Jetty/5.1.5 (Linux/2.6.22.14-72.fc6PAE i386 java/1.5.0_11
MS-Author-Via: DAV
Content-Language: en
DAV: 1,2
Allow: OPTIONS, GET, HEAD, PROPFIND, LOCK, UNLOCK
Content-Length: 0
This means that the root servlet is working.
4. I have modified the XP registry to include UseBasicAuth key and set it's
value to 1.
5. But When i try the command
net use * "http://mydavserver/xwiki/webdav/" /User:Admin admin
I get an Access Denied error on XP
6. In the back log of jetty, i get the following log message:
192.168.1.4 - - [16/ao�t/2008:10:27:54 +0000] "OPTIONS / HTTP/1.1" 200 0 14
192.168.1.4 - - [16/ao�t/2008:10:27:54 +0000] "PROPFIND /xwiki HTTP/1.1" 302
0 1
192.168.1.4 - - [16/ao�t/2008:10:27:54 +0000] "PROPFIND /xwiki/ HTTP/1.1"
405 1237 3
This means that the OPTIONS command on root is working but PROPFIND on
/xwiki/ fails (Method Not Implemented). But I can't do much about it because
that comes from the XE installation.
Please help me find the problem with this setup, I'm really stuck here. :`(
For the moment, i will start working on some other feature.
Thanks a lot.
- Asiri
Hi,
I am trying to invoke login method of
XWikiClient rpc = new SwizzleXWikiClient(url);
rpc.login("admin", "admin");
I get the following exceptions: RemoteClientException.
when i check server logs, I got information regarding version mismatch.
i am trying to open the URL: http://localhost:8080/xwiki/xmlrpc/xwiki. Here i found error: Document not found.
i am using Xwiki-core-1.3.2 version.
is it a version mismatch problem or i am missing something.
TIA
ac
Hello XWiki friends,
Considering files as being "static resources" within an installation
has the big advantage that it can be left to a serving infrastructure
that can honour all the optimized change management the web has
prepared for us (If-Modified-Since, caching at several levels, pre-
allocations thanks to Content-Length...).
I had done it for http://i2geo.net/, basically by guessing, and the
result was amazing, a huge speed-up perception factor. But now... I
need to redo this for our curriki instance.
How could I recognize a file as being subject of static serving?
- a picture file (pretty clear)
- a css or javascript that does not contain either a groovy or
velocity mark?
There are many examples of the second sort, e.g. all the gwt output
files, but I would like to be sure of them:
- is groovy-inside CSS or JavaScript ever done? (I've never seen it)
- what are "all the marks" of velocity? ( would \#[a-z]+ and \$[a-z]+
be regexps that would suffice?)
thanks in advance
paul
Hi,
Perhaps because I am too lazy to do the same job from version to version
(that is: to translate hard-coded english terms in german), I invested a bit
of time, looked through the templates in XWiki-enterprise-1.5-rc-1 and
replaced all hard-coded messages with msg.get().
ApplicationRecourses and ApplicationRecourses_de are respectively
customized.
Can I open only one Jira-issue for all changes and attach separate all
corrected .vm files (22 doc) + one document, describing all changes or
should I open 22 issues :confused: ?
If necessary, I can update the russian translation as well.
Best Regards,
Alla
--
View this message in context: http://n2.nabble.com/Replacing-hard-coded-messages-in-templates-tp534243p53…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi,
Just a quick note to say that I've just discovered Textile-J: https://textile-j.dev.java.net/
After a quick review:
* It looks similar in intent to WikiModel and Doxia
* It currently implements the following syntaxes: textile, trac,
confluence, mediawiki
* It generates HTML and DocBook (and Eclipse Help format)
* It has some Eclipse integration already
* It's moving into the Mylyn incubator. This is really important since
it'll get a lot of tractions and it's very likely it'll quickly
improve, support more outputs, more syntaxes.
When I get some time I'd like to create a quick bridge to it (as I've
done for wikimodel and doxia) to 1) validate that we can wrap it
easily and 2) since it has a confluence parser it may be better than
the doxia one which has several issues and doesn't seem to be very
actively maintained.
Thanks
-Vincent
Hi,
In the new component-based architecture we are creating lots of
specific apis that we need to make available to velocity. For example
the rendering module should make available it's XDO object so that
users can access any part of a document.
However there are some impedance mismatch.
For example in XDOM the method to find all blocks of a given type
today is: XDOM.getChildrenByType(SectionBlock.class).
This cannot be called from velocity since SectionBlock.class will not
work.
There are lots of other similar examples. One solution would be to
modify the API to be for example: XDOM.getChildrenByType(String
blockName) but this is ugly and type-unsafe.
So I was thinking about a different approach. What about intercepting
method calls in our velocity module and instead of calling the method
right away have some transformation to it. The idea would be for
modules to register method handlers to our velocity runtime so that it
can do the conversion.
For example when you'd call $xdom.getChildrenByType("section") it
would call the XDOMVelocityMethodHandler.convert(...) method and
transform "section" into SectionBlock.class and call the API method.
Thus the idea would be that modules that want to make their APIs more
velocity friendly would just create components implementing some
VelocityMethodHandler interface and automatically these would be used
by our velocity runtime.
The only downside I can think of is javadoc or rather how users will
know the method signature to use from velocity but I think we can find
solutions for this. One solution for example is to use annotations on
methods that need to have a velocity method hander. We'll need that
anyway I think. Something like:
@velocityMethodHandler("rendering"')
XDOM.getChildrenByType(...)
(where "rendering" is the component role-hint)
WDYT?
Sergiu, since you're the one to have manipulated this part of
Velocity, is this possible? (I think it is using uberspectors).
Thanks
-Vincent
PS: Since we don't want to make our code special for Velocity we
should check how we would do it for other templating engine like
FreeMarker for example.
Hi Vincent,
Input xhtml is :
<?xml version="1.0" encoding="UTF-8"?>
<html><head /><body>
<h1 class="western">Format Test</h1>
<p class="western">Text in a
line</p>
</body></html>
The rendering in firefox of this xhtml is as the same as
<?xml version="1.0" encoding="UTF-8"?>
<html><head /><body>
<h1 class="western">Format Test</h1>
<p class="western">Text in a line</p>
</body></html>
But the xwiki syntax generated by XWikiSyntaxRender is
--------------code begin-----------------
1 Format Test
Text in a
line
--------------code end-------------------
I think the expected should be
--------------code begin-----------------
1 Format Test
Text in a line
--------------code end-------------------
WDYT?
--
Thanks
Wang Ning
Hi,
How can i set admin rights for this page (*http://
<host>/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki*) to all the
registered users.
--
Prathap