[xwiki-users] XEM main wiki inaccessible

2009-12-10 Thread Dilipkumar Jadhav
Hello friends,

We are converting our xwiki to an xwiki farm. I have followed all the
necessary instructions for converting XE to XEM as stated in the XEM space
at
http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HConvertanex
istingXWikiEnterpriseinstance

 

I was able to create a xwiki farm successfully on test machine. However,
when I tried following the same steps & creating xwiki farm on production
server, I can no longer access the main wiki (original XE instance which is
being converted to XEM). The moment I set the xwiki.virtual=1 property,
XWiki becomes inaccessible & keeps routing me to the "redirect on error" URL
defined in xwiki.cfg file. On both the test machine & production server, the
XWiki is 2.1 & JDK/JRE is 1.6 with tomcat 6.0.14 & mysql 5.0.45. The only
difference being the data content inside each wiki instances (the test
machine is almost a new wiki whereas the production one has a lot of data) &
the OS (test machine is Windows XP whereas production is Windows Server
2003). I have downgraded the JDK to 1.5 & still the production XWiki just
becomes inaccessible when converting into an XEM.

 

I was hoping someone could guide me as to what could I check (logs, some
settings) to identify why the production XWiki refuses to start when
xwiki.virtual is set to 1. I have tried really hard for the past couple of
days to figure out what is different but reached nowhere.  If someone has
faced this issue before, could you please guide me. Thank you for your time
friends.

 

 

Regards,

Dilipkumar Jadhav

 

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


Re: [xwiki-users] WYSIWYG slow in IE

2009-12-10 Thread Guillaume Lerouge
Hi Chris,

On Thu, Dec 10, 2009 at 9:41 PM, chrisjasp  wrote:

>
> Just wondering if anyone has had character input delay using IE7/8 in the
> WYSIWYG editor. I don't have that problem on the same computer using
> firefox
> or Chrome. I'm guessing its the JS engine but just wondering if there is a
> fix or workaround.
>

Yes, this is a known problem.

Marius, the WYSIWYG developer, has a fix ready locally. His fix is not
committed yet but it should be available in XWiki Enterprise 2.1.1 or 2.1.2
in the coming weeks.

Thanks for the report!

Guillaume

PS: for the record, here are the issues as described to me by Marius (it's
highly technical but if you're curious...):

There are two big problems:

(1) IE handles the selection/caret differently than FF. Accessing the
selection/caret in FF happens directly, without any transformations. For IE,
I have to transform the information they gave me about the selection/caret
to the format used by FF. This is needed in order to write the same
(high-level) code for both browsers. This transformations take time, not
much, but when you type a character each WYSIWYG plugin requests the
selection/caret information to update its state. So the same transformation
is done multiple times. What I did was simple: I added a cache and I
invalidate the cache whenever the selection/caret changes (thanks to IE
which has a special event for this that I can listen to).

(2) The second problem is that when you type a character, besides updating
their state (whic is specific), each plugin checks for a common set of
constraints (common for all plugins): is the rich text area enable, is the
selection valid, etc. This common set of constranins should be evaluated
just once for all the plugins.


> --
> View this message in context:
> http://n2.nabble.com/WYSIWYG-slow-in-IE-tp4147675p4147675.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


[xwiki-users] WYSIWYG slow in IE

2009-12-10 Thread chrisjasp

Just wondering if anyone has had character input delay using IE7/8 in the
WYSIWYG editor. I don't have that problem on the same computer using firefox
or Chrome. I'm guessing its the JS engine but just wondering if there is a
fix or workaround. 
-- 
View this message in context: 
http://n2.nabble.com/WYSIWYG-slow-in-IE-tp4147675p4147675.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] Access to Bindings in Python

2009-12-10 Thread Josh Eastburn
Thomas,

{{python}}
try:
from com.xpn.xwiki.web import Utils
from org.xwiki.context import Execution
except ImportError:
print 'import error'

try:
context =
Utils.getComponent(Execution.class).getContext().getProperty("xwikicontext")
except:
print 'method call failed'
{{/python}}

outputs: method call failed

I might just have to wait for a Jython fix.


Thanks,

Josh

On Thu, Dec 10, 2009 at 2:26 AM, Thomas Mortagne
wrote:

> On Thu, Dec 10, 2009 at 11:11, Thomas Mortagne
>  wrote:
> > As a workaround you can get the current XWiki ExecutionContext
> > component, here is how to do it in java (until I find how to write it
> > in Python):
> >
> > XWikiContext context = (XWikiContext)
> >
> com.xpn.xwiki.web.Utils.getComponent(Execution.class).getContext().getProperty("xwikicontext");
>
> XWikiContext context = (XWikiContext)
>
> com.xpn.xwiki.web.Utils.getComponent(org.xwiki.context.Execution.class).getContext().getProperty("xwikicontext");
>
> to be more precise
>
> >
> > On Thu, Dec 10, 2009 at 10:51, Thomas Mortagne
> >  wrote:
> >> On Thu, Dec 10, 2009 at 10:15, Thomas Mortagne
> >>  wrote:
> >>> On Wed, Dec 9, 2009 at 22:08, Josh Eastburn <
> jkeastburn+xw...@gmail.com > wrote:
>  Thomas,
> 
>  So far, no luck.
> 
>  I tried a simple script like:
> 
>  {{python}}
>  try:
> print xcontext.action
>  except Exception:
> print 'exception'
>  {{/python}}
> 
>  this outputs:
> 
>  exception
> 
>  Side note:
> 
>  {{python}}
>  try:
> print xcontext.action
>  except Exception as exc:
> print exc
>  {{/python}}
> 
>  Results in a failure to execute the macro.
> >>>
> >>> Indeed it seems there is a bug in Jython JSR 223 implementation. I'm
> >>> looking at it and will report the issue to jython if i can validate
> >>> that it comes from jython.
> >>
> >> I has already been reported, see http://bugs.jython.org/issue1426,
> >> hope it will be fixed soon...
> >>
> >>>
> 
>  -Josh
> 
>  On Wed, Dec 9, 2009 at 4:17 AM, Thomas Mortagne <
> thomas.morta...@xwiki.com>
>  wrote:
> >
> > Hi,
> >
> > On Wed, Dec 9, 2009 at 02:50, Josh Eastburn <
> jkeastburn+xw...@gmail.com <
> jkeastburn%2bxw...@gmail.com >>
>  wrote:
> > > The documentation seems to indicate that bindings normally
> available in
> > > Velocity like $context should be available in other scripting
> languages,
>  but
> > > accessing 'context' in Python (e.g. if context.action == 'inline':)
>  always
> > > gives me problems. Any help?
> >
> > "context" is deprecated and contains JSR223 ScriptContext (it's a
> > reserved keyword). You need to use "xcontext".
> >
> > >
> > > Thanks,
> > >
> > > Josh
> > > ___
> > > 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
>  ___
>  users mailing list
>  users@xwiki.org
>  http://lists.xwiki.org/mailman/listinfo/users
> 
> >>>
> >>>
> >>>
> >>> --
> >>> Thomas Mortagne
> >>>
> >>
> >>
> >>
> >> --
> >> Thomas Mortagne
> >>
> >
> >
> >
> > --
> > Thomas Mortagne
> >
>
>
>
> --
> Thomas Mortagne
> ___
> 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


Re: [xwiki-users] Blog/Clone

2009-12-10 Thread Vincent Massol

On Dec 10, 2009, at 4:30 PM, Vincent Gerris wrote:

>
> hi Vincent,
>
> Thank you for your response.
> I have a full agenda these days, but I will try to evaluate 2.1RC1.

2.1 final is now out... :-)

-Vincent

