--- En date de : Lun 9.2.15, Jeremie BOUSQUET <jeremie.bousquet(a)gmail.com> a écrit :
> De: Jeremie BOUSQUET <jeremie.bousquet(a)gmail.com>
> Objet: Re: [xwiki-users] Fw : Re: Fw : Re: Need doc about access object in a page (and use doc)
> À: "Pascal BASTIEN" <pbasnews-xwiki(a)yahoo.fr>, "XWiki Users" <users(a)xwiki.org>
> Date: Lundi 9 février 2015, 16h36
> Hi,
>
> 2015-02-09 15:37 GMT+01:00
> Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>:
> Thxs god! xwiki is a
> wonderfull world ... when we manage to do what we want (or
> we can understand javadoc) ... hum!
>
> Note that javadoc may not be the
> better entry point to understand the xwiki model, but you
> may find this page interesting ;)
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/DataModel
Yes thxs you I knew this page :-)
About he doc I use frequently this one http://platform.xwiki.org/xwiki/bin/view/SRD/Navigation end https://network.xwiki.com/xwiki/bin/view/DocXE542Fr/XWikiDocTable, but examples miss me.
I failed often to guess object type/collection, etc. in my loop or methods.
>
>
>
The XWiki development team is proud to announce the availability of XWiki
7.0 Milestone 1.
This is the first milestone release of the 7.x cycle. It features a
Document Index Tree Finder for the Index Application, integration of the
new Tree Widget with the WYSIWYG editor and some usability improvements.
Developers have a new Finder Plugin for the Tree Widget and the old Lucene
search module was finally retired to Contrib.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70M1
Thanks
-The XWiki dev team
Hi XWIKI Team,
Please, is there any way to make a search inside page sources.
I need to search for a word inside page sources in the Space "Main".
Even by a query on the database.
Thanks in advance.
Best Regards,
Walid YAICH
Thxs god! xwiki is a wonderfull world ... when we manage to do what we want (or we can understand javadoc) ... hum!
More seriously, thxs a lot for your help (I pulled my hair during all this week-end).
I wil probably add your nice code on this page: http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsin…
## get the document which has the object (only one here) - this is the page where I can see things in the object editor
#set( $MyDoc = $xwiki.getDocument("MySpace.MyNiceDoc"))
## get the document wich contains the class definition: this page has entries in the class editor
#set( $class = $xwiki.getClass("MySpace.MyClass"))
#foreach($prop in $class.properties) ## go through all properties
* ${prop.prettyName} : $MyDoc.display($prop.getName())
#end
and
#set($MyDoc = $xwiki.getDocument("MySpace.MyNiceDoc"))
#set($class = $xwiki.getClass("MySpace.MyClass"))
## loop over all objects
#foreach($obj in $MyDoc.getObjects("MySpace.MyClass"))
## empty line is intentionally to create a new paragraph
Object number $velocityCount
#set($discard = $MyDoc.use($obj))
#foreach($prop in $class.properties) ## go through all properties
* ${prop.prettyName} : $MyDoc.display($prop.getName())
#end
#end
Pascal B.
--- En date de : Lun 9.2.15, Clemens Klein-Robbenhaar <c.robbenhaar(a)espresto.com> a écrit :
> De: Clemens Klein-Robbenhaar <c.robbenhaar(a)espresto.com>
> Objet: Re: [xwiki-users] Fw : Re: Need doc about access object in a page (and use doc)
> À: users(a)xwiki.org
> Date: Lundi 9 février 2015, 14h53
> On 02/09/2015 02:12 PM,
> Pascal BASTIEN wrote:
> > This code
> (probably false) doesn't work.
> >
> #set( $Class =
> $xwiki.getClass("MySpace.MyClass"))
> > #foreach($prop in $class.properties) ## go
> through all properties
> > *
> ${prop.prettyName} : $doc.display($prop.getName())
> > #end
>
> It
> works for me if I do something like:
>
> {{velocity}}
> ## get the
> document which has the object (only one here) - this is the
> page where I can see things in the object editor
> #set( $adminDoc =
> $xwiki.getDocument("XWiki.Admin"))
> ## get the document wich contains the class
> definition: this page has entries in the class editor
> #set( $class =
> $xwiki.getClass("XWiki.XWikiUsers"))
> #foreach($prop in $class.properties) ## go
> through all properties
> * ${prop.prettyName}
> : $adminDoc.display($prop.getName())
> #end
> {{/velocity}}
>
> This code should work for you 1:1 unless you
> have deleted you "Admin" user. toapply for your
> ise case you will have to adapt the name of the class and of
> the document containing the objects
>
> Note that there is a difference between:
>
> - the document _defining_ the
> class - for users this is XWiki.XWikiUsers and you can see
> it at
> http://localhost:8080/xwiki/bin/view/XWiki/XWikiUsers
> and you can cnage it in the
> class editor:
> http://localhost:8080/xwiki/bin/edit/XWiki/XWikiUsers?editor=class
> but this document is in itself a
> user: the object eduitor is emprty:
>
> http://localhost:8080/xwiki/bin/edit/XWiki/XWikiUsers?editor=object
> (not completely empty, but does
> not contain XWiki.XWikiUsers objects)
>
> - the "admin" User document is not a
> class:
> http://localhost:8080/xwiki/bin/edit/XWiki/Admin?editor=class
> but has a Users oject
> attached:
> http://localhost:8080/xwiki/bin/edit/XWiki/Admin?editor=object
>
>
> Anyway, if
> you have more than one object on a page, you will have to
> loop over them and use "$doc.use".
>
> the following works for me
> (even though it is useless in this case, as is loops over
> all users on a page, while there should be only one ...)
>
> {{velocity}}
> #set($adminDoc =
> $xwiki.getDocument("XWiki.Admin"))
> #set($class =
> $xwiki.getClass("XWiki.XWikiUsers"))
> ## loop over all objects
> #foreach($obj in
> $adminDoc.getObjects("XWiki.XWikiUsers"))
> ## empty line is intentionally to create a
> new paragraph
>
> Object
> number $velocityCount
> #set($discard =
> $adminDoc.use($obj))
> #foreach($prop in
> $class.properties) ## go through all properties
> * ${prop.prettyName} :
> $adminDoc.display($prop.getName())
>
> #end
> #end
>
> {{/velocity}}
>
>
> hth,
>
> clemens
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--- En date de : Lun 9.2.15, Clemens Klein-Robbenhaar <c.robbenhaar(a)espresto.com> a écrit :
> De: Clemens Klein-Robbenhaar <c.robbenhaar(a)espresto.com>
> Objet: Re: [xwiki-users] Need doc about access object in a page (and use doc)
> À: users(a)xwiki.org
> Date: Lundi 9 février 2015, 13h29
> On 02/09/2015 10:15 AM,
> Pascal BASTIEN wrote:
> > Hello,
> > I read/apply this doc with succcess:
> > http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsin…
> >
> > With this code I can
> display all objects ATTACHED to THIS page.
> > ***********
> >
> #set($class = $obj.xWikiClass) ## access the class object
> representing SomeSpace.SomeClass
> >
> #foreach($prop in $class.properties) ## go through all
> properties
> > ...
> >
> ***********
> > but if I attached some
> class to another page, how can I list properties?
>
> the $xwiki object has a method
> to access the class if you know the name
>
> #set( $someClass =
> $xwiki.getClass("SomeSpace.SomeClass"))
>
> http://maven.xwiki.org/site/docs/xwiki-javadoc-4.1.x/com/xpn/xwiki/api/XWik…
This code (probably false) doesn't work.
#set( $Class = $xwiki.getClass("MySpace.MyClass"))
#foreach($prop in $class.properties) ## go through all properties
* ${prop.prettyName} : $doc.display($prop.getName())
#end
>
> > Another question:
> > I have a page with 3 same Class, how to
> list them (like ?editor=class did)?
>
> you can get a list of of objects of a certain
> class via
> $doc.getObjects("SomeSpace.SomeClass")
>
> http://maven.xwiki.org/site/docs/xwiki-javadoc-4.1.x/com/xpn/xwiki/api/Docu…
$doc.getObjects("SomeSpace.SomeClass")
I failed to :-(
The thing I don't understand is, my values are stored in a doc with attached class. I need theses value from another doc but all method have Class name parameter ... Class name contain only field (properties) name?
(Hope I will understand how find answer in javadoc to avoid disturbed nice people of user list)
Thxs
>
> > An example:
> >
> MySpaceMyClass contain this Class properties:
> > - My Field ID (IdField: String)
> > - My Lib Field (LibField: String)
> > I create MySpace.MyNiceDoc and add my
> previous Class MySpace/MyNiceDoc?editor=object
> > and contain:
> > Objets
> de type MySpace.MyClass (2)
> > * MyClass
> 0
> > - My Field ID
> > - My Lib Field
> >
> *MyClass 1:
> > - My Field ID
> > - My Lib Field
> >
> > With it I like to fill a select list from
> this doc (but from another doc to).
> > How
> can I proceed? because on MySpace.MyNiceDoc I can only
> display one/First Lib values with this code:
> > {{velocity}}
> > ##
> Retrieve the first object (index [0]) among all objects
> attached to this page and of a certain class
> > #set($obj =
> $doc.getObject('MySpace.MyClass'))
> > #set($class = $obj.xWikiClass) ## access
> the class object representing SomeSpace.SomeClass
> > #foreach($prop in $class.properties) ## go
> through all properties
> > *
> ${prop.prettyName} : $doc.display($prop.getName())
> > #end
> > {{/velocity}}
> > I guess i need a loop but which one?
> >
> > And the big question
> (who I think it will interest everyone), how can I use
> documentation
> > ( http://platform.xwiki.org/xwiki/bin/view/SRD/Navigation?xpage=embed
> and or http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/or…
> )
> > to guess xWikiClass (or my loop)
> by example?
> >
> > A
> doc/example to use documentation will be welcome. :-)
> >
> > thxs for any
> help.
> >
> > Pascal
> B
> >
> _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> mit freundlichen Grüßen
> Clemens Klein-Robbenhaar
>
> --
> Clemens Klein-Robbenhaar
> Software Development
> EsPresto
> AG
> Breite Str. 30-31
> 10178
> Berlin/Germany
> Tel: +49.(0)30.90 226.763
> Fax: +49.(0)30.90 226.760
> robbenhaar(a)espresto.com
>
> HRB 77554 B -
> Berlin-Charlottenburg
> Vorstand: Maya
> Biersack, Peter Biersack
> Vorsitzender des
> Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber
> Zertifiziert nach ISO 9001:2008
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
Hello,
I read/apply this doc with succcess:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsin…
With this code I can display all objects ATTACHED to THIS page.
***********
#set($class = $obj.xWikiClass) ## access the class object representing SomeSpace.SomeClass
#foreach($prop in $class.properties) ## go through all properties
...
***********
but if I attached some class to another page, how can I list properties?
Another question:
I have a page with 3 same Class, how to list them (like ?editor=class did)?
An example:
MySpaceMyClass contain this Class properties:
- My Field ID (IdField: String)
- My Lib Field (LibField: String)
I create MySpace.MyNiceDoc and add my previous Class MySpace/MyNiceDoc?editor=object
and contain:
Objets de type MySpace.MyClass (2)
* MyClass 0
- My Field ID
- My Lib Field
*MyClass 1:
- My Field ID
- My Lib Field
With it I like to fill a select list from this doc (but from another doc to).
How can I proceed? because on MySpace.MyNiceDoc I can only display one/First Lib values with this code:
{{velocity}}
## Retrieve the first object (index [0]) among all objects attached to this page and of a certain class
#set($obj = $doc.getObject('MySpace.MyClass'))
#set($class = $obj.xWikiClass) ## access the class object representing SomeSpace.SomeClass
#foreach($prop in $class.properties) ## go through all properties
* ${prop.prettyName} : $doc.display($prop.getName())
#end
{{/velocity}}
I guess i need a loop but which one?
And the big question (who I think it will interest everyone), how can I use documentation
( http://platform.xwiki.org/xwiki/bin/view/SRD/Navigation?xpage=embed and or http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/or… )
to guess xWikiClass (or my loop) by example?
A doc/example to use documentation will be welcome. :-)
thxs for any help.
Pascal B
Hello all,
I'm hoping someone can give me a suggestion to save my skin. When I was
brand new to xwiki I quickly created an application for "ticketing" using
AppWithinMinutes because it seemed like the easiest way for a newbie to
create an application. In doing so I created a form which had several
controls on it (e.g.. around 20 or so). In order to maintain business logic
I wrote EXTENSIVE JavaScript which enforces business rules and prevents a
save (basically cancelling the postback through JavaScript) if they aren't
met. Admittedly this isn't that great of a solution as now I'm having
problems with JavaScript failures (mostly with other libraries being loaded
with xwiki which prevents my JavaScript from running) which then allow the
pages to be saved despite validation failures.
What I'm hoping is that there is some way to "shim" some server side code in
using an event listener, or some sort of "before save" event in velocity or
groovy that can evaluate the submitted page and prevent a save if the
business logic rules are broken.
I don't really have the luxury of re-writing or refactoring the solution
I've written because it's in production at this point and works 95% of the
time, but I definitely need to do more in relation to validation since
broken rules cause downstream impacts to other applications relying on clean
data.
So, any help is GREATLY appreciated. I have seen this
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Creating+a+form+with+valid
ation+and+tooltips and reviewed it, but I can't really figure out how I
would use it with an existing page or with AppWithinMinutes.
Also, I already have an event listener configured which does some stuff that
I might be able to use for this purpose.. but I think those events
(DocumentCreatedEvent() and DocumentUpdatedEvent()) happens AFTER the save
and I haven't really been able to find a way to "block" the save if it does
happen before anyway..
I would need to invoke validation on save and update of documents too.. I'm
hoping there might be some way of adding code to the AppWithinMinutes
generated page that can do some post save validation and stop the save if it
fails.
So help !!! :)
Hi,
when we import a PDF document (which can be opened in Libre Office
successfully) into XWiki we get the error message:
*500 Internal Server Error The call failed on the server; see server log
for details*
Looking at the Tomcat 7 server logs there are several entries, see below.
Out setups is the following:
Windows Server 2003 R2 (32-bit), Tomcat 7, JDK 7 u71, Apache 2.4, XWiki
6.3, Libre Office 4.3.4.1.
Is there something I need to configure or is this a bug?
Log entries:
[1] localhost.2015-02-05.log
Feb 06, 2015 9:27:37 AM org.apache.catalina.core.ApplicationContext log
SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public
abstract java.lang.String
org.xwiki.gwt.wysiwyg.client.plugin.importer.ImportService.officeToXHTML(org.xwiki.gwt.wysiwyg.client.wiki.Attachment,java.util.Map)'
threw an unexpected exception: java.lang.RuntimeException: Error while
converting document [SMART Migration Installation.pdf] into html.
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:389)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:579)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:545)
at
org.xwiki.wysiwyg.server.XWikiRemoteServiceServlet.processCall(XWikiRemoteServiceServlet.java:52)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:305)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:85)
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.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
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:66)
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:208)
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:111)
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:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:197)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Error while converting document
[SMART Migration Installation.pdf] into html.
at
org.xwiki.wysiwyg.server.internal.plugin.importer.XWikiImportService.officeToXHTML(XWikiImportService.java:137)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)
... 37 more
[2] tomcat7-stdout.2015-01-17.log
2015-02-06 09:27:37,149 [
http://de-ben-wiki/xwiki/resources/js/xwiki/wysiwyg/xwe/ImportService.gwtrpc]
ERROR x.w.s.i.p.i.XWikiImportService - Exception while importing office
document [SMART Migration Installation.pdf]
org.xwiki.officeimporter.OfficeImporterException: Error while converting
document [SMART Migration Installation.pdf] into html.
at
org.xwiki.officeimporter.internal.builder.DefaultXHTMLOfficeDocumentBuilder.build(DefaultXHTMLOfficeDocumentBuilder.java:97)
~[xwiki-platform-legacy-office-importer-6.3.jar:na]
at
org.xwiki.officeimporter.internal.builder.DefaultXDOMOfficeDocumentBuilder.build(DefaultXDOMOfficeDocumentBuilder.java:84)
~[xwiki-platform-legacy-office-importer-6.3.jar:na]
at
org.xwiki.wysiwyg.server.internal.plugin.importer.XWikiImportService.convertAttachmentContent(XWikiImportService.java:184)
~[xwiki-platform-wysiwyg-server-6.3.jar:na]
at
org.xwiki.wysiwyg.server.internal.plugin.importer.XWikiImportService.importAttachment(XWikiImportService.java:161)
~[xwiki-platform-wysiwyg-server-6.3.jar:na]
at
org.xwiki.wysiwyg.server.internal.plugin.importer.XWikiImportService.officeToXHTML(XWikiImportService.java:133)
~[xwiki-platform-wysiwyg-server-6.3.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.7.0_71]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
~[na:1.7.0_71]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.7.0_71]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_71]
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)
[gwt-servlet-2.6.0.jar:na]
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:545)
[gwt-servlet-2.6.0.jar:na]
at
org.xwiki.wysiwyg.server.XWikiRemoteServiceServlet.processCall(XWikiRemoteServiceServlet.java:52)
[xwiki-platform-wysiwyg-server-6.3.jar:na]
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:305)
[gwt-servlet-2.6.0.jar:na]
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
[gwt-servlet-2.6.0.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
[servlet-api.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
[servlet-api.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.42]
at
org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:85)
[xwiki-platform-wysiwyg-server-6.3.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.42]
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
[xwiki-platform-container-servlet-6.3.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.42]
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
[xwiki-platform-webdav-server-6.3.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.42]
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
[xwiki-platform-container-servlet-6.3.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.42]
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
[xwiki-platform-container-servlet-6.3.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
[catalina.jar:7.0.42]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
[catalina.jar:7.0.42]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
[catalina.jar:7.0.42]
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
[catalina.jar:7.0.42]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
[catalina.jar:7.0.42]
at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:197)
[tomcat-coyote.jar:7.0.42]
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
[tomcat-coyote.jar:7.0.42]
at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)
[tomcat-coyote.jar:7.0.42]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[na:1.7.0_71]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[na:1.7.0_71]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_71]
Caused by: org.xwiki.officeimporter.converter.OfficeConverterException:
Error while performing conversion.
at
org.xwiki.officeimporter.internal.converter.DefaultOfficeConverter.convert(DefaultOfficeConverter.java:116)
~[xwiki-platform-legacy-office-importer-6.3.jar:na]
at
org.xwiki.officeimporter.internal.builder.DefaultXHTMLOfficeDocumentBuilder.build(DefaultXHTMLOfficeDocumentBuilder.java:94)
~[xwiki-platform-legacy-office-importer-6.3.jar:na]
... 46 common frames omitted
Caused by: org.artofsolving.jodconverter.office.OfficeException:
unsupported conversion
at
org.artofsolving.jodconverter.AbstractConversionTask.storeDocument(AbstractConversionTask.java:121)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.artofsolving.jodconverter.AbstractConversionTask.execute(AbstractConversionTask.java:61)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.artofsolving.jodconverter.office.ExternalOfficeManager.execute(ExternalOfficeManager.java:80)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:78)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:69)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.xwiki.officeimporter.internal.converter.DefaultOfficeConverter.convert(DefaultOfficeConverter.java:100)
~[xwiki-platform-legacy-office-importer-6.3.jar:na]
... 47 common frames omitted
Hi,
I've set up a blog for a single space using the "blog inside an existing
space" option, so the blog URL is ".../xwiki/bin/view/MySpace/Blog"
As per the documentation, I added the following line to the HTTP Meta Info
section in the space's admin options:
<link rel="alternate" type="application/rss+xml" title="Blog RSS Feed"
href="$xwiki.getURL('Blog.BlogRss', 'view', 'xpage=plain')" />
Now how do I generate an RSS feed for only the space blog?
When I try ".../xwiki/bin/view/MySpace/Blog/BlogRss?xpage=plain" I get an
unformatted HTML page.
What am I doing wrong?
Thanks,
J
--
View this message in context: http://xwiki.475771.n2.nabble.com/RSS-feeds-for-Space-specific-blogs-tp7593…
Sent from the XWiki- Users mailing list archive at Nabble.com.