Re: [xwiki-users] OpenOffice auto-start

2012-07-03 Thread Marius Dumitru Florea
On Mon, Jul 2, 2012 at 4:05 PM, Arioch arioch...@gmail.com wrote:
 i just does not want manual admin operations, nor i want giving users power
 to run/stop OOo which is admin operation

 Okay, maybe i'd really look for some xinetd for Win :-)

 the results are better through office server.
 YMMV
 To me ODT's PDF is unreadable and it can hardly be told that OOo did not
 reported charset to XWiki in this case...

WDYM? The PDF export is done only through FOP, not through the office
server. The RTF export can be done in both ways, depending whether the
office server is started and connected.


 did you read the comments?
 yes, the work-around for reading, i wonder it that would be work-around for
 exporting as well.

 That would raise questions
 which file to alter in given OOo version ?
 where is that file placed ?
 would it survive OOo upgrades



 BTW, if OOo is used not only for OpenDocument but also for PDF, then why not
 use it for MSO formats, both OpenXML and legacy binary ones ?

Simply change the value of the 'format' query string parameter in the
export URL. We promote open standards, but technically you can export
in any format supported by the office server.

Hope this helps,
Marius



 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/OpenOffice-auto-start-tp7579979p7580054.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] OpenOffice auto-start

2012-07-03 Thread Marius Dumitru Florea
On Mon, Jul 2, 2012 at 4:51 PM, Arioch arioch...@gmail.com wrote:
 when exprorting into OOo, which module creates interim file for OOO an can be
 raw file been intersapted ?

The export request starts in ExportAction [1] and goes through
OfficeExporter [2].

Hope this helps,
Marius

[1] 
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/ExportAction.java
[2] 
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/export/OfficeExporter.java


 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/OpenOffice-auto-start-tp7579979p7580056.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] space redirection on user subscription

2012-07-03 Thread yann gensollen
I am dummy, thanks for your help now it works. but it is so efficient
that i cannot edit my main.webhome page. How can i edit my page and
stop redirection, the time i write the right space

thanks