> We will probably upgrade from 1.9.3 to 2.1 release anyway when it  
> comes out,
> but I am waiting for servers to be made ready to do a new install  
> and off
> course we will report issues on that.
>
> Thank you (and your collegues) for all your work!
> Given there are some issues with XWiki, we do really like the  
> product and
> the way it is built!
>
> Kind regards,
> Vincent Gerris
>
>
> vmassol wrote:
>>
>> Hi Vincent,
>>
>> On Dec 3, 2009, at 11:14 AM, Vincent Gerris wrote:
>>
>>>
>>> Hi all,
>>>
>>> I just did something like this recently and think I can explain it
>>> briefly.
>>> It's a bit of work and I get some errors I do not understand, but it
>>> works.
>>> Here's how I did it:
>>>
>>> 1. Make a complete export of the Wiki in the admin backend.
>>> 2. Extract the XAR you have.
>>> 3. Edit package.xml : remove all lines NOT referring to the Blog
>>> space.
>>> 4. Delete all folders except the Blog one.
>>> 5. Decide the spacenaam you would like to give it: I chose Blogboek
>>> (let's
>>> call it that for the rest of this explanation).
>>> 6. Change the foldername to Blogboek.
>>> 7. Change all references to Blog in Blogboek. I did that by running
>>> a script
>>> on the commandline (using Linux) that replaces .Blog by .Blogboek.
>>> 8. You should now have the package.xml containing the subscription
>>> of the
>>> files in the Blogboek folder. Note that this also contains all the
>>> Blog-posts that were in the Blog space.
>>> 9. To get the categories displayed properly, change line 113 in
>>> CategoriesPanel.xml:
>>> #getCategoriesHierarchy('Blogboek' $tree)
>>> 10. When ready, put everything in a zip and rename it to XAR. MAke
>>> sure the
>>> folder and file are in the root of the zip, not in a folder (chack
>>> by view
>>> it).
>>> 11. Now you can import the XAR in the Xwiki admin backend.
>>>
>>> The only error I encounteres was a list of files named Blog.xxx.xxx
>>> that
>>> were not imported.
>>> It seems somehow there is metadata that knows the files came from
>>> the Blog
>>> space.
>>> The other files (Blogboek.xxx.xxx) are imported correctly, so the
>>> result was
>>> what I wanted:
>>> a seperate space with the complete Blog functionality, seperate from
>>> the
>>> Xwiki core.
>>>
>>> Note that Blog is in development and there are irritating bugs in  
>>> the
>>> editor.
>>> http://n2.nabble.com/Blog-2-0-Upgrade-and-WYSIWYG-td3266917.html#a3266917
>>> http://jira.xwiki.org/jira/browse/XABLOG-63
>>>
>>> I really hope a syntax 2 version will be in a coming Xwiki release
>>> using the
>>> new editor.
>>
>> The syntax 2.0 blog is planned to be in the XE 2.1RC1 release later
>> today :)
>>
>> We'd love if you could try it out and let us know if there are any
>> issue so that we can fix them before the XE 2.1 final planned for  
>> next
>> week.
>>
>> Thanks
>> -Vincent
>>
>>> Thank you all for your help, hope this is usefull!
>>>
>>>
>>>
>>>
>>> vmassol wrote:

 Since this is such a frequently asked question it would be nice if
 someone could:

 1) document it on xwiki.org, either:
 - in the FAQ
 - as a code snippet on http://dev.xwiki.org

 or even better:

 2) create an application (XAR) that does this and upload it on
 http://code.xwiki.org

 Anyone up for this? :)

 Thanks
 -Vincent

 On Jan 8, 2008, at 8:55 PM, Campbell, Timothy D wrote:

> that's what I was thinking but I continue to get an error when I
> create a ClassSheet (it will not allow me to). I keep getting an
> error every time. a 4.26 while parsing velocity error. Do you have
> any information or installation errors I might have? Are certain
> velocity or java files/programs necessary that are not in the
> documentation?
>
> Thanks in advance,
> Tim
>
> 
>
> From: users-boun...@xwiki.org on behalf of Esbach, Brandon
> Sent: Tue 1/8/2008 12:50 PM
> To: XWiki Users
> Subject: Re: [xwiki-users] Blog/Clone
>
>
> Hi Tim,
>
> If you look through Nabble, this has been described a few times
> before.  It's fairly easy to do.
>
> 
>
> From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
> Behalf Of Campbell, Timothy D
> Sent: 08 January 2008 17:39
> To: users@xwiki.org
> Subject: [xwiki-users] Blog/Clone
>
>
> Has anyone successfully created a second blog in a single wiki? If
> so, please give me some guidence on how to do this task. Also,  
> what
> could be a source of a velocity parsing error while creating a  
> class
> sheet? Please respond to help progress my research.
>
> Thanks in advance,
> T

Re: [xwiki-users] Blog/Clone

2009-12-10 Thread Vincent Gerris

hi Vincent,

Thank you for your response.
I have a full agenda these days, but I will try to evaluate 2.1RC1.
We will probably upgrade from 1.9.3 to 2.1 release anyway when it comes out,
but I am waiting for servers to be made ready to do a new install and off
course we will report issues on that.

Thank you (and your collegues) for all your work!
Given there are some issues with XWiki, we do really like the product and
the way it is built!

Kind regards,
Vincent Gerris


