>IÂ’m trying to put a link in my document that links toan 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?parent=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
On the right side of the text editor in xwiki give you some hints
about the syntax. To create a link to a attachment you can do
{image:filename.gif} inserts an image
{attach:filename.doc} creates a link
getAttachmentURL() returns the URL which you can use with the
<a> HTML tag directly.
Bye
Frank
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.