I upgrade my system from 1.1 to 1.9.1, and I have a problem with:
[http-80-2] WARN rcs.XWikiRCSArchive - isDiff: Archive is
inconsistent. Text and diff field are contradicting. version=1.8322
Dose anybody know how this error uccors and how to solve it?
Thanks!
--
View this message in context: http://n2.nabble.com/XWIKI-1.9.1-error-tp3332661p3332661.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello Chritophe,
Your suggestions worked. I was able to customize the search & split the
basic search into title search & content search.
Really appreciate you taking your time out to answer my question...
Thank you...
> Message: 2
> Date: Fri, 24 Jul 2009 15:38:45 +0530
> From: Dilipkumar Jadhav <jadhav.dilipkumar(a)gmail.com>
> Subject: [xwiki-users] Customized search possibility
> To: users(a)xwiki.org
> Message-ID:
> <a5b160b50907240308r7ab7183uc54b0f1949000272(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello All,
> Is there a way to customize xwiki search. Eg. If we would like to search
> for
> keywords only in the title of the document and not in the content OR if the
> search should return result based only on tag search.
> If it is possible would it be in groovy/velocity or it would involve source
> files...
> Any help is much appreciated.
> Thank you...
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 24 Jul 2009 13:08:53 +0200
> From: "PERINAUD Christophe" <Christophe.PERINAUD(a)kbl-bank.com>
> Subject: Re: [xwiki-users] Customized search possibility
> To: "XWiki Users" <users(a)xwiki.org>
> Message-ID:
> <ED0C09F95BABAD44BA43B7EE2506EE1B015578F9(a)MSLUCLU1.lu.kb.int>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> For the WebSearch engine (the one i use), you can modify the code of the
> WebSearch page for the look and change also the code in the page
> XWiki.WebSearchCode to customize the way to search your words in the wiki
> (page names, content, text fields, textarea fields). Would not be too
> difficult to also add a search in tags (based on the search in tags page)
>
> Hope it helps
>
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part
> de Dilipkumar Jadhav
> Envoy? : vendredi 24 juillet 2009 12:09
> ? : users(a)xwiki.org
> Objet : [xwiki-users] Customized search possibility
>
> Hello All,
> Is there a way to customize xwiki search. Eg. If we would like to search
> for
> keywords only in the title of the document and not in the content OR if the
> search should return result based only on tag search.
> If it is possible would it be in groovy/velocity or it would involve source
> files...
> Any help is much appreciated.
> Thank you...
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
> --------------------------------------------------------------------------------
>
>
Hi,
Is the XAR file correct ? I mean not corrupted with the package.xml file in the root folder ? It looks like as if the load of the XML file has not been made.
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de hel-o
Envoyé : lundi 20 juillet 2009 11:05
À : users(a)xwiki.org
Objet : Re: [xwiki-users] Cannot import default xar
Hi,
theres nothing in the xwiki or tomcat log. But when i enable "hold on every
error" for scripts in Firebug i get the following when i click on the
uploaded xar.
" 74 function getXmlValue(tag, xml)
75 {
>xml is null 76 var nodes = xml.getElementsByTagName(tag);
77 if (nodes.length > 0 && nodes[0].firstChild)
78 return nodes[0].firstChild.data; "
The script is import.js. I use Firefox 3.5.
Thanks
hel.
Sergiu Dumitriu-2 wrote:
>
> hel-o wrote:
>> Hi,
>>
>> just updated to 1.9.1 (from 1.8.4) and tried to import the default xar. I
>> can upload the file but when i click on it to import nothing happens.
>>
>> In the console i get the following error when i upload the file
>>
>> "updateAttachName is not defined
>> function onclick(event) { return updateAttachName(this.form, "Do you want
>> to
>> replace the filename with"); }(click clientX=108, clientY=439)"
>
> Yes, this JS error is not important, and I think it's been fixed in the
> SVN. Are there any errors logged on the server?
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
-----
semantic-web.hel.at
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/Cannot-import-default-xar-tp3283800p3287792.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
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,
For the WebSearch engine (the one i use), you can modify the code of the WebSearch page for the look and change also the code in the page XWiki.WebSearchCode to customize the way to search your words in the wiki (page names, content, text fields, textarea fields). Would not be too difficult to also add a search in tags (based on the search in tags page)
Hope it helps
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Dilipkumar Jadhav
Envoyé : vendredi 24 juillet 2009 12:09
À : users(a)xwiki.org
Objet : [xwiki-users] Customized search possibility
Hello All,
Is there a way to customize xwiki search. Eg. If we would like to search for
keywords only in the title of the document and not in the content OR if the
search should return result based only on tag search.
If it is possible would it be in groovy/velocity or it would involve source
files...
Any help is much appreciated.
Thank you...
_______________________________________________
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
Hello All,
Is there a way to customize xwiki search. Eg. If we would like to search for
keywords only in the title of the document and not in the content OR if the
search should return result based only on tag search.
If it is possible would it be in groovy/velocity or it would involve source
files...
Any help is much appreciated.
Thank you...
Hi,
xml is null so it seems the answer from the request is empty or wrong. Did you try to put some alert commands in the js file on the server to debug ? Maybe there is another way to do but that's how i do with this kind of problem.
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de hel-o
Envoyé : vendredi 24 juillet 2009 08:05
À : users(a)xwiki.org
Objet : Re: [xwiki-users] Cannot import default xar
Hi,
still no import and no idea why.
Any help?
Thanks
hel.
hel-o wrote:
>
>
> thats what i've done first.
>
> I tried to import the xar also in my local installation. Same result.
> Tried step by step with hold on every error in firebug:
>
> When i upload the xar it stopps with the following error:
>
> 1 function onclick(event)
> {
> updateAttachName is not defined 2 return updateAttachName(this.form, "Do
> you want to replace the filename with");
> 3 }
>
> But the file the upload is done and the file displayed.
>
> When i click on the uploaded file it stopps with the following error:
>
> 74 function getXmlValue(tag, xml)
> 75 {
> xml is null 76 var nodes = xml.getElementsByTagName(tag);
> 77 if (nodes.length > 0 && nodes[0].firstChild)
> 78 return nodes[0].firstChild.data;
> 79 else
> 80 return "";
>
> and nothing happens.
>
> Can there be any connection with the switch to utf8?
> I also notized that there was no data base update.
>
> Thanks
> hel.
>
>
-----
semantic-web.hel.at
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/Cannot-import-default-xar-tp3283800p3314065.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
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
Hello all
I try to display a table in a chart and i need some help.
My table is formatted like that :
{table}
Date|Duration|Duration(s)|Start|End
2009.06.16|00:05:22|322|20:11:50|20:17:12
2009.06.18|00:05:12|312|20:11:50|20:17:02
2009.06.19|00:05:32|332|20:11:50|20:17:22
2009.06.25|00:05:52|352|20:11:50|20:17:42
{table}
The idea is to have on the x-axis the dates in the first column, on the y-axis the duration values that are in the 2nd column (i have to force the range, i don't know how to specify a full column for the source)
I inputed that in a wiki page :
#set($pattern='yyyy.MM.dd')
#set($periodStart="2009.06.16")
#set($periodEnd="2009.06.25")
#set($dtf=$xwiki.jodatime.getDateTimeFormatterForPattern($pattern))
<div style="text-align:center;">
{chart:type=time|renderer=xy_line_3d|source=type:table;doc:${doc.space}.STATS-${doc.name};table_number:0;ignore_alpha:true;range:A1-B4|date_format=type:custom;pattern:$pattern|height=250|width=550|domain_axis_date_format_override=type:custom;pattern:dd|domain_axis_lower_date=value:$periodStart;type:custom;pattern:$pattern|domain_axis_upper_date=value:$periodEnd;type:custom;pattern:$pattern|domain_axis_date_tick_unit=unit:day;count:3|domain_axis_tick_mark_position:ende|title=Statistics for batch ${batchName}}
</div>
The result is not what i would like. Duration values are changed from "aa:bb:cc" to an integer with the value "aabbcc"
Is there a way to tell him how to format the values titles of the y-axis ?
Also is there a full documentation of this macro to know all possible parameters that can be provided in ?
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.8 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 Sergiu
Thank you. It works great.
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Sergiu Dumitriu
Envoyé : mercredi 22 juillet 2009 17:20
À : XWiki Users
Objet : Re: [xwiki-users] setContent and multilines
PERINAUD Christophe wrote:
> Hello all
>
> I create a page that will generate a statistics table. I would like to write this table in a page. How i can do that ?
> I tried this :
> $document.setContent("{table}Date|Start|End|Duration \n 20090616|1|2|3 \n{table}")
>
> But the result is :
> Date Start End Durationn 20090616 1 2 3 n
>
> What i would like in my page is
> {table}
> Date|Start|End|Duration
> 20090616|1|2|3
> {table}
>
> Any idea ?
Try using ${util.newline} instead of \n
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
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
Hello all
I create a page that will generate a statistics table. I would like to write this table in a page. How i can do that ?
I tried this :
$document.setContent("{table}Date|Start|End|Duration \n 20090616|1|2|3 \n{table}")
But the result is :
Date Start End Durationn 20090616 1 2 3 n
What i would like in my page is
{table}
Date|Start|End|Duration
20090616|1|2|3
{table}
Any idea ?
Thank you
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.8 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,
I have the brand new XWiki Enterprise 1.9.1.21780. I noticed that the class
wizard has issues
(http://xwiki.markmail.org/message/kl7vi6p2dlc3ouwr?q=FAQTutorial#query:FAQT…),
but I did create a class, a class sheet and a class template manually. I also
added an empty object to the class.
Because the Velocity code is not interpreted the same way in syntax xwiki 2.0,
I followed the syntax help guide included in the XWiki instance and I
protected the code as follows:
{{velocity}}
## replace Main with the Space where you want your documents to be created
## replace the default parent with the one of your choice
## Save this template using the 'Save' button
#set( $class = $doc.name.substring(0,$doc.name.indexOf("Class")))
#set($defaultparent = "XWiki.${class}Class")
#set($defaultweb = "LSQ")
#includeForm("XWiki.ClassSheet")
{{/velocity}}
The Velocity code is parsed but it produce HTML that is not parsed by the Wiki
page. It is displayed as-is:
<h1 id="HClass3ATermeClass"><span>Class: TermeClass</span></h1><p/>
The first thing to do is to <a
href="/xwiki/bin/edit/LSQ/TermeClass?xpage=editclass">Edit the Class</a> to
add properties to it.<p/>
<h2 id="HCreateanewdocument"><span>Create a new document</span></h2><p/>
To create a new document, you should first choose a name for you document<p/>
<form action="" id="newdoc" method="post">
<div>
<input type="hidden" name="parent" value="XWiki.TermeClass"/>
<input type="hidden" name="template" value="LSQ.TermeClassTemplate"/>
<input type="hidden" name="sheet" value="1"/>
Space: <input type="text" name="webname" value="LSQ" size="8"/>
Document: <input type="text" name="name" value="Name of your document"/>
<br/>
<br/>
<input type="button" value="Create this document" onclick='if
(updateName(this.form.name)) {this.form.action="../../inline/" +
this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }'/>
</div>
</form><p/>
<h2 id="HSheetandTemplate"><span>Sheet and Template</span></h2><p/>
<ul class="star">
<li>Sheet: <span class="wikilink"><a
href="/xwiki/bin/view/LSQ/TermeClassSheet">Terme Class Sheet</a></span></li>
<li>Template: <span class="wikilink"><a
href="/xwiki/bin/view/LSQ/TermeClassTemplate">Terme Class
Template</a></span></li>
<li><span class="wikilink"><a
href="/xwiki/bin/view/XWiki/ClassSheet?xpage=code">View the sample code to
show the document list and create new documents</a></span></li>
</ul>
<h2 id="HExistingdocuments"><span>Existing documents</span></h2><p/>
Is there a workaround that to make the page parse this HTML properly or to
produce an equivalent display?
It would be nice to also let people know at
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial (completing
tapaya's remark) -I could do that if I knew the answer.
Thanks
Marc