2012/7/2, Guillaume Lerouge guilla...@xwiki.com:
 You forgot a closing ):

 You're using this:

 {{velocity}}
 $response.sendRedirect($xwiki.getURL('Main.Activity')
 {{/velocity}}

 instead of this:

 {{velocity}}
 $response.sendRedirect($xwiki.getURL('Main.Activity')*) ## added missing
 parenthese*
 {{/velocity}}

 Guillaume

 On Mon, Jul 2, 2012 at 3:25 PM, yann gensollen y...@gensollen.com wrote:

 i am extremely sorry to annoy you again with my little problem but i
 still cannot make it work. I tried to replace my space by standards
 page and space. but i am still not redirected on the page after
 registration. I stay still on main.Webhome instead of activity in the
 example

 my code of main webhome is now

 {{include document=Dashboard.WebHome context=new/}}
 {{velocity}}
 $response.sendRedirect($xwiki.getURL('Main.Activity')
 {{/velocity}}

 thanks



 2012/7/2, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com:
  On Mon, Jul 2, 2012 at 10:56 AM, yann gensollen y...@gensollen.com
 wrote:
  Hello thanks for your help
 
  my code is now  for main WebHome
 
  {{include document=Dashboard.WebHome context=new/}}
  {{velocity}}
 
  $xwiki.getURL(guide utilisateur Alexandhry.WebHome)
 
  Vincent suggested you to use $xwiki.getURL() instead of
  $xwiki.getDocumentURL(), not to drop the $request.sendRedirect() call.
  As you can see, there's no getDocumentURL method in
 
 http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/org/xwiki/platform/xwiki-platform-oldcore/4.1.2/xwiki-platform-oldcore-4.1.2-javadoc.jar/!/com/xpn/xwiki/api/XWiki.html
  .
 
  $response.sendRedirect($xwiki.getURL('guide utilisateur
  Alexandhry.WebHome')
 
  Hope this helps,
  Marius
 
  {{/velocity}}
 
  but it still does not work when a user registers it still goes on main
  space instead of specific space. I also have changed default page on
  cfg file but no success either
 
  thanks
 
  yann
 
  2012/6/29, Vincent Massol vinc...@massol.net:
 
  On Jun 29, 2012, at 5:23 PM, yann gensollen wrote:
 
  hello thanks for the answer
 
  I have edited the webhome of main space and now i have this
 
  {{include document=Dashboard.WebHome context=new/}}
  {{velocity}}
  $response.sendRedirect($xwiki.getDocumentURL('guide utilisateur
 
  $xwiki.getURL(Space.Page)
 
  Alexandhry.WebHome'))
  {{/velocity}}
 
  but it s still wont work
 
  what am i doing wrong?
 
  thanks
 
  2012/6/29, Guillaume Lerouge guilla...@xwiki.com:
  Hi Yann,
 
  IIRC, you can change the default home page for the wiki in
  xwiki.cfg
  or
  in
  xwiki.properties.
 
  You can also add this code in your home page:
 
  {{velocity}}
  $response.sendRedirect($xwiki.getDocumentURL('SPACE.PAGE'))
  {{/velocity}}
 
  Guillaume
 
  On Fri, Jun 29, 2012 at 4:57 PM, yann gensollen
  y...@gensollen.com
  wrote:
 
  Hello
  Could u please tell me if it is possible when a user registers not
 to
  be redirected on main space webhome but a specific space instead.
 
  thank you
  ___
  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
 
  ___
  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
 
 ___
 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


[xwiki-users] navigation tree page

2012-07-03 Thread yann gensollen
Hello,

I would like to generate a page or a panel that list parents and childs
documents of my space. Could you please tell me if it is possible and how.

thanks

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


[xwiki-users] xwiki object properties not saved

2012-07-03 Thread David Delbecq
Hello, 

i have a custom object class + a from and new button. When i create an 
object, using the following code 

{{groovy}} 
if(request.doCreate == true){ 
// Request for creating a new instance 
obj= doc.newObject(Main.NewsClass) 
obj.set(linkfr,request.thelien) 
obj.set(titlefr,a test) 
obj.set(linknl,request.thelink) 
obj.set(titlenl,request.thetijtle) 
obj.set(publication,request.thedate) 
doc.save() 
} 

{{/groovy}} 

the object is created but form properties not saved (please not i hardcoded a 
test and even this property is not saved). Instead i obtain an object with 
properties all empty. If i remove the calls to set(name,value), the object is 
saved without properties instead of empty one, so code is somehow partially 
working? 

Does someone have any suggestion? 


David Delbecq 

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


[xwiki-users] You don't have the right to execute this script

2012-07-03 Thread David Delbecq
Hello, 

i created a page with a few xwiki code inside it. I can display this page 
without troubles. I also created a side panel that does simply include that 
pages. The side panel gives me a macro error 
org.xwiki.rendering.macro.MacroExecutionException: You don't have the right to 
execute this script while the main page display without errors :s 

as suggested here 
http://xwiki.475771.n2.nabble.com/Groovy-macro-in-a-panel-td7346045.html 

i tried to remove the dropPermissions() but it doesn't work. 


What is the solution? Do i have to put my groovy code inside a macros and use 
the macro in panel instead of including a document containing the code? 


David Delbecq 

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


Re: [xwiki-users] OpenOffice auto-start

2012-07-03 Thread Arioch
 To me ODT's PDF is unreadable and it can hardly be told that OOo did not 
 reported charset to XWiki in this case... 

 WDYM? The PDF export is done only through FOP, not through the office 
 server. The RTF export can be done in both ways, depending whether the 
 office server is started and connected.

My bad, i meant RTF export.

 We promote open standards, but technically you can export 
 in any format supported by the office server.

OpenXML is also open standard, no matter how u like or dislike MS.
Probably more open than RTF :-)

And since you call yourself Enterprice XWiki, then MSO import export is
expected.
Maybe by optional plugin, but still.

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/OpenOffice-auto-start-tp7579979p7580082.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] Wiki-fying a database schema / DDL?

2012-07-03 Thread Arioch
is groovy installed/active in WAR installation ?

to me groovy macros rendered just like any other text

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Wiki-fying-a-database-schema-DDL-tp7580034p7580083.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] Wiki-fying a database schema / DDL?

2012-07-03 Thread Arioch

vmassol wrote
 
 However it could be nice for someone to create a SQL Script Service and
 package it as an extension.
 

would it be generic enought to support different SQL dialects?

Would it support SVG ot  tables would be enough ?

About XWiki documentation, i think the Hibernate schema should be taken for
wikifying.

SQL scripts are important to maintain or add db compatibility layers, but
the primary info sources from Hibernate, not from SQL database


--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Wiki-fying-a-database-schema-DDL-tp7580034p7580084.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] navigation tree page

2012-07-03 Thread Marius Dumitru Florea
Did you search on http://extensions.xwiki.org for 'navigation' or
'tree'. I see there are a few results.

Hope this helps,
Marius

On Tue, Jul 3, 2012 at 4:09 PM, yann gensollen y...@gensollen.com wrote:
 Hello,

 I would like to generate a page or a panel that list parents and childs
 documents of my space. Could you please tell me if it is possible and how.

 thanks

 Yann
 ___
 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] [Video] XWiki-G3 demo - Distributed XWiki cluster storing native Java objects

2012-07-03 Thread Caleb James DeLisle
Hi,

Over in the XWiki Research Department, we've been working on some exciting new 
developments.
While XWiki provides industry leading flexibility for defining, storing and 
querying data structures in SQL based stores, we are researching how to bring 
storage to Cassandra distributed NoSQL data store and give you the power to 
define and store your own true Java native Objects.

In this demonstration we run 2 integrated XWiki/Cassandra nodes and show 
changes propagating from one to the other as we edit pages. We show that you 
can stop one node and the wiki is still fully functional with only one node 
running. Then we restart the downed node and show the edits which were made 
while the node was down propagating over from the running node.

Here is the demonstration video:

http://www.youtube.com/watch?v=NngAKdeWuH0

While this is still in heavy development, we hope to be bringing up live nodes 
for you to play with as soon as possible.

Thanks,

Caleb

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


[xwiki-users] [Video] XWiki-G3 demo - XWiki cluster storing native Java objects in Cassandra distributed store.

2012-07-03 Thread Caleb James DeLisle
Hi,

Over in the XWiki Research Department, we've been working on some exciting new 
developments.
While XWiki provides industry leading flexibility for defining, storing and 
querying data structures in SQL based stores, we are researching how to bring 
storage to Cassandra distributed NoSQL data store and give you the power to 
define and store your own true Java native Objects.

In this demonstration we run 2 integrated XWiki/Cassandra nodes and show 
changes propagating from one to the other as we edit pages. We show that you 
can stop one node and the wiki is still fully functional with only one node 
running. Then we restart the downed node and show the edits which were made 
while the node was down propagating over from the running node.

XWiki documents and objects are stored in an integrated Cassandra NoSQL Cloud 
data store allowing for horizontal scalability without any single point of 
failure. Users can define XClasses using the XWiki class creation interface and 
those XClasses are compiled into native Java classes which can be loaded and 
stored in the Cassandra distributed store.

Here is the demonstration video:
https://www.youtube.com/watch?v=NngAKdeWuH0

While this is still in heavy development, we hope to be bringing up live nodes 
for you to play with as soon as possible.

Thanks,

Caleb

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


Re: [xwiki-users] [xwiki-devs] [Video] XWiki-G3 demo - XWiki cluster storing native Java objects in Cassandra distributed store.

2012-07-03 Thread Caleb James DeLisle
Oops, sent that one twice.
Sorry about the noise.

Caleb


On 07/03/2012 07:39 PM, Caleb James DeLisle wrote:
 Hi,
 
 Over in the XWiki Research Department, we've been working on some exciting 
 new developments.
 While XWiki provides industry leading flexibility for defining, storing and 
 querying data structures in SQL based stores, we are researching how to bring 
 storage to Cassandra distributed NoSQL data store and give you the power to 
 define and store your own true Java native Objects.
 
 In this demonstration we run 2 integrated XWiki/Cassandra nodes and show 
 changes propagating from one to the other as we edit pages. We show that you 
 can stop one node and the wiki is still fully functional with only one node 
 running. Then we restart the downed node and show the edits which were made 
 while the node was down propagating over from the running node.
 
 XWiki documents and objects are stored in an integrated Cassandra NoSQL Cloud 
 data store allowing for horizontal scalability without any single point of 
 failure. Users can define XClasses using the XWiki class creation interface 
 and those XClasses are compiled into native Java classes which can be loaded 
 and stored in the Cassandra distributed store.
 
 Here is the demonstration video:
 https://www.youtube.com/watch?v=NngAKdeWuH0
 
 While this is still in heavy development, we hope to be bringing up live 
 nodes for you to play with as soon as possible.
 
 Thanks,
 
 Caleb
 
 ___
 devs mailing list
 d...@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/devs
 

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