[xwiki-users] Using Javascript as a scripting language

2016-08-04 Thread dullfig
Hello: What would need to happen (install engine?) for me to be able to do the following: {{script language="javascript"}} {{/sript}} in other words, server side javascript Dan -- View this message in context:

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

2016-08-03 Thread dullfig
in a somewhat related question, is it possible to add properties to a class from a script? (velocity, groovy, etc) Dan From: Marius Dumitru Florea [via XWiki] Sent: Wednesday, August 03, 2016 2:11 AM To: dullfig Subject: Re: How to get property data type On Wed, Aug 3, 2016 at 9:29 AM

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

2016-08-03 Thread dullfig
Thanks, that helps a lot. Dan From: Marius Dumitru Florea [via XWiki] Sent: Wednesday, August 03, 2016 2:11 AM To: dullfig Subject: Re: How to get property data type On Wed, Aug 3, 2016 at 9:29 AM, Alexandru Cotiuga < [hidden email]> wrote: > Hello Dan, > > To find out w

[xwiki-users] How to get property data type

2016-08-02 Thread dullfig
hello: This seems like a simple question, but I looked through the API and couldn't igure it out. How do you get the data type of a field? is there a way to know from velocity if a field is a text field, number, date, etc? Dan -- View this message in context:

[xwiki-users] Refreshing livetable

2016-07-28 Thread dullfig
Hello, this question has been asked, but I want to do something different: can you change the columns being displayed from javascript? is the entire funcionality of the livetable contained in javascript, or is it only a rendering of the table? I want to have a list of headings with a checkbox

[xwiki-users] excluding WebHome from space directory livetable

2016-07-25 Thread dullfig
Hello: I have a page that is the parent document of a space. I want to display on that page a livetable of all the sub documents in that space. I already put the code there, but the livetable also displays the WebHome page, wich is the parent itself. How do I hide the WebHome page from the

[xwiki-users] custom JSON for livetable

2016-07-15 Thread dullfig
hello: Trying to get a livetable with custom JSON working. I read through the documentation, but the section that explains about the custom JSON is a bit terse. I see that the returned JSON has a field $request.reqNo, but it doesn't explain what it means. Is there a more complete explanation on

Re: [xwiki-users] Top level pages visible even when hidden

2016-07-15 Thread dullfig
[via XWiki] Sent: Friday, July 15, 2016 10:03 AM To: dullfig Subject: Re: Top level pages visible even when hidden Hello, If the "Display hidden pages" option from the profile preferences is set to "no" and a hidden page is still displayed, then that page might

[xwiki-users] Top level pages visible even when hidden

2016-07-15 Thread dullfig
Hello everyone: I have noticed that top level pages remain visible even when setting to "hidden". Is this standard behavior, or is it some kind of bug? or am I not doing something right? version 8.0 Dan -- View this message in context:

[xwiki-users] hql query returning objects?

2016-07-12 Thread dullfig
Hello: I have a problem. I created an XClass with personal info (name, address etc); but instead of attaching one XObject to many pages (1 to 1), I have attached many objects of the same class to one single page (an array of xobjects if you will). Is it possible to query the xobjects for a

Re: [xwiki-users] Page calling itself as JSON source

2016-07-10 Thread dullfig
thanks for the response! that is what I was suspecting. The JSON provider is feeding a live table. I guess the live table macro already takes care of asking for plain output? Dan -- View this message in context:

[xwiki-users] Page calling itself as JSON source

2016-07-09 Thread dullfig
Hello: I was wondering, if a page calls itself as a JSON provider, is the context preserved? or do I need to pass information to itself in the query string? the way I have it call itself is that, if the query string is empty, it assumes you want to display the page, but if the query string has

[xwiki-users] Custom Mapping.

2016-06-02 Thread dullfig
Ok, first off, I tried, I really did I'm trying to map an object called Data.Code.Employee.Class to its own table. Here's what I have done so far: In \xwiki\WEB-INF\ i have a file called EmployeeClass.hbm.xml that has the following content

[xwiki-users] Setup a sepparate space for javascript

2016-05-25 Thread dullfig
Hello: I was wondering if anyone else has done this. My application is starting to need a whole bunch of javascript, and I was thinking of setting up a separate space (maybe call it js) where there is nothing but pages with javascript objects attached. That way I could set up a ClassSheet for

Re: [xwiki-users] css colors not changing AAARGH

2016-05-24 Thread dullfig
ill give it a try. thanks. Dan From: Alexandru Cotiuga [via XWiki] Sent: Tuesday, May 24, 2016 12:11 AM To: dullfig Subject: Re: css colors not changing AAARGH Hello Dan, If you want to change the appearance of the links having "wikilink" class, you should apply your s

