Hi,
We would like to, conditionally, redirect users who log in to their profile page. (in our case; XWiki.<username>)
The condition is: User is not in ANY OTHER GROUP then XWikiAllGroup.
How can I do this most elegantly, modifying as little as possible of the standard pages that come with a distribution of XWIKI
Gerritjan Koekkoek
Hi,
is there a way to hide/disable (better hide) the "Save & Continue" button
when editing a page? My users like to click it very often creating a
veeeeery long history.
If there isn't a property to do so, i think i'll customize the source code,
in which .vm file do i have to put my hands? or is it in a .js file?
Thanks a lot,
claudio
--
View this message in context: http://xwiki.475771.n2.nabble.com/Disabling-Save-Continue-button-tp5682916p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi colleagues!
I testing some application with standart organization (many of XWiki
applications organized in a same way):
Exists TestAppCode space with all classes, templates, sheets, codes and
exists TestApp space with visualization pages using {{include
document="TestAppCode.SomeTemplate"/}}
When I trying to use getRenderedContent for this document from TestApp (for
example, when I want to send this page by email form another page with my
own code) I get rendered content of TestAppCode.SomeTemplate - not the
content of my data.
I want to clarify - this is because of
http://jira.xwiki.org/jira/browse/XWIKI-4274? Looks like my situation ... I
staying in one page and trying to getRenderedContent for the another page.
Maybe exists some ways to overcome this issue?
Thanks beforehand
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/getRenderedContent-issues-tp5666553p56665…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hey everyone I have been looking around and right now, the notification
emails are sent out by mailer(a)xwiki.localdomain.com, and this is something
that I would like to change.
I looked around in the WatchListMessage.Mail object and can not find where
it is set, I don't see it in the Graphical SMTP settings either, can I get
some help to point me in the right direction, is it something that I have to
set by hand in the config?
Thanks for all your continued help
Martin Bryant
Modus Operandi
http://www.modusoperandi.com
--
View this message in context: http://xwiki.475771.n2.nabble.com/Notification-Mailer-tp5678798p5678798.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello dear friends and community
I need your help with registering users.
The question is:
I have a database table wich contains a list of registered users to my
website.
Now, I want to import this list of users to my XWIKI application.
But i dont know how to import it.
I can select all user name and put them in an xwiki array or set.
and then, i can write a script that will use a for loop to create users
taking username from the array and putting a defualt pathword which users
can change later.
#set($userNames=
{"A","B","C",...................................................})
#set($fields = [])
##
#foreach($userName in $userNames)
## The first name field, no checking.
#set($field = $userNames)
#set($discard = $fields.add($field))
etc....
#createUser($fields, $request, $response, $doAfterRegistration)
#end
will it work?
I am not proficient in XWiki and velocity programming, and I ask for your
help.
Any help will be appriciated.
Hi,
I currently have XWIKI v2.3.2 (windows, standalone XWIKI installation) and
have problems upgrading to the latest release, v 2.5 Milestone 2.
All the following options have FAILED:
1. Upgrade according to the documentation:
--------------------------------------------
- I've created a new xwiki dir, and copied all the WAR content into this
dir. (still using the old DB)
- When i'm trying to access the page i get the following error:
HTTP ERROR 500
Problem accessing /xwiki/bin/view/Main/. Reason:
Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from
param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not create a DBCP pool. There is an error in the
hibernate configuration file, please review it.
Caused by:
...
...
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate
execute
Wrapped Exception: Could not create a DBCP pool. There is an error in the
hibernate configuration file, please review it.
....
....
Wrapped Exception:
org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class
'org.hsqldb.jdbcDriver'
2. DB export / import
--------------------------------------------
- Export DB from v 2.3
- Clean install v2.5
- Import database
- Got 10MB max attachment message
- After changing this limit in the XWIKIPreferences, i got JAVA heap out of
memory exception while trying to import my 90mb XAR.
3. DB copy
--------------------------------------------
- Clean install v2.5
- Copy database file from v2.3 to v2.5 dir
- XWIKI loads and works but the Lucene search doesn't work (and i'm not sure
what else.. for start, i'm unable to search inside attachments...)
ANY HELP??
Thanks
Sharon.
Hello,
I develop a macro which display object attached to the current page.
Here summary of my code:
{{goovy}}
def topic = doc.getObject("ActivityReport.TopicClass",
Integer.valueOf(xcontext.macro.params.id))
println "|"+doc.displayPrettyName("topic", title)+"|"+topic.get("title")
println "|"+doc.displayPrettyName("topic", action)+"|"+topic.get("action")
println "|"+doc.displayPrettyName("topic", status)+"|"+topic.get("status")
{{/groovy}}
In my macro page, I put one instance of my TopicClass for development.
That working fine.
In an other page I put an other instance and call my macro.
It display instance from macro page !!!
I suppose that I should not used doc to find current document in macro.
But I don't find in
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial
how to retrieved current document.
I also test xcontext.doc, but it is same as doc.
So how can find current document (the document which call my macro)?
Regards,
Arnaud.
Has anybody run the new xwiki on a windows 2008 server box, preferably x64. I am upgrading to the new version and I run in a windows environment and would like to make use of 2008.
Thanks
________________________________
This communication and attachment(s) are the confidential property of INVISION, Inc. If you are not the intended recipient, please notify the sender immediately and delete this message; any copying, dissemination or use of these contents by persons other than the intended addressee(s) is prohibited. Thank you.
Hi,
I would like to share with you three proposals about XE/XEM. I've not a
clear idea about the cost in terms of "programming effort", but I would
like to know if you consider them suitable.
1. In a XE/XEM default installation I think it would be better to
include the username/password fields and the links "Forgot your username
or password?"utilities in the headerglobal area. That way, users will
not be redirected to a different page and can easily see changes in
their current one (the one from where they are logging) once they are
authenticated.
2. On log out, if the user has not access to his/her current page, it
will be informed with a message. Currently you "only" get redirected to
the log in page. Users with concerns about who access contents they have
created or are responsible of, will be happier with this information
message.
3. To show in the Information tab or in an /ad hoc/ tab adding some
administrative capabilities (granting/revoking access rights, for
instance) what users/groups have what rights on the current document.
All these three proposals/ideas are mostly oriented to the use of XWiki
based information systems developed for groups with requirements about
access control and access monitoring. Nothing weird in industrial
environments, nor in biomedical ones.
Thanks for your opinions!
Ricardo
--
Ricardo RodrÃguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems