Re: [xwiki-users] OpenOffice auto-start

2012-07-02 Thread Marius Dumitru Florea
On Mon, Jul 2, 2012 at 4:51 PM, Arioch  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] OpenOffice auto-start

2012-07-02 Thread Marius Dumitru Florea
On Mon, Jul 2, 2012 at 4:05 PM, Arioch  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] Wiki-fying a database schema / DDL?

2012-07-02 Thread Vincent Massol
Hi Matt,

On Jul 2, 2012, at 5:11 PM, Matt Lamoureux wrote:

> Hmm, ExecuteSQL looks like it will only work on the wiki database.  I was
> looking for something similar to XwikSqlPlugin - where it could generate
> wiki pages from our application database schemas.  Then I found things like
> SchemaSpy and SQLFairy.  It would be sweet if there was a plugin built
> around either of those technologies, but maybe I will have time to play
> with that later.  For now, if there is nothing readily available or easily
> adapted, I think we will just have to rely on manual updates…

Another solution is just to write JDBC code in Groovy inside a wiki page.

Groovy even has some syntactic sugar to make that easy, see
http://extensions.xwiki.org/xwiki/bin/view/Extension/Execute+SQL

(I've updated it)

Note that it would be nice to find out how to define a data source in xwiki's 
web.xml and use that instead of having to specify the credentials in the page. 
I haven't researched that but it should be pretty easy to do by doing some JNDI 
lookup or something similar.

Thanks
-Vincent

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


Re: [xwiki-users] space redirection on user subscription

2012-07-02 Thread Guillaume Lerouge
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  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 :
> > On Mon, Jul 2, 2012 at 10:56 AM, yann gensollen 
> 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 :
> >>>
> >>> 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 :
> > 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 
> > 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


Re: [xwiki-users] Wiki-fying a database schema / DDL?

2012-07-02 Thread Matt Lamoureux
Hmm, ExecuteSQL looks like it will only work on the wiki database.  I was
looking for something similar to XwikSqlPlugin - where it could generate
wiki pages from our application database schemas.  Then I found things like
SchemaSpy and SQLFairy.  It would be sweet if there was a plugin built
around either of those technologies, but maybe I will have time to play
with that later.  For now, if there is nothing readily available or easily
adapted, I think we will just have to rely on manual updates...

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


[xwiki-users] reaching out of NTLM proxy?

2012-07-02 Thread Arioch
Can XWiki connect to plugins market and such, if instaleld behind a corporate
firewall (Squid + NTLM auth) ?

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/reaching-out-of-NTLM-proxy-tp7580057.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] OpenOffice auto-start

2012-07-02 Thread Arioch
when exprorting into OOo, which module creates interim file for OOO an can be
raw file been intersapted ?

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


Re: [xwiki-users] space redirection on user subscription

2012-07-02 Thread yann gensollen
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 :
> On Mon, Jul 2, 2012 at 10:56 AM, yann gensollen  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 :
>>>
>>> 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 :
> 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 
> 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


Re: [xwiki-users] OpenOffice auto-start

2012-07-02 Thread Arioch
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...

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


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


Re: [xwiki-users] XWiki upgrade instructions

2012-07-02 Thread Arioch
i know, it's a wiki

Funny thing is that when you open 3rd-level domain like platform.xwiki.com
there is no link to register a user account...
I initially thought registering is forbidden.

But anyway, as a total newb i can rase issues but i should not offer the
solutions, or one i would suggest something like "rm -rf \" for any strange
newb's reason


It seems okay, if i only can tell.
But for me things like "save plugins" sounds alien and only resonate in
"Wut? i'd better just reinstall them" manner :-)


--
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWiki-upgrade-instructions-tp7580046p7580052.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] space redirection on user subscription

2012-07-02 Thread Marius Dumitru Florea
On Mon, Jul 2, 2012 at 10:56 AM, yann gensollen  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 :
>>
>> 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 :
 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 
 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


Re: [xwiki-users] disabling xwiki 1.0 markup ?

2012-07-02 Thread Vincent Massol

On Jul 2, 2012, at 12:29 PM, Arioch wrote:

> like that, yes.
> it's akin for double conversion
> 
> he makes rich xwiki-syntaxed page, changes to creole (some markup is no just
> text), founds GUI editor dysfunctional, switches back to xwiki (escaping
> text which matches markup sequences) and - here he is.
> 
> I think if there is something you can not stick into creole, then switch
> should better not be permitted. Let user simplify the page 1st.

The best would be for you to create a jira issue at http://jira.xwiki.org about 
it so that it's not forgotten and slated for implementation.

Thanks
-Vincent

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


Re: [xwiki-users] disabling xwiki 1.0 markup ?

2012-07-02 Thread Arioch
like that, yes.
it's akin for double conversion

he makes rich xwiki-syntaxed page, changes to creole (some markup is no just
text), founds GUI editor dysfunctional, switches back to xwiki (escaping
text which matches markup sequences) and - here he is.

I think if there is something you can not stick into creole, then switch
should better not be permitted. Let user simplify the page 1st.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/disabling-xwiki-1-0-markup-tp7579990p7580049.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] XWiki upgrade instructions

