[xwiki-users] Bulletin Board Creation date

2010-05-12 Thread Ben Stuggler

Hi,

With the Bulletin Board Application, all the first posts has always the same
date and time (2009/06/15 15:30). Is there anybody who have an idea of where
I can correct this little problem?

Thanks

Regards

Ben
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Bulletin-Board-Creation-date-tp5040497p5040497.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Bulletin Board Creation date

2010-05-12 Thread Guillaume Lerouge
Hi Ben,

On Wed, May 12, 2010 at 10:28, Ben Stuggler bobbywaxkil...@gmail.comwrote:


 Hi,

 With the Bulletin Board Application, all the first posts has always the
 same
 date and time (2009/06/15 15:30). Is there anybody who have an idea of
 where
 I can correct this little problem?


Probably by edit in object edition mode of the TopicClass object on the
BBCode.TopicClassTemplate page.

Guillaume


 Thanks

 Regards

 Ben
 --
 View this message in context:
 http://xwiki.475771.n2.nabble.com/Bulletin-Board-Creation-date-tp5040497p5040497.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Bulletin Board Creation date

2010-05-12 Thread Ben Stuggler

exactly!
Thanks a lot, I couldn't imagine it was as simple as that!

Regards 

Ben
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Bulletin-Board-Creation-date-tp5040497p5040580.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Display external data using LiveTable Macro

2010-05-12 Thread Jerome Velociter
Hi Ryszard,

If you want to query external URLs you will need to proxy the requests. The 
url parameter is limited by browsers same origin policy. To proxy the request 
you can have a result page with a groovy script that makes the HTTP requests to 
the external URL and outputs it. It has a performance cost, though, since it 
means 2 requests where you would do only one with an internal URL. 
Another alternative is to make the livetable support JSON with padding 
technique (http://en.wikipedia.org/wiki/JSON#JSONP) ; it's not very complex, it 
just needs an alternative method to fetch the data (instead of AJAX request) + 
an option to activate this method. Though it's a bit touchy security-wise, not 
sure we would want to have this available by default (but could be discussed).

Jerome.


- Ryszard Łach ryl...@gmail.com wrote:

 Hi!
 Does anybody know how to display some external data using LiveTable
 macro? I
 can see in doc, that there is an 'url' alternative datasource
 (alternative
 to className and resultsPage), but I cannot find any examples using
 it.
 
 I've tried to write to the text file the JSON output used by the
 macro, then
 I put the file on some http server and try to use its url in macro
 invocation, but it does not work.
 
 TIA,
 
 R.
 
 -- 
 First they ignore you. Then they laugh at you. Then they
 fight you. Then you win. - Mohandas Gandhi.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] xwiki changes posting to my buzz account.

2010-05-12 Thread Robert Munro
I am getting something strange happening with my xwiki install, when users
register i get a post on my buzz account. does anyone know why this would be
happening? i don't get emails so i don't know how it could be happening.
maybe it build in some rss feed or something?

thanks in advance.

rob munro.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Languages and translation

2010-05-12 Thread Ben Stuggler

Hi,

Does anybody know if it's possible to change the translation for the
interface (for example, the logout button) ?

I would like to avoid overwriting the $!msg.get('logout') which is
definitively not a good solution.

Thanks

Regards

Ben
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Languages-and-translation-tp5041928p5041928.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Languages and translation

2010-05-12 Thread Guillaume Lerouge
Hi Ben,

On Wed, May 12, 2010 at 16:10, Ben Stuggler bobbywaxkil...@gmail.comwrote:


 Hi,

 Does anybody know if it's possible to change the translation for the
 interface (for example, the logout button) ?

 I would like to avoid overwriting the $!msg.get('logout') which is
 definitively not a good solution.


   - Create XWiki.Translations
   - Write logout=Some crazy translations and save the page
   - In the Administration, in the Programming section, add
   XWiki.Translations as an internationalization document bundle and save

