Hello,
using a non-WYSIWIG editor my text lines can get quite large
(especially when some markup is included).
With 1.0 syntax this was no problem:
line one
still line one
is rendered in one line.
Is it possible to achieve a similar behaviour with 2.0 (2.1)?
Like:
line one ~
still line one
or:
line one \
still line one
(both examples result in two rendered lines)
(from http://en.wikipedia.org/wiki/%5C: In the context of line-oriented
text, especially source
code for some programming languages, it is often used at the end of a
line to indicate that
the trailing newline character should be ignored, so that the following
line is treated as if it
were part of the current line. In this context it may be called a
"continuation". The GNU make
manual says, "We split each long line into two lines using
backslash-newline; this is like using
one long line, but is easier to read.")
Thank You
Frank
Hey,
i've a problem, i made a class with some properties and on the class sheet
i have put
a livetable that shows the docs from another class.
Now i want to filter the livetable that is in the first class on every side
with a property of it.
But i dont know how to get the property of the first class and to set it as
a variable to the topFilter of the livetable (shows the docs from an other
class)?
Here is the code:
#set ($pure = $doc.display("number", $obj))
$pure
//HERE the variable shows the variable correctly
{Livetable}
"topFilters": '<input type="hidden" name="Project" value="$pure" />'
//HERE the variable "pure" has no content
{livetable}
Please help....
Thanks, Alex
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-to-set-a-class-property-as-topFilter-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I've been trying to upgrade a 3.3 installation of the
xwiki-enterprise-common package to 3.5 today. Unfortunately it seems to
have failed, leaving me with no installation:
It took me through modifications to the config files in /etc/xwiki,
enabling me to keep my changes and update where appropriate, but after
that point:
"""
Installing new version of config file /etc/xwiki/xwiki.properties ...
ln: target `/usr/lib/xwiki/WEB-INF/' is not a directory: No such file or
directory
dpkg: error processing xwiki-enterprise-common (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while
processing:
xwiki-enterprise-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Current status: 0 updates [-1].
"""
Manually creating the /usr/lib/xwiki and /usr/lib/xwiki/WEB-INF
directories and then doing an aptitude (re)install results in installation
completing and files being placed into /usr/lib/xwiki/WEB-INF; but there
are no files created in /usr/lib/xwiki, as indicated that there should be
[1]
Any suggestions?
Matt
[1]
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT#HXWi…
--
| Matt Hammond
|
| [anything you like unless it bounces] 'at' matthammond 'dot' org
Hi, all,
I installed XWiki manager on one machine, and installed Enterprise on
another machine, I cannot tell which is manager and which is enterprise
sometimes. Anyway to check that?
Also the user's guide says the manager does not support postgresql, I
checked the hibernate config file, switched from mysql to postgres, now
both versions of my xwiki are using postgres on different machine, they
both work fine, but I am not sure whether something may go wrong someday
with the manager because I switched the postgresql for it, so what are the
concerns of using postgres with xwiki manager? how do I overcome?
Thanks
Dave
Hi, all,
I got a strange problem, whenever I include the jquery script in my vm
file like this:
<script type="text/javascript"
src="/xwikim/bin/skin/resources/JScripts/jQuery/slickgrid/lib/jquery-1.7.min.js"></script>
I got the following exception; I thought it caused by jquery and
prototype conflict, but I included <script type="text/javascript">
jQuery.noConflict();
var $j = jQuery;
</script>
replaced $ for jquery with $j, but the same error, I also tried to use
$xwiki.jsfx.use(), still same, any solution for this?
Thanks
Dave
missing ; before statement
...h id [xwiki:resources.JScripts]</a><div id="xwikierror1"
style="display: none;">...
jquery....min.js (line 2, col 89)
<a href="" onclick="document.getElementById('xwikierror1').style.display='block';
return false;">Error number 4001 in 4: Error while parsing velocity
page xwiki:resources.JScripts
Wrapped Exception: Failed to evaluate content with id
[xwiki:resources.JScripts]</a><div id="xwikierror1" style="display:
none;"><pre class="xwikierror">
Error number 4001 in 4: Error while parsing velocity page
xwiki:resources.JScripts
Wrapped Exception: Failed to evaluate content with id [xwiki:resources.JScripts]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page xwiki:resources.JScripts
Wrapped Exception: Failed to evaluate content with id [xwiki:resources.JScripts]
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:122)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:94)
at com.xpn.xwiki.render.XWikiVelocityRenderer.interpret(XWikiVelocityRenderer.java:55)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:288)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.interpretText(DefaultXWikiRenderingEngine.java:194)
at com.xpn.xwiki.XWiki.parseContent(XWiki.java:1711)
at com.xpn.xwiki.web.SkinAction.renderFileFromFilesystem(SkinAction.java:252)
at com.xpn.xwiki.web.SkinAction.render(SkinAction.java:137)
at com.xpn.xwiki.web.SkinAction.render(SkinAction.java:80)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:231)
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:305)
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:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1805)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to
evaluate content with id [xwiki:resources.JScripts]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:247)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117)
... 47 more
Caused by: org.apache.velocity.runtime.parser.ParseException: Lexical
error: org.apache.velocity.runtime.parser.TokenMgrError: Lexical error
at line 210, column 200. Encountered: "?" (63), after :
""
at org.apache.velocity.runtime.parser.Parser.parse(Parser.java:136)
at org.apache.velocity.runtime.RuntimeInstance.parse(RuntimeInstance.java:1226)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:211)
... 49 more
Wrapped Exception:
org.apache.velocity.runtime.parser.ParseException: Lexical error:
org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at
line 210, column 200. Encountered: "?" (63), after :
""
at org.apache.velocity.runtime.parser.Parser.parse(Parser.java:136)
at org.apache.velocity.runtime.RuntimeInstance.parse(RuntimeInstance.java:1226)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:211)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:94)
at com.xpn.xwiki.render.XWikiVelocityRenderer.interpret(XWikiVelocityRenderer.java:55)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:288)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.interpretText(DefaultXWikiRenderingEngine.java:194)
at com.xpn.xwiki.XWiki.parseContent(XWiki.java:1711)
at com.xpn.xwiki.web.SkinAction.renderFileFromFilesystem(SkinAction.java:252)
at com.xpn.xwiki.web.SkinAction.render(SkinAction.java:137)
at com.xpn.xwiki.web.SkinAction.render(SkinAction.java:80)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:231)
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:305)
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:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1805)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
</pre></div>
Hi!
> ________________________________________
> From: users-bounces(a)xwiki.org [users-bounces(a)xwiki.org] On Behalf Of mohit gupta [motgupta(a)gmail.com]
> Sent: 06 April 2012 19:42
> To: XWiki Users
> Subject: [xwiki-users] Looking for these xwiki java API'S or java class containing these functionality?
>
The first thing I would like to understand someday is what does API apply to! I mean, has XWiki a single API? Or has it a lot of them? Perhaps it is only a matter of taste, but I do really like to know how to correctly use this concept.
Can Method and API be indistinctly used?
> Hi Folks,
>
> I am looking for three xwiki java api's that do the following functionality
> 1) I give the space name to api and it creates the space with default home
> page .
Perhaps this could be useful:
{{velocity}}
#set ($mydoc = $xwiki.getDocument("Dummy.WebHome"))
$mydoc.setContent("content")
$mydoc.save()
{{/velocity}}
> 2)I give userName,SpaceName and rightsName(like view,edit,delete,admin) to
> api and it gives these rights on given space name for the given username
Does this page through any light to your doubt?
http://extensions.xwiki.org/xwiki/bin/view/Extension/Setting+Rights
> 3)I give spaceName to api and it gives me whether the given space exists or
> not?
I don't know how XWiki checks if a space exists when entered in an URL, but perhaps this could help...
$xwiki.getSpaceDocsName('YourSpaceHere).size()
If size > 0 does mean that YourSpace exists!
> I was looking for three apis in classes ---com.xpn.xwiki.xwiki.java and
> com.xpn.xwiki.api.xwiki.java but i could not locate these. But i am sure
> these api's must
> be existing (as user is able to do these stuff from user interface). I will
> be grateful if i can be directed to these apis?
>
> Thanks in advance.
HTH!
Ricardo
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada.
Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada.
See more languages: http://www.sergas.es/aviso_confidencialidad.htm
Hi, all,
I am trying to add a file upload page to xwiki, since the FileUploadPlugin
java class is deprecated, is there any other fileupload component available
for reuse? if no, I need to create the component on my own, my concern is I
need to insert the file uploaded into database and keep it separate from
all the other wiki tables, I like to create a separate table specifically
for files uploaded, that means I need to use Hibernate in java code to
handle that, any examples about how to do that? BTW, I am coming from
IBatis background.
Thanks in advance
Dave
Hi, all,
I got a weired problem with url handling, when I am on this page:
http://mydomain.com/xwikim/bin/view/Blog/CreatePost, which gives me a
create post button to create post, I check the form action url is:
"/xwikim/bin/view/Blog/CreatePost?xpage=plain", when I click on the create
button, it comes to this url:
http://localhost/xwikim/bin/edit/Blog/Post+title?template=Blog.BlogPostTemp…,
from which I got "Unable to connect" error, I am not sure why it switched
from mydomain.com to localhost, all other links and buttons are working
fine without this kind of problem.
My setup is like that I have an apache web server installed with port 80
opened to the public internet, which forwards request to tomcat with port
8082 on localhost. all other links work fine, only the createpost has this
problem.
Any clue from any of you?
Thanks very much in advance
Dave
Hi!
By accident I found wierd XWiki behaviour. I played with 3.4.
If you rename any Group, all access rights set to this group are gone and admin should set them back once more.
Is it a bug or desired behaviour?
Kind regards,
Dmitry