[xwiki-users] Length of string in HQL query

2015-02-12 Thread Jason Clemons
Hello all, Is there a way to test the length of a string property using HQL? I want to use length as a criteria in my WHERE clause, but I can't seem to find an example anywhere of the syntax or if it's even possible. Thanks in advance, Jason ___ u

Re: [xwiki-users] HQL selected index of combo box list

2015-02-11 Thread Jason Clemons
ndex? The index is very > fragile as you can add new supported values and the order can changed. > > Hope this helps, > Marius > >> On Thu, Feb 12, 2015 at 2:19 AM, Jason Clemons >> wrote: >> is this not possible? >> >> >> >>> On Fe

[xwiki-users] Hide buttons in AppWithinMinutes solutions

2015-02-11 Thread Jason Clemons
Hello all, Is there a way to hide "Preview" and "Save and Continue" buttons in forms created using AppWithinMinutes? I tried hiding them via CSS extension, using Display:None; but a specific button is a bit more difficult to get a CSS handle on since they aren't generated with an ID tag.. I

Re: [xwiki-users] HQL selected index of combo box list

2015-02-11 Thread Jason Clemons
is this not possible? > On Feb 3, 2015, at 8:56 AM, Jason Clemons wrote: > > Hello all, > > I have no issue getting the value of a combo box control in HQL using > "ComboBoxName.value = 'foobar'" but is there a way to get the selecte

Re: [xwiki-users] how to get debug messages in log

2015-02-09 Thread Jason Clemons
is there a way to log a message from groovy? > On Feb 9, 2015, at 12:14 PM, "vinc...@massol.net" wrote: > > Hi Jason, > > > On 9 Feb 2015 at 19:32:28, Jason Clemons > (jason.clem...@live.com(mailto:jason.clem...@live.com)) wrote: > > > > > &

[xwiki-users] how to get debug messages in log

2015-02-09 Thread Jason Clemons
Hello all, which logging configuration do I need to make to see he results of println from Groovy? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

Re: [xwiki-users] Server side validation / block save

2015-02-06 Thread Jason Clemons
it is implemented in the example). Is the CreateDoc essentially the code that is "shimed" in between the save event and the actual save? If so, how is it called? Thanks again for all your help > On Feb 5, 2015, at 3:33 AM, Clemens Klein-Robbenhaar > wrote: > >> On 02

Re: [xwiki-users] Server side validation / block save

2015-02-03 Thread Jason Clemons
bump...please help :) > On Jan 30, 2015, at 10:50 AM, Jason Clemons wrote: > > Hello all, > > > > I'm hoping someone can give me a suggestion to save my skin. When I was > brand new to xwiki I quickly created an application for "ticketing" using &g

[xwiki-users] HQL selected index of combo box list

2015-02-03 Thread Jason Clemons
Hello all, I have no issue getting the value of a combo box control in HQL using "ComboBoxName.value = 'foobar'" but is there a way to get the selected index of the combobox in my query? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mai

[xwiki-users] Server side validation / block save

2015-01-30 Thread Jason Clemons
Hello all, I'm hoping someone can give me a suggestion to save my skin. When I was brand new to xwiki I quickly created an application for "ticketing" using AppWithinMinutes because it seemed like the easiest way for a newbie to create an application. In doing so I created a form which had s

[xwiki-users] column name in LiveTable rendered by documents macro

2015-01-21 Thread Jason Clemons
Hello all, I've changed the columns that are rendered in my space index by adding a "columns" attribute as described by the article here http://extensions.xwiki.org/xwiki/bin/view/Extension/Documents+Macro and the column I added does show up as expected (doc.creator), but the header column for

[xwiki-users] prevent page save

2015-01-08 Thread Jason Clemons
Hello all, I've implemented some client side page validation using JavaScript which works well, but I want to implement some simple checks on server side also. I know how to evaluate the values in my UI using velocity after the page is submitted, but how do I prevent the page from saving if m