IIRC this should override the default translation.

Guillaume


 Thanks

 Regards

 Ben
 --
 View this message in context:
 http://xwiki.475771.n2.nabble.com/Languages-and-translation-tp5041928p5041928.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Languages and translation

2010-05-12 Thread Thomas Mortagne
On Wed, May 12, 2010 at 18:17, Guillaume Lerouge guilla...@xwiki.comwrote:

 Hi Ben,

 On Wed, May 12, 2010 at 16:10, Ben Stuggler bobbywaxkil...@gmail.com
 wrote:

 
  Hi,
 
  Does anybody know if it's possible to change the translation for the
  interface (for example, the logout button) ?
 
  I would like to avoid overwriting the $!msg.get('logout') which is
  definitively not a good solution.


- Create XWiki.Translations

  - Write logout=Some crazy translations and save the page
   - In the Administration, in the Programming section, add
   XWiki.Translations as an internationalization document bundle and save


Note that it does not have to be XWiki.Translations page just create any
page you want to put your translations and add it in the preferences as
Guillaume explained



 IIRC this should override the default translation.


Guillaume


  Thanks
 
  Regards
 
  Ben
  --
  View this message in context:
 
 http://xwiki.475771.n2.nabble.com/Languages-and-translation-tp5041928p5041928.html
  Sent from the XWiki- Users mailing list archive at Nabble.com.
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 



 --
 Guillaume Lerouge
 Product Manager - XWiki SAS
 Skype: wikibc
 Twitter: glerouge
 http://guillaumelerouge.com/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Languages and translation

2010-05-12 Thread Sergiu Dumitriu
On 05/12/2010 06:10 PM, Ben Stuggler wrote:

 Hi,

 Does anybody know if it's possible to change the translation for the
 interface (for example, the logout button) ?

 I would like to avoid overwriting the $!msg.get('logout') which is
 definitively not a good solution.

You mean changing only some of the existing keys, like change logout 
with get out of here? Yes, it's possible, you must put the new 
translations for those keys in a document and register it in 
Administration-Programmin-Internationalization Document Bundles

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Languages and translation

2010-05-12 Thread Vincent Massol

On May 12, 2010, at 6:17 PM, Guillaume Lerouge wrote:

 Hi Ben,
 
 On Wed, May 12, 2010 at 16:10, Ben Stuggler bobbywaxkil...@gmail.comwrote:
 
 
 Hi,
 
 Does anybody know if it's possible to change the translation for the
 interface (for example, the logout button) ?
 
 I would like to avoid overwriting the $!msg.get('logout') which is
 definitively not a good solution.
 
 
   - Create XWiki.Translations
   - Write logout=Some crazy translations and save the page
   - In the Administration, in the Programming section, add
   XWiki.Translations as an internationalization document bundle and save
 
 IIRC this should override the default translation.

Even better, you can find the documentation here:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/InternationalizingApplications

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Wysiwig problem with XWiki Syntax 2.0

2010-05-12 Thread Christian Dionne
Hello,

 

I just upgraded our internal WIKI to the latest version of XWiki Enterprise 
v.2.3.

We were previously using XWIKI enterprise version 1.7

 

The upgrade went smoothly and everything was migrated.  However, the WYSIWYG 
editor for XWiki syntax 2.0 is not working.  When trying to create or edit a 
page in XWiki syntax 2.0, the WYSIWYG never loads.  The WYSIWYG for syntax 
version 1.0 is working fine.

 

I have also noticed tons of Javascript error when trying to load the wysiwyg:

 

Erreur : aucun élément trouvé

Fichier Source : 
http://bupsbugzilla.cogeco.com:8080/xwiki/bin/cancel/CSIL/NTPControllerInfo?ajax=1

Ligne : 1

 

Erreur : missing ; before statement

Fichier Source : 
http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

Ligne : 1439, Colonne : 25

Code Source :