Re: [xwiki-users] Overriding skin for a class sheet

2016-05-16 Thread dullfig
That works PERFECT!! thanks a bunch, hadn’t thought of doing it that way. Dan From: Marius Dumitru Florea [via XWiki] Sent: Sunday, May 15, 2016 5:35 AM To: dullfig Subject: Re: Overriding skin for a class sheet On Fri, May 13, 2016 at 8:21 PM, dullfig <[hidden email]> wrote: &

[xwiki-users] Overriding skin for a class sheet

2016-05-13 Thread dullfig
Hello: I have an app within minutes that is a collection of procedures. I want the procedures to display differently than the rest of the wiki, specifically I want to override the title of the pages. So each page is named with a number like "QP-001"; there is also a field in the class called

[xwiki-users] Override App Within Minutes behavior

2016-05-12 Thread dullfig
hello: When you add a page in App Within Minutes, it prompts you for a page name. I want to create this name automatically, how can I override this behavior so that it goes straight to the class sheet for edit without asking for page name? Dan -- View this message in context:

[xwiki-users] Actions for Class Sheets

2016-05-12 Thread dullfig
Hello: I created an app with App Within Minutes, but I have customized the View and Edit Class Sheets. Now I have separate View and Class sheets. I wanted a third Class Sheet only used for printing, because the TOC makes no sense while printing. I tried creating a third Class Sheet, bound it to

Re: [xwiki-users] Missing menu bar

2016-05-04 Thread dullfig
the questions but I made the jump from xwiki 6.0 and there is some adjusting. Dan From: vmassol [via XWiki] Sent: Wednesday, May 04, 2016 12:42 AM To: dullfig Subject: Re: Missing menu bar > On 04 May 2016, at 09:25, lilihongbeast <[hidden email]> wrote: > > Dear Vincent,I know what

Re: [xwiki-users] Missing menu bar

2016-05-04 Thread dullfig
So now there is no explicit “create space” option? so the only way to create a new space is by creating a page and setting the parent to a new space? Dan From: vmassol [via XWiki] Sent: Wednesday, May 04, 2016 12:42 AM To: dullfig Subject: Re: Missing menu bar > On 04 May 2016, at 09

[xwiki-users] Changing the app name in App Within Minutes

2016-04-29 Thread dullfig
Hello: I am using XWiki 6.0, and App Within Minutes. I have created several apps that work fine. I can already customize the view and edit sheets and things like that. But I don't like that AWM forces the home page to be called {space} 'Home'. I'd like to change the behavior. There is an object

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

2016-04-25 Thread dullfig
Hello all: working on an App Within Minutes application, and I'm including a Database List field. It keeps including as one of the results an item called Blog.BlogPostTemplate. where on earth is that coming from, why is it getting into my list, and how do I get rid of it? Dan -- View this

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

2016-04-25 Thread dullfig
by the way, I was wondering if you saw my comment at the bottom of the SVG Macro page? there seems to be a bug. Dan From: Ludovic Dubost [via XWiki] Sent: Thursday, April 21, 2016 2:18 PM To: dullfig Subject: Re: Changing App within minutes behaviour BTW, there is an extension that has Job

[xwiki-users] Hibernate logs

2016-04-23 Thread dullfig
So I was trying to do a custom mapping of an xobject to a mysql file, I think I followed the instructions (but obviously not) and it doesn't work. Where in the logs will I find error messages (if any) from hibernate? Dan -- View this message in context:

Re: [xwiki-users] XWiki, SVG and Apache Batik

2016-04-22 Thread dullfig
yup. From: Paul Libbrecht-2 [via XWiki] Sent: Friday, April 22, 2016 12:26 PM To: dullfig Subject: Re: XWiki, SVG and Apache Batik Did you open a bug? paul > dullfig <mailto:[hidden email]> > 22 April 2016 at 17:48 > well there are a couple of issues here. First,

Re: [xwiki-users] XWiki, SVG and Apache Batik

2016-04-22 Thread dullfig
, then your experience would be even across the board. Dan From: Paul Libbrecht-2 [via XWiki] Sent: Thursday, April 21, 2016 11:05 PM To: dullfig Subject: Re: XWiki, SVG and Apache Batik Hello Dan, I believe the Batik library is used for printing to PDF only, but I could well be wrong. You can

[xwiki-users] Changing App within minutes behaviour

2016-04-21 Thread dullfig
I made an App within Minuts application that is basically a list of job responsibilities. It's just two fields, job name and job description. Can I change the "edit" behaviour? If I go to the main page, there is a live table showing a list of all the job descriptions. If you want to "edit" one,