Re: [xwiki-users] Run external script to generate data for wiki page

2014-12-18 Thread Jason Clemons
on the same server and invoke it from the client with an AJAX call? > ________ > From: Jason Clemons [jason.clem...@live.com] > Sent: 19 December 2014 10:00 > To: 'XWiki Users' > Subject: Re: [xwiki-users] Run external script to generate data

Re: [xwiki-users] Run external script to generate data for wiki page

2014-12-18 Thread Jason Clemons
Bump... :) Hello all, I'm wondering if anyone has done anything like this before so, I thought I'd ask it here. Essentially, what I want to do is have a page / form that my users fill out and then submit. Upon submit I need to invoke an external script (e.g..Perl, Python, VBScript, Batch etc...

[xwiki-users] Run external script to generate data for wiki page

2014-12-16 Thread Jason Clemons
> Hello all, > > I'm wondering if anyone has done anything like this before so, I thought I'd > ask it here. Essentially, what I want to do is have a page / form that my > users fill out and then submit. Upon submit I need to invoke an external > script (e.g..Perl, Python, VBScript, Batch et

Re: [xwiki-users] What would you like to see in the XWiki 7.x cycle?

2014-12-09 Thread Jason Clemons
I have say, upgrading makes me very nervous too..so, I'd definitely vote for anything that changes or enhances that process. So far, I'm terrified to even try an upgrade (currently on 5.4) since my wiki is production and we've done a fair bit of customized solutions to unique problems (likely n

[xwiki-users] Page created from Velocity with template can't be edited

2014-12-09 Thread Jason Clemons
Hello all, I have an issue with some Velocity code I got from here ---> http://extensions.xwiki.org/xwiki/bin/view/Extension/Create+Page+With+Object When the code runs the resulting page is created and the template is used, but none of my users can edit the page after (not even the admin). It

[xwiki-users] Query external MSSQL DB in a wiki page

2014-12-08 Thread Jason Clemons
Hello, Can anyone point me in the right direction? I'm trying to query and external Microsoft SQL database from a wiki page. My current wiki runs on MSSQL just fine using sqljdbc4.jar configured with hibernate. The DB I want to query is actually on the same server, I can actually make it app

[xwiki-users] documentation

2014-12-04 Thread Jason Clemons
Hello all, is there documentation I can refer to that lists all the properties of "doc". I find most of the stuff I need in HQL or Velocity or whatever are attributes of a document, but I'd like to see all possible attributes and their meaning somewhere if it exists. _

[xwiki-users] Access value of property on same page

2014-11-11 Thread Jason Clemons
Hello all, I have a list on a page which defaults to a value defined in the objects of the page. What I want to do is access the value of the list after the page is refreshed from velocity code on the same page. My users would open the page and see the lists with their default values, then s

Re: [xwiki-users] Livetable results hidden from everyone but Admin?

2014-11-05 Thread Jason Clemons
So, I'm thinking that can't be the issue.. anyone else have anything to offer? I'm a bit confused.. -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Jason Clemons Sent: Wednesday, November 5, 2014 8:53 PM To: 'XWiki Users' Subject: Re

Re: [xwiki-users] Livetable results hidden from everyone but Admin?

2014-11-05 Thread Jason Clemons
I just checked, and it appears that NONE of the granular permissions is checked on any of the object / pages related to LiveTable.. -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Jason Clemons Sent: Wednesday, November 5, 2014 8:34 PM To: 'XWiki

Re: [xwiki-users] Livetable results hidden from everyone but Admin?

2014-11-05 Thread Jason Clemons
results hidden from everyone but Admin? Hi Jason, Maybe you have not given view rights *explicitly* to the Admin user (i.e. the admin user has "view" checked). In this case, all other users are denied the right. Thanks, Eduard On Thu, Nov 6, 2014 at 12:55 AM, Jason Clemons wrote: &

[xwiki-users] Livetable results hidden from everyone but Admin?

2014-11-05 Thread Jason Clemons
Hello all, I have this odd problem and I'm hoping someone can help. I was messing with permissions and now all my regular users, other than admins can't see any rows in ANY LiveTable. I've checked permissions on every related object I can think of and can't find anything out of the ordinary,

Re: [xwiki-users] Monitoring an Xwiki stack

2014-10-31 Thread Jason Clemons
I's also find any suggestions very helpful, I've had that happen a few times and outside of monitoring CPU and RAM, I've found logging to be difficult to use and configure, and even when I get it configured it's not very helpful. > On Oct 31, 2014, at 1:57 PM, Bryn Jeffries > wrote: > > Hav

Re: [xwiki-users] velocity page search

2014-10-17 Thread Jason Clemons
definitely it does, thanks for taking the time to respond, I appreciate it. > On Oct 17, 2014, at 1:40 AM, Marius Dumitru Florea > wrote: > >> On Fri, Oct 17, 2014 at 9:35 AM, Jason Clemons >> wrote: >> Hey Marius, >> >> Thanks for your response.. t

Re: [xwiki-users] velocity page search

2014-10-16 Thread Jason Clemons
earch using the Query Manager. There are plenty of examples here http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module (2) Full text search using Solr http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Query+API Hope this helps, Marius On Oct 17, 2014 1:41 AM, "Jas

[xwiki-users] velocity page search

2014-10-16 Thread Jason Clemons
Hello all, I have some "brute force" velocity code that basically iterates all my spaces looking for a page, then checks if the page is "new" or not. if the page is "new" I know that the page doesn't exist in that space and so I go to the next space and repeat until I find a page that is NOT ne

Re: [xwiki-users] URL loop error

2014-10-16 Thread Jason Clemons
ve to admit that is a bit puzzling to me. If you keep ldap enabled, but > also temporarily enable the 'superadmin' account, is the problem also present > for the superadmin? > >> On 10/16/2014 06:56 AM, Jason Clemons wrote: >> I think this had to do with failing LDAP cre

Re: [xwiki-users] URL loop error

2014-10-15 Thread Jason Clemons
I think this had to do with failing LDAP credentials.. I changed xwiki.authentication.ldap=0 and the problem went away. I had moved my installation file from one server to another for testing and the test server didn't have access to LDAP, thus the issue. -Original Message- From: user

[xwiki-users] URL loop error

2014-10-14 Thread Jason Clemons
> Hey All, > > I’m hoping someone can help me out.. My wiki installation has stopped > working. I’m running it in Tomcat 8 from the ROOT folder “C:\Program Files > (x86)\Tomcat\webapps\ROOT” (the only app running on the server), nothing has > changed other than content in the wiki itself, bu

Re: [xwiki-users] Static list value vs. display

2014-10-08 Thread Jason Clemons
> class, objects will no longer *know* how to display your (now) unknown > value. > > Hope that clarifies things. > > Thanks, > Eduard > > On Tue, Oct 7, 2014 at 6:37 PM, Jason Clemons > wrote: > >> Hello all, >> >> I'm not sure if I&#x

Re: [xwiki-users] DBlist with external query data?

2014-10-07 Thread Jason Clemons
I'd like to do the same :) -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Bryn Jeffries Sent: Tuesday, October 7, 2014 8:54 PM To: users@xwiki.org Subject: [xwiki-users] DBlist with external query data? Please forgive my ignorance, but is it possible to use D

[xwiki-users] Static list value vs. display

2014-10-07 Thread Jason Clemons
Hello all, I'm not sure if I'm doing something wrong or not, but I have an issue with my static lists. I set the "value" as follows: 1-choice 1|2-choice 2|3-choice 3 when I view my form I see the choices as follows: choice 1 choice 2 choice 3 which is what I expect, however...if I change the

Re: [xwiki-users] Get the TEXT of a property instead of the value

2014-09-04 Thread Jason Clemons
Such a simple solution, thank you so much for the response. > On Sep 4, 2014, at 12:07 AM, "Jason Clemons" wrote: > > Thanks, I'll give that a go in the morning and post back > >> On Sep 4, 2014, at 12:05 AM, "Jean SIMARD" wrote: >> >&

Re: [xwiki-users] LDAP GROUPS

2014-09-04 Thread Jason Clemons
if you are motivated ;) > >> On Thu, Sep 4, 2014 at 9:03 AM, Jason Clemons wrote: >> Bummer, thanks anyway for the answer :) >> >>> On Sep 4, 2014, at 12:02 AM, "Thomas Mortagne" >>> wrote: >>> >>> No that specific property supp