vmassol wrote:
> 
> Hi Vincent,
> 
> On Dec 3, 2009, at 11:14 AM, Vincent Gerris wrote:
> 
>>
>> Hi all,
>>
>> I just did something like this recently and think I can explain it  
>> briefly.
>> It's a bit of work and I get some errors I do not understand, but it  
>> works.
>> Here's how I did it:
>>
>> 1. Make a complete export of the Wiki in the admin backend.
>> 2. Extract the XAR you have.
>> 3. Edit package.xml : remove all lines NOT referring to the Blog  
>> space.
>> 4. Delete all folders except the Blog one.
>> 5. Decide the spacenaam you would like to give it: I chose Blogboek  
>> (let's
>> call it that for the rest of this explanation).
>> 6. Change the foldername to Blogboek.
>> 7. Change all references to Blog in Blogboek. I did that by running  
>> a script
>> on the commandline (using Linux) that replaces .Blog by .Blogboek.
>> 8. You should now have the package.xml containing the subscription  
>> of the
>> files in the Blogboek folder. Note that this also contains all the
>> Blog-posts that were in the Blog space.
>> 9. To get the categories displayed properly, change line 113 in
>> CategoriesPanel.xml:
>> #getCategoriesHierarchy('Blogboek' $tree)
>> 10. When ready, put everything in a zip and rename it to XAR. MAke  
>> sure the
>> folder and file are in the root of the zip, not in a folder (chack  
>> by view
>> it).
>> 11. Now you can import the XAR in the Xwiki admin backend.
>>
>> The only error I encounteres was a list of files named Blog.xxx.xxx  
>> that
>> were not imported.
>> It seems somehow there is metadata that knows the files came from  
>> the Blog
>> space.
>> The other files (Blogboek.xxx.xxx) are imported correctly, so the  
>> result was
>> what I wanted:
>> a seperate space with the complete Blog functionality, seperate from  
>> the
>> Xwiki core.
>>
>> Note that Blog is in development and there are irritating bugs in the
>> editor.
>> http://n2.nabble.com/Blog-2-0-Upgrade-and-WYSIWYG-td3266917.html#a3266917
>> http://jira.xwiki.org/jira/browse/XABLOG-63
>>
>> I really hope a syntax 2 version will be in a coming Xwiki release  
>> using the
>> new editor.
> 
> The syntax 2.0 blog is planned to be in the XE 2.1RC1 release later  
> today :)
> 
> We'd love if you could try it out and let us know if there are any  
> issue so that we can fix them before the XE 2.1 final planned for next  
> week.
> 
> Thanks
> -Vincent
> 
>> Thank you all for your help, hope this is usefull!
>>
>>
>>
>>
>> vmassol wrote:
>>>
>>> Since this is such a frequently asked question it would be nice if
>>> someone could:
>>>
>>> 1) document it on xwiki.org, either:
>>> - in the FAQ
>>> - as a code snippet on http://dev.xwiki.org
>>>
>>> or even better:
>>>
>>> 2) create an application (XAR) that does this and upload it on
>>> http://code.xwiki.org
>>>
>>> Anyone up for this? :)
>>>
>>> Thanks
>>> -Vincent
>>>
>>> On Jan 8, 2008, at 8:55 PM, Campbell, Timothy D wrote:
>>>
 that's what I was thinking but I continue to get an error when I
 create a ClassSheet (it will not allow me to). I keep getting an
 error every time. a 4.26 while parsing velocity error. Do you have
 any information or installation errors I might have? Are certain
 velocity or java files/programs necessary that are not in the
 documentation?

 Thanks in advance,
 Tim

 

 From: users-boun...@xwiki.org on behalf of Esbach, Brandon
 Sent: Tue 1/8/2008 12:50 PM
 To: XWiki Users
 Subject: Re: [xwiki-users] Blog/Clone


 Hi Tim,

 If you look through Nabble, this has been described a few times
 before.  It's fairly easy to do.

 

 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
 Behalf Of Campbell, Timothy D
 Sent: 08 January 2008 17:39
 To: users@xwiki.org
 Subject: [xwiki-users] Blog/Clone


 Has anyone successfully created a second blog in a single wiki? If
 so, please give me some guidence on how to do this task. Also, what
 could be a source of a velocity parsing error while creating a class
 sheet? Please respond to help progress my research.

 Thanks in advance,
 Tim
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Blog-Clone-tp507547p4145949.html
Sent from the XWiki- Use

Re: [xwiki-users] Blog/Clone

2009-12-10 Thread Sergiu Dumitriu
On 12/10/2009 02:50 PM, Vincent Gerris wrote:
>
> Hi Sergiu,
>
> The form was not exactly matching our needs, because it leaves the
> categories in the Blog space, while the document are in another (as far I
> could see).

Yes, this is known and should be fixed in the future.

