I'm trying to put a link in my document that links to an attachment. I
thought it was this way:
* [File 1>$xwiki.getAttachmentURL("Main.Thispage", "file1.pdf"]
But, when I actually do this (on 0.9.840), I get this link:
/xwiki/bin/edit/%2Fxwiki%2Fbin%2Fdownload%2FMain%2FThispage%2Ffile1/pdf?pare
nt=Main.Thispage
Which doesn't look like an attachment URL.
1) Is getAttachmentURL() just broken, or am I mis-interpreting it's
function (since there is no javadoc for it)
2) How do I get the URL to an attachment on the same page when I want to
link to it but give it a different link name?
Thanks,
-Adrian
Hi,
I am new to Xwiki. Can some one help me out how to pull information from Xwiki?Reards,
S.Salman Qaiser
_________________________________________________________________
Add photos, news, and blogs about the World Cup to your Live.com homepage!
http://www.live.com/getstarted
On 01/07/06, CatMaster o <catmastero(a)yahoo.com> wrote:
> Some of the links on that page are broken. They are
> the The XWiki API
> (http://www.xwiki.org/docs/api/com/xpn/xwiki/api/package-summary.html)
> , the Default Styles
> (http://www.xwiki.com/xwiki/skins/default/), the
> Default Templates
> (http://www.xwiki.com/xwiki/templates/).
>
> Does anyone know where these are suppose to link to?
>
I rolled back to the English version and fixed the link for the API doc.
http://www.xwiki.com/xwiki/bin/view/Doc/HowToCreateASkin
The default templates and styles seem to have moved/become
inaccessible on some wikis on the farm but not others.. maybe they are
still accessible only on the wikis that were moved to the alternative
server. For example you can access them through this wiki:
Default Styles: http://openmpt.xwiki.com/xwiki/skins/default/
Default Templates: http://openmpt.xwiki.com/xwiki/templates/
They will be identical on all hosted wikis since these are the default
files on the file system that the skin falls back to if they are not
overridden - you can't edit 'em unless you can get to the file system.
However, I have not "fixed" these links, since I think it is
conceptually better that they point to the files on the main sites
(xwiki.com or xwiki.org). Can someone enlighten us as to where these
default templates / styles have gone?
> --- Robin Fernandes <rewbs.soal(a)gmail.com> wrote:
>
> > Someone kindly created a French translation but has
> > overwritten the
> > English version in so doing. It looks like the multi
> > language support
> > for forms isn't working, or maybe it's not clear how
> > to use it (I
> > can't see how to create a translation of an object
> > without
> > affecting the original, unless I manually created a
> > new object etc...
> > - maybe Ludovic or other dev'ers can comment). You
> > can see the
> > original English version by going to history and
> > looking at the
> > previous revision. Here's a direct link:
> >
> http://www.xwiki.com/xwiki/bin/view/Doc/HowToCreateASkin?rev=1.48
> >
> > On 01/07/06, wangwh(a)att.net <wangwh(a)att.net> wrote:
> > > Is there an English version?
> > >
> > > -------------- Original message
> > ----------------------
> > > From: "BOUSQUET Jeremie"
> > <Jeremie.BOUSQUET(a)gemalto.com>
> > > > Hello,
> > > > Here is the link to the article on how to create
> > a skin:
> > > >
> >
> http://www.xwiki.com/xwiki/bin/view/Doc/HowToCreateASkin
> > > >
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: CatMaster o
> > [mailto:catmastero@yahoo.com]
> > > > > Sent: vendredi 30 juin 2006 18:52
> > > > > To: xwiki-users(a)objectweb.org
> > > > > Subject: Re: [xwiki-users] How to change
> > colors?
> > > > >
> > > > > Well I couldn't find the article on how to
> > change skin. Can
> > > > > you maybe send it again?
> > > > >
> > > > >
> > __________________________________________________
> > > > > Do You Yahoo!?
> > > > > Tired of spam? Yahoo! Mail has the best spam
> > protection
> > > > > around http://mail.yahoo.com
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > ---------- Forwarded message ----------
> > > From: "BOUSQUET Jeremie"
> > <Jeremie.BOUSQUET(a)gemalto.com>
> > > To: <xwiki-users(a)objectweb.org>
> > > Date: Fri, 30 Jun 2006 21:59:46 +0000
> > > Subject: RE: [xwiki-users] How to change colors?
> > >
> > > --
> > > You receive this message as a subscriber of the
> > xwiki-users(a)objectweb.org mailing list.
> > > To unsubscribe:
> > mailto:xwiki-users-unsubscribe@objectweb.org
> > > For general help:
> > mailto:sympa@objectweb.org?subject=help
> > > ObjectWeb mailing lists service home page:
> > http://www.objectweb.org/wws
> > >
> > >
> > >
> > > --
> > > You receive this message as a subscriber of the
> > xwiki-users(a)objectweb.org mailing list.
> > > To unsubscribe:
> > mailto:xwiki-users-unsubscribe@objectweb.org
> > > For general help:
> > mailto:sympa@objectweb.org?subject=help
> > > ObjectWeb mailing lists service home page:
> > http://www.objectweb.org/wws
> > >
> > >
> > >
> >
> > >
> > --
> > You receive this message as a subscriber of the
> > xwiki-users(a)objectweb.org mailing list.
> > To unsubscribe:
> > mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help:
> > mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page:
> > http://www.objectweb.org/wws
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
Is there an English version?
-------------- Original message ----------------------
From: "BOUSQUET Jeremie" <Jeremie.BOUSQUET(a)gemalto.com>
> Hello,
> Here is the link to the article on how to create a skin:
> http://www.xwiki.com/xwiki/bin/view/Doc/HowToCreateASkin
>
>
>
> > -----Original Message-----
> > From: CatMaster o [mailto:catmastero@yahoo.com]
> > Sent: vendredi 30 juin 2006 18:52
> > To: xwiki-users(a)objectweb.org
> > Subject: Re: [xwiki-users] How to change colors?
> >
> > Well I couldn't find the article on how to change skin. Can
> > you maybe send it again?
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection
> > around http://mail.yahoo.com
> >
> >
>
>
Hello,
Here is the link to the article on how to create a skin:
http://www.xwiki.com/xwiki/bin/view/Doc/HowToCreateASkin
> -----Original Message-----
> From: CatMaster o [mailto:catmastero@yahoo.com]
> Sent: vendredi 30 juin 2006 18:52
> To: xwiki-users(a)objectweb.org
> Subject: Re: [xwiki-users] How to change colors?
>
> Well I couldn't find the article on how to change skin. Can
> you maybe send it again?
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection
> around http://mail.yahoo.com
>
>
I just recently made an XWiki and need to change the
colors to the articles the users make. I need the
background to be black and the text white. How can I
change this?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
***Edit***
At last, after approximatively one month i can run tomcat 5.0.30, sun java
1.5.06 and xwiki
without a big tomcat crash.
But i still got error from java socket the error message is:
** BEGIN NESTED EXCEPTION **
java.security.AccessControlException
MESSAGE: access denied (java.net.SocketPermission localhost resolve)
I think it's a ".java.policy" file settings error, how can i set this
policy with sun java "policytool"
Please help me before i get mad.
At last, after approximatively one month i can run tomcat 5.0.30, sun java
1.5.06 and xwiki
without a big tomcat crash.
But i still got error from java socket the error message is:
** BEGIN NESTED EXCEPTION **
java.security.AccessControlException
MESSAGE: access denied (java.net.SocketPermission localhost resolve)
Please help me before i get mad.
Hi,
I am new to XWiki and am currently trying to set up a local test
system. I downloaded the latest war and mysql -dump, did all the
configuration and even the troubleshootinghints (copying jars to
tomcat/common) but I still get this error:
I guess the key is "could get JDBC batch update" ...
Its mysql 4.1.15 as it comes with ubuntu dapper an tomcat 5.5.16 on
JRE5 (1.5.06)
Anyone with an idea?
tia
Jan
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
javax.servlet.ServletException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: Error number 3221 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: Error number 3221 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:142)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)