Re: [xwiki-users] Get the TEXT of a property instead of the value

2014-09-04 Thread Jason Clemons
.getObject('Sandbox.YourClass')) > $obj.getProperty('field1').getValue() > {{/velocity}} > > do this > > {{velocity}} > #set($d = $xwiki.getDocument('Sandbox.YourDocument')) > $d.display('field1') > {{/velocity}} > > Ho

Re: [xwiki-users] LDAP GROUPS

2014-09-04 Thread Jason Clemons
ng other LDAP groups and put this > meta group in xwiki.cfg. > >> On Wed, Sep 3, 2014 at 9:32 PM, Jason Clemons wrote: >> Hello all, >> >> Is it possible to add more than one LDAP group to the authentication service? >> >> Is there a sep

[xwiki-users] Get the TEXT of a property instead of the value

2014-09-03 Thread Jason Clemons
Hello all, I've been beating my head against the wall on this so I'm hoping someone can chime in and set me straight. I have a static list control on a page and I can easily access it's value using "$obj.getProperty('field1').getValue()" but I really need the TEXT of the property. In other wo

[xwiki-users] LDAP GROUPS

2014-09-03 Thread Jason Clemons
Hello all, Is it possible to add more than one LDAP group to the authentication service? Is there a separator that is allowed in xwiki.cfg, or would I just duplicate the "xwiki.authentication.ldap.user_group" section to add another path? I have need to add a few additional AD groups, but I ca