> We have a seperate space for all our documents, because we prefer to not be
> forced to update standard components that we use.
> Since Blog is in the XWiki core now, an update of the core might change our
> functionality, which we would like to keep in our own hands.
>
> I am lloking forward to the Blog being included as a seperate space,
> especially because there are many changes in it related to the XWiki 2
> syntaxis.
>
> Thank you for your quick reply, I hope my answer is usefull.
>
>
> Sergiu Dumitriu-2 wrote:
>>
>> On 12/03/2009 01:01 PM, Guillaume Lerouge wrote:
>>> Hi Vincent,
>>>
>>> can you try this next time you need to create a new blog in your wiki:
>>> http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication#HAddmultipleblogsinyourwikis
>>>
>>> and tell me how it goes?
>>>
>>> Guillaume
>>
>> This is still too complicated. A shorter process:
>>
>> 1. Go to http:///xwiki/bin/view/Blog/Management
>> 2. Use the form in that page.


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


[xwiki-users] Apache Solr installation ?

2009-12-10 Thread Gaci, Hakim
Hi,

I'd like to index files to find them with Lucene search (TXT, PDF, WORD, PPT, 
XML, HTML...)
I found this very useful tool in apache projects : Solr 
(http://lucene.apache.org/solr/)
This works on top of lucene search tool.
Is it possible to install Apache Solr on XWiki ?

Thanks

Please help Logica to respect the environment by not printing this email  / 
Pour contribuer comme Logica au respect de l'environnement, merci de ne pas 
imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie 
so Logica dabei, die Umwelt zu sch�tzen. /  Por favor ajude a Logica a 
respeitar o ambiente nao imprimindo este correio electronico.



This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] (no subject)

2009-12-10 Thread Marius Dumitru Florea
PERINAUD Christophe wrote:
> Hi Marius,
> 
> I created the issue http://jira.xwiki.org/jira/browse/XWIKI-4665 (hope i did 
> it well)

Thanks, I corrected the category.

Marius

> 
>  
> 
>> -Message d'origine-
>> De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] 
>> De la part de Marius Dumitru Florea
>> Envoyé : jeudi 10 décembre 2009 10:30
>> À : XWiki Users
>> Objet : Re: [xwiki-users] (no subject)
>>
>> Hi Christophe,
>>
>> PERINAUD Christophe wrote:
>>> Hello all,
>>>
>>> When going in the WYSIWYG editor and pressing CTRL+G if 
>> have the popup to go to a page that is displayed and it's in 
>> an edit-like mode (i can select different objets used by the 
>> small window)
>>> I did not find any jira issue open with that, do i have to 
>> create a new one ?
>>
>> This is a bug indeed. I can reproduce it on XE 2.1. Please 
>> open a JIRA 
>> issue.
>>
>> We either block hot keys in edit mode or block JavaScript inside the 
>> editing area. We have to make a decision about JavaScript inside the 
>> editing area anyway.
>>
>> Thanks for the report,
>> Marius
>>
>>> 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
>>> ___
>>> 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
>>
> 
> 
> 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@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Blog/Clone

2009-12-10 Thread Vincent Gerris

Hi Sergiu,

The form was not exactly matching our needs, because it leaves the
categories in the Blog space, while the document are in another (as far I
could see).

We have a seperate space for all our documents, because we prefer to not be
forced to update standard components that we use.
Since Blog is in the XWiki core now, an update of the core might change our
functionality, which we would like to keep in our own hands.

I am lloking forward to the Blog being included as a seperate space,
especially because there are many changes in it related to the XWiki 2
syntaxis.

Thank you for your quick reply, I hope my answer is usefull.


Sergiu Dumitriu-2 wrote:
> 
> On 12/03/2009 01:01 PM, Guillaume Lerouge wrote:
>> Hi Vincent,
>>
>> can you try this next time you need to create a new blog in your wiki:
>> http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication#HAddmultipleblogsinyourwikis
>>
>> and tell me how it goes?
>>
>> Guillaume
> 
> This is still too complicated. A shorter process:
> 
> 1. Go to http:///xwiki/bin/view/Blog/Management
> 2. Use the form in that page.
> 
> -- 
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Blog-Clone-tp507547p4145419.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] "Previous text" in the translation file

2009-12-10 Thread Thomas Mortagne
On Thu, Dec 10, 2009 at 13:59, Ecaterina Valica  wrote:
> He is talking about:
> http://incubator.myxwiki.org/xwiki/bin/download/Main/WebHome/translations.png
>

Ok, i was looking at
http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources?action=review&language=gl
(Galician translation to review) and did not seen anything like that
so i did not understand.

> I don't know if it has some functionality. If it does then we should mark it
> with another style, if not we should remove it.
> ___
> 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] "Previous text" in the translation file

