I just got my Google
Wave<http://mashable.com/2009/05/28/google-wave-guide/>invite and have
been trying to understand how I can use it with my
Xwiki <http://xwiki.org>-based application (soon launching on
http://trainspodder.com see
example-screen<http://nielsmayer.com/prototype-11-17-2009.jpg>: my
interest in Wave is because my site, in google-parlance, is basically
a
"wave for deep-linking/commenting/annotating/transcluding&mashing streaming
audio&video media").
One of the areas that I think Wave would help Xwiki-based applications (and
wikis/sites) is with "Viral commenting" so that Wave becomes a central place
for comments and conversations on web pages. As it "socially networks"
comments, this enables FOAFs to more easily find out about internet
conversations that might otherwise be hidden away on a website that nobody
knows about.. Thus, Wave provides a viral commenting mechanism for Xwiki
pages that is potentially superior to the other alternatives previously
available, e.g.
http://massol.myxwiki.org/xwiki/bin/view/Blog/AnonymousComments :
> XWiki Enterprise allows users to leave comments on pages. However in order
> to prevent spam on your public wiki instance you usually only want to allow
> registered users the right to add comments. Thus we need a solution that
> still allows guest users to leave comments while preventing spam.
>
> I'm proposing 2 solutions that I've both tried on this blog and that have
> worked well: Solution 1: create a special guest account that can be used
> transparently to leave comments. This can be achieved by creating a custom
> skin and tweaking the comments form Solution 2: integrate with an external
> comment web service such as IntenseDebate <http://www.intensedebate.com/>.
> This also requires a custom skin in order to override some templates.
>
It also solves the "commenting" issues in Xwiki that include (1) controlling
comment spam by forcing commenters to login with real Xwiki accounts to post
comments; (2) the lack of well-integrated and "working right out of the box"
captcha support in Xwiki to prevent comment spam w/o authentication/login;
(3) lack of "out of the box" OpenID support which would allow easy
authentication of public users wanting to leave comments; (4) users wanting
to leave comments constantly forgetting the accounts and passwords under
which they left comments, as well as not having a centralized place to
follow-up on comments they've left, or conversations they've been involved
in.
Wave seems to solve some of the problems, and might help side-step a lot of
others in Xwiki.... for example, why spend a huge amount of effort tightly
integrating OpenID or some other certificate/2FA/SSO-based auth system for
the class of wikis that comprise a small number of editors and site
maintainers, and a large number of commenters and public that you want to
authenticate, identify, and spam-control -- perhaps Xwiki's login/auth
system is perfectly adequate for this class of sites, but becomes
"overwhelmed" by logins and accounts that have been created automatically,
or just for the purpose of posting a single comment (if people even bother
to create an account to leave a comment...). Integrating Wave or
IntenseDebate <http://www.intensedebate.com/> into Xwiki might give the user
experience desired, without the complexity....
Yesterday, I posted the following to an "Xwiki wave" I started:
https://wave.google.com/wave/#restored:wave:googlewave.com!w%252Bedlc50w0G<https://wave.google.com/wave/#restored:wave:googlewave.com%21w%252Bedlc50w0G>(please
join and lets try this thing out!!)
...................................
FYI, here are some ways Wave has been integrated into other platforms (note
MediaWiki integration, can it be leveraged for Xwiki?)
Taken from http://wave.google.com/help/wave/extensions.html
(1) MediaWiki integration:
My Wave wet dream<http://mediawikiwave.blogspot.com/2009/10/my-wave-wet-dream.html>
I have been asked several times where I see Wave
<https://wave.google.com/>go. The last time I was asked where I see
Wave in 5 years time.. not
Internet years. What I did was look hard at Wave for what it does, and look
at Google <http://google.com/> for the kind of things it has been doing.
For me, Wave is an environment where the functionality of e-mail, chat, wiki
comes together. What we have done in the
MediaWikiWave<http://mediawikiwave.org/>project is provide Wave with a
publishing back end. This is something that
MediaWiki <http://mediawiki.org/> does really well. I expect that Wave will
continue to integrate parts of the puzzle that is computer software and
data.
Google is getting into operating systems with its Chrome
OS<http://googleblog.blogspot.com/2009/07/introducing-google-chrome-os.html>.
Add to this Moore's law <http://en.wikipedia.org/wiki/Moore%27s_law> and in
five years time a computer with Chrome OS, with over a terabyte of storage
is not a wild idea at all.
When something like a terabyte is used for caching, I can imagine that this
cache is maintained by Wave. In this cache you find e-mail, Wavelets, Wiki
pages and other information that is of interest to a user. Wave being Wave,
will cache this information and updates it in the background. This
information will be available on request.
Wave in its architecture allows for multiple servers. It is not necessary to
know on what server a particular Wavelet is available. I think that a user
is not that interested in any particular server, he is interested in the
data being available. Only when the data is manipulated is there a need for
immediate feed back to servers or other computers.
I think this is doable. Part of the cache is already there in Google
Gears<http://gears.google.com/>and this makes this vision evolutionary
progress.
Thanks,
GerardM
(2) SAP integration:
Gravity – Collaborative Business Process Modelling within Google
Wave<http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/15618>
Gravity is a prototype developed by SAP Research in Brisbane, Australia and
SAP NetWeaver Development providing real-time, cloud-based collaborative
business process modelling within Google Wave <http://wave.google.com/>.
Google Wave is Google's new real-time collaboration platform that combines
features of e-mail, social networking, wikis and instant messaging in one
integrated browser-based client. Google Wave offers rich developer APIs to
extend the core functionality with custom components. We have embedded
Gravity as a Google Wave "gadget" that can be added within the Google Wave
client. Leveraging the collaborative features of Google Wave, all business
process modelling activities get propagated in near real-time to all other
participants of the Wave. In addition, participants of the Wave can use all
other features provided by Google and its developer community to enrich the
collaborative modelling experience.
In the demo we see how Gravity can be used to facilitate the development of
high level process descriptions for two merging companies, BCD South Bank
and FH Insurance. These two companies are merging in a tough economic
climate and management need to quickly re-engineer their business processes
in order to capitalise from cross-selling opportunities between banking and
insurance products. In addition to the near real-time propagation of model
content to all participants of a Wave, various features of true real-time
collaboration are shown, such as different colour-coding for each individual
modeller, history of a model, asynchronous and synchronous editing, and
more. The demo also shows how robots (automated components that act as Wave
participants) can be leveraged in order to syntactically correct the model
on the fly. In the end, we will see how models are exported using BPMN 2.0
XML. They will then be imported into SAP Netweaver BPM for further
refinement and execution.
The demo shows how new technology can be systematically leveraged in order
to facilitate what Business Process Management is really about: business
user collaboration within and across departments of one or more
organisations.
Please check out the high resolution
screencam<https://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/e03471b6-db79-2c10…>by
clicking on the Gravity screenshot above. If you experience problems with
the Podcast, please click here for more versions including a low resolution
of the screencam<https://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/705d166b-dd79-2c10…>or
view the embedded screencam below.
(3) Salesforce.com <http://salesforce.com/> integration:
Getting in Front of the
Wave<http://blog.sforce.com/sforce/2009/09/getting-in-front-of-the-wave.html>
On Wednesday, September 30th, Google will open up their
Wave<http://wave.google.com/>preview to about 100,000 people. Details
are at Google
Wave Developer Blog<http://googlewavedev.blogspot.com/2009/09/what-happened-in-wave-sandbox.html>and
The
Official Google
Blog<http://googleblog.blogspot.com/2009/09/surfs-up-wednesday-google-wave-updat…>I
am excited to announce that we have put together a new
demo <http://www.youtube.com/watch?v=TQ0b1CVRZHs> on how you might leverage
the Wave platform on salesforce.com and how you might leverage
salesforce.com from Wave.
Wave is a truly exciting and seminal Cloud technology. Google Wave was
invented by two brothers Jens
Rasmussen<http://www.crunchbase.com/person/jens-rasmussen>andLars
Rasmussen <http://www.crunchbase.com/person/lars-rasmussen> at Google that
builds on the concepts of AJAX combined with fresh look at Operation
Transformation <http://en.wikipedia.org/wiki/Operational_transformation>.
It's difficult at this point in time to fully understand the ways in which
this technology may transform web based communication. It will be up to the
community of developers working within and without the enterprise to realize
the evident potential of Wave.
>From a technical perspective, Wave has the ability to interact with other
cloud platforms, like the Force.com <http://developer.force.com/> platform.
It is this interaction that we have demonstrated in relatively short time
frame in the demonstration announced in this post.
The use case for the demo is a fictitious Mobile Services Company named
Booyah. This company asks customers to register the products that they
purchase and one piece of information that is returned upon registration is
an email address for support. The email address is actually to a Wave robot
created by the company's service and support organization. When a customer
encounters a problem with their product, they can begin the process of
resolution by contacting the robot from Google Wave.
This initial contact begins an interaction to provide results from the
company's knowledge base, which of course is implemented using
salesforce.com's Service
Cloud<http://www.salesforce.com/crm/customer-service-support/>.
Through a short series of questions and responses a list of possible
solutions to the customers problem can be presented.
Behind the scenes, the robot identifies the customer by her Wave id and can
tailor the interaction based on the customers purchase and support history
providing a personalized yet automated path to resolution. The robot also
creates a case on the salesforce.com side so that this support interaction
can be managed by Booyah.
To take the experience beyond a simple knowledge base search, the customer
also has the option of requesting a live chat with an available support
representative. This is where Google Wave really starts to shine. If none of
the suggested solutions work for the customer, she can simply click a link
to request a chat. Wave sends this request to the robot which in turn makes
a request to salesforce.com to find an available representative. That
representative is then added to the wave as a participant and the
personalized service begins.
Behind the scenes the robot request is evaluated by a salesforce.com web
service built in Force.com <http://force.com/> Code. When the representative
is found the web service creates a task and a reminder for the task and
assigns it to the representative. The representative is, of course, working
in the salesforce.com UI and sees an alert window as the reminder is
triggered. The representative can simply click on the link to the case shown
in the alert window to access the case.
The cool part about this is that when the case was created, enough
information about the wave was included so that the active wave could be
embedded directly into the layout of the Case detail page. This embedded
Wave has full interactive capability so that the support representative can
carry on the conversation with the customer from the Case detail page. And,
the wave, which was the original channel for the support case can be
accessed at any point in time later, including all the interaction with the
customer.
I'm confident that with the creative minds in the
Force.com<http://force.com/>community, as evidenced by the fantastic
Sites created during our Sites
contest, that many more and truly valuable use cases can be implemented by
combining these two amazing platforms.
If you want to learn more about creating Force.com <http://force.com/> and
Wave solutions be sure to attend the Riding the (Google)
Wave<http://www.salesforce.com/dreamforce/DF09/site/learn/tracks/a1y300000004CGe…>session
at
Dreamforce <http://www.salesforce.com/dreamforce/DF09/site/> this year.
Niels
http://nielsmayer.com
Hi,
Is it possible to create a listener, like those for java GUI, to listen for new updates or pages? The goal is to perform an operation everytime a save operation in xwiki occurs.
Thanks in advance!
J. Allen
Hello,
I have a page that was modified 47 times. When i go to see the history, the tab displayed "Results 1 - 20 of 47" but i can see all versions. If i go on the second or the third page, the result is also the complete history list.
Is it a known bug ? I tried to look at the JIRA issues but i did not find any.
Thank you
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 2.0.3 from the pack Jetty/HSQL
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hi,
You can try the following code (xwiki 1.0 syntax) to rename your space Main to Releases :
I guess that you will have to recreate the Main space as it seems to be the default one (with the WebHome page in it)
*******************************************
1 Rename Space
#if($request.space)
#if("doRename"==$request.op)
#set($space=$request.space)
#foreach($item in $xwiki.getSpaceDocsName($request.space))
$xwiki.getDocument("${space}.${item}").rename("${request.newname}.${item.replace('.','_')}")
#end
1.1 Renamed space $space to $request.newname
[Cancel>$doc.fullName]
#end
#if("listRename"==$request.op)
#set($space=$request.space)
1.1 Renaming space $space to $request.newname
#foreach($item in $xwiki.getSpaceDocsName($request.space))
* Renaming $space.$item to ${request.newname}.${item.replace('.','_')}
#end
[Confirm>$doc.fullName?space=$space&newname=$request.newname&op=doRename]
[Cancel>$doc.fullName]
#end
#if("getNewName"==$request.op)
Renaming $request.space
1.1 Renaming ${request.space}
<form method="post" action="$doc.getURL("view", "")" onsubmit="cancelCancelEdit()">
<div class="padded centered">
<input type="hidden" name="space" value="${request.space}" />
<input type="hidden" name="op" value="listRename" />
Enter new name for the space:
<input type="text" name="newname" value="${request.space}" class="panelinput" style="margin:auto;" onfocus="if(this.value=='Title') this.value=''" onblur="if(this.value=='') this.value='Title'"/>
</div>
<div class="padded centered" style="text-align:center;">
<input type="submit" class="button" style="margin:auto;" value="Rename"/>
</div>
</form>
[Cancel>$doc.fullName]
#end
#else
{table}
Space | Action
#foreach($space in $xwiki.spaces)
$space | [Rename>$doc.fullName?space=${space}&op=getNewName]
#end
{table}
#end
******************************************************************
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de Maria Carolina Ramirez
> Envoyé : vendredi 4 décembre 2009 20:37
> À : XWiki Users
> Objet : [xwiki-users] Migrate a space
>
> Hi Everybody,
>
>
>
> I have a problem with Main space. I have several documents in Main
> Space and I need to work in other space created by me. So, I
> don't know
> if I can move all the documents that I have in Main space into my new
> space called Releases. I create the space, but I only found a
> way to do
> that and is to rename page by page, each one separately.
>
>
>
> Thanks in advance!
>
>
>
> Ma. Carolina Ramirez
>
>
>
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hi Everybody,
I have a problem with Main space. I have several documents in Main
Space and I need to work in other space created by me. So, I don't know
if I can move all the documents that I have in Main space into my new
space called Releases. I create the space, but I only found a way to do
that and is to rename page by page, each one separately.
Thanks in advance!
Ma. Carolina Ramirez
Hello
this was the most longest week since i can remember.
Why is that hard to use a css object inserted into a page without messing
all the text of a page?
1. I have a document in a page, to which i (have to ?) add a stylesheet
object at the edit mode. in this stylesheet object i place my css code. This
page has a simple name like: TemplateStyleClass
2. i make another page in the space and import the above page:
$xwiki.ssx.use("TemplateStyleClass") So i automatically
Xwiki new styntax makes us use the: "{{velocity}}{{html}}" when we have
velocity code and tables(html).....if i am wrong feel free to show me an
example that works to show a table or divs or #set(something) without those
2 lines at the begining and at the end;
When i try to do something extremmly simply like having text and tables ,
some in divs, some not, the surprise pops.
{{velocity}}
{{html}}
$xwiki.ssx.use("TemplateStyleClass")
<div class="leftSidePanel">
(% style="font-size: 1em;" %)
== **LEFT** ==
</div>
<div class="rightSidePanel">
(% style="font-size: 1em;" %)
== **RIGHT** ==
</div>
{{/html}}
{{/velocity}}
In XWIKI Sintax() you specify:
**bold**
(% style="text-align:center;color:blue" %)
Centered and blue paragraph
== Header ==
etc.
This means that if someone is using the new sintax (2.0) this is how he
should write the code inside the document and plus, it shows how it will
look.
"== Header ==" this creates sections. it does....if not inserted in a <div>
If i put "{{/html}}{{/velocity}}" before i write
(% style="text-align:center;color:blue" %)
Centered and blue paragraph
and then start all over with these lines : {{velocity}}{{html}} and so oon.
it does not recognize my divs anymore.
This should have been an easy and routine, actually boring stuff to do, to
make a page, import a css where u declare 2 panels, use them in the page and
add simple text and code where you desire.
But it turned out to be a day of a big hassel. If the documentation says :"
(% style="text-align:center;color:blue" %)
Centered and blue paragraph" then this should just work.
Thank you
--
View this message in context: http://n2.nabble.com/xwiki-2-0-syntax-issues-tp4113304p4113304.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
The XWiki development team is pleased to announce the release of XWiki
Enterprise 2.1 Release Candidate 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
It's the first and hopefully only release candidate of the 2.1 version.
Main changes from 2.1 Milestone 1:
* The Blog application is now using the xwiki/2.0 syntax and the new
WYSIWYG editor
* Allow XWiki.XWikiAllGroup to be an implicit group, containing all
the users without explicitly listing them as objects
* When renaming a page, also update the "parent" field of subpages
(Patch from Caleb James De Lisle)
* [Platform] Ability to register a component for the current user or
for the current wiki instead of globally. Note that this will be used
in the near future to allow registering Wiki Macros in multiwiki mode
without the macros being visible in other wikis.
* Updated translations : de (including WYSIWYG), es, fr (including
WYSIWYG), gl, lv, nl, pl, ro, sv, zh
* All Features and Improvements also present in XWiki Enterprise 2.0.4
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise21RC1
Thanks
-The XWiki dev team
Hello!
I'm running with XWiki 2.0.3.
I have the need to print (or export to pdf) a whole space starting with
WebHome.
I tried the following:
[[PDF-Version>>https://www.computer42.org/xwiki/bin/export/XX-XXX/WebHome?format=pdf&inclu…
It has worked in the beginning. But as the space grows duplicate section
names (in different pages) occurs.
This force the following exception:
org.apache.fop.fo.ValidationException: Property ID "HKurzbeschreibung"
(found on "fo:block") previously used; ID values must be unique within a
document! (See position 1142:263)
(full stack trace at the end)
How can I work around this problem? Is any other solution suggested ?
Best regards,
H.-Dirk Schmitt
Error number 11015 in 11: Exception while exporting
Wrapped Exception: Error number 12002 in 12: Exception while exporting PDF
Wrapped Exception: org.apache.fop.fo.ValidationException: Property ID "HKurzbeschreibung" (found on "fo:block") previously used; ID values must be unique within a document! (See position 1142:263)
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while exporting
Wrapped Exception: Error number 12002 in 12: Exception while exporting PDF
Wrapped Exception: org.apache.fop.fo.ValidationException: Property ID "HKurzbeschreibung" (found on "fo:block") previously used; ID values must be unique within a document! (See position 1142:263)
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:64)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:214)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:394)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:636)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 12002 in 12: Exception while exporting PDF
Wrapped Exception: org.apache.fop.fo.ValidationException: Property ID "HKurzbeschreibung" (found on "fo:block") previously used; ID values must be unique within a document! (See position 1142:263)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXMLFO(PdfExportImpl.java:228)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:185)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:235)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:266)
at com.xpn.xwiki.web.ExportAction.exportPDFOrRTF(ExportAction.java:198)
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:61)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:214)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:394)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:636)
Wrapped Exception:
org.apache.fop.fo.ValidationException: Property ID "HKurzbeschreibung" (found on "fo:block") previously used; ID values must be unique within a document! (See position 1142:263)
at org.apache.fop.events.ValidationExceptionFactory.createException(ValidationExceptionFactory.java:38)
at org.apache.fop.events.EventExceptionManager.throwException(EventExceptionManager.java:54)
at org.apache.fop.events.DefaultEventBroadcaster$1.invoke(DefaultEventBroadcaster.java:152)
at $Proxy30.idNotUnique(Unknown Source)
at org.apache.fop.fo.FObj.checkId(FObj.java:172)
at org.apache.fop.fo.FObj.startOfNode(FObj.java:153)
at org.apache.fop.fo.flow.Block.startOfNode(Block.java:138)
at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:324)
at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:171)
at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1042)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:463)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXMLFO(PdfExportImpl.java:212)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:185)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:235)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:266)
at com.xpn.xwiki.web.ExportAction.exportPDFOrRTF(ExportAction.java:198)
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:61)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:214)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:394)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:636)
--
------------------------------------------------------------------------
*
H.-Dirk Schmitt <http://www.computer42.org> *
Dipl. Math.
eMail:/dirk.schmitt@computer42.org/
mobile:/+49 177 616 8564/
phone: /+49 2642 99 41 10/
fax: /+49 2642 99 41 15/
Kripper Str. 35, D-53489 Sinzig
evening,
out of curiosity, is it possible to make something, to write a line of code
without the "#set(" but to not show the result on the page?
for instance:
- if i #set($list = $util.arrayList)
and then
$list.add($x) -just add x to the list, but in the same time shows "true"
printed on the page. i would like to avoid this, and still keep the logic?
:working:
--
View this message in context: http://n2.nabble.com/printing-something-or-using-it-in-a-logic-flow-tp41088…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi I hope you don't mind me resending this. But I really need an answer.
Regards
Linda
________________________________
Fra: Linda Charlotta Ursin
Sendt: 16. november 2009 09:23
Til: users(a)xwiki.org
Emne: Help with hibernate problem
Hi
I get the errors below on my newly installed xwiki. I've followed the instructions in http://www.howtoforge.com/xwiki-tomcat-mysql-debian-etch (whith the exception of point 11, which I was trying to do now)
I've checked and re-checked my hibernate.cfg.xml and my MySQL-configuration and I'm unable to find the problem. Could you please help me solve this?
HTTP Status 500 -
________________________________
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: 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: invalid configuration
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
root cause
com.xpn.xwiki.XWikiException: 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: invalid configuration
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:339)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.
________________________________
Apache Tomcat/5.5
mvh
Linda Ursin
Brukersenteret
_____________________________________________________________________
Brukersenter ved HiST er brukerens første kontaktpunkt ved IKT-relaterte spørsmål og problemer. Vi har betjent telefon mellom 08:00 og 15:00.
Tlf: (73 5)5 99 00
E-post: brukersenter(a)hist.no <mailto:brukersenter@hist.no>
Du finner oss også på Ansattportalen og Studentportalen. Vennligst sjekk våre sider der (spesielt veiviserne) før du melder et problem til oss.
NB! Da vi kommuniserer med deg vedrørende en sak, trenger vi tilbakemelding fra deg også når det fungerer slik at vi kan avslutte saken.
Vi ber om at du, så langt som mulig, benytter den adressen du er blitt tildelt her ved HiST når du kontakter oss pr. e-post. Da vet vi hvem du er med en gang og slipper å finne deg frem, pluss at vi vet at du faktisk jobber/studerer ved HiST.
Hi ...
We use XWiki 1.8 (yes, we're updating soon) for OpenSolaris, and we have
a large and active community in Japan. In fact, Japan is the #1
non-English language driving traffic to our site. I notice that Japanese
is not supported but these 21 languages are:
http://platform.xwiki.org/xwiki/bin/view/Features/I18N
So I'd like to find out if anyone is currently working on localizing the
XWiki resources file into Japanese. Would I look for that info here?
http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources
Thanks,
Jim
#set($count = 0)
#foreach ($d in $xwiki.sort($dateList))
<tr>
<td>$d </td>
<td> $pageList.indexOf[$count] $pageList.indexOf[$count] </td>
<td>delete</td>
</tr>
#set($count = $count +1)
#end
just want to get the something from a list on the possition $count.
Please tell me what i am doing that wrong?
--
View this message in context: http://n2.nabble.com/get-something-with-indexOf-tp4106635p4106635.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
The only group here , from what i see are the ones that have the admin
rights.
tigerhyang wrote:
>
> Hi,
>
> I created a space and grant view, edit comment permission to a group, and
> use the following code to control this space only show to admin users and
> users belong to the group:
>
> #if($xwiki.hasAdminRights() || ($xwiki.hasAccessLevel("view",
> "Bishop.WebHome") ))
> For Bishops Only:
> * [Bishop Space > Bishop.WebHome]
>
>
> #end
>
> But when users in that group login, they can not see the link to the
> space.
>
> can some body give me some hit on this, i am new to xwiki, thanks a lot.
>
--
View this message in context: http://n2.nabble.com/about-space-permission-tp4051740p4108845.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'd just like to wan you that it seems my Xwiki site has been cracked
few hours ago.
One notable change is that copyright string now is "Copyright 2004-2007
(c) XPertNet and Contributing Authors"
I'm still investigating, reason, but please be watchful you also.
Valdis
Thank you Asiri, i will ask the support to update the value and i will test it again.
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de Asiri Rathnayake
> Envoyé : jeudi 3 décembre 2009 15:53
> À : XWiki Users
> Objet : Re: [xwiki-users] Xwiki 2.0.3 : Questions, Problems
> and Feedback
>
> Hi,
>
> You are right. It works really good. Just i don't know why it
> did not in the
> > past (we restarted the server).
> >
> > But we still have a problem with medium/big PPT (more than
> 15Mb). We have a
> > timeout. Can we modify this timeout value ?
> >
>
> Yes, check your xwiki.properties file (importer module configuration
> section), there are several parameters that allow you to fine
> tune office
> import process.
>
> - Asiri
>
>
> > > Ok. Note that the next version of XWord will work with XWiki
> > > 2.0 syntax and
> > > thus might be useful for heavy Word users.
> >
> > We just made the migration to Office XP so don't expect the
> migration to
> > Office 2007 before ten years (at least) ;-)
> >
> > > Thanks again :-)
> >
> > Thanks to you and your team
> >
> > Christophe Périnaud
> >
> >
> --------------------------------------------------------------
> ------------------
> >
> > This e-mail is intended only for the addressee named above.
> It does not
> > bind the sender, except in the case of an existing written
> convention with
> > the addressee. This e-mail may contain material that is
> confidential and
> > privileged for the sole use of the intended recipient. Any
> review, reliance
> > or distribution by others or forwarding without express
> permission is
> > strictly prohibited and may be unlawful. If you are not the intended
> > recipient, please contact the sender and delete all copies.
> >
> > While reasonable precautions have been taken to ensure that
> this e-mail and
> > any attachments are free from any computer virus or similar
> defect, no
> > liability will be accepted in that respect. Anyone
> accessing this e-mail
> > must take their own precautions as to security and virus protection.
> >
> > KBL European Private Bankers S.A., 43 boulevard Royal
> L-2955 Luxembourg,
> > R.C.S. Luxembourg B 6395, T (352) 47 97 1
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hi
> Yes, you can configure it to display those buttons. See
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor
I tried and it works great. Thank you.
I changed the XWikiPreferences to override values for the wysiwyg editor but i will modify the vm file because the class takes too much time to be modify and we plan to have a lot of virtual wikis
> If you use the Office Importer to import a PowerPoint
> presentation, the
> whole presentation will be displayed in a wiki page. Simply
> try importing a
> .ppt file and you'll see ;-)
You are right. It works really good. Just i don't know why it did not in the past (we restarted the server).
But we still have a problem with medium/big PPT (more than 15Mb). We have a timeout. Can we modify this timeout value ?
> Ok. Note that the next version of XWord will work with XWiki
> 2.0 syntax and
> thus might be useful for heavy Word users.
We just made the migration to Office XP so don't expect the migration to Office 2007 before ten years (at least) ;-)
> Thanks again :-)
Thanks to you and your team
Christophe Périnaud
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hello,
So only by using the tools i can use lists and sort right?
this code should work:
$dateList.add($date) //it populates
$sorter.sort($dateList,["${date}:asc"]) //does not sort
##Collections.sort($dateList)
or maybe
$dateList.sort() //does not work
--
View this message in context: http://n2.nabble.com/sort-problem-or-missunderstanding-of-tool-tp4106164p41…
Sent from the XWiki- Users mailing list archive at Nabble.com.
hello
this is by far the most easiest thing ... but
i have some data that i want to simple add in a list
#set($dateList = new ArrayList() )
$dateList.add($dateD)
whyyy is this wrong? how do i else declare a list ? cause it does not work
thank you
--
View this message in context: http://n2.nabble.com/simple-declare-a-list-in-velocity-tp4104854p4104854.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Bubulina,
jQuery can be used with XWiki without complete integration too. I was able
to use jquery for table sorting in a small experiment on my local XWiki
instance today & use it for some UI features in my production XWiki instance
in office. I am not an expert in javascript libraries, however, IMHO I've
never had an instance where prototype & jquery have interefered. I tried the
following steps. Hope this might help you.
1. Created a new page called 'jquery' in XWiki
2. Attached a javascript object to this page called 'jquery' using the
object editor
3. Copied over the javascript code from the minified jQuery downloaded from
the jQuery website into the object created in above step.
4. The object settings are: Use this extension= On Demand, Parse Content=
No, Caching Policy=default
5. Repeated the above steps with the tablesorter.js file available from the
TableSorter 2.0 plugin for jQuery
6. Created the final table sorter demo page. Added the two javascript
includes & html table as follows:
(Note: I use XWiki syntax 1.0 since I am most comfortable with that. You
might want to change the code here for XWiki Syntax 2.0 compatibility).
$xwiki.jsx.use("devmain.jquery")
$xwiki.jsx.use("devmain.tablesorter")
<script>
$(document).ready(function()
{
$("#myTable").tablesorter();
}
);
</script>
<table id="myTable">
<thead>
<tr>
<th>Last Name</th>
<th>First Name</th>
<th>Email</th>
<th>Due</th>
<th>Web Site</th>
</tr>
</thead>
<tbody>
<tr>
<td>Smith</td>
<td>John</td>
<td>jsmith(a)gmail.com</td>
<td>$50.00</td>
<td>http://www.jsmith.com</td>
</tr>
<tr>
<td>Bach</td>
<td>Frank</td>
<td>fbach(a)yahoo.com</td>
<td>$50.00</td>
<td>http://www.frank.com</td>
</tr>
<tr>
<td>Doe</td>
<td>Jason</td>
<td>jdoe(a)hotmail.com</td>
<td>$100.00</td>
<td>http://www.jdoe.com</td>
</tr>
<tr>
<td>Conway</td>
<td>Tim</td>
<td>tconway(a)earthlink.net</td>
<td>$50.00</td>
<td>http://www.timconway.com</td>
</tr>
</tbody>
</table>
That's it!!!
One observation though, using too many javascript libraries is going to slow
down the page. XWiki loads prototype & scriptaculous by default (AFAIK,
these two would definitely get downloaded on every page refresh till XWiki
version 1.9.X). Adding jQuery (which when minified would still be 56
something kb & tablesorter.js which is another 13 kb approx) will definitely
make the page crawl with too many users. I tested the above page with YSlow!
Plugin on firefox & got a Grade D & overall performance score of 62 on
localhost.
Hope the information helps. Thank you Bubulina.
Message: 7
Date: Wed, 2 Dec 2009 14:25:30 +0100
From: Vincent Massol <vincent(a)massol.net>
Subject: Re: [xwiki-users] xwiki and jquery
To: XWiki Users <users(a)xwiki.org>
Message-ID: <A8CC7914-4D2F-4A96-BBF6-98711739C674(a)massol.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hi,
On Dec 2, 2009, at 2:10 PM, Bubulina wrote:
>
> Hello
> Do you know if jquery and xwiki work together? am trying to use the
> table
> sort from jquery and integrated in xwiki i have errors ?
AFAIK the only issue is to make prototype and jquery work together but
that's doable. See for ex;
http://docs.jquery.com/Using_jQuery_with_Other_Libraries
You could also check the mail archives, maybe there are answers there:
http://xwiki.markmail.org/search/?q=jquery
Thanks
-Vincent
Hello,
a while ago I sent the following question to this mailing list:
"categories are part of XWiki Workspaces. However, I cannot find this feature in XWiki Enterprise (neither in the software itself nor the documentation). In general, I consider categories a useful extension to spaces and tags and, thus, would like to have them at my disposal. Is there a way to include categories into XWiki Enterprise?"
I would appreciate some feedback. In January, we will begin two pilots using XWiki and it would be helpful to know how to include categories. I expect that there is a way to do it (this feature is available in Workspaces after all).
Kind regards,
Gerhard
Festo AG & Co. KG
Gerhard Peter
Abteilung IS-KM
Methoden und Prozesse
Plieninger Stra?e 50
73760 Ostfildern-Scharnhausen
Deutschland
Telefon +49(711)347-4530
Telefax +49(711)34754-4530
http://www.festo.com
Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten Adressaten bestimmt. Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieses E-Mails durch unberechtigte Dritte ist unzulaessig. Wir bitten Sie, sich mit dem Absender des E-Mails in Verbindung zu setzen, falls Sie nicht der Adressat dieses E-Mails sind und das Material von Ihrem Computer zu loeschen.
This e-mail and any attachments are confidential and intended solely for the addressee. The perusal, publication, copying or dissemination of the contents of this e-mail by unauthorised third parties is prohibited. If you are not the intended recipient of this e-mail, please delete it and immediately notify the sender.
Rechtsform: Kommanditgesellschaft
Sitz: Esslingen a.N., Registergericht Stuttgart HRA 211583, Umsatzsteuerident-Nummer: DE 145339206
Persoenlich haftende Gesellschafterin: Festo Management Aktiengesellschaft
Sitz: Wien/Oesterreich, Firmenbuchgericht: Handelsgericht Wien, Firmenbuch Nr. FN 303027 d
Vorstand:
Dr. Ekkehard Gericke
Dipl.-Kfm. Alfred Goll
Dr. Ansgar Kriwet
Dr. Thomas Rubbe
Dr. Eberhard Veit (Vorsitzender)
Dr. Ulrich Walker
Aufsichtsratsvorsitzender:
Dr. Wilfried Stoll
Hello
Do you know if jquery and xwiki work together? am trying to use the table
sort from jquery and integrated in xwiki i have errors ?
Thank you
--
View this message in context: http://n2.nabble.com/xwiki-and-jquery-tp4099718p4099718.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
How can I add properties to my spaces?
I'm looking for something like an editable SpaceClass.
And a way to change the "Create Space" form to include the property.
And finally a way to access that property with Groovy.
But I've noticed that there aren't classes for Pages or Spaces.
I'm using XE 2.0.3.
--
Kevin