Re: [xwiki-users] Write to logger using Velocity

2014-08-26 Thread Jason Clemons
This is something new to 6.1? I'm not on 6.1 yet, maybe that's why? > On Aug 26, 2014, at 8:21 AM, "Jeremie BOUSQUET" > wrote: > > 2014-08-26 17:08 GMT+02:00 Jason Clemons : > >> So sorry, but one more question..since I'm new to Xwiki, and all

Re: [xwiki-users] Write to logger using Velocity

2014-08-26 Thread Jason Clemons
I have exactly that in my page, that's why I was confused :) > On Aug 26, 2014, at 8:17 AM, "Valdis Vītoliņš" wrote: > > You need to say that following will be velocity script with > opening/closing tags like this: > > {{velocity}} > #set($logger = $services.logging.getLogger("My script")) > $l

Re: [xwiki-users] Write to logger using Velocity

2014-08-26 Thread Jason Clemons
source" section) the page and the script section renders without error on the page, but the output literally says "$logger.info("foobar")" on the page. I would expect no visible output, but to see a log entry, am I missing something? > On Aug 26, 2014, at 7:39

Re: [xwiki-users] Write to logger using Velocity

2014-08-26 Thread Jason Clemons
> similar "look" to your own sample. > "My script" is just an informative name of the logger you create. You could > use $doc.name for instance. > > It's not much more complex, and it's really more clean than > System.out.println ;-) > > BR, > Je

Re: [xwiki-users] Write to logger using Velocity