2009-12-10 Thread Guillaume Lerouge
Hi,

On Thu, Dec 10, 2009 at 1:59 PM, Ecaterina Valica  wrote:

> He is talking about:
>
> http://incubator.myxwiki.org/xwiki/bin/download/Main/WebHome/translations.png
>
> I don't know if it has some functionality. If it does then we should mark
> it
> with another style, if not we should remove it.
>

Indeed. In short, it gives the text currently being displayed in XWiki for
the given translation key. When empty, it means that the default english
text is displayed in the chosen language because no translation is
available.

To summarize: you don't really care about it, it's only there for
informational purposes.

Guillaume


> ___
> 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] "Previous text" in the translation file

2009-12-10 Thread Ecaterina Valica
He is talking about:
http://incubator.myxwiki.org/xwiki/bin/download/Main/WebHome/translations.png

I don't know if it has some functionality. If it does then we should mark it
with another style, if not we should remove it.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How do i set the main page?

2009-12-10 Thread AlonsoIR

please, nobody could help me? 




AlonsoIR wrote:
> 
> hi, im totally newbee, i almost have finished a page and a i need to know
> how to set as main page. If i click on logo i need that page loaded, if i
> enter the url www.mywiki.com, that page must be loaded.
> 
> 
> how do i do that?
> 
> regards
> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/How-do-i-set-the-main-page-tp4140183p4145166.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] (no subject)

2009-12-10 Thread PERINAUD Christophe
Hi Marius,

I created the issue http://jira.xwiki.org/jira/browse/XWIKI-4665 (hope i did it 
well)

 

> -Message d'origine-
> De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] 
> De la part de Marius Dumitru Florea
> Envoyé : jeudi 10 décembre 2009 10:30
> À : XWiki Users
> Objet : Re: [xwiki-users] (no subject)
> 
> Hi Christophe,
> 
> PERINAUD Christophe wrote:
> > Hello all,
> > 
> > When going in the WYSIWYG editor and pressing CTRL+G if 
> have the popup to go to a page that is displayed and it's in 
> an edit-like mode (i can select different objets used by the 
> small window)
> > I did not find any jira issue open with that, do i have to 
> create a new one ?
> 
> This is a bug indeed. I can reproduce it on XE 2.1. Please 
> open a JIRA 
> issue.
> 
> We either block hot keys in edit mode or block JavaScript inside the 
> editing area. We have to make a decision about JavaScript inside the 
> editing area anyway.
> 
> Thanks for the report,
> Marius
> 
> > 
> > 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
> > ___
> > 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
> 


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@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [myxwiki] XWiki Enterprise 2.1 Upgrade

2009-12-10 Thread Jean-Vincent Drean
Hello,

myxwiki.org has been upgraded to XE 2.1, if you own a wiki hosted
there you should have a look at :
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise21

We also strongly recommend an upgrade to the latest wiki version. To
upgrade you must download XE 2.1 XWiki XAR from :
http://www.xwiki.org/xwiki/bin/view/Main/Download
And follow the upgrade guide available at :
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradingwikidocuments

To be notified of the myxwiki.org server upgrade you can follow
myxwiki on twitter:
http://twitter.com/myxwiki

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


Re: [xwiki-users] Access to Bindings in Python

2009-12-10 Thread Thomas Mortagne
On Thu, Dec 10, 2009 at 11:11, Thomas Mortagne
 wrote:
> As a workaround you can get the current XWiki ExecutionContext
> component, here is how to do it in java (until I find how to write it
> in Python):
>
> XWikiContext context = (XWikiContext)
> com.xpn.xwiki.web.Utils.getComponent(Execution.class).getContext().getProperty("xwikicontext");

XWikiContext context = (XWikiContext)
com.xpn.xwiki.web.Utils.getComponent(org.xwiki.context.Execution.class).getContext().getProperty("xwikicontext");

to be more precise

>
> On Thu, Dec 10, 2009 at 10:51, Thomas Mortagne
>  wrote:
>> On Thu, Dec 10, 2009 at 10:15, Thomas Mortagne
>>  wrote:
>>> On Wed, Dec 9, 2009 at 22:08, Josh Eastburn  
>>> wrote:
 Thomas,

 So far, no luck.

 I tried a simple script like:

 {{python}}
 try:
    print xcontext.action
 except Exception:
    print 'exception'
 {{/python}}

 this outputs:

 exception

 Side note:

 {{python}}
 try:
    print xcontext.action
 except Exception as exc:
    print exc
 {{/python}}

 Results in a failure to execute the macro.
