Hi there,
Right now the new WYSIWYG editor allows us to create simple lists like
the following:
----------8<----------
* plants
* animals
** invertebrates
** vertebrates
---------->8----------
By pressing just Enter when the caret is inside a list item we create a
new list item. This is the basic mechanism. It's simple and it should
remain so.
If I want to make the previous list a bit more complex:
----------8<----------
* (((= Plants =
Plants are living organisms belonging to the kingdom Plantae.)))
* (((= Animals =
Animals are a major group of mostly multicellular, eukaryotic organisms
of the kingdom Animalia or Metazoa.
They are divided into:)))
** (((== Invertebrates ==
An invertebrate is an animal lacking a vertebral column.)))
** (((== Vertebrates ==
Vertebrates are members of the subphylum Vertebrata, chordates with
backbones or spinal columns.)))
---------->8----------
I have to be able to insert new lines inside a list item using the Enter
key but without creating a new list item. Let's consider the following
state:
----------8<----------
* (((= Plants =)))
---------->8----------
We have a level 1 heading inside a list item. The caret is inside the
heading, at the end. Pressing Enter can have the following three outcomes:
1. Continue editing in the heading, but on a new line:
----------8<----------
* (((= Title 1
x =)))
---------->8----------
2. Continue editing in the same list item but after the heading, in a
paragraph:
----------8<----------
* (((= Title 1 =
x)))
---------->8----------
3. Create a new list item:
----------8<----------
* (((= Title 1 =)))
* x
---------->8----------
For the first outcome I think we all agree that the user has to press
Shift+Enter. For the second and third outcomes I see two options:
A) Enter for 2 and CTRL/META+Enter for 3
B) Enter for 3 and CTRL/META+Enter for 2
(if you see any other options please step up)
I'm +1 for A) for the following reason: if the user has inserted a
heading in a list item then he will surely want to add more content
after that heading, thus pressing just Enter is the natural way of doing
this. From a technical POV the caret is first inside a heading and then
inside a list item so the heading should have the priority of handling
the Enter key.
NOTE: Choosing A) or B) doesn't affect the way simple lists are created,
which is using just Enter.
Please cast your votes and sorry for the long mail,
Marius
Can someone please help me with this? i.e. having the xeclipse specific
swizzle-confluence source would really help me.
Thanks, Dan
>>> Hi,
>>>
>>> I'm working with the xwiki-xmlrpc code, and I'm wondering...
>>>
>>> What's the story behind swizzle-confluence-1.1-20070829-xwiki.jar?
>>>
>>> Where can I get the source?
>>>
>>> Thanks, Dan
>>>
>>>
>
>
>> Hi Dan,
>>
>> this was a custom package created long time ago from the Swizzle 1.1 +
>> some custom patches.
>> Those patches got eventually committed in the Swizzle trunk but since
>> there has not been a 1.2 release since, we kept that custom jar.
>>
>> You can assume that the source of that jar is the one you find in the
>> Swizzle trunk:
>> http://svn.codehaus.org/swizzle/trunk/swizzle-confluence/
>>
>> Cheers,
>> Fabio
>>
>
> Fabio,
>
> Thanks for the reply.
>
> The source at the above URL is not the code referenced in, e.g. org.xwiki.plugins.eclipse.model.impl.XWikiConnection:
>
> import org.codehaus.swizzle.confluence.Confluence;
> import org.codehaus.swizzle.confluence.IdentityObjectConvertor;
> import org.codehaus.swizzle.confluence.Space;
> import org.codehaus.swizzle.confluence.SpaceSummary;
> import org.codehaus.swizzle.confluence.SwizzleConfluenceException;
> import org.codehaus.swizzle.confluence.SwizzleXWiki;
>
> Specifically, SwizzleXWiki, SwizzleConfluenceException, and IdentityObjectConvertor do not exist in that codebase.
>
> I'm creating an XmlRpc client, and am using the XEclipse code as a pattern for my code. I'd like to have the source for the version of swizzle-confluence that implements these classes.
>
> Thanks,
> Dan
>
>
Hi all,
I get an error installing 1.8.3 Enterprise XAR on Xwiki 1.8.3,
Thanks,
Loris
This is the exception i get...
Error number 4001 in 4: Error while parsing velocity page
XWiki.XWikiPreferences Wrapped Exception: Failed to evaluate content
with id XWiki Preferences
Error number 4001 in 4: Error while parsing velocity page XWiki.XWikiPreferences
Wrapped Exception: Failed to evaluate content with id XWiki Preferences
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page XWiki.XWikiPreferences
Wrapped Exception: Failed to evaluate content with id XWiki Preferences
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.XWiki.include(XWiki.java:3764)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1400)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1365)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.XWiki.include(XWiki.java:3764)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1400)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1365)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:519)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
at sun.reflect.GeneratedMethodAccessor262.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1606)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Hi all,
I've seen this before with XE 1.8.2 and reproduced it with the brand new
XE 1.8.3 (XWiki running on Tomcat 5.5 in a Windows Vista box)...
This link...
http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globala…
Leads to this error message...
http://xen.net/images/errorGeneralCategory.png
This seems to be the error...
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'getPrettyName' in class com.xpn.xwiki.api.PropertyClass threw
exception
Here most of the text thrown by the exception...
http://xen.net/txt/errorGeneralCategory.txt
Is it worth to create a Jira issue with this?
I've a XE 1.7-milestone-3.14362 (running on Mac OS X/Tomcat) running
without this glitch.
Thanks!
Cheers,
Ricardo
--
Ricardo RodrÃguez
Your EPEC Network ICT Team
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.9 Milestone 2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Second and last milestone of the XWiki Enterprise 1.9 version.
Main changes:
* UI improvements
** Quick Jump to any Page navigation
** Faster Save and Continue using AJAX
** Improved Full Screen editing
** New Live Table UI
** Improved comments UI and functionality
** Multiple attachment upload in one request
** New UI for the Class and Object editors
** Improved toolbar in the wiki editor
** Preliminary support for Autosave
* WYSIWYG 2.0 improvements
* XWiki Syntax 2.0 rendering improvements
* XWiki 1.0 to 2.0 syntax converter improvements
* Switched to UTF-8 as the default encoding
* Mailsender improvements
* PDF export improvements
* JavaScript improvements
* Dutch tranlsations
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise19M2
Note that general goals for XWiki Enterprise 1.9 are:
* Finish/stabilize/document new rendering
* Finish/stabilize/document new wysiwyg editor
* Finish/stabilize/document office importer + doc splitter/management
* Finish/stabilize/document webdav
* Finish/stabilize/document REST support
* Usability improvements
Thanks,
The XWiki dev team
Hi
I am still trying to figure out why I cannot deploy XWiki on JBoss
without messing around with the Class Loader. After removing some of
the duplicate archives I was expecting that it would work but still
when it tries to lookup the DataSource on the JNDI server it fails:
org.hibernate.HibernateException: Could not find datasource: java:/
jdbc/XWikiDS
knowing the internals of JBoss good enough I suspect that it is a
class loading issue. Going through the stack trace I found this line
of code inside the XWiki.class (line 994) in the trunk when it tries
to load the Hibernate Migration Manager:
Object result =
Class.forName(storeclass).getConstructor(classes).newInstance(args);
As far as I can remember shouldn't a J2EE application use the Context
Class Loader instead (Thread.currentThread.getContextClassLoader())
instead of the Class' Class Loader?
Any ideas?
Andreas Schaefer
CEO of Madplanet.com Inc.
Email: andreas.schaefer(a)madplanet.com
schaefera(a)me.com
Twitter; andy_mpc
AIM: schaefera(a)me.com
Hello,
I'm trying out XWiki for the first time. I've downloaded and run the
following from CentOS 5.2
(xwiki-enterprise-installer-generic-1.8.3-standard.jar).It seemed to
install fine.
Logging in as Admin, I clicked on "Blog" and created a new blog post. I
selected "Publish" at the bottom and verified the date to be published was
today's date. Clicking on either "Save and View" or "Save and Continue"
seems to leave me in the editor. If I click on the link for the XWiki
Dashboard, I see the new post. It say's "New" next to it. When I click on
the post though, it says "This blog post is not published yet". Further, it
states that it was created by Administrator at Nov 12, 2008 and modified by
Adminstrator at May 11th, 2009.
What am I doing wrong? If I select the "Publish" box and verify the date,
why doesn't it stick and why isn't it published? I did some quick looking
around but didn't find anything relating to this problem?
Thanks for any and all help. I really like parts of XWiki.
-Timmr72