[xwiki-users] icons not displaying on Main.WebHome

2014-11-04 Thread Adrien Moi
Hello,

I just installed XWiki on my computer to make a small Wiki for myself and I was 
unable to display icons on the page Main.WebHome Icons work fine on the 
other pages, but when I write [image.icon.accept] in the editor, the text 
icon.accept appears on the page instead of the icon Is that normal?

Cheers

Adrien
  
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] icons not displaying on Main.WebHome

2014-11-04 Thread Jeremie BOUSQUET
Hello,

Normally it should be [[image:icon:accept]] not [image.icon.accept]

Regards,
Jeremie

2014-11-04 17:07 GMT+01:00 Adrien Moi adrienmoi1...@hotmail.com:

 Hello,

 I just installed XWiki on my computer to make a small Wiki for myself and
 I was unable to display icons on the page Main.WebHome Icons work fine
 on the other pages, but when I write [image.icon.accept] in the editor, the
 text icon.accept appears on the page instead of the icon Is that normal?

 Cheers

 Adrien

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] icons not displaying on Main.WebHome

2014-11-04 Thread Pascal BASTIEN
or
image:icon:accept

:-)
with xwiki syntax 2.1 (sandbox is in 2.0)





 De : Jeremie BOUSQUET jeremie.bousq...@gmail.com
À : XWiki Users users@xwiki.org 
Envoyé le : Mardi 4 novembre 2014 17h11
Objet : Re: [xwiki-users] icons not displaying on Main.WebHome
 

Hello,

Normally it should be [[image:icon:accept]] not [image.icon.accept]

Regards,
Jeremie

2014-11-04 17:07 GMT+01:00 Adrien Moi adrienmoi1...@hotmail.com:

 Hello,

 I just installed XWiki on my computer to make a small Wiki for myself and
 I was unable to display icons on the page Main.WebHome Icons work fine
 on the other pages, but when I write [image.icon.accept] in the editor, the
 text icon.accept appears on the page instead of the icon Is that normal?

 Cheers

 Adrien

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] icons not displaying on Main.WebHome

2014-11-04 Thread vinc...@massol.net
Or simply:

image:icon:accept

Thanks
-Vincent


On 4 Nov 2014 at 17:11:19, Jeremie BOUSQUET 
(jeremie.bousq...@gmail.com(mailto:jeremie.bousq...@gmail.com)) wrote:

 Hello,
 
 Normally it should be [[image:icon:accept]] not [image.icon.accept]
 
 Regards,
 Jeremie
 
 2014-11-04 17:07 GMT+01:00 Adrien Moi :
 
  Hello,
 
  I just installed XWiki on my computer to make a small Wiki for myself and
  I was unable to display icons on the page Main.WebHome Icons work fine
  on the other pages, but when I write [image.icon.accept] in the editor, the
  text icon.accept appears on the page instead of the icon Is that normal?
 
  Cheers
 
  Adrien
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Icons on main page

2014-11-04 Thread Adrien Moi
Thank you all for the quick answers :-)
Sadly none of the proposed syntax work on my Main.WebHome page, but they all 
work on any other page of the wiki. Is there an option that I might have 
changed to get this result?

Cheers

Adrien
  
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Icons on main page

2014-11-04 Thread Pascal BASTIEN
I encoutered the same problem = I think your WebHome must be in xwiki syntax 
2.1




 De : Adrien Moi adrienmoi1...@hotmail.com
À : users@xwiki.org users@xwiki.org 
Envoyé le : Mardi 4 novembre 2014 17h25
Objet : [xwiki-users] Icons on main page
 

Thank you all for the quick answers :-)
Sadly none of the proposed syntax work on my Main.WebHome page, but they all 
work on any other page of the wiki. Is there an option that I might have 
changed to get this result?

Cheers

Adrien
  
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Icons on main page

2014-11-04 Thread Jean SIMARD
Did you try $services.icon.render('accept') ?
On Tue, Nov 04, 2014 at 04:34:03PM +, Pascal BASTIEN wrote:
 I encoutered the same problem = I think your WebHome must be in xwiki syntax 
 2.1
 
 
 
 
  De : Adrien Moi adrienmoi1...@hotmail.com
 À : users@xwiki.org users@xwiki.org 
 Envoyé le : Mardi 4 novembre 2014 17h25
 Objet : [xwiki-users] Icons on main page
  
 
 Thank you all for the quick answers :-)
 Sadly none of the proposed syntax work on my Main.WebHome page, but they all 
 work on any other page of the wiki. Is there an option that I might have 
 changed to get this result?
 
 Cheers
 
 Adrien
   
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

