On the very first login to my XWiki instance, I get strange behavior.
After submitting the login, in IE, I first load a stylesheet page in the
browser, but it is loaded as code (I am seeing the ASCII text)
For example, in IE, it spawns my XMLSpy program because that's what the
mime/type is registered to, I guess.
In Firefox, it loads the text in the browser.
If I click back on the browser, I am still on the login page, but I am
shown as being authenticated.
Do you think I have something configured wrong on TomCat such as a mime
type setting for example? Or do I have something messed up in the XWiki
configurations?
Following are example screenshots:
Screen 1 on IE
Screen 2 - on IE (launches my XMLSPy program and loads the following:
==================================
Cody Burleson
IBM, Business Consulting Services
On Demand Workplaces
"Simplifying access to content, applications, people and processes."
Current Client Office (Mon - Thur): (404) 828-4583
Home Office [Friday, Sat. Sun. or email a voice message]: (214) 233.3546
Cell [anytime]: (214) 537-8783
Email: cburleso(a)us.ibm.com
Hi,
I try to use XWiki as a CMS and communications platform for the
student-reps at my university. XWiki seems to be perfect! We would just
need one feature on top of it - a more sophisticated PDF export. We plan
to collect all kinds of Information on our platform and do a lot of
documentation - some of it also has to be available on paper. PDF
Templates would also be great!
Therefore I am also highliy interessted in aggregate PDF's with TOC (as
Stephen Schaub). Plus there should be a non-geek way to achieve such
PDF's. Perhaps like the "clippings"-feature on IHT.com where you mark
all the articles you are interessted in and they all appear in the
"clippings" dropdown right of the naviation bar.
So here is how I imagine it works (for the user):
1) Mark your articles
2) Go to the "PDF Generation" page
3) (Optionally) bring the articles into your favorite order and choose
the pdf template (Toc/No-Toc, 1 or 2 columns,...)
4) (Optionally) Save your selection for future use.
5) Click on generate
Although I am neither a Java nor XWiki pro I got some XSLT experience
and could help with the templates.
Please tell me what you think an if there is any chance an advanced pdf
generation will be introduced in the future. Or is there another
(external) way to achieve this?
Looking forward to reading your comments!
Thanks,
Sascha Oesterle.
I'd like to be able to use my own URLFactory in an xwiki instance, so
I thought the cleanest way to do this would be within an xwiki plugin
by calling context.setUrlFactory from within a plugin method early in
the request/response cycle. However, context.getURLFactory() seems
to get called before any of the plugin methods, so I can't do it this
way without a code modification.
Thus my options are to either add a new method to the plugin which
gets called early in the cycle (beginRequest(request,
context) ...? ), or make a modification to the xwiiki code base to
allow a URLFactory class to be chosen from xwiki.cfg.
I'm leaning towards the plugin interface modification, but before I
do this, I wanted to see if anyone has any suggestions.
Thanks,
Matt