2012-07-02 Thread Vincent Massol
Hi,

On Jul 2, 2012, at 11:47 AM, Arioch wrote:

> I believe the instruction is incomplete
> 
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#HLet27scleanitup
> 
> I thinks that among other files user should also backup/restore
>XWiki\WEB-INF\classes\logback.xml  if he modified it

I've updated the doc, please verify it's ok now.

Note that it's a wiki and you can register on it and freely modify pages to 
improve them (that's the power of wikis ;)).

> 
> 
> I also think FavIcon is to be preserved.

I've rephrased it as:
"Make sure you also copy any thing you may have modified from the default 
install (plugins you may have added, template files you may have modified, 
favicons you may have set, etc)."

Thanks
-Vincent

> One mast say, it should lie one step in, in Jetty root, but to me i had to
> have it both in Jetty root and in XWiki root

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


Re: [xwiki-users] disabling xwiki 1.0 markup ?

2012-07-02 Thread Vincent Massol

On Jul 2, 2012, at 11:44 AM, Arioch wrote:

 XWiki Syntax is a superset of the Creole syntax so yo may think it works 
>>> So even if i would use that superset, it would not halt conversion, but 
>>> would rather damage markup (turn markup into regular text) ? 
>>> 
>>> I think if such, that conversion should be prohibited by engine 
>> There's NO conversion.
> 
> Okay, not the conversion, but the switch of formats

Why do you think we should disallow a user from switching format?

If your worry is that the user doesn't realize his content hasn't been 
converted, we could easily add a popup explaining this when there are no 
renderer for the target format.

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


[xwiki-users] XWiki upgrade instructions

2012-07-02 Thread Arioch
I believe the instruction is incomplete
 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#HLet27scleanitup
 
I thinks that among other files user should also backup/restore
XWiki\WEB-INF\classes\logback.xml  if he modified it
 

 
I also think FavIcon is to be preserved.
One mast say, it should lie one step in, in Jetty root, but to me i had to
have it both in Jetty root and in XWiki root

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWiki-upgrade-instructions-tp7580046.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] disabling xwiki 1.0 markup ?

2012-07-02 Thread Arioch
>>> XWiki Syntax is a superset of the Creole syntax so yo may think it works 
>> So even if i would use that superset, it would not halt conversion, but 
>> would rather damage markup (turn markup into regular text) ? 
>> 
>> I think if such, that conversion should be prohibited by engine 
> There's NO conversion.

Okay, not the conversion, but the switch of formats

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/disabling-xwiki-1-0-markup-tp7579990p7580045.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-02 Thread Vincent Massol

On Jul 2, 2012, at 11:15 AM, Guillaume Lerouge wrote:

> There is also this plugin:
> 
> http://xwikisql.gradsoft.ua/docs/XWikiSqlPluginGuide.html
> 
> But I'm not sure whether it still works.

Note that I didn't mention it voluntarily because it's using deprecated 
technology so I don't think it's a good idea to use it.

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

It's really simple to do.

Thanks
-Vincent

> 
> Guillaume
> 
> On Mon, Jul 2, 2012 at 7:55 AM, Vincent Massol  wrote:
> 
>> Hi Matt,
>> 
>> On Jul 2, 2012, at 1:30 AM, Matt Lamoureux wrote:
>> 
>>> Hi all,
>>>  I'm just starting to use Xwiki, having been the admin for my company's
>>> JSPwiki installation for a few years now.  In that one, we had a very
>>> useful part of the wiki which was an online database schema for our
>>> databases.  You see a list of the tables, which you can click on and see
>>> the list of fields in that table, which you can click on and see the
>>> information regarding that field.  Our method was to take a DDL and run
>> it
>>> through a script which parsed it out into files that JSPwiki could read.
>>> This way, we could take updated DDL's, run those through the script, and
>>> keep updating the table list and table info pages, while leaving the
>> field
>>> named pages untouched.
>>>  Assuming I have described that correctly, does anyone have any
>> solutions
>>> that would be similar to this in Xwiki?  Something that doesn't involve
>>> manually updating the table list and table info pages?
>> 
>> That would be great. The info we have at
>> http://platform.xwiki.org/xwiki/bin/view/DevGuide/DatabaseSchema is a bit
>> too static indeed.
>> 
>>> I was thinking we
>>> could modify the script to spit out something that we could the import
>> into
>>> Xwiki, but I'm not sure if that is the best approach.  I was hoping there
>>> was a plugin that let you connect to a database and run real-time queries
>>> and then us a macro to wiki-fy the results, but I didn't find anything
>> like
>>> that.
>> 
>> Here's an example:
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Execute+SQL
>> 
>> Thanks
>> -Vincent
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Wiki-fying a database schema / DDL?

2012-07-02 Thread Guillaume Lerouge
There is also this plugin:

http://xwikisql.gradsoft.ua/docs/XWikiSqlPluginGuide.html

But I'm not sure whether it still works.

Guillaume

On Mon, Jul 2, 2012 at 7:55 AM, Vincent Massol  wrote:

> Hi Matt,
>
> On Jul 2, 2012, at 1:30 AM, Matt Lamoureux wrote:
>
> > Hi all,
> >   I'm just starting to use Xwiki, having been the admin for my company's
> > JSPwiki installation for a few years now.  In that one, we had a very
> > useful part of the wiki which was an online database schema for our
> > databases.  You see a list of the tables, which you can click on and see
> > the list of fields in that table, which you can click on and see the
> > information regarding that field.  Our method was to take a DDL and run
> it
> > through a script which parsed it out into files that JSPwiki could read.
> > This way, we could take updated DDL's, run those through the script, and
> > keep updating the table list and table info pages, while leaving the
> field
> > named pages untouched.
> >   Assuming I have described that correctly, does anyone have any
> solutions
> > that would be similar to this in Xwiki?  Something that doesn't involve
> > manually updating the table list and table info pages?
>
> That would be great. The info we have at
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/DatabaseSchema is a bit
> too static indeed.
>
> >  I was thinking we
> > could modify the script to spit out something that we could the import
> into
> > Xwiki, but I'm not sure if that is the best approach.  I was hoping there
> > was a plugin that let you connect to a database and run real-time queries
> > and then us a macro to wiki-fy the results, but I didn't find anything
> like
> > that.
>
> Here's an example:
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Execute+SQL
>
> 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


[xwiki-users] Devoxx Belgium talk submission ideas

2012-07-02 Thread Vincent Massol
Hi everyone,

I'm about to submit some talk proposals related to XWiki for Devoxx Belgium 
(http://www.devoxx.com/display/DV12/Home).

I was thinking it might be good to ask you what you think should be best that I 
present related to XWiki. What would you like to hear yourself at a general 
conference like Devoxx?

The tracks they have this year:

* Java Standard Edition (JDK 8++)
* Java Enterprise Edition (focus on Java EE 7 and beyond)
* Web (includes HTML5, JavaScript, CSS3 and RIA technologies)
* Mobile (includes Android, Hybrid and mobile web)
* Methodology
* Other languages on the JVM
* Architecture, Cloud and Security
* Future is a brand new Devoxx track. Here we'll embracing the world 
where software meets hardware and schedule talks on walking objects (think 
NAO's, lots of NAO's), interactive objects like Arduino, but also intelligent 
flying and real-time rolling devices! Basically anything that feels happy in 
the Future :o)

The formats they have available:

* Conference (60 mn)
* University (University talks are in depth presentations of 2 x 60 minutes 
with a 15 minute break in between. )
* Tools in Action (Tools in Action are 30 minute presentations demonstrating a 
programming tool.)
* BOF (BOF sessions are 60 minutes long, scheduled in the evening and are 
informal.)
* Quickie (Short 15 minute presentations during Lunch breaks)
* Hands-on Labs (3 hour hands-on sessions. )

Some ideas I have (from talks I've done in the past or new ideas):

* XWiki: A web development runtime platform
(example: 
http://www.slideshare.net/xwiki/xwiki-a-web-development-runtime-platform-9277065)
Track: java, javaEE, web

* XWiki: The Long tail of applications
Explain how XWiki addresses the long tail of application
(see http://platform.xwiki.org/xwiki/bin/view/Main/SecondGenerationWiki)
Show lots of nice implementations of XWiki done for various use cases + present 
architecture and main concepts
Track: java, javaEE, web

* Hands on: Create a Conference web site live (1 hour or up to 3 hours if we do 
it as a Hands on lab)
See http://massol.myxwiki.org/xwiki/bin/view/Blog/Breizhcamp2012XWiki
Track: java, javaEE, web

* Quickie: Application Within Minutes 
Create a real useful web application in 15 minutes
Need to find a use case: bike shop, holiday request app, expense report, etc
Track: java, javaEE, web

* Creating your own project's quality dashboard (1 to 3 hours)
Uses XWiki to create a website for your development project with the following 
features:
* Documentation for your project
* Display JIRA issues
* Display Sonar metrics
* Display Jenkins statuses
* Display Git statistics of your project
* Application to perform releases (checklist, release notes)
* Send alerts (mail, IRC, etc) when thresholds are reached
Example: 
http://incubator.myxwiki.org/xwiki/bin/view/Improvements/XWikiOrgProposal2#HCommunityHome
Track: Methodology, java, javaEE, web

* Bridging Open source and Business
A model for professional open source based on the example of the XWiki open 
source project
Provides a solution for having a real community-based open source while having 
one or several companies funding the project
Track: Methodology

* A quick history of wikis (Quickie: 15 mn)
Shows evolution of wikis since their creation and where wikis are heading in 
the future

Let me know if you have new ideas, if you like some of those, how you would 
modify them to better fit Devoxx, etc.

Thanks a lot
-Vincent
http://about.me/vmassol
More about my previous talks: 
http://massol.myxwiki.org/xwiki/bin/view/XWiki/VincentMassol


PS: Let me know if you plan to be in Devoxx this year! :)
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] space redirection on user subscription

2012-07-02 Thread yann gensollen
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")
{{/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 :
>
> 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 :
>>> 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 
>>> 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