Re: [xwiki-users] Adding items from pages into an app

2016-04-05 Thread Daniel Ullfig
I will look this over. Thanks for the help all. Dan -Original Message- From: Vincent Massol Sent: Tuesday, April 05, 2016 6:11 AM To: XWiki Users Subject: Re: [xwiki-users] Adding items from pages into an app On 05 Apr 2016, at 14:34, Marius Dumitru Florea wrote: On Mon, Apr 4, 2

Re: [xwiki-users] Sluggish performance?

2016-04-05 Thread Daniel Ullfig
oh by the way, I'm using mysql to store the pages. I suppose that adds another level of performance issues? Dan -Original Message- From: Vincent Massol Sent: Tuesday, April 05, 2016 2:51 PM To: XWiki Users Subject: Re: [xwiki-users] Sluggish performance? Hi, On 05 Apr 2016, at 23:2

Re: [xwiki-users] Sluggish performance?

2016-04-05 Thread Daniel Ullfig
I increased memory for java vm and now seems to be really responsive. Was set to 120 mb, I set it to the recommended 1024 mb. Not sure why it was set so low. Dan -Original Message- From: dullfig Sent: Tuesday, April 05, 2016 2:58 PM To: users@xwiki.org Subject: Re: [xwiki-users] Slug

Re: [xwiki-users] hyperlinks in SVG images

2016-04-12 Thread Daniel Ullfig
oops. the example doesn't come out in the email; here it is. {{svg width="640" height="480"}} http://www.w3.org/2000/svg"; xmlns:svg="http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink";> Layer 1 transform="rotate(-21.6429 404.099 249.6)" stroke-width="5" stroke="#00

Re: [xwiki-users] hyperlinks in SVG images

2016-04-12 Thread Daniel Ullfig
http://dc1/bin/view/Main/"; target="_top"> {{/html}} But the links have to be absolute addresses, not wiki links. But it proves that raw svg images with links do work. I can click it and it takes me to the main page. So what is wrong with the svg macro? why does it mess up the l

Re: [xwiki-users] Can't make a groovy macro work

2016-04-15 Thread Daniel Ullfig
here is the code I'm working on; it's in a page called PlantUMLMacroGClass; I'm modifying plantuml to output svg instead of png so it is clickable and can contain links. It already is clickable, but the links of course are broken, so now I want to preprocess the uml definition to translate page

Re: [xwiki-users] Printable Index

2016-04-20 Thread Daniel Ullfig
darn. there seems to be a bug when exporting in chrome. I checked exporting in IE, and it worked fine. But in chrome it seemed to display gibberish to the screen. So I saved the gibberish to a text file, and started doing some detective work. Comparing side by side the outputs of both IE and Chr

Re: [xwiki-users] Printable Index

2016-04-20 Thread Daniel Ullfig
macro to "as installed" and all is well. I will have to discover how I'm braking pdf export with my changes. Can PDF export handle SVG images? Dan -Original Message- From: Daniel Ullfig Sent: Wednesday, April 20, 2016 10:13 AM To: XWiki Users Subject: Re: [xwiki-users] P

Re: [xwiki-users] Changing App within minutes behaviour

2016-04-21 Thread Daniel Ullfig
I guess I wasn't clear, it's not the "edit" behavior I want to override, it's the "save" button once you edited the entry. Dan -Original Message- From: dullfig Sent: Thursday, April 21, 2016 11:05 AM To: users@xwiki.org Subject: [xwiki-users] Changing App within minutes behaviour I m

Re: [xwiki-users] Hibernate logs

2016-04-25 Thread Daniel Ullfig
right, I followed that tutorial. What happens is there is no kind of error message, other than the call to retrieve the xml xml = classDoc.getxWikiClassXML(); returns null Dan -Original Message- From: Vincent Massol Sent: Sunday, April 24, 2016 11:51 PM To: XWiki Users Subject: Re

Re: [xwiki-users] Hibernate logs

2016-04-25 Thread Daniel Ullfig
One problem I'm having, and this is in general, is figuring out the correct object name for a page. The bread crumbs at the top of the page are "prettyfied", and are not the actual class name. Take the "FAQ" tutorial for example. If you edit the Class, it tells you the class name is FAQ.FAQCla

Re: [xwiki-users] Blog.BlogPostTemplate in Database List?

2016-04-25 Thread Daniel Ullfig
I guess I could have given more info. I have another AWM app that has a list of jobs, now I want to assign a job to each employee. So I added a Database List field and set the XWiki Class Name to "Roles.RolesClass", which is the class of the empoyee pages. What I get is the name of every page i

Re: [xwiki-users] Blog.BlogPostTemplate in Database List?

