Thanks for the tips ;)
On Sun, Apr 20, 2008 at 9:17 PM, <jp.ga(a)aliceadsl.fr> wrote:
> Thank you Thomas,
> 1) After research, with firefox in Tools, console of errors
> I saw the messages of acces interdiction to the file
> FILE:///d:/test/fichier.pdf
> Apart from xwiki, locally, I have access to this file
>
> 2) My basic solution to keep safety and to have the access (for beginner
> like me) :
> I went up Wampserver for windows
> Only Apache is active
> - In Wampserver tool, Apache section,
> - In Alias Directories ,
> - In add alias
> * A specific window opens
> - In first the name of alias : test
> Result => http : //localhost/test/
> - After the directory of redirection : d:/test/
>
> This manipulations create one association between http://local/test and
> d:/test/ with the good rights
>
> 3) In xwiki for my test http://localhost:8080/xwiki
> I create links with web link
> Ex.: http://localhost/test/fichier.pdf
>
> Firefox and IE7 open the good file d:/test/fichier.pdf
> And the file stays an external file
>
>
> Thank you for your assistance
> JP
>
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de
> Thomas Mortagne
> Envoyé : vendredi 18 avril 2008 11:46
> À : XWiki Users
> Objet : Re: [xwiki-users] External LINKs with IE and FIREFOX
>
> Hi,
>
> On Fri, Apr 18, 2008 at 1:51 AM, <jp.ga(a)aliceadsl.fr> wrote:
> > Hi
> >
> >
> >
> > I have the last versions of Xwiki, IE7 and FIREFOX
> >
> >
> >
> > My small xwiki server is in Windows xp
> >
> >
> >
> > The external links [ test > FILE:///d:/test/fichier.pdf ] are bad in IE
> and
> > in firefox.
> >
> > Does somebody have an idea or correction?
> >
> >
> >
> > Thanks a lot
> >
> > Best Regards
> >
> > jp
> >
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
> What do you call "last version" ? 1.3.2 ?
> Anyway, I can't reproduce your problem with firefox 3b5 on linux
> (ubuntu 8.04) on 1.4-SNAPSHOT or 1.3-SNAPSHOT. I tested your exact
> text ([ test > FILE:///d:/test/fichier.pdf ]) and I have a correctly
> formatted XHTML.
> If I click on link it does not open the file but it's a default
> browser security and it has nothing to do with XWiki.
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--
Thomas Mortagne
I just got an exception when trying to update a wiki page with a link.
The page I try to link to is named "Byggsystemet" in space "Utveckling".
Does anybody know why this happen and if there is a workaround?
java.sql.BatchUpdateException: Duplicate entry '1127421030-Utveckling.Byggsystemet' for key 1
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:896)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:195)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:230)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1009)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:356)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:699)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:673)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:314)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:957)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:119)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:128)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Hi everyone,
Here's a great news: Google has given us 10 (yes ten!) slots this year
and here are the projects/students we have selected:
http://code.google.com/soc/2008/xwiki/about.html
* SSO and OpenID Support
by Markus Lanthaler, mentored by Thomas Mortagne
* REST API for XWIKI
by Cismaru Alexandru, mentored by Sergiu Gabriel Dumitriu
* WebDAV Interface for XWiki
by Asiri Rathnayake, mentored by Ludovic Dubost
* XWiki Watch: UI & ergonomics improvements
by Ecaterina Valică, mentored by Anca Paula Luca
* XWiki Office import
by Wang Ning, mentored by Vincent Massol
* XWiki Syntax validation, coloring and suggestion in XEclipse
by malaka, mentored by Fabio Mancinelli
* Distributed XWiki Search Engine
by Sai Krishna Pendyala, mentored by David Ward
* XWiki Offline project application
by Eduard Moraru, mentored by Sergiu Gabriel Dumitriu
* Collaborative Business Drawing in GWT
by Miguel José Carvalho Bento, mentored by Jean-Vincent Drean
* Presentation Application
by Arpit Jain, mentored by Jérôme Velociter
Welcome aboard to all students! Please make sure you read and
understand the "Suggested way of working for SOC students" on
http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/
More specifically it's now the bonding period. As such we'd like each
SOC student to pick one or several existing issues in JIRA and send a
patch that fixes it/them before that period ends (from April 14th to
May 26th) This is a critical integration step to ensure all SOC
students understand how XWiki works and it's a chance to start asking
questions and get to know each other.
Thanks a lot
-Vincent
I have created the class Contacts.ContactClass. This class has three string
properties "firstname", "surname" and "phone1". I have also created two
instances of this class and filled out the attributes.
Now, it should be straight forward to write a Velocity script to seach for
all objects with the given class type of "Contacts.ContactClass" and write
out the attributes but I'm having some trouble. Below is my script:
#set($query="select obj from BaseObject obj where
obj.className='Contacts.ContactClass'")
#set($results=$xwiki.search($query, 10, 1))
#foreach ($item in $results)
$item.get("firstname") | $item.get("surname") | $item.get("phone1") <br />
#end
However this does not work. All I get is:
$item.get("firstname") | $item.get("surname") | $item.get("phone1")
$item.get("firstname") | $item.get("surname") | $item.get("phone1")
When I run:
#set($query="select obj from BaseObject obj where
obj.className='Contacts.ContactClass'")
#set($results=$xwiki.search($query, 10, 1))
#foreach ($item in $results)
$item
#end
I get:
Contacts.Tjaart 0 Contacts.ContactClass
Contacts.Jane 0 Contacts.ContactClass
Which is incorrect. Please help, I've been struggling for quite a while and
getting really frustrated.
Thanks.
I would be very interested in using XWiki Watch to watch content in multiple
XWiki sites. We are building a SaaS Development Platform with XWiki as one
of the cornerstones of the solutions we build for our partners.
So we would love to have our Intranet XWiki with XWiki Watch in it, monitor
the RSS feeds from our customer's XWikis
Netvibes seems to be able to login and retrieve XWiki RSS feeds but XWiki
Watch cannot unless it is public, which none of our customers want a public
RSS feed.
So what would it take to get XWiki Watch to connect to XWiki XE RSS feeds
when those feeds are not public?
--
View this message in context: http://www.nabble.com/XWiki-Watch-and-XWiki-RSS-feeds-tp16714471p16714471.h…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'm trying to go through the FAQ application creation tutorial, but
everytime i go to make the FAQ class i get this error: "A problem occured
while trying to service your request. Please contact the support if this
happens again. " I can't seem to be able to create classes. Could anyone
help me out? Im using version 1.3.1.8931 of xwiki enterprise, Tomcat 5.5 and
MySQL version is 4.1.12. Thanks in advance!
-Marlon
Hi guys,
currently i have from standard install set, EventCalendar at
http://server/xwiki/bin/view/Main/EventCalendar
I have created space Business , can i have EventCalendar also under that
space? If yes, how can i place it there?
Thanks in advance!
David
Hi all,
I've been working on a project that requires multiple classes fields to
be updated, but I seem to have a problem putting info into a textarea on
one of the classes attached.
The "xmlResults" field is getting populated fine (there's four of them),
but the "labelImage" doesn't. I have tried putting the data in manually
from the Objects view, and the property accepts the data happily so I
don't think it's hitting some sort of limit.
Note: ${image} is a base64 image that I am displaying. The image
displays happily, so I know the ${image} value is being obtained.
....
<snipped>
$mainDocObj.set("xmlResults", $talksToGroovy.getResults())
$doc.save()
#foreach($box2 in $boxes)
#set($ref=box2.getProperty("ref").value)
$box2.set("labelImage", $talksToGroovy.getImage($ref)))
<img width='700px' height='400px'
src='data:image/gif;base64,${image}'/>
$doc.save()
#end
Hi all,
This code retrieves and shows the document name of all the documents
created with a given class:
#set ($sql = ", BaseObject as obj where obj.name=doc.fullName and
obj.className='${doc.web}.${class}Class' and
obj.name<>'${doc.web}.${class}ClassTemplate'")
#foreach ($item in $xwiki.searchDocuments($sql))
* [${item}]
#end
In a new class I've created, these documents have a property called
Name. Please, how could I list this property for each entry instead of
the document name?
Thank you for your help,
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team
Hi All,
i just wondering i cant use groovy when i call page from parameter xpage? I
mean, when I call something like this
http://localhost:8080/xwiki/bin/view/Test/?xpage=myPage the groovy script
is written like normal text.
What am i doing wrong? Or I have missed something?
Thanks,
Honza