Re: [xwiki-users] Is there a LiveSqlTable macro in XWiki?

2013-12-09 Thread vinc...@massol.net
Hi,

On 8 Dec 2013 at 07:00:48, crocket (crockabisc...@gmail.com) wrote:

LiveTable looked very promising. 
However, it doesn't communicate with SQL Databases. 
Is there an SQL version of LiveTable? 


The goal of XWiki is to hide access to database through the use of 
XClass/XObjects. So no, there’s no Livetable with direct SQL access, only 
through XClass/Xobjects.

Now the Livetable is very customizable and you generate your own JSON, see 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro#HCustomJSON

Thanks

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


Re: [xwiki-users] Is there a LiveSqlTable macro in XWiki?

2013-12-09 Thread Paul Libbrecht
If someone implements something there, I'd suggest something which is in the 
direction of SQL views for a greater flexibility.

paul


On 9 déc. 2013, at 09:05, vinc...@massol.net vinc...@massol.net wrote:

 Hi,
 
 On 8 Dec 2013 at 07:00:48, crocket (crockabisc...@gmail.com) wrote:
 
 LiveTable looked very promising. 
 However, it doesn't communicate with SQL Databases. 
 Is there an SQL version of LiveTable? 
 
 
 The goal of XWiki is to hide access to database through the use of 
 XClass/XObjects. So no, there’s no Livetable with direct SQL access, only 
 through XClass/Xobjects.
 
 Now the Livetable is very customizable and you generate your own JSON, see 
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro#HCustomJSON
 
 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] Problem installing extensions: value too long for type character varying(60000)

2013-12-09 Thread Marius Dumitru Florea
You can view the database schema here
http://platform.xwiki.org/xwiki/bin/view/DevGuide/DatabaseSchema . I
think the problem is that the extension author has pasted the code of
a large JavaScript library in the 'code' property (of type TextArea)
of a JSX object, instead of attaching the JavaScript files to one of
the wiki pages from the extension. TextArea properties are saved in
xwikilargestrings which has the XWL_VALUE column limited to 6
length in xwiki.hbm.xml .

Hope this helps,
Marius

On Thu, Dec 5, 2013 at 3:12 PM, Frits Jalvingh j...@etc.to wrote:
 I'm using Postgresql and the database has been created a long time ago. The
 error message does not tell what column is in trouble nor which table it's
 in, and there seem to be several 8-/ Is there any formal schema for xwiki's
 database that I can compare with? Or a way to get more detailed logging
 where the error occurs?

 Thanks, Frits



 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/Problem-installing-extensions-value-too-long-for-type-character-varying-6-tp7588223p7588271.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


[xwiki-users] Markdown syntax as default

2013-12-09 Thread Aye Jaye
Hello, newbie question: 

My team wants to use markdown, and doesn't consider losing WYSIWYG abilites to 
be a problem. So, I've enabled Markdown 1.1 in our xwiki.

Q: Is there any way to make markdown the default syntax for all pages? 

Having to select it for each new page is a bit annoying. Also, it would help a 
lot if imported pages were converted to markdown, instead of xwiki syntax.

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


Re: [xwiki-users] Markdown syntax as default

2013-12-09 Thread Thomas Mortagne
See the first property in xwiki.properties file: core.defaultDocumentSyntax

On Mon, Dec 9, 2013 at 1:47 PM, Aye Jaye aye.j...@outlook.com wrote:
 Hello, newbie question:

 My team wants to use markdown, and doesn't consider losing WYSIWYG abilites 
 to be a problem. So, I've enabled Markdown 1.1 in our xwiki.

 Q: Is there any way to make markdown the default syntax for all pages?

 Having to select it for each new page is a bit annoying. Also, it would help 
 a lot if imported pages were converted to markdown, instead of xwiki syntax.

 /A
 ___
 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] Markdown syntax as default

2013-12-09 Thread Aye Jaye
Thank you. 
I looked for it, but only in the xwiki.cfg, since that was where I enabled 
markdown... No doubt had I read the xwiki.properties more carefully, perhaps 
while setting up the office server, I might have seen it. But now it works as 
expected.
PS: I can also for any interested parties confirm that the office importer 
converts to Xwiki20. So no luck there. 

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


Re: [xwiki-users] Markdown syntax as default

2013-12-09 Thread Thomas Mortagne
Same as the WYSIWYG the office importer would require a renderer for
the syntax anyway.

Now I think there is some work in progress for Markdown renderer you
could maybe try, see http://jira.xwiki.org/browse/XRENDERING-186.

On Mon, Dec 9, 2013 at 2:09 PM, Aye Jaye aye.j...@outlook.com wrote:
 Thank you.
 I looked for it, but only in the xwiki.cfg, since that was where I enabled 
 markdown... No doubt had I read the xwiki.properties more carefully, perhaps 
 while setting up the office server, I might have seen it. But now it works as 
 expected.
 PS: I can also for any interested parties confirm that the office importer 
 converts to Xwiki20. So no luck there.


 ___
 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] Markdown syntax as default

2013-12-09 Thread Aye Jaye
Thank you Thomas, most helpful. 

I also saw this: http://jira.xwiki.org/browse/XWIKI-6064which would have been 
my next question...
/A
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users