Re: [xwiki-users] Anyone using XWiki with an open source Java runtime?

2009-09-30 Thread Anca Paula Luca
Hi Vincent,

On 09/30/2009 10:19 AM, Vincent Massol wrote:
> Hi,
>
> I'm interested to know if XWiki works with an open source JDK.
>
> Anyone using one for XWiki?

I remember 2 years ago I tried to run (or compile? I'm not that sure) XWiki 
with 
OpenJDK, the default java in ubuntu. It wasn't working out of the box. I also 
remember guiding other XWiki beginners later to install the sun jdk (on ubuntu) 
because the default OpenJDK didn't do it.

Happy coding,
Anca

>
> Thanks
> -Vincent
>
> ___
> 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] Search box in IE8

2009-08-19 Thread Anca Paula Luca
Dilipkumar Jadhav wrote:
> Hello All,
> This thing just came to notice when we upgraded our Internet Explorer to
> IE8. The search box that populates using  pulls up at the very
> bottom of the page in IE8.
> The same box works normally and shows up at the top of the page in IE7 or
> Firefox 3.X.X.
> In IE8, when I enable the compatibility mode, the box works normally & shows
> up at the top of the page.
> Although, I've not tried this solution, but I understand that adding this
> meta tag at the top of any html/jsp page should help circumnavigate this
> issue :
> 

Hi there,

I suppose you need to add this meta tag to all the XWiki pages, so that you're 
sure that any page you'd load, the content gets interpreted as in IE7. To do 
this, go to your installation's templates folder (/webapps/xwiki/templates) and 
edit the htmlheader.vm file to add, next to the other  tags, this one.

Hope this helps,
Anca

> However, I am not sure which page to add this so that the search box works &
> appears at the top of the page.
> Any help...
> ___
> 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] XE Installation with PostgreSQL or HSQLDB Succeeds. With MySQL Fails.

2009-08-17 Thread Anca Paula Luca
Hi Raymond,

see below

Raymond LeClair wrote:
> Currently writing special pages to extend functionality of MediaWiki,  
> but considering using XWiki instead.
> 
> Experimenting with XWiki Enterprise by attempting install of xwiki- 
> enterprise-web-1.9.3.war:
> 
> In Apache Tomcat 5.5.23
> Using PostgreSQL 8.4.0 -- Succeeds
> Or HSQLDB 1.8.0.7 -- Succeeds
> But MySQL 5.0.45 -- Fails.
> 
> MySQL is required for XWiki Enterprise Manger, so I need to use MySQL.
> 
> I get this error in the browser:
> 
> 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: Could not create a DBCP pool. There is an error in the  
> hibernate configuration file, please review it.
> 
> I get this additionally in catalina.out:
> 
> ** BEGIN NESTED EXCEPTION **
> 
> java.net.ConnectException
> MESSAGE: Connection refused
> 
> STACKTRACE:
> 
> java.net.ConnectException: Connection refused

That's all the stacktrace you get in the log files?

> 
> I have installed mysql-connector-java-5.0.8-bin.jar in /var/lib/ 
> tomcat5/webapps/xwiki/WEB-INF/lib.
> 
> I have modified /var/lib/tomcat5/webapps/xwiki/WEB- 
> INF.hibernate.cfg.xml as follows:
> 
> 
> jdbc:mysql://localhost/xwiki? 
> useServerPrepStmts=false&useUnicode=true&\
> characterEncoding=UTF-8&sessionVariables=sql_mode=''
> xwiki
> PASSWORD
> com.mysql.jdbc.Driver property>
> org.hibernate.dialect.MySQLDialect property>
>  name 
> = 
> "connection 
> .provider_class">com.xpn.xwiki.store.DBCPConnectionProvider
> 2
> 2
> 
> 
> 
> I created an xwiki database and granted privileges in MySQL as follows:
> 
> $ mysql -u root -p
> 
> mysql> create database xwiki;
> mysql> grant all privileges on xwiki.* to xw...@127.0.0.1 identified  
> by 'xwiki';
> mysql> grant all privileges on xwiki.* to xw...@localhost identified  
> by 'xwiki';
> 
> OR
> 
> mysql> create database xwiki;
> mysql> grant all privileges on xwiki.* to xw...@127.0.0.1 identified  
> by 'SAMEASROOT';
> mysql> grant all privileges on xwiki.* to xw...@localhost identified  
> by 'SAMEASROOT';

I assume you did try to connect to mysql with the xwiki user from the mysql 
client and it worked, to make sure the user and its password are all fine.

Also, doublecheck the port of your mysql and the port hibernate is trying to 
connect to (by default it's trying to connect to 3306, make sure mysql is 
accepting connections at this port).