function aFc(){return qb(){return oRc}

 

Erreur : missing ; before statement

Fichier Source : 
http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

Ligne : 2440, Colonne : 5

Code Source :

fu,a.c);bA(a.d[0])}

 

Erreur : missing ( before formal parameters

Fichier Source : 
http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

Ligne : 3105, Colonne : 11

Code Source :

function He);g8(new d8,a,b);a.F[NNc]=xPc;return a}

 

Erreur : missing ; before statement

Fichier Source : 
http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

Ligne : 3568, Colonne : 28

Code Source :

function nq(a){his,a,~~Kub(a))}

 

Erreur : missing ) in parenthetical

Fichier Source : 
http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

Ligne : 3909, Colonne : 104

Code Source :

function Wkc(a){var 
b;Ztb(s2c,(b=$wnd.isc.EventHandler.getKey(),b==undefined?null:b))SVb(this.f,(Lurn
 b}

 

Erreur : missing ) after argument list

Fichier Source : 
http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

Ligne : 4168, Colonne : 111

Code Source :

function wOb(a,b,c){var d,e;d=a.e.qg(b);if(d){e=d.F.value;d.F.value=c;return 
e}else{d=D7(new B7,t(ftb(),etb)[b];!c(c=etb[b]=Xsb(new Vsb,a));return 
c}return Xsb(new Vsb,a)}

 

Erreur : syntax error

Fichier Source : 
http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

Ligne : 4370, Colonne : 122

Code Source :

function YGb(a){var 
b,c,d;b=0;c=a.previousSibling;d=a.nextSibling;while(!!c!!d){++b;c=c.previousSibling;d=d.nextSibling},b.getAttribute(oWc)||xKc);default:return
 true;}}

 

Erreur : syntax error

Fichier Source : 
http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

Ligne : 4525, Colonne : 32

Code Source :

function mhc(a){var 
b,c,d,e,f,g;){e=zxb(f);e.parentNode.replaceChild((hr(),d).createElement($Vc),e)}}

 

Erreur : syntax error

Fichier Source : 
http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

Ligne : 4636, Colonne : 123

Code Source :

