Hi all,
I have a problem with the parent child relationships.
The problem has allready been an issue (see detailed information
below) and a solution has been given by Sergiu Dumitriu, but this
solution does not seem to work for me.
Whenever I leave out the space from the parent, my child has no
parents at all anymore, it does not automatically get parents
assigned.
Basicly what I want to do is set up mutliple spaces, where some pages
are used in more than only one space. I want that the users stay in
their respective space, but see the pages form other spaces sometimes.
What works great for this is the include macro, but the bigger my wiki
gets, the more includes I have and this might get a bit chaotic in the
future. A much cleaner solution would be to just link from one
Space.Page to another, but when I do this my breadcrumb navigation
does not follow, since I have the Parent Child issue unsolved.
I know it must work, I just dont know how to get it to work.
Any help would be greatly appreciated.
Greetings,
Wouter
On 05/13/2010 10:19 AM, S.L wrote:
>
> Hi all,
>
> I have a page "Child" in with Space A(A.Child), with parent "A.Main".
>
> Now I would like to copy this page to Space B, so it becomes "B.Child with
> parent "B.Main".
> But when I copy page using copy function in UI or using
> "xwiki.xWiki.copyDocument", "B.Child" 's parent is always "A.Main".
>
> What could I do to acheive my expected result, "B.Main"? Since I would like
> to use marco to copy multiple pages, I hope I could find a solution besides
> manually modifying the pages.
>
> Thank you so much for you help!
You can leave out the space from the parent, as in "Main". This will
always resolve to the "Main" document in the current space, thus A.Main
when the document is in the space A, B.Main when in space B.
--
Sergiu Dumitriu
from: http://lists.xwiki.org/pipermail/users/2010-May/020659.html
Hi,
Does anyone know how to add links to files on a project network drive? We
have a lot of files on our network drives and there's a reluctance to attach
all the files into the wiki. So to ease people into using the wiki it would
be nice to allow them to easily link out to external files. Currently XWiki
allows users to link to other wiki pages, other web pages or attached files
but not external files .... is there a way provide a means to add links to
external files?
Regards,
Richard
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi, folks.
I’m trying to do some local testing of XWiki Enterprise, because it looks like a great resource for me to manage my group’s documentation, but I’m running into some issues.
I downloaded the Windows executable and installed XE locally (on the C: drive of a Windows 7 system), and everything seemed to install correctly. I have the start and stop desktop icons.
I clicked the start icon and a DOS window flashed open and closed. When I tried to open XWiki in my browser at http://localhost:8080/, I received a “This webpage is not available” message. I’m not sure if I have a port issue, and I didn’t see anything in the users mailing list archives that related to this issue. Does this problem sound familiar to anyone, and if so, how can it be fixed?
Thanks.
_____________
John Campbell
NOC Technical Writer
WildBlue Communications, Inc.
720.493.6324 ◊ john.campbell(a)viasat.com <mailto:john.campbell@viasat.com>
Yes setting an interval did solve the problem - thanks!
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Sergiu Dumitriu
Sent: 14 July 2011 14:19
To: XWiki Users
Subject: Re: [xwiki-users] XWiki email not working
On 07/14/2011 03:08 AM, goldring, richard wrote:
> Thanks Sergiu - I didn't realise that the interval wasn't set by
> default - its not as clear as it could be in the documentation -
> perhaps users should be warned in a popup message when they set a
> watch on a page and the interval hasn't been set to remind them?
Yes, this is an annoying bug, it should be fixed by default. So, setting an
interval did solve the problem, right?
> As for the other issue with sharing a page .... Then I'll just have to
> upgrade to the latest Xwiki.
>
> Thanks again
>
> Richard
>
>
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf Of Sergiu Dumitriu
> Sent: 13 July 2011 17:58
> To: XWiki Users
> Subject: Re: [xwiki-users] XWiki email not working
>
> On 07/13/2011 03:13 AM, goldring, richard wrote:
>> Hi All,
>>
>> I'm still not able to email using Email a wiki page or via the Watch
>> plugin.....
>>
>> I've set up my email server (sendmail) on my Solaris server and set
>> the appropriate setting in XWiki to talk to it and using the code
>> below (taken from the XWiki website) to successfully send an email
>> (presumably this uses the email plugin??) :
>>
>> {{velocity}}
>> #if($xwiki.hasAccessLevel('admin'))
>> #if("$!{request.action}" == 'send_mail'&& "$!{request.lastname}" == '')
>> ## Check submission and honey pot.
>> #if("$!request.recipient" != ''&& "$!request.subject" != '')
>> #set($result =
>> $xwiki.mailsender.sendTextMessage("no-reply(a)xwiki.com
>> <mailto:no-reply@xwiki.com> ", $request.recipient, $request.subject,
>> "$!request.message"))
>> #if($result == -1)
>> {{error}}A problem occurred while sending the mail.{{/error}}
>> #else
>> {{info}}Everything went OK.{{/info}}
>> #end
>> #else
>> {{error}}Please specify at least a recipient and a
subject{{/error}}
>> #end
>> #end
>>
>> {{html wiki=true}}
>> <form action="" method="post">
>> <input name="action" value="send_mail" type="hidden" />
>> ## this is a honey-pot hidden text field hat hopefully robots
>> will not leave empty
>> <div class="hidden">
>> <input name="lastname" type="text" />
>> </div>
>> <fieldset>
>> **TO:**<br />
>> <input type="text" name="recipient" /><br />
>> **SUBJECT:**<br />
>> <input type="text" name="subject" /><br />
>> **MESSAGE:**<br />
>> <textarea name="message" style="width:99%;" rows=10>Your test
>> message here.</textarea>
>> </fieldset>
>> <div>
>> <span class="buttonwrapper"><input type="submit" class="button"
>> value="Send" /></span>
>> </div>
>> </form>
>> {{/html}}
>> #else
>> {{error}}Oops. Area restricted to Admins, sorry.{{/error}} #end
>> {{/velocity}}
>>
>>
>> BUT ..... in my XWiki wiki (I have the latest version) when I select
>> to email a wiki page and press the Send button nothing seems to
>> happen (I assume the email dialog should close when you press the
>> Send button and an email should be sent), also when adding a Watch on
>> the wiki or wiki page and the page is changed then no email is sent
>> to the user who has put the watch on the page .... does anyone know
>> why the emails
> aren't getting sent????
>
> For the watch problem, check that the user has selected a valid
> watchlist interval, since by default all users have the watchlist emailer
disabled.
> You can do that by going to your profile, and editing the preferences
> on the Watchlist tab.
>
>> Having the facility to email a wiki page and to watch wiki pages
>> would certainly help get more people to use our wiki.
>>
>> Any clues for fixing this would be most appreciated!
>>
>> Thanks.
>>
>> Richard
>
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Thanks Sergiu - I didn't realise that the interval wasn't set by default -
its not as clear as it could be in the documentation - perhaps users should
be warned in a popup message when they set a watch on a page and the
interval hasn't been set to remind them?
As for the other issue with sharing a page .... Then I'll just have to
upgrade to the latest Xwiki.
Thanks again
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Sergiu Dumitriu
Sent: 13 July 2011 17:58
To: XWiki Users
Subject: Re: [xwiki-users] XWiki email not working
On 07/13/2011 03:13 AM, goldring, richard wrote:
> Hi All,
>
> I'm still not able to email using Email a wiki page or via the Watch
> plugin.....
>
> I've set up my email server (sendmail) on my Solaris server and set
> the appropriate setting in XWiki to talk to it and using the code
> below (taken from the XWiki website) to successfully send an email
> (presumably this uses the email plugin??) :
>
> {{velocity}}
> #if($xwiki.hasAccessLevel('admin'))
> #if("$!{request.action}" == 'send_mail'&& "$!{request.lastname}" == '')
> ## Check submission and honey pot.
> #if("$!request.recipient" != ''&& "$!request.subject" != '')
> #set($result =
> $xwiki.mailsender.sendTextMessage("no-reply(a)xwiki.com
> <mailto:no-reply@xwiki.com> ", $request.recipient, $request.subject,
> "$!request.message"))
> #if($result == -1)
> {{error}}A problem occurred while sending the mail.{{/error}}
> #else
> {{info}}Everything went OK.{{/info}}
> #end
> #else
> {{error}}Please specify at least a recipient and a subject{{/error}}
> #end
> #end
>
> {{html wiki=true}}
> <form action="" method="post">
> <input name="action" value="send_mail" type="hidden" />
> ## this is a honey-pot hidden text field hat hopefully robots will
> not leave empty
> <div class="hidden">
> <input name="lastname" type="text" />
> </div>
> <fieldset>
> **TO:**<br />
> <input type="text" name="recipient" /><br />
> **SUBJECT:**<br />
> <input type="text" name="subject" /><br />
> **MESSAGE:**<br />
> <textarea name="message" style="width:99%;" rows=10>Your test
> message here.</textarea>
> </fieldset>
> <div>
> <span class="buttonwrapper"><input type="submit" class="button"
> value="Send" /></span>
> </div>
> </form>
> {{/html}}
> #else
> {{error}}Oops. Area restricted to Admins, sorry.{{/error}} #end
> {{/velocity}}
>
>
> BUT ..... in my XWiki wiki (I have the latest version) when I select
> to email a wiki page and press the Send button nothing seems to happen
> (I assume the email dialog should close when you press the Send button
> and an email should be sent), also when adding a Watch on the wiki or
> wiki page and the page is changed then no email is sent to the user
> who has put the watch on the page .... does anyone know why the emails
aren't getting sent????
For the watch problem, check that the user has selected a valid watchlist
interval, since by default all users have the watchlist emailer disabled.
You can do that by going to your profile, and editing the preferences on the
Watchlist tab.
> Having the facility to email a wiki page and to watch wiki pages would
> certainly help get more people to use our wiki.
>
> Any clues for fixing this would be most appreciated!
>
> Thanks.
>
> Richard
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi Jan,
On Jul 11, 2011, at 8:16 AM, Jan Slegr wrote:
> Hi,
>
>
>
> can be date and time format changed in Activity Stream (XWiki 3.1 used)
> somehow?
>
>
>
> It's displayed as "10 VII, 11:19" by default and it ignores XWiki
> localization date preference and I'd like to change it to something like
> "10.7.2011, 11:19". I tried to check Activity Stream code, but have had no
> luck to find the correct place where it can be changed so far.
Indeed you're right, the Activity Stream is wrong and it should use the XWiki date format that is configured in the admin.
The code you're looking for is located in the ActivityMacro Object on the Main.Activity page
(http://localhost:8080/xwiki/bin/edit/Main/Activity?editor=object):
...
## Formatters
##--------------------------------------------------------------
#set ($eventDateFormatter = 'dd MMM, HH:mm')
#set ($eventFullDateFormatter = 'yyyy/MM/dd HH:mm')
#set ($activityListDateFormatter = 'dd MMM')
...
Would be great if you could create a jira issue for this at http://jira.xwiki.org.
Hope it helps,
-Vincent
Hi All,
I'm still not able to email using Email a wiki page or via the Watch
plugin.....
I've set up my email server (sendmail) on my Solaris server and set the
appropriate setting in XWiki to talk to it and using the code below (taken
from the XWiki website) to successfully send an email (presumably this uses
the email plugin??) :
{{velocity}}
#if($xwiki.hasAccessLevel('admin'))
#if("$!{request.action}" == 'send_mail' && "$!{request.lastname}" == '')
## Check submission and honey pot.
#if("$!request.recipient" != '' && "$!request.subject" != '')
#set($result = $xwiki.mailsender.sendTextMessage("no-reply(a)xwiki.com
<mailto:no-reply@xwiki.com> ", $request.recipient, $request.subject,
"$!request.message"))
#if($result == -1)
{{error}}A problem occurred while sending the mail.{{/error}}
#else
{{info}}Everything went OK.{{/info}}
#end
#else
{{error}}Please specify at least a recipient and a subject{{/error}}
#end
#end
{{html wiki=true}}
<form action="" method="post">
<input name="action" value="send_mail" type="hidden" />
## this is a honey-pot hidden text field hat hopefully robots will not
leave empty
<div class="hidden">
<input name="lastname" type="text" />
</div>
<fieldset>
**TO:**<br />
<input type="text" name="recipient" /><br />
**SUBJECT:**<br />
<input type="text" name="subject" /><br />
**MESSAGE:**<br />
<textarea name="message" style="width:99%;" rows=10>Your test message
here.</textarea>
</fieldset>
<div>
<span class="buttonwrapper"><input type="submit" class="button"
value="Send" /></span>
</div>
</form>
{{/html}}
#else
{{error}}Oops. Area restricted to Admins, sorry.{{/error}}
#end
{{/velocity}}
BUT ..... in my XWiki wiki (I have the latest version) when I select to
email a wiki page and press the Send button nothing seems to happen (I
assume the email dialog should close when you press the Send button and an
email should be sent), also when adding a Watch on the wiki or wiki page and
the page is changed then no email is sent to the user who has put the watch
on the page .... does anyone know why the emails aren't getting sent????
Having the facility to email a wiki page and to watch wiki pages would
certainly help get more people to use our wiki.
Any clues for fixing this would be most appreciated!
Thanks.
Richard
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Please can anyone help me with my problem below:
(Apologies if I am going about this request the wrong way, it is the
first time I've used this method - if I am doing something wrong please
advise corrections...)
I have a page in a space in my wiki that I cannot delete - this is a
page that the users need not see, and the ?link needs removing to
prevent 'recreating' the page.
I have tried several ways to remove this but it is persistent.
I have tried -
* Directly deleting the page. [results in the error below - and
leaves the link to the page with a '?' as being ready to create if
clicked]
* Moving the page to another space e.g. the Sandbox [results in
the page being copied to the sand box, but still leaves the link to the
page with a '?' as being ready to create if clicked]
* Creating an entirely new space and recreating all the other
pages (not moving them) except the unwanted page, and then deleting the
old space. [results in the deleted space showing with a '?' as being
ready to create if clicked - and there is still reference to the
unwanted page in this old space in the document index]
* I have checked all permissions and reset them on the unwanted
page/link/space to allow deletion - and I am trying to perform these
actions as Admin. [results in same as above]
The error displayed when I delete the page is:
Notice
A problem occurred while trying to process your request. Please contact
the webmaster if this happens again.
Detailed information:
Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not insert:
[com.xpn.xwiki.doc.XWikiDeletedDocument]
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while
hibernate execute
Wrapped Exception: could not insert:
[com.xpn.xwiki.doc.XWikiDeletedDocument]
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseSt
ore.java:1040)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateB
aseStore.java:1086)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWiki
HibernateRecycleBinStore.java:68)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3994)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3986)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5816)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5805)
at
com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:85)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1166)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(Conversion
Filter.java:152)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
68)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor
erFilter.java:295)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2
16)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler
Collection.java:230)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConne
ction.java:915)
at
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
409)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java
:582)
Wrapped Exception:
java.sql.SQLException: Violation of unique constraint $$: duplicate
value(s) for column(s) $$: SYS_CT_116 in statement [insert into
xwikirecyclebin (XDD_ID, XDD_FULLNAME, XDD_LANGUAGE, XDD_DATE,
XDD_DELETER, XDD_XML) values (null, ?, ?, ?, ?, ?)]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at
org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(Delega
tingPreparedStatement.java:101)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(Delega
tingPreparedStatement.java:101)
at
org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(Abstract
SelectingDelegate.java:33)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEn
tityPersister.java:2163)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEn
tityPersister.java:2643)
at
org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityIn
sertAction.java:51)
at
org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at
org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate
(AbstractSaveEventListener.java:298)
at
org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSa
veEventListener.java:181)
at
org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(Ab
stractSaveEventListener.java:107)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGenerat
edOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
at
org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequ
estedId(DefaultSaveEventListener.java:33)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransie
nt(DefaultSaveOrUpdateEventListener.java:172)
at
org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(Def
aultSaveEventListener.java:27)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(
DefaultSaveOrUpdateEventListener.java:70)
at
org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore$1.doInHibernate(XWikiH
ibernateRecycleBinStore.java:72)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseSt
ore.java:1034)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateB
aseStore.java:1086)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWiki
HibernateRecycleBinStore.java:68)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3994)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3986)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5816)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5805)
at
com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:85)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1166)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(Conversion
Filter.java:152)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
68)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor
erFilter.java:295)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2
16)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler
Collection.java:230)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConne
ction.java:915)
at
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
409)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java
:582)
THIS WIKI IS LICENSED UNDER A CREATIVE COMMONS 2.0 LICENSE
XWIKI ENTERPRISE 2.1.1.25889 - DOCUMENTATION
Andrew Parkinson
www.senator.co.uk <http://www.senator.co.uk/>
=================================================================
This email is confidential and is intended solely for the use of the individual
or entity to whom it is addressed. If you are not the intended recipient and
you have received this e-mail in error then any use, dissemination, forwarding,
printing or copying of this e-mail is strictly prohibited and you should contact
the sender by e-mail return and then delete all the material from your system.
Any views or opinions expressed in this email are solely those of the author
and do not necessarily represent those of Senator International Limited.
This email does not form a part of a legally binding agreement. We have
taken precautions to minimise the risk of transmitting software viruses,
but we advise that you carry out your own virus checks on any attach-
ments to this message. Senator International Limited cannot accept
liability for any loss or damage done by viruses.
Head Office:
Syke Side Drive
Altham Business Park
Accrington
Lancashire
BB5 5YE
Tel: +44 (0) 1282 725000
Fax: +44 (0) 1282 725039
London Showroom:
11-13 Melton Street
London
NW1 2EA
Tel: +44 (0) 207 388 7621
Fax: +44 (0) 207 388 3121
Company No: 1323955 Registered in England & Wales
===========================================================
Hi,
Sorry if this questions are recurrent, but I can't find any references
on that. When I use the "share by email" feature on a page that contains
images, with the page within the email body, the page's images appear
broken on the html email. How can I fix that?
Another related question: how can I change the way notification emails
show the changes on a watched page? It's not relevant to my users that
html formatting info like "text align" etc are shown in the diff email.
How can I change this?
I'm using XE 3.1M1.
Regards,
--
* *
* *
*Ramon Gomes Brandão*
*//*
Hi,
I'm using version 2.7.1 of XE.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Vincent Massol
Sent: 13 July 2011 08:30
To: XWiki Users
Subject: Re: [xwiki-users] XWiki email not working
Hi,
Maybe it's caused by http://jira.xwiki.org/jira/browse/XE-913?
What exact version of XE are you using?
Thanks
-Vincent
On Jul 8, 2011, at 10:58 AM, goldring, richard wrote:
> Hi,
>
> I've set up my email server (sendmail) on my Solaris server and set
> the appropriate setting in XWiki to talk to it and using the code
> below (taken from the XWiki website) to successfully send an email:
>
> {{velocity}}
> #if($xwiki.hasAccessLevel('admin'))
> #if("$!{request.action}" == 'send_mail' && "$!{request.lastname}" ==
> '') ## Check submission and honey pot.
> #if("$!request.recipient" != '' && "$!request.subject" != '')
> #set($result =
> $xwiki.mailsender.sendTextMessage("no-reply(a)xwiki.com
> <mailto:no-reply@xwiki.com> ", $request.recipient, $request.subject,
> "$!request.message"))
> #if($result == -1)
> {{error}}A problem occurred while sending the mail.{{/error}}
> #else
> {{info}}Everything went OK.{{/info}}
> #end
> #else
> {{error}}Please specify at least a recipient and a
> subject{{/error}} #end #end
>
> {{html wiki=true}}
> <form action="" method="post">
> <input name="action" value="send_mail" type="hidden" /> ## this is a
> honey-pot hidden text field hat hopefully robots will not leave empty
> <div class="hidden"> <input name="lastname" type="text" /> </div>
> <fieldset>
> **TO:**<br />
> <input type="text" name="recipient" /><br />
> **SUBJECT:**<br />
> <input type="text" name="subject" /><br />
> **MESSAGE:**<br />
> <textarea name="message" style="width:99%;" rows=10>Your test
> message here.</textarea> </fieldset> <div>
> <span class="buttonwrapper"><input type="submit" class="button"
> value="Send" /></span>
> </div>
> </form>
> {{/html}}
> #else
> {{error}}Oops. Area restricted to Admins, sorry.{{/error}} #end
> {{/velocity}}
>
>
> BUT ..... in my XWiki wiki (I have the latest version) when I select
> to email a wiki page and press the Send button nothing seems to happen
> (I assume the email dialog should close when you press the Send button
> and an email should be sent), also when adding a Watch on the wiki or
> wiki page and the page is changed then no email is sent to the user
> who has put the watch on the page .... does anyone know why the emails
aren't getting sent????
> Having the facility to email a wiki page and to watch wiki pages would
> certainly help get more people to use our wiki.
>
> Regards,
>
> Richard
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273