Not of very much help, but anything I can think of right now. No further than 
last thursday we did an installation of xwiki enterprise 1.9.3 on tomcat 
(5.5.25) + mysql (5.0.51) and it worked pretty smooth.

Happy hacking,
Anca

> 
> Note that PASSWORD in the hibernate.cfg.xml file was set to either  
> 'xwiki', or to the same password as for the root MySQL user, with the  
> thought that perhaps the Hibernate configuration assumed an empty root  
> MySQL user password, and that, somehow, this might help.
> 
> I then modified /var/lib/tomcat5/webapps/xwiki/WEB- 
> INF.hibernate.cfg.xml as follows, since this is what the installation  
> instructions actually show, that is, omitting some MySQL parameters:
> 
> 
> jdbc:mysql://localhost/xwiki property>
> xwiki
> PASSWORD
> com.mysql.jdbc.Driver property>
> org.hibernate.dialect.MySQLDialect property>
>  name 
> = 
> "connection 
> .provider_class">com.xpn.xwiki.store.DBCPConnectionProvider
> 2
> 2
> 
> 
> 
> I have tried many permutations and scoured installation instructions,  
> FAQ, and archives. I definitely need some help here.
> 
> ___
> 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] WYSIWYG editor link function cannot work

2009-07-14 Thread Anca Paula Luca
Anca Paula Luca wrote:
> ArielWang wrote:
>> I update XWIKI from 1.1 to 1.8 and I need to keep some VM.
> 
> Which exact version of 1.8 are you using?
> 
>> All JS files are imported into the editor and it seems all functions are
>> correct except the "link" ->"wiki page".
>> When I click "link" -> "wiki page" shown below:
>>
>> http://n2.nabble.com/file/n3254443/image001.png 
>>
>> It always showing "Loading data……", see the screenshot below:
>> http://n2.nabble.com/file/n3254443/image003.png 
>>
>> I find the problem is some code cannot be parsed:
>> https://www.denver.com/xwiki/bin/edit/Test/$request.getContextPath()/rest/wikis/$context.getDatabase()/spaces?r=508400
>> The italic words are contents cannot be parsed.
>>
>> The right URL should
>> be:http://www.denver.com/xwiki/rest/wikis/xwiki/spaces?r=788517
>>
>> I think $request.getContextPath() should be parsed to:
>> http://www.denver.com/xwiki ;
>> and $context.getDatabase() should be parsed to: xwiki
>>
>> I don't know whether I am right or not.
>> Is there anybody can point out the problem why the code cannot be parsed
>> correctly?
> 
> Please check in webapps/xwiki/templates/editwysiwyg.vm, around the top of the 

this was supposed to be:
webapps/xwiki/templates/editwysiwygnew.vm


> file, that you have the line:
> 
> $xwiki.jsfx.use("js/xwiki/xwikiexplorer/xwikiexplorer.js", true)
> 
> to include the tree javascript.
> 
> Also, can you please in check Main/AllDocs, the "Tree" view 
> (xwiki/bin/view/Main/AllDocs?view=tree), if the documents tree there loads 
> correctly.
> 
> 
> Happy hacking,
> Anca
> 
>> I will be so appreciated!
> ___
> 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] WYSIWYG editor link function cannot work

2009-07-14 Thread Anca Paula Luca
ArielWang wrote:
> I update XWIKI from 1.1 to 1.8 and I need to keep some VM.

Which exact version of 1.8 are you using?

> All JS files are imported into the editor and it seems all functions are
> correct except the "link" ->"wiki page".
> When I click "link" -> "wiki page" shown below:
> 
> http://n2.nabble.com/file/n3254443/image001.png 
> 
> It always showing "Loading data……", see the screenshot below:
> http://n2.nabble.com/file/n3254443/image003.png 
> 
> I find the problem is some code cannot be parsed:
> https://www.denver.com/xwiki/bin/edit/Test/$request.getContextPath()/rest/wikis/$context.getDatabase()/spaces?r=508400
> The italic words are contents cannot be parsed.
> 
> The right URL should
> be:http://www.denver.com/xwiki/rest/wikis/xwiki/spaces?r=788517
> 
> I think $request.getContextPath() should be parsed to:
> http://www.denver.com/xwiki ;
> and $context.getDatabase() should be parsed to: xwiki
> 
> I don't know whether I am right or not.
> Is there anybody can point out the problem why the code cannot be parsed
> correctly?

Please check in webapps/xwiki/templates/editwysiwyg.vm, around the top of the 
file, that you have the line:

$xwiki.jsfx.use("js/xwiki/xwikiexplorer/xwikiexplorer.js", true)

to include the tree javascript.