2016-04-25 Thread Daniel Ullfig
figured it out: it was in the template page, as a default value. Why though? how did it get there? why does AWM set the default to Blog.BlogPostTemplate? Dan -Original Message- From: Daniel Ullfig Sent: Monday, April 25, 2016 5:36 PM To: XWiki Users Subject: Re: [xwiki-users

Re: [xwiki-users] Missing menu bar

2016-05-04 Thread Daniel Ullfig
I filed a Jira issue. Dan -Original Message- From: Vincent Massol Sent: Wednesday, May 04, 2016 9:01 AM To: XWiki Users Subject: Re: [xwiki-users] Missing menu bar Hi, I agree that the delete UI should show the breadcrumb so that you can navigate to the parents. If you can, please

Re: [xwiki-users] Setup a sepparate space for javascript

2016-05-26 Thread Daniel Ullfig
Thanks for the tip! I was in the middle of embedding Ace Editor in a page. Got it to work. displays javascript beautifully. But now I would have to work on integrating Rest calls, so that Ace can save the scripts back to the page. Isn't there a way of overriding the Object Editor, so that when

Re: [xwiki-users] Setup a sepparate space for javascript

2016-05-26 Thread Daniel Ullfig
read-only page. Because then it would be real simple to add a custom editor for javascript, by changing the ClassSheet attached to the JavaScriptExtensionClass page. Just an idea. Dan -Original Message- From: Daniel Ullfig Sent: Thursday, May 26, 2016 8:57 AM To: XWiki Users Subjec

Re: [xwiki-users] Setup a sepparate space for javascript

2016-05-27 Thread Daniel Ullfig
t Hi, On 27 May 2016, at 07:01, Daniel Ullfig wrote: I was looking around XWiki, and there does not seem to be a Class Page for the class JavaScriptExtensionClass, even though it is a class, and there are Class Documents for a whole bunch of other xwiki classes. This kinda breaks the par

Re: [xwiki-users] Setup a sepparate space for javascript

2016-05-27 Thread Daniel Ullfig
:) -Original Message- From: Vincent Massol Sent: Friday, May 27, 2016 8:54 AM To: XWiki Users Subject: Re: [xwiki-users] Setup a sepparate space for javascript On 27 May 2016, at 17:52, Daniel Ullfig wrote: great! every time I scratch the surface of XWiki, there's more surfa

Re: [xwiki-users] hql query returning objects?

2016-07-13 Thread Daniel Ullfig
great! I was hoping there was a way to address an object similar to using an array[] type. Dan -Original Message- From: Thomas Mortagne Sent: Tuesday, July 12, 2016 10:56 PM To: XWiki Users Subject: Re: [xwiki-users] hql query returning objects? On Tue, Jul 12, 2016 at 7:03 PM, dullf

Re: [xwiki-users] Refreshing livetable

2016-07-28 Thread Daniel Ullfig
I also noticed that there is a livetable.js component among the source code. Is there documentation on how to use this component directly? Dan -Original Message- From: dullfig Sent: Thursday, July 28, 2016 1:41 PM To: users@xwiki.org Subject: [xwiki-users] Refreshing livetable Hello,

Re: [xwiki-users] How to get property data type

2016-08-03 Thread Daniel Ullfig
ok, nevermind, I figured it out, you use the BaseClass methods addTextField, addNumberField, etc.. Dan -Original Message- From: dullfig Sent: Wednesday, August 03, 2016 8:33 AM To: users@xwiki.org Subject: Re: [xwiki-users] How to get property data type in a somewhat related question

Re: [xwiki-users] Using Javascript as a scripting language

2016-08-06 Thread Daniel Ullfig
since I have java 8 installed, I already have that capability! I tested some javascript on a page using {{script language="javascript"}} and it works perfectly. The reason I wanted to do this, is I am using an entry validation library to validate user input in the browser, but of course you wo

Re: [xwiki-users] LIvetable macro display objects on same page

2016-08-12 Thread Daniel Ullfig
Are you attaching several objects of the same type to the page? In that case, the standard livetable will not work. you will have to implement a JSON page to return the data for the livetable. Dan -Original Message- From: Gerritjan Koekkoek Sent: Friday, August 12, 2016 5:32 AM To: X

Re: [xwiki-users] LIvetable macro display objects on same page

2016-08-12 Thread Daniel Ullfig
com/gerritjan.koekkoek> email ____ From: users on behalf of Daniel Ullfig Sent: 12 August 2016 17:34:34 To: XWiki Users Subject: Re: [xwiki-users] LIvetable macro display objects on same page Are you attaching several objects of the same type to the page? In that case, the standard livetable

Re: [xwiki-users] LIvetable macro display objects on same page

2016-08-15 Thread Daniel Ullfig
;,"byRole" : "dd", "object_id" : "2", "document_count" : "1", "document_ref" : "waihonapediaPrivat.RaiKoekkoek_growthfeeding"}] } Which is good as the page holding the objects holds 2 objects that match criteria an

Re: [xwiki-users] LIvetable macro display objects on same page

2016-08-16 Thread Daniel Ullfig
: true, "personKey" : "RaiKoekkoek","measureNominal" : "3","withmilestone" : "","withtopic" : "growthfeeding","observationType" : "weight","byRole" : "dd"}] } The live tabel