2014-08-25 Thread Jason Clemons
t;) {{/groovy}} I'm just having an issue figuring out the velocity equivalent... > On Aug 25, 2014, at 9:56 AM, "vinc...@massol.net" wrote: > > > > > >> On 25 Aug 2014 at 18:26:28, Jason Clemons >> (jason.clem...@live.com(mailto:jason.clem...@li

Re: [xwiki-users] Write to logger using Velocity

2014-08-25 Thread Jason Clemons
or anything heavy for my wiki. Is there some simple example on the link you provided that I'm not interpreting correctly? > On Aug 25, 2014, at 9:18 AM, "vinc...@massol.net" wrote: > > >> On 25 Aug 2014 at 18:02:12, Jason Clemons >> (jason.clem...@live.co

[xwiki-users] Write to logger using Velocity

2014-08-25 Thread Jason Clemons
Hello, can someone please give me an example of how to write to a log using Velocity code? I'd really like to write a text file, but at this point any logging would be tremendously helpful, thanks ___ users mailing list users@xwiki.org http://lists.xwi

[xwiki-users] Re-register / Un-register / List EventListeners

2014-08-22 Thread Jason Clemons
Hello all, I've followed the tutorial at http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingEventListenerTutorial and gotten it to work, but now I can't change the code in the event listener to do anything different, how do I force my event listener to re-register and take changes in the

Re: [xwiki-users] Document Macro Question

2014-08-21 Thread Jason Clemons
> . > > Hope this helps, > Marius > >> On Wed, Aug 20, 2014 at 9:01 PM, Jason Clemons >> wrote: >> Hello all, >> >> I've added a "Document Macro" to my page template which shows the contents >> of a LiveTable which works perfec

[xwiki-users] Document Macro Question

2014-08-20 Thread Jason Clemons
Hello all, I've added a "Document Macro" to my page template which shows the contents of a LiveTable which works perfectly. I'm wondering if there is a way (in the document macro) to filter the results on a column in my LiveTable to only show specific rows ? ___

Re: [xwiki-users] Groovy or Velocity code to read combo boxes and text boxes

2014-08-19 Thread Jason Clemons
Thank you, I'll give that a shot :) > On Aug 19, 2014, at 1:14 AM, "Marius Dumitru Florea" > wrote: > >> On Mon, Aug 18, 2014 at 6:43 PM, Jason Clemons >> wrote: >> Hello all, >> >> I'm sure this question has been asked before

[xwiki-users] Groovy or Velocity code to read combo boxes and text boxes

2014-08-18 Thread Jason Clemons
? 3. How do I write to a different page in the Wiki using Groovy or Velocity? I'm obviously going to continue searching Google, but any pointers / help is greatly appreciated. Thanks in Advance, Jason Clemons ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

[xwiki-users] Enhance SOLR search

2014-08-12 Thread Jason Clemons
hin Minutes" and I'd like key fields from the user entries into the app to show up in search results as well. Thanks in advance everyone, Jason Clemons ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

Re: [xwiki-users] RESTful API help

2014-07-22 Thread Jason Clemons
it, otherwise you'll get an error. > > Keep in mind that if your "sheet" is bound to the class, then adding an > object of that class to a page will cause that page to display that class's > sheet automatically... > > > On Tue, Jul 22, 2014 at 5:31 PM, Jason Cle

Re: [xwiki-users] RESTful API help

2014-07-22 Thread Jason Clemons
st need your new page to include the page with the > app code, you can create a new page and modify the contents to contain the > {{include}} macro... > > Hope that helps, at least until someone who knows what they're talking > about comes along... > > > > On Tue, Jul 22,

[xwiki-users] RESTful API help

2014-07-22 Thread Jason Clemons
Hello all, I've created an "App Within Minutes" application we are using for some reporting and issue tracking which is pretty much done now, but I need a way to create a page in the application with an API call. I've seen tons of information on creating pages or modifying pages and I can get

Re: [xwiki-users] Skip name dialog in App Within Minutes