Also, can you please in check Main/AllDocs, the "Tree" view 
(xwiki/bin/view/Main/AllDocs?view=tree), if the documents tree there loads 
correctly.


Happy hacking,
Anca

> 
> I will be so appreciated!
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Hello - I'm new to XWiki

2009-07-03 Thread Anca Paula Luca
MAI QUOC, Phuong-Tram wrote:
> Hello, i'm new to XWiki
> 
> I am more used to MediaWiki, thanks to Wikipedia and i was looking for two 
> features from MediaWiki :
> 
> - the Category thing : the ability to filter pages by category. Maybe Xwiki 
> does have this functionnality but i have search macro and snippets and FAQs 
> but i can't find how Xwiki named this functionnality.

XWiki allows grouping documents in "spaces", some sort of directories for the 
docs, for simple, one-level categories.

Also, you can attach tags to documents (see the information tab at the bottom 
of 
a document) which you can use for filtering afterwards (checkout the tag cloud 
on the main page of your wiki /xwiki/bin/view/Main/WebHome).

> 
> - the Modele thing : I would like to create several pages on a same modele : 
> like zoologic classification record : all pages should use the same template 
> : name, nature, classification, sub classification etc… Is it possible to 
> create a canvas with XWiki (maybe a page) and include the page with 
> parameters so, once opened, the page will have all the fields fill by the 
> parameters ?
> 

For the model, you can define classes (types) and instances of the types 
(objects) in documents, as well as templates to create documents of these types 
and sheets to configure how these types are displayed.

Checkout the FAQ and TODO application tutorials here: 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Tutorials . Be warned that 
they are slightly outdated, since changes happened in the mean time (for 
example, they use xwiki/1.0 syntax documents although in the current version 
the 
default is 2.0). But the model and the concepts are the same.

Happy hacking,
Anca

>  
> 
>  
> 
> Cordialement
> 
> Best Regards
> 
>  
> 
> MAI Phương Trâm
> 
> Nouvelles Frontières Informatique
> 
> =
> 
> NOUVELLES FRONTIERES
> 
> 74, rue de Lagny
> 
> API 4A10
> 
> 93107 MONTREUIL CEDEX
> 
> +33(0)1 48 51 81 21
> 
>  
> 
> ___
> 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] Broken TreeGrid images

2009-06-27 Thread Anca Paula Luca
Andawyr wrote:
> Version: 1.8.1
> 
> I'm having a problem with TreeGrids, as part of SmartClient.  When trying to
> insert a link to a Wiki space/page, the tree grid embedded in the popup
> window references the following URL for the tree images:
> 
> http://.../xwiki/skins/albatross/js/smartclient/skins/Enterprise/images/TreeGrid/opener_closed.gif
> 
> The path should be:
> 
> http://.../xwiki/bin/skin/resources/js/smartclient/skins/Enterprise/images/TreeGrid/opener_closed.gif
> 
> Where do I fix this?  I also can't click on the 'New page' link in the popup
> window, but I think this is related to the incorrect URL

Hi Andawyr,

It's http://jira.xwiki.org/jira/browse/XWIKI-3582 which is fixed in higher 
versions.
In your XWiki webapp dir in the container, go to
resources/js/smartclient/initsc.js
and replace the isomorphicDir assignation with this:
var isomorphicDir = "${request.getContextPath()}/resources/js/smartclient/".

Have fun,
Anca
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Need help with input text

2009-05-25 Thread Anca Paula Luca
Hi Roxana,

RoxanaM wrote:
> Hi!
> 
> I'm new to xwiki  and I want to create a page that has a text box and a
> button that when I press it i want to display under the button the text
> introduced in the text box.
> 
> How can I do this using groovy?

Why do you want groovy for that?
you want it to happen 1) asynchronous or 2) you want the page to reload and 
show 
your text?

in XWiki documents in syntax 1.0 (which is active by default in latest stable 
1.8.4), you can write html and scripting languages (groovy, velocity) directly 
in your wiki documents (edit -> wiki).

So for 1) just edit a document, type your html (and javascript), save and view. 
For more advanced things in javascript, you should use a JSX extension.

For 2) edit a document, type your html (a form submitting an input value to the 
current page) and then type a little groovy below:
<%
println request.inputName;
%>
should do it!

Note that you could do the same in velocity too.

Happy hacking,
Anca Luca


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


Re: [xwiki-users] Watch 1.1 Installation Problem

2009-05-19 Thread Anca Paula Luca
PRMcert.com wrote:
> I was unable to install the Watch functionality in a Xwiki enterprise 1.8.3.
> I followed the instructions but do not know how to execute (I am logged in
> as Admin):
> 
> In Administration > Preferences > Advanced, add WatchCode.Translations as an
> Internationalization Document Bundle.
> 
> Preferences has the logos such as General, Presentation etc.  but where is
> Advanced?