[xwiki-users] XWiki, SVG and Apache Batik

2016-04-21 Thread dullfig
It is my understanding that XWiki includes the Apache Batik library to handle SVG content, so my question is why does XWiki not handle SVG content natively (without the SVG Macro), and why does the browser have to support SVG? With Batik, shouldn't XWiki be able to render the SVG without the help

Re: [xwiki-users] Printable Index

2016-04-20 Thread dullfig
Yes! this is probably what I need. I will have to test. I see it is possible to export directly from a program, correct? in other words, no user involvment. Dan From: Marius Dumitru Florea [via XWiki] Sent: Wednesday, April 20, 2016 5:05 AM To: dullfig Subject: Re: Printable Index Hi Dan

[xwiki-users] Printable Index

2016-04-19 Thread dullfig
So I am writing this Quality Manual using XWiki; The main manual is one page, has many headings, and a TOC. There's also a bunch of supporting procedures, all linked to one another, and the system is really slick The problem is, we sometimes need to hand out hard printed copies of the manual to

Re: [xwiki-users] Uploading .jar as attachment to page fails

2016-04-14 Thread dullfig
I think I'm on to something. I have modified the macro to produce an svg instead of a png. I then wrap the output in {{html}}{{/html}} aND now the links are clickable. I'm working on running the uml input through services.rendering.parse () to convert the wiki links to absolute url automatically.

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

2016-04-14 Thread dullfig
Hello, I'm writing a macro extension in groovy. I need to use services rendiring.parse () and i get an exception every time I try to use it. Can anyone give a good example as to how to use it in a groovy script ? Thanks! Dan. -- View this message in context:

[xwiki-users] hyperlinks in SVG images

2016-04-12 Thread dullfig
Hello: hyperlinks don't work in svg images. I have the following example on a page: but you cannot click on it. You should be able to. Does it have something to do with how xwiki renders images? or is the problem in the svg macro? I really would like this to work. Dan -- View this

Re: [xwiki-users] Uploading .jar as attachment to page fails

2016-04-12 Thread dullfig
I think there is a problem with how xwiki renders pages. Because the SVG macro can't show embedded links either. I have been trying it out, you can include links in the svg devinition, but they just don't render as links. XWiki seems to just convert everything to dumb images. Dan -- View this

Re: [xwiki-users] Uploading .jar as attachment to page fails

2016-04-12 Thread dullfig
plantuml server because I’m trying to embed links in the diagrams, and I thought you needed a local server for that. It still doesn’t work, but I thing it’s a XWiki issue. Dan From: Thomas Mortagne [via XWiki] Sent: Tuesday, April 12, 2016 6:54 AM To: dullfig Subject: Re: Uploading .jar

[xwiki-users] Uploading .jar as attachment to page fails

2016-04-11 Thread dullfig
Hello: I want to upload the latest PlantUML.jar server as an attachment to the PlantUMLMacroGClass page. The current PlantUML.jar is outdated, and is already an attachment to this page. I press the "chose file"button, search for the .jar file, and invariably it stops at about 2MB with an error

[xwiki-users] Using XWiki for a database application

2016-04-06 Thread dullfig
Ok. I followed through on the "FAQ" app that is given as an example of a (loose) one to many database app. Worked perfect. But... I want something a little more advanced. I'm writing the company quality manual using XWiki, and I think it would be fantastic if the wiki also was the actual database

[xwiki-users] Numbered headings

2016-04-06 Thread dullfig
hello: We are using the wiki to write procedures for our company. It is an aerospace environment, so customers are used to seeing procedures with numbered headings like "paragraph 1.1.2" etc. Has anyone used the "numbered headings" macro? I installed the extension but the headings don't

Re: [xwiki-users] Sluggish performance?

2016-04-05 Thread dullfig
yup, definitely takes longer than that. noticeably longer. you click on a link to a page and waaait. dan From: vmassol [via XWiki] Sent: Tuesday, April 05, 2016 2:51 PM To: dullfig Subject: Re: Sluggish performance? Hi, > On 05 Apr 2016, at 23:29, dullfig <[hidden email]&

[xwiki-users] Sluggish performance?

2016-04-05 Thread dullfig
Hello everyone: We have only been using XWiki for a while now (version 6), and it seems to me that loading individual pages takes a while. Not sure how long it should take to load a new page. Seems sluggish, but I don't know what's expected. Any rule of thumb on how long it should take? Dan

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

2016-04-04 Thread dullfig
I don't have that much experience with XWiki, so I just need a gentle nudge in the right direction I use XWiki to write internal procedures in the company. I also want to do a yearly audit to verify compliance to the procedures. So what I want to do is have in each procedure one section called