-- 
Jean Simard
jean.sim...@xwiki.com
Research engineer at XWiki SAS
http://www.xwiki.com
Committer on the XWiki.org project
http://www.xwiki.org
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Icons on main page

2014-11-04 Thread vinc...@massol.net
Make sure you use XWiki Syntax 2.1.

See the documentation:
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax

Thanks
-Vincent

On 4 Nov 2014 at 17:25:56, Adrien Moi 
(adrienmoi1...@hotmail.com(mailto:adrienmoi1...@hotmail.com)) wrote:

 Thank you all for the quick answers :-)
 Sadly none of the proposed syntax work on my Main.WebHome page, but they all 
 work on any other page of the wiki. Is there an option that I might have 
 changed to get this result?
 
 Cheers
 
 Adrien
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Including css in graphics in user-created macros (WikiMacroClass)

2014-11-04 Thread Dale Davidson
Hi there.  I'm trying to create a specialized macro for my wiki that is
simply three divs, two of which have css background images that are
attached to the macroclass page.

I've tried rendering the URL into the css style attribute, and I've tried
attaching the image to the same.

I see it done with the the included macros, and I know that I can call
images from other pages, but is there a way to use an image in css?

I love xwiki, but information on this type of stuff is incredibly sparse on
the Internet.  Maybe I'm the only person trying to do this stuff...


Thanks in advance! :)

-- 
Dale Davidson
Technical Writer / Production Diagnostics
www.RanchSystems.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Including css in graphics in user-created macros (WikiMacroClass)

2014-11-04 Thread vinc...@massol.net
Hi Dale,

On 4 Nov 2014 at 19:38:45, Dale Davidson 
(ddavid...@ranchsystems.com(mailto:ddavid...@ranchsystems.com)) wrote:

 Hi there. I'm trying to create a specialized macro for my wiki that is
 simply three divs, two of which have css background images that are
 attached to the macroclass page.
  
 I've tried rendering the URL into the css style attribute, and I've tried
 attaching the image to the same.
  
 I see it done with the the included macros, and I know that I can call
 images from other pages, but is there a way to use an image in css?
  
 I love xwiki, but information on this type of stuff is incredibly sparse on
 the Internet. Maybe I'm the only person trying to do this stuff…

For CSS see StyleSheet Extensions at:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial

Thanks
-Vincent

PS: I wonder how come you didn’t find it. What did you google or searched? (so 
that we make it easier to find). Any suggestion for us to make this simpler to 
find?

 Thanks in advance! :)
  
 --
 Dale Davidson
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Question regarding AppServerTrustedAuthServiceImpl

2014-11-04 Thread Ji Zhang
Now I have the configuration below:

1) security setting in web.xml:

security-constraint
web-resource-collection

web-resource-nameTomcatRealmUserArea/web-resource-name
url-pattern/bin/view/XYZ/*/url-pattern
/web-resource-collection
auth-constraint
role-nameTomcatRealmUsers/role-name
/auth-constraint
/security-constraint

2) xwiki.conf:


xwiki.authentication.authclass=com.xpn.xwiki.user.impl.xwiki.AppServerTrustedAuthServiceImpl

3) Basic authentication:

#-# Authentication type. You can use 'basic' to always use basic 
authentication.


The restriction works, I got 403 (HTTP Status 403 - Access to the requested 
resource has been denied ) when I try to access:

http://mymachine:9090/xWiki/bin/view/XYZ/Tutorial+1

The question is:

How to access this page successful?

Thanks.


-Original Message-
From: Ji Zhang 
Sent: Monday, November 03, 2014 1:10 PM
To: users@xwiki.org
Subject: RE: [xwiki-users] Question regarding AppServerTrustedAuthServiceImpl

Thanks Clemens.

How do I test if this authentication works? For example, I have an user 
jsmith/password in Tomcat JDBC realm. How do I assign the viewing privileges to 
jsmith?

Thanks again.

Ji


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Clemens 
Klein-Robbenhaar
Sent: Monday, November 03, 2014 11:42 AM
To: users@xwiki.org
Subject: Re: [xwiki-users] Question regarding AppServerTrustedAuthServiceImpl

On 11/03/2014 05:15 PM, Ji Zhang wrote:
 Guys,
 
 I am new to Xwiki.
 
 I have a xwiki deployed on tomcat 6. I need to use authentication against 
 tomcat JDBC realm. AppServerTrustedAuthServiceImpl seems to my option. Are 
 there some detailed documents or examples for using it?
 

yes: add a line do the xwiki.cfg in the WEB-INF folder, as explained here:

 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HContainerAuthentication

That (and restarting tomcat) should be everything you need to do.

Cheers,
Clemens
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users