The installation instructions on the XWatch wiki are for 1.5 platform version 
(and XWiki Enterprise), the update of XWiki Watch for more recent platform 
versions is in work as we speak.

However, the Internationalization Document Bundles settings are now under 
Programming.

Have a nice day,
Anca Luca

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


Re: [xwiki-users] Sectional editing (on headings) in XWiki syntax 2.0 & 1.0

2009-05-07 Thread Anca Paula Luca
Hi Chris,

Chris Wood wrote:
> Hi to everyone here,
> 
> I have been experimenting with XWiki and am impressed so far.

Thank you for your interest,

> 
> One question: editing by section ("sectional editing" in xwiki.cfg, 
> activated by setting xwiki.section.edit=1 there) does not appear to work 
>   with a page written in XWiki syntax 2.0 whilst it does work in XWiki 
> syntax 1.0.
> 
> (Version: XWiki Enterprise 1.8.17790)
> 
> Is this by design?

not quite, there is an open issue about it:
http://jira.xwiki.org/jira/browse/XWIKI-2881

Happy XWiki-ing,
Anca Luca

> 
> Any thoughts appreciated. I only noticed this change after converting a 
> number of pages from syntax 1.0 to syntax 2.0
> 
> Thanks,
> 
> Chris Wood
> 
> 
> ___
> 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] Links, WYSIWYG 2.0 (1.8.2)

2009-05-01 Thread Anca Paula Luca
Hi,

hel-o wrote:
> Hi,
> 
> 
> Anca Paula Luca wrote:
>>
>> Hi Hel,
>>
>> thanks for reporting this behaviour!
>>
>> Of what I experimented just now, this seems to be caused by the REST API
>> (used 
>> by the tree) for getting pages and the way it uses the passed "parent" 
>> parameter. Specifically, it does not interpret the value of the document
>> parent 
>> field wrt the document's space.
>>
>> I see 2 solutions:
>> 1/ either we change the panel to set the parent field to a fully qualified
>> name 
>> (when a user inserts only a document name in the parent field, we append
>> the space)
>> 2/ either we fix the REST API.
>>
>> Solution 1 might cause problems when it will come to multiwikis, when the
>> parent 
>> can be prefixed by the wiki name as well (wiki:Space.Page).
>>
>> Or:
>> 3/ we change the parent-child relation in the explorer tree so that we
>> make it 
>> survive such situations.
>>
>>
>> Happy coding,
>> Anca Luca
>>
>>
> 
> Shouldn't there be a general concept for that in XWiki, wether its okay when
> you only use Page in links or that Wiki:Space.Page is the only way thats
> accepted?

There is a general concept: _in links_, everything is accepted and resolved 
relative to the current context (document). However, what this case is about is 
setting the parent field to a relative reference, which should not cause any 
problem as long as it is always resolved correctly wrt the document.

> 
> Don't know but it seems to me that this example shows there could be a bunch
> of problems if different syntax is allowed.

Wikilinks in different syntaxes is still an open subject, afaik.

Happy XWiki-ing,
Anca Luca

> 
> hel.
> 
> 
> -
> h...@hel.at
> 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Links, WYSIWYG 2.0 (1.8.2)

2009-04-28 Thread Anca Paula Luca
hel-o wrote:
> Hi,
> 
> the link dialog works much better than in 1.8.1, but one thing i found:
> 
> i don't use the space for the page parent when i add the parent manually
> (which i had to, since it wasn't added automatically in the new syntax)
> because i found, that it's not needed to work (as it is in links when the
> link is in the same space).
> 
> Now when i want to create a link to a wiki-page i get the tree-view (which
> is great) but it seems i cant see all those pages where no space is
> provided.

Hi Hel,

thanks for reporting this behaviour!

Of what I experimented just now, this seems to be caused by the REST API (used 
by the tree) for getting pages and the way it uses the passed "parent" 
parameter. Specifically, it does not interpret the value of the document parent 
field wrt the document's space.

I see 2 solutions:
1/ either we change the panel to set the parent field to a fully qualified name 
(when a user inserts only a document name in the parent field, we append the 
space)
2/ either we fix the REST API.

Solution 1 might cause problems when it will come to multiwikis, when the 
parent 
can be prefixed by the wiki name as well (wiki:Space.Page).

Or:
3/ we change the parent-child relation in the explorer tree so that we make it 
survive such situations.


Happy coding,
Anca Luca

> 
> hel.
> 
> 
> 
> -
> 
> h...@hel.at
> 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] New WYSIWYG (1.8.1)

