Hi,
i just tried the container Macro with Columns option
{{container layoutStyle="columns"}}
(((first column)))
(((second column)))
{{/container}}
it definitely cut the page in two, but i am having difficulties to find out
how to implement content in the first column and how to go to second column
Thanks
--
*BHY*
Hi,
i have an adjacent problem with XWIKI 4.4 on Tomcat 6 and want to
connect with Apache from frontend:
The xwiki.war was moved to ROOT-context of Tomcat.
With direct connection to Tomcat XWIKI is working fine.
If i want to go over Apache with https://domain.xyz/ i receive well the
startpage of XWIKI with dashboard.
But if want to login i receive an URL
https://domain.xyz/bin/login/XWiki/XWikiLogin?xredirect=%2Fbin%2Fview%2FMai…
and the messsage
401 Unauthorized.
Does somebody have a clue ?
The problem is the same with xwiki.war/with ROOT-context and http
instead of https.
Thanks
Ingo
Mit besten Grüßen
Ingo Oellers
************************************************
Ingo Oellers
Entwickler E-Commerce - Innovations, Technologies & Products
ingo.oellers(a)3pagen.de
Tel.: 02404 / 980 188
Fax: 02404 / 980 73 188
************************************************
3Pagen Versand und Handelsges. mbH
St. Jöris Strasse 16-28
52477 Alsdorf
Reg.Gericht: Aachen HRB 999
Geschäftsführung: Eric Faintreny, Franz Hermanns
www.3suisses.de - www.3suisses.at - www.3-suisses.chwww.3pagen.de - www.3pagen.at
>>> Andrew Havens 20.02.13 1.30 Uhr >>>
Now that I've got XWiki up and running, how can I configure Tomcat or
whatever so that it's available at the root on port 80 instead of
wiki.example.com:8080/xwiki?
Thanks,
Andrew
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi,
For some quality reasons I assigned to myself, I use the following
translations for my app:
MailArchiveCode.LoadingSessionClass_maxMailsNb=Max number of mails to load
in a session
mailarchive.loadingSession.fields.maxMailsNb.label=$services.localization.render('MailArchiveCode.LoadingSessionClass_maxMailsNb')
The first one has the name expected for XClass fields mapping, the second
has the name I expect for a form field translation key. But as their
content must be the same in my case, I refer the one from the second.
But when trying to display that in a page, I use:
$services.localization.render('mailarchive.loadingSession.fields.maxMailsNb.label')
... and it shows:
$services.localization.render('MailArchiveCode.LoadingSessionClass_maxMailsNb')
Is there a way around ? I tried to add "{{velocity}}" around the second
translation value, but of course it complains about nested scripts...
Thanks,
Jeremie
Hello,
I would like to discuss a little on writing of Selenium2 tests, as
described in test strategy [1], ie use Selenium 2 and apply Page Objects
pattern.
My particular use-case is that I'm on a mission : write some functional
tests for my mail archive application.
I also think these would be the best tests for my app, as it greatly relies
on 2 external interfaces (xwiki for persistence/conf, javamail and mail
accounts on another side). There are some good unit tests to write of
course, but the main logic of the app has more meaning to be tested in
"real life", or close to that.
To do that, I decided to try and plug myself in xwiki test framework, in
order to avoid redeveloping everything (such as deploying / launching an
xwiki instance from the tests).
I added 2 modules in my project:
- xwiki-contrib-mailarchive-test-pageobjects
- xwiki-contrib-mailarchive-test-ui
Both inherit from org.xwiki.enterprise:xwiki-enterprise-test pom, and are
greatly inspired from poms of xwiki-enterprise-test-pageobjects and
xwiki-enterprise-test-ui poms.
It's unfinished and untested, but I believe I'll be able to have xwiki
instance installed, launched, and tests run automatically.
My main question, is how should I do in order to also deploy my app in this
wiki instance prior to run the tests ?
For now I have several possible solutions that come to my mind, but I don't
know what would be the best... :
A-
- grab xwiki-standalone zip version x.y.z, unzip it, launch it
- make EM install my application (call some REST API ? GET some page with
proper parameters ?)
- run the tests
B-
- grab xwiki-standalone zip version x.y.z, unzip it
- "patch" it in some way with my application binaries, (ie, add things
directly under permanent directory / extension / repository ?)
- launch it and run the tests
I personnally prefer A-, but it supposes also that the xwiki instance knows
any of my "dev" maven repositories (either my local repository .m2, or my
local instance of Nexus), so it would mean an additional step would be to
"patch" the standalone wiki xwiki.properties to add my personal repo.
Or maybe I can add such repo programmatically in the wiki instance from
java by looking up and using the right component ?
Maybe this point has already been solved by anyone, so if you have any
samples it would be good enough. I did not search exhaustively, but I don't
remember having seen such use-cases on existing extensions on github.
Also, I think it might be interesting to extract from all this some kind of
maven archetype for functional testing of UI extension ? So contributors
could just call the archetype and get everything properly prepared, and
just have to add page objects and tests for their app ...
WDYT ?
BR,
Jeremie
[1]
http://dev.xwiki.org/xwiki/bin/view/Community/Testing#HSelenium2-basedFrame…
Hi,
I wanna ask if it is possible to ask a page to use an image attachment from
another one
to move attachments from one page to another
Best Regards
--
*BHY*
Good morning
I just discovered how useful can be Include Macro :)
still it only works when the document Dashboard.Webhome is included,
{{include document="Dashboard.WebHome" context="new"/}}
Other documents do not show up when i try.
I am not sure if this is due to the Macro itself or to problems within the
structure like duplicated pages/ spaces or unclear view of parents child
relations
Thank you,
Best Regards,
--
*BHY*
Hello,
Is there any way (by default or with an Extension) to add a kind of "vote" on
each XWiki page?
Vote will be opened to signed-in users just like they put a "+1" on Facebook.
Then when reading a page, a user can know if content has been appreciated.
thanks for your answers, regards,
PS : what I need is a simple number on each page. I agree that comments are
already a way to give an opinion on a XWiki page.
Hi,
i have a problem with the tooltip macro.
Using XWIKI ENTERPRISE 4.5.3 I installed Tooltip Macro V. 1.2.3 and the page
Tooltip appears.
But moving the cursor over the question mark the cursor form changes to an
arrow and nothing else happens.
Over the "Vanilla" the cursor shows an additional question mark but nothoing
else happens, even when I click.
I also tried to implement an {{tooltip}} - section on another page, nothing
happens there too.
Whats wrong about my implementation?
Thanks for help.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Tooltip-macro-tp7585125.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
Using Rest, I'd like to be able to retrieve the version summary a user
provides when he edits a page.
I wasn't able to find a way to do so : for example executing a GET on an URL
like "pages/PageName/history/xxx" does not allow me to see the version
summary text.
Is there a way to do this ?
Thanks by advance,
Stephane.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Rest-Retrieve-the-version-summary-for-a-p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I logged in using Admin as the account provide by XWiki 5.0.1 installation.
I created a panel has the following XWQL:
#set ($hql = "select doc.fullName, todoObj.Description from Document as doc, doc.object(XWiki.TodoClass) as todoObj where todoObj.Status <> 'Finished' order by doc.date desc")
#set($results = $services.query.xwql($hql).setLimit(5).execute())
It works well in the panel's view mode. It list what I searched for.
Then I drag and drop it to the right of the Panel Wizard page using Panel Wizard and click SAVE THE NEW LAYOUT, my panel still displayed the search result on the right.
Now I go to the XWiki home (http://localhost:8080/xwiki/bin/view/Main/), I got an error display on the right of the home page: Full form statements requires programming right. Query statement = [select doc.fullName, todoObj.Description from Document as doc, doc.object(XWiki.TodoClass) as todoObj where todoObj.Status <> 'Finished' order by doc.date desc]
I still logged in as Admin and checked that XWikiAdminGroup, which Admin belongs to, has the Program right. Even if I explicitly give Admin user the Program right on the Right page, this issue still cannot be fixed. Note that my panel works when I worked with the Administration App.
What happened to the home page and How to solve it?
Thanks for your help!
Guofeng
Hi,
I follow the Todo tutorial (http://www.theserverside.com/news/1363830/XWiki-A-Platform-for-Collaborativ…) on XWiki 5.0.1. By making a little changes and using XWiki Sytanx 2.0. The Todo application runs well on my XWiki instance. But I stuck at My Todo Panel.
Listing 7 in the tutorial shows the following code to list all Todo documents on My Todo Panel assigned to the current logged in user and that are not finished:
#set ($hql = ", BaseObject as obj, StringProperty as prop1,
StringProperty as prop2 where obj.name=doc.fullName and obj.className='XWiki.TodoClass'
and obj.name<>'XWiki.TodoClassTemplate' and obj.id=prop1.id.id and prop1.id.name='Status'
and prop1.value <> 'Finished' and obj.id=prop2.id.id and prop2.id.name='Assignee'
and prop2.value='$context.user' order by doc.date desc")
#foreach ($todo in $xwiki.searchDocuments($hql, 5, 0))
......
It has the following description about the above code:
"The hard part in creating this My Todo Panel is in finding out the correct HQL query to write. You have to know that Static List Class properties and User Class properties are stored internally using a StringProperty Object."
For me on XWiki 5.0.1, no document returned by the above code and I do not know where to start from to fix it.
I know tutorial is old (on 1 Dec, 2007), so maybe the object store has been changed late.
Could you give me instructions how to make the above code work?
It is appreciated if you could give some fix to the above code and I like to test the fix.
Thanks for your help.
Guofeng
Hi,
I updated last week my pg-tomcat-xwiki installation on ubuntu.
the whole thing is broken. The tomcat server is installed, pgsql too. The
database is created and Ive added a xwiki schema because the previous
version (453) had a problem on this.
the whole installation finished I connect to port 8080/xwiki and end up with
a context not found error.
After completely cleaning up several times, it ended up installing the
mysql bundled and found it broken also. The update wizard is infinite
Looking at the problems it seems it has some install path broken on the
enterprise wiki UI package.
Sincerely,
Bertrand Léger
Project Manager chez Agri-Esprit
tel : +33. 6. 74. 76. 10. 65
skype: leger_bertrand
bertrand.leger(a)agri-esprit.com
www.agri-esprit.com
4 rue Boussingault
67000 Strasbourg
France
Dear xwiki community,
I've started using the Ideas application [1], and have some issues with it
(version 1.1.2, XE version 4.5.2) :
- on IE8, only 1 idea is listed (out of 6 we created). It used to display
all of them, but not anymore, for a reason I still did not find.
- on Firefox/Chrome, all ideas are displayed, but when not logged in,
"noavatar.png" pictures are displayed as 160x160 px (that somewhat breaks
the display)
- on Firefox/Chrome, when logged in, all is ok
BR,
Jeremie
[1] - http://extensions.xwiki.org/xwiki/bin/view/Extension/Ideas
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