function h6(a,b){var c,d,e,f,g,h,i,j;if(a.b==b){return}if(b0){throw Bsb(new 
ysb,fPc+b)}if(a.bb){for(c=0;ca.c;++c){for(d=for(c=0;ca.c;++c){for(d=a.b;db;++d){i=a.d.rows[c];h=(j=(hr(),$doc).createElement(QOc),j.innerHTML=gPc,j);zU(i,h,d)}}}a.b=b}

 

Erreur : illegal character

Fichier Source : 
http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

Ligne : 4713, Colonne : 46

Code Source :

function SGc(b,c,d,e){var a,g,h,i,j;i=fY++;!!$

 

Erreur : illegal character

Fichier Source : 
http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

Ligne : 4764, Colonne : 46

Code Source :

function z9b(a){var b,c,d,e,f,g,h,i,j,w,x,y,z,

 

Erreur : illegal character

Fichier Source : 
http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

Ligne : 4769, Colonne : 237

Code Source :

$Oc='Column index: ',TSc='Columns',mOc='Composite.initWidget() may only be 
called once.',bSc='Confirm',NTc='Contacting 
Server...',dQc='Content',nMc='Content-Type',iXc='Content-type',dTc='Copy 
Level',B2c='Create Link',S_c='Current page',y

 

Erreur : illegal character

Fichier Source : 
http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

Ligne : 4772, Colonne : 174

Code Source :

otype=new 
Ngb;_.vc=Lhb;_.gC=Mhb;_.Cc=Nhb;_.yc=Ohb;_.Ac=Phb;_.Bc=Rhb;_.Dc=Shb;_.Ec=Thb;_.tI=118;_=Uhb.prototype=new
 nhb;_.gC=Xhb;_.tI=119;_=$hb.prototype=new Rv;_.gC=aib;_.tI=

 

Erreur : illegal character

Fichier Source : 

[xwiki-users] Problem with links to Headers after export to HTML

2010-05-12 Thread RobZ

I have taken my Xwiki site and have exported it to HTML.  I have a table of
contents at the top of each page with autogenerates based on the Headers on
the page.  These TOC links work correctly when clicked, they take you to the
appropriate header within the page.

Within the text of the page though, if a link is inserted referencing a
header, it works fine in the wiki, but when exported to HTML the URL is
mangled.  

For example:  A link within a page should be:
xwiki.Main.PageName.html#HHeader Name 
Is instead rendered as:
xwiki.Main.PageName#HHeader Name.html 

This results in a link that does not function correctly.

Has anyone seen this problem?  Is there a way to fix this other than to
search all of the files and manually edit them?

I am using Xwiki Enterprise 2.0.2.24645

Thanks for any help you can provide.

-Rob
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Problem-with-links-to-Headers-after-export-to-HTML-tp5043223p5043223.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with links to Headers after export to HTML

2010-05-12 Thread Marius Dumitru Florea
Hi Rob,

On 05/12/2010 11:23 PM, RobZ wrote:

 I have taken my Xwiki site and have exported it to HTML.  I have a table of
 contents at the top of each page with autogenerates based on the Headers on
 the page.  These TOC links work correctly when clicked, they take you to the
 appropriate header within the page.

 Within the text of the page though, if a link is inserted referencing a
 header, it works fine in the wiki, but when exported to HTML the URL is
 mangled.

 For example:  A link within a page should be:
 xwiki.Main.PageName.html#HHeader Name
 Is instead rendered as:
 xwiki.Main.PageName#HHeader Name.html

 This results in a link that does not function correctly.


 Has anyone seen this problem?  Is there a way to fix this other than to
 search all of the files and manually edit them?

It looks like 
http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/web/ExportURLFactory.java
 
puts the anchor before the .html extension in the createURL method. 
Can you report this bug on 
http://jira.xwiki.org/jira/browse/XWIKI/component/10592?

Thanks,
Marius


 I am using Xwiki Enterprise 2.0.2.24645

 Thanks for any help you can provide.

 -Rob
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Wysiwig problem with XWiki Syntax 2.0

2010-05-12 Thread Marius Dumitru Florea
Hi Christian,

On 05/12/2010 09:58 PM, Christian Dionne wrote:
 Hello,



 I just upgraded our internal WIKI to the latest version of XWiki Enterprise 
 v.2.3.

 We were previously using XWIKI enterprise version 1.7



 The upgrade went smoothly and everything was migrated.  However, the WYSIWYG 
 editor for XWiki syntax 2.0 is not working.  When trying to create or edit a 
 page in XWiki syntax 2.0, the WYSIWYG never loads.  The WYSIWYG for syntax 
 version 1.0 is working fine.



 I have also noticed tons of Javascript error when trying to load the wysiwyg:

I've never seen this before. What browser are you using? Did you clean 
the browser cache after the upgrade? Can you double check that 
resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html 
file from your installation is the same as the one from 
http://maven.xwiki.org/releases/com/xpn/xwiki/platform/xwiki-web-gwt-wysiwyg-server/2.3/xwiki-web-gwt-wysiwyg-server-2.3.war
 
? I checked some of the lines indicated in the JavaScript exceptions you 
pasted below and they don't seem to match.

Thanks,
Marius




 Erreur : aucun élément trouvé

 Fichier Source : 
 http://bupsbugzilla.cogeco.com:8080/xwiki/bin/cancel/CSIL/NTPControllerInfo?ajax=1

 Ligne : 1



 Erreur : missing ; before statement

 Fichier Source : 
 http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

 Ligne : 1439, Colonne : 25

 Code Source :

 function aFc(){return qb(){return oRc}



 Erreur : missing ; before statement

 Fichier Source : 
 http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

 Ligne : 2440, Colonne : 5

 Code Source :

 fu,a.c);bA(a.d[0])}



 Erreur : missing ( before formal parameters

 Fichier Source : 
 http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

 Ligne : 3105, Colonne : 11

 Code Source :

 function He);g8(new d8,a,b);a.F[NNc]=xPc;return a}



 Erreur : missing ; before statement

 Fichier Source : 
 http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

 Ligne : 3568, Colonne : 28

 Code Source :

 function nq(a){his,a,~~Kub(a))}



 Erreur : missing ) in parenthetical

 Fichier Source : 
 http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

 Ligne : 3909, Colonne : 104

 Code Source :

 function Wkc(a){var 
 b;Ztb(s2c,(b=$wnd.isc.EventHandler.getKey(),b==undefined?null:b))SVb(this.f,(Lurn
  b}



 Erreur : missing ) after argument list

 Fichier Source : 
 http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

 Ligne : 4168, Colonne : 111

 Code Source :

 function wOb(a,b,c){var d,e;d=a.e.qg(b);if(d){e=d.F.value;d.F.value=c;return 
 e}else{d=D7(new B7,t(ftb(),etb)[b];!c(c=etb[b]=Xsb(new Vsb,a));return 
 c}return Xsb(new Vsb,a)}



 Erreur : syntax error

 Fichier Source : 
 http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

 Ligne : 4370, Colonne : 122

 Code Source :

 function YGb(a){var 
 b,c,d;b=0;c=a.previousSibling;d=a.nextSibling;while(!!c!!d){++b;c=c.previousSibling;d=d.nextSibling},b.getAttribute(oWc)||xKc);default:return
  true;}}



 Erreur : syntax error

 Fichier Source : 
 http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

 Ligne : 4525, Colonne : 32

 Code Source :

 function mhc(a){var 
 b,c,d,e,f,g;){e=zxb(f);e.parentNode.replaceChild((hr(),d).createElement($Vc),e)}}



 Erreur : syntax error

 Fichier Source : 
 http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

 Ligne : 4636, Colonne : 123

 Code Source :

 function h6(a,b){var c,d,e,f,g,h,i,j;if(a.b==b){return}if(b0){throw Bsb(new 
 ysb,fPc+b)}if(a.bb){for(c=0;ca.c;++c){for(d=for(c=0;ca.c;++c){for(d=a.b;db;++d){i=a.d.rows[c];h=(j=(hr(),$doc).createElement(QOc),j.innerHTML=gPc,j);zU(i,h,d)}}}a.b=b}



 Erreur : illegal character

 Fichier Source : 
 http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

 Ligne : 4713, Colonne : 46

 Code Source :

 function SGc(b,c,d,e){var a,g,h,i,j;i=fY++;!!$



 Erreur : illegal character

 Fichier Source : 
 http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

 Ligne : 4764, Colonne : 46

 Code Source :

 function z9b(a){var b,c,d,e,f,g,h,i,j,w,x,y,z,



 Erreur : illegal character

 Fichier Source : 
 http://bupsbugzilla.cogeco.com:8080/xwiki/resources/js/xwiki/wysiwyg/xwe/C952B2C6C587AE386FE707B50A8BCA53.cache.html

 Ligne : 4769, Colonne : 237

 Code Source :

 $Oc='Column index: 

[xwiki-users] XE 2.3 and search

2010-05-12 Thread Daniel Johansson

I seem to have a problem with the search ever since I upgraded to 2.3. First
off it fails to load the html macro. This is a known issue. I have
repeatedly imported the Main.WebSearch page from the default 2.3 wiki with
no success. After manually adding a new line after the {hmtl} in question
the page renders. But now if I search on something (I have to manually
delete the 'Search..' string in the search box first) I will see the result
list flash by momentarily only to have that wiped and presented with the
empty search page again.
Did something go wrong with my upgrade or what could have happened since no
one else seems to experience this? Everything else seems to work as expected
from what I've tried.

Also, after fixing the Main.WebSearch page I did an import again and now I'm
back to the failed macro message again.
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/XE-2-3-and-search-tp5043839p5043839.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Sql Plugin broken with Xwiki 2.2.5

2010-05-12 Thread Christophe FRAULE
Hello,

Is the Sql Plugin broken with Xwiki 2.2.5 ?

=

1) I have added the xwiki-plugin-sql-1.5.jar file under WEB-INF/lib
2) I have updated xwiki.cfg with:

#-# List of active plugins.
xwiki.plugins=\
com.xpn.xwiki.monitor.api.MonitorPlugin,\
com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin,\
com.xpn.xwiki.plugin.feed.FeedPlugin,\
com.xpn.xwiki.plugin.ldap.LDAPPlugin,\
com.xpn.xwiki.plugin.google.GooglePlugin,\
com.xpn.xwiki.plugin.flickr.FlickrPlugin,\
com.xpn.xwiki.plugin.mail.MailPlugin,\
com.xpn.xwiki.plugin.packaging.PackagePlugin,\
com.xpn.xwiki.plugin.query.QueryPlugin,\
com.xpn.xwiki.plugin.svg.SVGPlugin,\
com.xpn.xwiki.plugin.charts.ChartingPlugin,\
com.xpn.xwiki.plugin.fileupload.FileUploadPlugin,\
com.xpn.xwiki.plugin.image.ImagePlugin,\
com.xpn.xwiki.plugin.userdirectory.UserDirectoryPlugin,\
 
com.xpn.xwiki.plugin.usertools.XWikiUserManagementToolsImpl,\
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPlugin,\
com.xpn.xwiki.plugin.autotag.AutoTagPlugin,\
com.xpn.xwiki.plugin.lucene.LucenePlugin,\
com.xpn.xwiki.plugin.diff.DiffPlugin,\
com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin,\
com.xpn.xwiki.plugin.jodatime.JodaTimePlugin,\
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin,\
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin,\
 
com.xpn.xwiki.plugin.activitystream.plugin.ActivityStreamPlugin, \
com.xpn.xwiki.plugin.watchlist.WatchListPlugin, \
com.xpn.xwiki.wysiwyg.server.plugin.WysiwygPlugin, \
com.xpn.xwiki.plugin.tag.TagPlugin, \
ua.gradsoft.xwikisql.SqlPlugin

and

#---
# Sql Plugin behavior parameters
xwikisql.logSql=1
xwikisql.throwExceptions=1

3) I have created context.xml under META-INF with:

Context
Resource name = jdbc/NC auth = Container
  type = javax.sql.DataSource
  driverClassName = com.mysql.jdbc.Driver
  url = jdbc:mysql://192.168.1.1:3306/NC
  username = nc
  password = nc
  maxActive = 30
  maxIdle = 2
  maxWait = 120 /
/Context

4) I have updated web.xml under WEB-INF with:

  resource-ref
descriptionNC DB Connection/description
res-ref-namejdbc/NC/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
  /resource-ref

I know I can query this database from Xwiki because a groovy script with an
explicit declaration of the database, driver, user password etc and using
the very same query will dump a table.

5) I have updated log4j.properties under WEB-INF/classes with

## Activate Sql Plugin Loggging
log4j.logger.ua.gradsoft.xwikisql=debug

Then, after restarting Tomcat6, when I try:

{{velocity}}
#set ($mydb=$xwiki.sql.getDabase(jdbc/NC))
#set ($rs=$mydb.executeQuery(select ID from TABLE))
returned $rs.getNRows()
#set ($Message = Why can't I get to the DB ?)
 velocity message is $Message
{{/velocity}}

All I get is:

returned $rs.getNRows()
velocity message is Why can't I get to the DB ?

And in my xwiki.log I cannot see any error messages related to the sql
plugin. It's all looking like the sql plugin is totally ignored !!!

Can you tell me what I did wrong ?

Many thanks for your help,

Regards,

Christophe,

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users