2009-04-20 Thread Anca Paula Luca
Guillaume Lerouge wrote:
> Hi,
> 
> On Mon, Apr 20, 2009 at 6:40 PM, hel-o  wrote:
> 
>> Hi,
>>
>> new link dialog is great but the "open in new window option" does not work.
> 
> http://jira.xwiki.org/jira/browse/XWIKI-3641 ;-)

target attribute is not valid XHTML 1.0 strict, as our doctype says, therefore, 
in order to get the same effect, we used to have a piece of javascript that 
transformed all rel="_" into target="", after the page was 
loaded.

I will investigate the reasons for which this piece of javascript was removed 
and the means to create a link which would open in a new window, while keeping 
the page valid, to fix the link wizard.

Happy xwiki-ing
Anca Luca

> Thanks for the feedback,
> Guillaume
> 
> 
>> It inserts rel="__blank" instead of target"_blank"
>>
>> hel.
>>
>> -
>> 
>> h...@hel.at
>>
>> --
>> View this message in context:
>> http://n2.nabble.com/New-WYSIWYG-%281.8.1%29-tp2664778p2664778.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
>>
> 
> 
> 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problems with Xwiki Enterprise 1.8 on Oracle - get Error number 3001 in 3

2009-03-22 Thread Anca Paula Luca
Hi Eugen,
see below

etvc wrote:
> Hello! Can anyone help me?
> I tried to install Xwiki Enterprise 1.8 on Jetty and OracleXE 10.2 (I used
> Windows). I did all steps according to instalation instruction "Installing
> the XWiki WAR manually" and instructions about Jetty and Oracle instalation
> and configuring, EXACTLY as its wrote.
> 
> All is ok, exept one thing: I found, that one moment is missing in xwiki
> instructions. When you installing OracleXE, automaticly configuring APEX
> (web-interface of Oracle XE) with HTTP port 8080 and Jetty (by default) also
> uses same port. For this reason, I changed port in Oracle.
> 
> Now Jetty works fine, but when I trying http://localhost:8080/xwiki I
> receiving the folowing:
> HTTP ERROR 500
> Problem accessing /xwiki/bin/view/Main/. Reason: 
> 
> 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: Could not parse mapping document from resource
> xwiki.oracle.hbm.xml
> 
> Caused by:
> 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: Could not parse mapping document from resource
> xwiki.oracle.hbm.xml
>   at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:326)
>   at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387)
>   at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
>   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:707)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>   at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
>   at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)
>   at
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
>   at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)
>   at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
>   at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)
>   at
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>   at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)
>   at
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
>   at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)
>   at
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
>   at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)
>   at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:378)
>   at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>   at 
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>   at 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
>   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
>   at
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
>   at
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>   at 
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>   at org.mortbay.jetty.Server.handle(Server.java:324)
>   at 
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535)
>   at
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:865)
>   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
>   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>   at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
>   at
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
> 
> 
> Wrapped Exceptio

Re: [xwiki-users] GWT-WYSIWYG Bugs

2009-03-07 Thread Anca Paula Luca
Hi there,

thanks a lot for the observations, see below.

hel-o wrote:
> Hi,
> 
> some things i found in Lists:
> 
> 1. when you enter a point at the end of an item the linebrake to the next
> item disappears e.g.
> 
> - item1
> - item2
> ->
> - item1.item2

I can reproduce, but slightly different though, as:

- item1
- item2
->
- item1item2

Could you tell me which browser and version have you used to produce this?

> 
> 2. When you have links as items and you want to enter text after the link.
> The text is added to the Linktext.

This is the same behaviour as for formatting (bold, italic, underline, etc). 
And 
just as for formatting, all you need to do is "deactivate it", i.e. position at 
the end of the text, and click the unlink button to start writing outside the 
link.

I don't see this as a bug, do you feel that even with this behaviour it is a 
bug?

Happy editing,
Anca

> 
> hel.
> 
> -
> hel.
> h...@hel.at
> 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] URL to a particular attachment version

2009-02-26 Thread Anca Paula Luca
399953268...@messagebeamer.de wrote:
> Hi,
> 
> is there a way to point to a particular attachment version per url (f.i. for 
> downloading)? If I add the property ?version=1.1 (which is the very first 
> version) it still gives me the current (last) one.

Hi there,

you need to use rev=1.1 instead of version.

And you can see these if you go on and click on the attachment version next to 
the file in the attachments panel at the bottom of your page, which will take 
you to the attachment history view where you have links towards all attachment 
revisions.

Happy coding,
Anca Luca

> 
> ___
> 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] WritingComponents, First Try