>>>
>>> Indeed it seems there is a bug in Jython JSR 223 implementation. I'm
>>> looking at it and will report the issue to jython if i can validate
>>> that it comes from jython.
>>
>> I has already been reported, see http://bugs.jython.org/issue1426,
>> hope it will be fixed soon...
>>
>>>

 -Josh

 On Wed, Dec 9, 2009 at 4:17 AM, Thomas Mortagne 
 wrote:
>
> Hi,
>
> On Wed, Dec 9, 2009 at 02:50, Josh Eastburn 
> >
 wrote:
> > The documentation seems to indicate that bindings normally available in
> > Velocity like $context should be available in other scripting languages,
 but
> > accessing 'context' in Python (e.g. if context.action == 'inline':)
 always
> > gives me problems. Any help?
>
> "context" is deprecated and contains JSR223 ScriptContext (it's a
> reserved keyword). You need to use "xcontext".
>
> >
> > Thanks,
> >
> > Josh
> > ___
> > 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
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

>>>
>>>
>>>
>>> --
>>> Thomas Mortagne
>>>
>>
>>
>>
>> --
>> Thomas Mortagne
>>
>
>
>
> --
> Thomas Mortagne
>



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


Re: [xwiki-users] Access to Bindings in Python

2009-12-10 Thread Thomas Mortagne
As a workaround you can get the current XWiki ExecutionContext
component, here is how to do it in java (until I find how to write it
in Python):

XWikiContext context = (XWikiContext)
com.xpn.xwiki.web.Utils.getComponent(Execution.class).getContext().getProperty("xwikicontext");

On Thu, Dec 10, 2009 at 10:51, Thomas Mortagne
 wrote:
> On Thu, Dec 10, 2009 at 10:15, Thomas Mortagne
>  wrote:
>> On Wed, Dec 9, 2009 at 22:08, Josh Eastburn  
>> wrote:
>>> Thomas,
>>>
>>> So far, no luck.
>>>
>>> I tried a simple script like:
>>>
>>> {{python}}
>>> try:
>>>    print xcontext.action
>>> except Exception:
>>>    print 'exception'
>>> {{/python}}
>>>
>>> this outputs:
>>>
>>> exception
>>>
>>> Side note:
>>>
>>> {{python}}
>>> try:
>>>    print xcontext.action
>>> except Exception as exc:
>>>    print exc
>>> {{/python}}
>>>
>>> Results in a failure to execute the macro.
>>
>> Indeed it seems there is a bug in Jython JSR 223 implementation. I'm
>> looking at it and will report the issue to jython if i can validate
>> that it comes from jython.
>
> I has already been reported, see http://bugs.jython.org/issue1426,
> hope it will be fixed soon...
>
>>
>>>
>>> -Josh
>>>
>>> On Wed, Dec 9, 2009 at 4:17 AM, Thomas Mortagne 
>>> wrote:

 Hi,

 On Wed, Dec 9, 2009 at 02:50, Josh Eastburn 
 >
>>> wrote:
 > The documentation seems to indicate that bindings normally available in
 > Velocity like $context should be available in other scripting languages,
>>> but
 > accessing 'context' in Python (e.g. if context.action == 'inline':)
>>> always
 > gives me problems. Any help?

 "context" is deprecated and contains JSR223 ScriptContext (it's a
 reserved keyword). You need to use "xcontext".

 >
 > Thanks,
 >
 > Josh
 > ___
 > 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
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>>
>>
>> --
>> Thomas Mortagne
>>
>
>
>
> --
> Thomas Mortagne
>



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


Re: [xwiki-users] Access to Bindings in Python

2009-12-10 Thread Thomas Mortagne
On Thu, Dec 10, 2009 at 10:15, Thomas Mortagne
 wrote:
> On Wed, Dec 9, 2009 at 22:08, Josh Eastburn  
> wrote:
>> Thomas,
>>
>> So far, no luck.
>>
>> I tried a simple script like:
>>
>> {{python}}
>> try:
>>    print xcontext.action
>> except Exception:
>>    print 'exception'
>> {{/python}}
>>
>> this outputs:
>>
>> exception
>>
>> Side note:
>>
>> {{python}}
>> try:
>>    print xcontext.action
>> except Exception as exc:
>>    print exc
>> {{/python}}
>>
>> Results in a failure to execute the macro.
>
> Indeed it seems there is a bug in Jython JSR 223 implementation. I'm
> looking at it and will report the issue to jython if i can validate
> that it comes from jython.

