Hi,
I am new to XWiki. I use XWiki 5.0.1.
I following FAQ tutorial to create my first app. Finally I make it work but there is some little difference comparing with what described in the tutorial(http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorialManua…
After clicked "CREATE THE DOCUMENT SHEET", the tutorial said I should add XWiki.SheetClass object to my sheet page. Then it told me Click on the "CREATE THE DOCUMENT TEMPLATE" button and add in wiki mode the following code:
{{include document="FAQ.FAQClassSheet"/}}
But after finished these steps, the app not works.
Instead I did the following:
(a) after click CREATE THE DOCUMENT SHEET, I clicked Bind the sheet to the class.
(b) after click CREATE THE DOCUMENT TEMPLATE, I clicked Add a FAQ class to the template.
I find that after (a), the document sheet contain the similar code listed on the tutorial . But after (b), the document template does not contain any explicit code like {{include document= "FAQ.FAQ...."}}.
My Questions:
1. is what I did right? That is, XWiki 5.0.1 make our life easier.
2. am I luck that my app works, I mean, will add {{include....}} is a mandatory for the document template?
If I needed to add {{include...}} in the document template, should the document name be "FAQ.FAQClassSheet" or "FAQ.FAQSheet" ( the name on my page is "FAQ.FAQSheet")?
Thanks for your help!
Guofeng
Is it way to get whole Custom object content to be send it in the mail?
I do it in Groovy as it is described in
http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial
I know it could be done by redoing the same formatting as in the class
sheet, but, as I need to notify about different objects, it is too
cumbersome and error prone.
I tried unsuccessfully:
1. xwiki.getURLContent("url","user","password") failed because user and
password seems not working,
2. doc.getRenderedContent() shows only doc.content part, ignoring custom
object properties.
Thanks!
Valdis
I am able to login with my windows(active directory credentials) but issue
is ldap user does not have any rights on xwiki space.
My question is : Is there a way i can give some rights(say view rights) on
specific space(say Welcome Space) to all my ldap(active directory) users.
I created the welcome space and navigated to administer Space, then to
rights, but do not see any way to give rights to all my active directory
user.
This issue is regarding my second try to integrate xwiki with my company
active directory,but no success.I am getting the below issue
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP
bind failed with LDAPException.
Wrapped Exception: Invalid Credentials
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:172)
~[xwiki-platform-legacy-oldcore-3.5.jar:na]
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:101)
~[xwiki-platform-legacy-oldcore-3.5.jar:na]
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:305)
[xwiki-platform-legacy-oldcore-3.5.jar:na]
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:182)
[xwiki-platform-legacy-oldcore-3.5.jar:na]
I contacted my company ActiveDirectory Administrator and provided me the
deatils required in xwiki.cfg file
Here is my my configuration in xwiki.cfg file
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=int.myCompany.net
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.UID_attr=sAMAccountName
xwiki.authentication.ldap.fields_mapping=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
xwiki.authentication.ldap.update_user=1
xwiki.authentication.ldap.base_DN=dc=int,dc=myCompany,dc=net
for below below attribute, i was told "New account will be created". Though
i am ot sure what does it mean. So i tried both the
options i.e keeping them default and also commented them out, but no help
xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP
xwiki.authentication.ldap.bind_pass={1}
Hi,
I create a new panel. Now I want it to be displayed on the right of pages.
I used the Panel wizard and drag and drop it to the right. I find that I only displayed on the panel page(http://localhost:8080/xwiki/bin/view/Panels/). If I go to the home page of my wiki(http://localhost:8080/xwiki/bin/view/Main/), my panel is not displayed. The right part of the home page not changed.
How can I do?
I use XWiki 5.0.1.
Thanks for your help.
Guofeng
Hi,
Is there a Macro/Extension/Solution for Xwiki similar to the one used in
Wikipedia,
I am thinking of some tool that allows a page to have son pages (tree
hierarchy if possible) and to list them automatically, like the "see also"
feature in wikipedia, or "related articles"
Does that make sense ?
or is it done manually in wikipedia ?
Best Regards,
--
*BHY*
I have a server named wikiServer01.company.com There is a DNS alias to that server for wiki.company.com
I get all sorts of errors in the logs about The wiki [wiki] does not exist. When I try to attach pictures to a wiki page.
Caused by:
com.xpn.xwiki.XWikiException: Error number 2 in 0: The wiki [wiki] does not exist
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:505)
I can't seem to find how to set an alias for the server in the documentation.
Is this setup even supported? I'm using the latest 5.0.1 all in one application on Jetty ( With the intention of when I figure this out We'll move it into tomcat)
--
Mark Gardner
KC Research Automation
Mark.Gardner(a)kc.frb.org
(816) 881-2957
I'm running Xwiki Enterprise 5.0 milestone 2 on Windows XP.
When I'm editing a page and I try to add a link to another page I get a
transport_error and I cannot see any other pages listed.
I've installed the same version on my Mac and it works fine.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Cannot-create-a-hyperlink-to-another-page…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have customized document (i.e. attached object of the custom class to
document) and I'd like to change its status from the view mode.
I tried to modify ClassSheet for view mode with following HTML:
<form method="post" action="/xwiki/bin/edit/$doc.space/$doc.name">
<input type="hidden" name="Custom.Class_0_property" value="$myvalue"/>
<input type="submit" value="Submit" name="action_save" class="button">
</form>
but got error:
Warning
This request contains an invalid authentication information.
Could anybody provide me some hints for me in the right direction?
Thanks!
Valdis