2009-02-17 Thread Anca Paula Luca
Jerome Velociter wrote:
> Hi Hervé
> 
> Hervé Agnoux wrote:
>> Hi,
>>
>> I experiment 
>> http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents
>>
>> I'm at "The component explained".
>>
>> I try "mvn install" (which is not in the tutorial, I'm crazy).
>>
>> I get that :
>>
>> Missing:
>> --
>> 1) org.xwiki.platform:xwiki-core-component:jar:1.5-SNAPSHOT
>>
>>   Try downloading the file manually from the project website.
>>
>> ... and etc.
>>
>> Here is pom.xml with the snapshot :
>>
>>   
>> 
>> 1.5-SNAPSHOT
>>   
>>   
>> 
>>   org.xwiki.platform
>>   xwiki-core-component
>>   ${platform.core.version}  
>> 
>> 
>>   junit
>>
>> As I understand things, I don't inherit a project, so I suppose it's the 
>> automatic settings of platform.core.version which is false.
> 
> Right, 1.5-SNAPSHOT was the latest snapshot version at the moment the 
> tutorial has been written. 

I updated the tutorial to use the latest snapshot (1.8-SNAPSHOT) so that 
everything works fine.

Thanks for signaling the outdated information.

Happy coding,
Anca Luca

> AFAIK our policy is to keep snapshot versions 
> on the maven repository for trunk + the latest branch, being currently 
> 1.7 and 1.8 for the platform (would be too disk-hungry to keep them 
> all). So 1.5-SNAPSHOT is definitely not available any longer. You can 
> depend on more recent snapshots, like 1.7-SNAPSHOT or 1.8-SNAPSHOT. You 
> can always check what snapshots are available visiting 
> http://maven.xwiki.org
> 
> The alternative is you depend on a released version. That's probably a 
> better practice for components developed out of the XWiki project, since 
> you can rely on the fact the artifacts behavior are not going to change 
> without you noticing :) Recent released versions are 1.7.1 (stable 
> branch) and 1.8-milestone-2 (bleeding edge).
> 
> Note that your dependency is xwiki-core-component is needed only if your 
> code uses classes from the component manager (typically, if you have a 
> Composable component that lookup other components against the component 
> manager). If you don't do that, you can remove this dependency.
> 
> Hope this helps, Have fun!
> Jerome.
> 
>> What is the good one ?
>>
>> Thanks.
>>
>> ___
>> 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
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to enable the new WYSIWYG editor/Section editing

2009-02-12 Thread Anca Paula Luca
Cristi wrote:
> Dear Anca,
> 
> And will section editing be available in the new version (1.8)? Personally I
> find this feature a must, in order to easily edit pages that are rather
> large.

Yes, it's a very useful one. I just found this on jira: 
http://jira.xwiki.org/jira/browse/XWIKI-2881 .

Happy XWiki-ing,
Anca Luca

> 
> 2nd question: is there a release date planned for the 1.8 stable version?
> 
> Thanks and best regards,
> Cristi.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to enable the new WYSIWYG editor/Section editing

2009-02-12 Thread Anca Paula Luca
(sorry for duplicating, some connection trouble)

Anca Paula Luca wrote:
> Hi Cristi,
> 
> Cristi wrote:
>> Dear Anca,
>>
>> Thank you for your tip, it's working :).
>> However I see that when inserting headings the document is displayed
>> correctly (after the edit), but I cannot edit the sections of the document
>> any more(ie my Heading 1 entries). I can only edit the whole page.
> 
> That is because XWiki syntax 2.0 is rendered using the new rendering engine 
> (so 
> its a big new renderer + new syntax + new wysiwyg editor "revolution") which 
> does not add the edit section links to the headings (whereas the "old" 
> renderer 
> which renders XWiki 1.0 syntax does).
> 
>> Another question, is it possible to set XWiki 2.0 syntax as default? I have
>> noticed that in the administration page there is a drop down to configure
>> the default editing mode (wysiwyg or plain text), but I didn't notice
>> something similar for specifying the syntax.
> 
> No, there is no method to do that yet (see 
> http://jira.xwiki.org/jira/browse/XWIKI-3151 ).
> 
> Happy editing,
> Anca Luca
> 
>> Thank you in advance,
>> Cristi.
>>
>>
>>
> ___
> 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] How to enable the new WYSIWYG editor/Section editing

2009-02-12 Thread Anca Paula Luca
Hi Cristi,

Cristi wrote:
> Dear Anca,
> 
> Thank you for your tip, it's working :).
> However I see that when inserting headings the document is displayed
> correctly (after the edit), but I cannot edit the sections of the document
> any more(ie my Heading 1 entries). I can only edit the whole page.

That is because XWiki syntax 2.0 is rendered using the new rendering engine (so 
its a big new renderer + new syntax + new wysiwyg editor "revolution") which 
does not add the edit section links to the headings (whereas the "old" renderer 
which renders XWiki 1.0 syntax does).