I has already been reported, see http://bugs.jython.org/issue1426,
hope it will be fixed soon...

>
>>
>> -Josh
>>
>> On Wed, Dec 9, 2009 at 4:17 AM, Thomas Mortagne 
>> wrote:
>>>
>>> Hi,
>>>
>>> On Wed, Dec 9, 2009 at 02:50, Josh Eastburn 
>>> >
>> wrote:
>>> > The documentation seems to indicate that bindings normally available in
>>> > Velocity like $context should be available in other scripting languages,
>> but
>>> > accessing 'context' in Python (e.g. if context.action == 'inline':)
>> always
>>> > gives me problems. Any help?
>>>
>>> "context" is deprecated and contains JSR223 ScriptContext (it's a
>>> reserved keyword). You need to use "xcontext".
>>>
>>> >
>>> > Thanks,
>>> >
>>> > Josh
>>> > ___
>>> > 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
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Thomas Mortagne
>



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


Re: [xwiki-users] (no subject)

2009-12-10 Thread Marius Dumitru Florea
Hi Christophe,

PERINAUD Christophe wrote:
> Hello all,
> 
> When going in the WYSIWYG editor and pressing CTRL+G if have the popup to go 
> to a page that is displayed and it's in an edit-like mode (i can select 
> different objets used by the small window)
> I did not find any jira issue open with that, do i have to create a new one ?

This is a bug indeed. I can reproduce it on XE 2.1. Please open a JIRA 
issue.

We either block hot keys in edit mode or block JavaScript inside the 
editing area. We have to make a decision about JavaScript inside the 
editing area anyway.

Thanks for the report,
Marius

> 
> 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
> ___
> 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


Re: [xwiki-users] Access to Bindings in Python

2009-12-10 Thread Thomas Mortagne
On Wed, Dec 9, 2009 at 22:08, Josh Eastburn  wrote:
> Thomas,
>
> So far, no luck.
>
> I tried a simple script like:
>
> {{python}}
> try:
>    print xcontext.action
> except Exception:
>    print 'exception'
> {{/python}}
>
> this outputs:
>
> exception
>
> Side note:
>
> {{python}}
> try:
>    print xcontext.action
> except Exception as exc:
>    print exc
> {{/python}}
>
> Results in a failure to execute the macro.

Indeed it seems there is a bug in Jython JSR 223 implementation. I'm
looking at it and will report the issue to jython if i can validate
that it comes from jython.

>
> -Josh
>
> On Wed, Dec 9, 2009 at 4:17 AM, Thomas Mortagne 
> wrote:
>>
>> Hi,
>>
>> On Wed, Dec 9, 2009 at 02:50, Josh Eastburn 
>> >
> wrote:
>> > The documentation seems to indicate that bindings normally available in
>> > Velocity like $context should be available in other scripting languages,
> but
>> > accessing 'context' in Python (e.g. if context.action == 'inline':)
> always
>> > gives me problems. Any help?
>>
>> "context" is deprecated and contains JSR223 ScriptContext (it's a
>> reserved keyword). You need to use "xcontext".
>>
>> >
>> > Thanks,
>> >
>> > Josh
>> > ___
>> > 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
> ___
> 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] "Previous text" in the translation file

2009-12-10 Thread Thomas Mortagne
2009/12/9  :
>
>
>   Hi all!
>
>   Sorry if this question has already been reviewed, but I've been
> searching the users mail  and found nothing.
>
>   I've been working on the Galician translation of the Xwiki Core for
> a few weeks and today I have found that each and every English string
> has a "previous text" added to it. Can anybody help me find out what
> this means and wether it has any influence on the translations?
>

I'm not sure to understand what you mean exactly. Could you point a
page or share some screenshot about your issue ?

>   Thank you very much for your help!
>
>   Alberto Álvarez Lugrís
>
>   --
>
> ===
> Alberto Álvarez Lugrís 
> Facultade de Filoloxía e Tradución
> Universidade de Vigo
> Campus Universitario Lagoas/Marcosende s/n
> 36310 Vigo
> Pontevedra
>
> Tel.: 986 812 329
> Fax:  986 812 380
>
> http://webs.uvigo.es/webatg/viceversa/viceversa.htm [Revista Viceversa]
> http://www.tradutoresgalegos.org     [Asociación de Tradutores Galegos]
> http://www.bivir.com                               [Biblioteca Virtual]
> http://www.uvigo.es/webs/h06/weba573/indice.html          [Área de T&I]
> http://webs.uvigo.es/alugris                             [Docencia]
> ===
>
> *
> ___
> 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