2014-07-17 Thread Jason Clemons
eference documentation for the api > > http://platform.xwiki.org/xwiki/bin/view/SRD/Navigation > > Ludovic > Le 17 juil. 2014 10:23, "Jason Clemons" a écrit : > >> Thanks Vincent, >> >> I already created some client side code which creates a UID using a

Re: [xwiki-users] Help with Database List

2014-07-17 Thread Jason Clemons
er inputs, and to > propose a predefined list of values, you could also just use the "suggest" > feature in your field (and make it a simple string field instead of db > list). > > Hope this helps, > Jeremie > > [1] - > http://dev.xwiki.org/xwiki/bin/view/Drafts

Re: [xwiki-users] Help with Database List

2014-07-17 Thread Jason Clemons
on't need strict validation of user inputs, and to > propose a predefined list of values, you could also just use the "suggest" > feature in your field (and make it a simple string field instead of db > list). > > Hope this helps, > Jeremie > > [1] - > ht

Re: [xwiki-users] Skip name dialog in App Within Minutes

2014-07-17 Thread Jason Clemons
gt; You could also check this extension as a helper, I think it was made for a > similar (if not the same) use case: > http://extensions.xwiki.org/xwiki/bin/view/Extension/Unique+Identification+Number+Module > > Thanks > -Vincent > > > > On 17 Jul 2014 at 02:04:55, Ja

Re: [xwiki-users] Help with Database List

2014-07-17 Thread Jason Clemons
to devise a strategy to allow my user community to add/delete and edit the values that show up in my list without cracking into code or the class editor. And I don't want them to call me either :) > On Jul 15, 2014, at 8:48 AM, "Jason Clemons" wrote: > > >> H

Re: [xwiki-users] Skip name dialog in App Within Minutes

2014-07-16 Thread Jason Clemons
he uid from the autofilled field. >> >> [1] >> http://extensions.xwiki.org/xwiki/bin/view/Extension/Self-Renaming+Forms >> >> BR, >> Jeremie >> >> >> 2014-07-16 23:59 GMT+02:00 Jason Clemons : >> >> Hello all, >&g

[xwiki-users] Skip name dialog in App Within Minutes

2014-07-16 Thread Jason Clemons
Hello all, I've created an "App Within Minutes" and written some custom JavaScript to autofill the value of the popup dialog box (called "Entry Name") with a randomly generated UID.. Essentially what happens is I click the "Add New Entry" button and when the dialog pops up, it is autofilled w

[xwiki-users] Help with Database List

2014-07-15 Thread Jason Clemons
> Hello again all, > > I’m trying not to ask every little question here, but I’m pretty well stuck. > I’ve created an App Within Minutes app and added a “Database List” but I’m > not sure how to populate the list. I’ve read tons (mostly of which I don’t > understand) about HQL and LiveTable

Re: [xwiki-users] Welcome to the "users" mailing list

2014-07-09 Thread Jason Clemons
Can anyone tell me how to get the current page name from Velocity code? > On Jul 2, 2014, at 11:51 PM, "Jason Clemons" wrote: > > Hello, > > I'm new new new to xwiki, but I think it's pretty cool so far. I've been > killing myself trying to work

Re: [xwiki-users] [myxwiki] new wiki request

2014-07-03 Thread Jason Clemons
Sure, yeah man.. let me shoot you over my social security number too.. -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Bogdan Doinea Sent: Thursday, July 3, 2014 12:21 AM To: users@xwiki.org Subject: [xwiki-users] [myxwiki] new wiki request Hello there, My n

Re: [xwiki-users] Welcome to the "users" mailing list

2014-07-02 Thread Jason Clemons
Hello, I'm new new new to xwiki, but I think it's pretty cool so far. I've been killing myself trying to work out where to add javascriptextension on an "app within minute" page. I want the javascript to create some handlers on page load, hide some buttons, form validation etc.. for the life of