> 
> Another question, is it possible to set XWiki 2.0 syntax as default? I have
> noticed that in the administration page there is a drop down to configure
> the default editing mode (wysiwyg or plain text), but I didn't notice
> something similar for specifying the syntax.

No, there is no method to do that yet (see 
http://jira.xwiki.org/jira/browse/XWIKI-3151 ).

Happy editing,
Anca Luca

> 
> Thank you in advance,
> Cristi.
> 
> 
> 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to enable the new WYSIWYG editor/Section editing

2009-02-12 Thread Anca Paula Luca
Hi Cristi!

Cristi wrote:
> Dear Anca,
> 
> Thank you for your tip, it's working :).
> However I see that when inserting headings the document is displayed
> correctly (after the edit), but I cannot edit the sections of the document
> any more(ie my Heading 1 entries). I can only edit the whole page.

That is because XWiki syntax 2.0 is rendered using the new rendering engine (so 
its a big new renderer + new syntax + new wysiwyg editor "revolution") which 
does not add the edit section links to the headings (whereas the "old" renderer 
which renders XWiki 1.0 syntax does).

> 
> Another question, is it possible to set XWiki 2.0 syntax as default? I have
> noticed that in the administration page there is a drop down to configure
> the default editing mode (wysiwyg or plain text), but I didn't notice
> something similar for specifying the syntax.

No, there is no method to do that yet (see 
http://jira.xwiki.org/jira/browse/XWIKI-3151 ).

Happy editing,
Anca Luca

> 
> Thank you in advance,
> Cristi.
> 
> 
> 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to enable the new WYSIWYG editor

2009-02-12 Thread Anca Paula Luca
Cristi wrote:
> Hello,
> 
> I have just installed the new version of XWiki but I didn't find
> instructions on how to enable the new GWT editor. 
> 
> I have tried XWiki v 1.7 stable and 1.8 M2, and when I try to edit a page,
> it proposes the old WYSIWYG editor. As the new editor is not enabled by
> default, is there a configuration setting somewhere to enable it?

The new wysiwyg editor works with the XWiki 2.0 syntax, so all you have to do 
is 
edit in wysiwyg mode a document with this syntax.

In order to change document syntax, use the panel you can find on the right 
column, in edit mode (you'll have to edit in wiki mode for the syntaxes 
dropdown 
to be enabled).

Happy editing,
Anca Luca

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


Re: [xwiki-users] New WYSIWYG Bug

2009-01-24 Thread Anca Paula Luca
hel-o wrote:
> Hi,
> 
> my scenario ist thisone
> 
> *
> [[http://blog.semantic-web.at/>>http://blog.semantic-web.at/||target="_blank"]]\\This
> is the corporate blog of the [[Semantic Web
> Company>>http://www.semantic-web.at/||target="_blank"]], Vienna.
> *
> [[http://planet.kiwi-project.eu/>>http://planet.kiwi-project.eu/||target="_blank"]]\\Blog
> des Kiwi-Projekts

Hi there,

I tried this scenario above and indeed I could reproduce it. Would you please 
report the bug on our jira at http://jira.xwiki.org/jira/browse/XWIKI in the 
editor-gwt-wysiwyg component, adding this scenario in the description?

Thanks for signaling this,
Happy coding.

Anca Luca


> 
> Also tried this
> 
> *
> [[http://blog.semantic-web.at/>>http://blog.semantic-web.at/||target="_blank"]]
> This is the corporate blog of the [[Semantic Web
> Company>>http://www.semantic-web.at/||target="_blank"]], Vienna.
> *
> [[http://planet.kiwi-project.eu/>>http://planet.kiwi-project.eu/||target="_blank"]]
> Blog des Kiwi-Projekts
> 
> Also got an similar error when i made a link in html-code
> 
> {{html}}
> http://planet.kiwi-project.eu/ http://planet.kiwi-project.eu/ 
> {{/html}}
> 
> hel.
> 
> 
> Marius Dumitru Florea wrote:
>> Hi,
>>
>> I just created a new page, edited in wiki mode, typed the following
>> content:
>>
>> * [[http://blog.semantic-web.at/]]
>> This is the corporate blog of the Semantic Web Company, Vienna.
>> * [[http://planet.kiwi-project.eu/]]
>> Blog des Kiwi-Projekts
>>
>> then clicked save&view. The result was similar to what you have in your 
>> first screen shot. I then edited with the new WYSIWYG and got the links. 
>> Edited the content then saved and everything went fine.
>>
>> I repeated the whole process, this time only from within the new WYSIWYG 
>> editor. I created the links, the lists, clicked save&view and got the 
>> expected result.
>>
>> Please create a jira issue, as suggested by Vincent, if your scenario is 
>> different than mine.
>>
>> Thanks,
>> Marius
>>
>>
> 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Linking to documents in different spaces

2009-01-14 Thread Anca Paula Luca
Kevin_C wrote:
> I am using this query:
> 
> #set($hql = ", BaseObject as obj where obj.name=doc.fullName and
> obj.className='Space1.MyClass' and
> obj.name<>'${doc.space}.${class}ClassTemplate' and doc.space='MySpace'")
> 
> to return a list of documents from a different space and I am trying to now
> create a view link to the document. I have tried several combinations using
> getUrl() but nothing seems to work. Here's some of the code I've tried:
> 
>   
>   #foreach($faq in $recentlyCreated)
> #set($doc = $xwiki.getDocument('FranchiseTax', $faq))

Think about using a different name for this variable as $doc is the name of the 
default context variable which holds the current document. Use, for example, 
$faqDoc.

#set($faqDoc = $xwiki.getDocument('FranchiseTax', $faq))

> [$doc.question>$doc.getUrl("view")]

[$faqDoc.question > $faqDoc.fullName]

should do it at this point, as [] marks a wikilink and Space.Page (which is 
exactly what fullName is) is a reference to the desired document.

Happy coding,
Anca Luca


>   #end
>   
> 
> What am I missing?
> 
> 
> Thanks in Advance!
> .:. Kevin
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Question on a snippet from codezone

2008-10-24 Thread Anca Paula Luca
hi Sharan,

the rights objects that define the access in a space are stored in the 
Space.WebPreferences document (where Space is the space you want to set the 
rights for).

Happy coding!
Anca Luca

Sharanabasavaraj Mudgal wrote:
> I saw this code snippet for setting rights on a page.  Does someone know the 
> equivalent for setting the right on the space.   How to get the space 
> object(something equivalent to the first line in the snippet)
> 
> http://code.xwiki.org/xwiki/bin/view/Snippets/SettingRightsSnippet
> 
> thanks.
> sharan.
> 
> 
>   
> ___
> 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] WYSIWYG editor: Title 1 formatting generates html syntax instead xwiki syntax

2008-09-23 Thread Anca Paula Luca
What XWiki version have you downloaded and installed?

The playground is version 1.5.2 (last stable) but we also have for download a 
1.6 milestone 2.
A lot of things in the rendering have changed in the mean time.
If the playground suits your needs, just download and use the 1.5.2 version.

Anca Luca

Cristian SPIESCU wrote:
> I have just installed XWiki, which I think is a great tool from what I have 
> seen until now.
> 
> However I'm experiencing a quite annoying problem: the WYSIWYG editor from my 
> instance of XWIKI doesn't behave like the one from the playground instance:
> 
> 1. when I select a text and mark it as "Title 1", it generates "" 
> instead of "1"
> 2. the wysiwyg editor doesn't display the horizontal line below the text (as 
> it is displayed when the page is viewed). I saw that the demo version from 
> playground.xwiki.org displayis these bars while editing a content.
> 
> Perhaps there is some configuration that needs to be changed?
> 
> Thank you in advance for your answer.
> Cristi.
> 
> 
> 
>   
> ___
> 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] [ANN] XWiki Watch 1.1 Milestone 1 Released

2008-09-11 Thread Anca Paula Luca
The XWiki development team is pleased to announce the release of XWiki Watch 
1.1 
Milestone 1.

Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download !

This is the first milestone of the 1.1 version of XWiki Watch which focuses on 
the user experience by improving the user interface and performance of the 
Watch 
Reader. From the changes in this release, we mention:

* the redesign and better user interaction for the article list, with a more 
friendly, non-blocking loading mechanism and in-place forms (XWATCH-194, 
XWATCH-198)
* live grids for the articles table in the feed pages in the wiki view 
(XWATCH-208)
* the forbidden actions are not displayed in the Watch Reader interface 
anylonger (XWATCH-95)
* a first iteration in the performance amelioration of Watch Reader by using 
optimised queries (XWATCH-201, XWATCH-202, XWATCH-203)

For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesWatch11M1

Thanks
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki API Documentation

2008-08-11 Thread Anca Paula Luca
syam_kg wrote:
> Hi 
> 
> Is there any documentation available for the velocity API
> objects($xwiki,$doc,$context,$request..) 
> in xwiki ? I am looking for the list of the methods available in these
> objects and the description of each of those methods. Please help .. 

Have a look at http://platform.xwiki.org/xwiki/bin/view/DevGuide/API , pick 
your 
XWiki version and look at the XWiki, Document, Context, etc classes. The 
objects 
in velocity are nothing else but instances of these classes, put in the 
velocity 
environment.

Happy coding!
Anca Luca

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