[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 source inspectors to take with them. So when I go to print the
manual, I want to include an Index with page numbers like in a book. Is
there a way to do that?

Dan.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Printable-Index-tp7599082.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


[xwiki-users] General XWiki Exception after Tomcat Startup (Component manager has not been initialized before lookup)

2016-04-19 Thread matti
Hello,

our XWiki installation isn't running anymore. After restarting Tomcat, there
is always the stacktrace below. No change to content has been made, afaik.

Any help is most welcome. The XWiki version is 5.2.1 according to the
"version.properties" file.
Matthias





--
View this message in context: 
http://xwiki.475771.n2.nabble.com/General-XWiki-Exception-after-Tomcat-Startup-Component-manager-has-not-been-initialized-before-looku-tp7599079.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] Moving AppWithinMinutes app to another location in the same wiki

2016-04-19 Thread Vincent Massol
Hi,

> On 19 Apr 2016, at 22:02, Ryszard Łach  wrote:
> 
> Hi.
> 
> Is there a way to migrate (xwiki 7.2.4) an application created via 
> AppWithinMInutes to another node in the same wiki tree, with all documents 
> created by the app ? The easy way (move parent document with all children) 
> doesn't seem to work.

AWM creates the app in a space (2 spaces before 7.3/7.4 and a single space 
after) so if you move those spaces it should work fine.

If not then it’s a bug IMO.

Thanks
-Vincent

> TIA,
> 
> R.

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


[xwiki-users] Moving AppWithinMinutes app to another location in the same wiki

2016-04-19 Thread Ryszard Łach
Hi.

Is there a way to migrate (xwiki 7.2.4) an application created via 
AppWithinMInutes to another node in the same wiki tree, with all documents 
created by the app ? The easy way (move parent document with all children) 
doesn't seem to work.

TIA,

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


Re: [xwiki-users] Parsing external JSON with Velocity in XWiki

2016-04-19 Thread Vincent Massol

> On 19 Apr 2016, at 19:18, Mahomed Hussein  wrote:
> 
> Hi
> 
> I started off on something I thought would be simple, but my limited 
> knowledge is failing me and Google isn’t bringing up anything useful.
> 
> Basically, I have a url that returns JSON content (for the sake of this 
> example – assume the url is https://status.com/api/status.json)
> The content returned by the URL is:
> 
> {"page":{"id":"9jyl5nk7mszv","name":"Custodian 
> DataCentres","url":"http://status.custdc.net","updated_at":"2016-04-19T15:45:36.626+01:00"},"status":{"indicator":"none","description":"All
>  Systems Operational"}}
> 
> What I wanted to do was to simply read that JSON and then process the values 
> and possibly output something like:
> 
> Status: All Systems Operational
> Last Update: 2016-04-19T15:45:36
> 
> So far I have managed to get the URL content with:
> 
> {{velocity}}
> #set($jsoncontent = 
> $xwiki.getURLContent(‘https://status.com/api/status.json’))
> $jsoncontent
> {{/velocity}}
> 
> This is where I get stuck. How do I get the $jsonconent into an array or 
> somehow read the values?

There’s a $jsontool you can use in velocity, see 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Velocity+Module#HVelocityTools

Otherwise you can also use groovy instead which supports reading and parsing 
JSON by default. Several examples are on extensions.xwiki.org.

Thanks
-Vincent


> Apologies for the basic question, but I hope someone can either point me in 
> the right direction or provide an example I can work from. Thanks.
> 
> 
> Kind regards,
> 
> 
> Mahomed Hussein
> Custodian Data Centre
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Parsing external JSON with Velocity in XWiki

2016-04-19 Thread Mahomed Hussein
Hi

I started off on something I thought would be simple, but my limited knowledge 
is failing me and Google isn’t bringing up anything useful.

Basically, I have a url that returns JSON content (for the sake of this example 
– assume the url is https://status.com/api/status.json)
The content returned by the URL is:

{"page":{"id":"9jyl5nk7mszv","name":"Custodian 
DataCentres","url":"http://status.custdc.net","updated_at":"2016-04-19T15:45:36.626+01:00"},"status":{"indicator":"none","description":"All
 Systems Operational"}}

What I wanted to do was to simply read that JSON and then process the values 
and possibly output something like:

Status: All Systems Operational
Last Update: 2016-04-19T15:45:36

So far I have managed to get the URL content with:

{{velocity}}
#set($jsoncontent = $xwiki.getURLContent(‘https://status.com/api/status.json’))
$jsoncontent
{{/velocity}}

This is where I get stuck. How do I get the $jsonconent into an array or 
somehow read the values?

Apologies for the basic question, but I hope someone can either point me in the 
right direction or provide an example I can work from. Thanks.


Kind regards,


Mahomed Hussein
Custodian Data Centre
Email: maho...@custodiandc.com
http://www.CustodianDC.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Ansible playbook for installing XWiki Enterprise

2016-04-19 Thread Vincent Massol
Hi Andrea,

This is a great contribution! Thanks!

I’ve added it to 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HOtherInstallationMethods

Waiting for even more contributions now ;)

I’m curious: what do you like the most in XWiki?

Thanks
-Vincent

> On 07 Apr 2016, at 12:59, Andrea Russo  wrote:
> 
> Dear all,
> 
> I'm new to the list and I would like to enter this community with a
> little contribution from my side to thank you all for the very nice wiki
> platform XWiki is. We are using it for some weeks by now and we are
> finding it very nice and useful.
> 
> To install and configure XWiki for a project, I developed this Ansible
> playbook:
> 
> https://github.com/rastandy/xwiki-ansible-playbook
> 
> I'm happily sharing it with you, hoping someone could find it useful.
> 
> Thank you and happy wiking,
> Andrea.
> 
> -- 
> Andrea Russo, Junior Research Associate
> Fondazione CMCC
> Centro Euro Mediterraneo sui Cambiamenti Climatici (http://www.cmcc.it)
> Address: via Augusto Imperatore, 16 - 73100 Lecce
> Phone: +39 0832 671064 - Fax: 0039 0832 671064

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


Re: [xwiki-users] What would be a simple way to display a Masonry view in XWiki ?

2016-04-19 Thread Vincent Massol

> On 14 Apr 2016, at 21:59, Thibaut DEVERAUX  wrote:
> 
> Hi,
> 
> Thanks ! Totem seems pretty intersting.
> Theorically "ImageOnTop" should do the job.
> 
> I created a section with ImageOnTop display.
> In "edit elements of this section" / advanced, I added the autocompleted
> class reference : Myapp.Code.MyappClass.
> This display a dynamic list of pages.
> What is missing is the image "on top".
> 
> I tried to add some pieces of code from reference application in "image"
> fied to get the first image attached but I couldn't get it working with
> Reference and I'm not even sure if this is supposed to work like this.
> 
> What would be the right way to display an image from an object ?

Sorry, I’ve never used this extensions, I don’t know. Maybe others know?

Thanks
-Vincent

> 
> Regards
> 
> 
> Le dim. 10 avr. 2016 à 14:11, Vincent Massol  a écrit :
> 
>> Hi Thibaut,
>> 
>>> On 10 Apr 2016, at 10:41, Thibaut DEVERAUX 
>> wrote:
>>> 
>>> Dear,
>>> 
>>> I'm looking in a way to display a Masonry style page in XWiki for blog or
>>> application.
>>> 
>>> The masonry style (often called "grid") is something like this :
>>> http://mariustheme.tumblr.com/
>> 
>> Looks a bit similar to what the Totem application does:
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/TotemApplication
>> 
>>> // Why ?
>>> 
>>> In termes of ergonomics it show it full potential when images speak
>> better
>>> than text. This is why Google images and Pinterest use it.
>>> 
>>> Typical applications for XWiki could be :
>>> - Physicial products database : the image help finding the product quicly
>>> when not sure of the name.
>>> - Designs database : not just an image, a design goes with some
>> description
>>> and data so it is usefull to link to a page.
>>> - Physicial defects database : in industry, to quicly caracterise a
>> defect
>>> that appears visually on a part.
>>> - ...
>>> 
>>> My need is for a nice looking collaborative product designs database.
>>> This database would be one app in a Wiki that has other uses.
>>> 
>>> 
>>> // The question :
>>> 
>>> What would be a simple way to make it in XWiki with a minimum coding ?
>> 
>> The way I’d approach it:
>> 
>> 1) Try the totem app and see if it matches your need
>> 2) If not, see if would make sense to include a masonry style option in
>> the totem app
>> 3) if not, investigate using a library like http://masonry.desandro.com/.
>> Use a JSX to enable it for a page. That shouldn’t take longer than 1 hour
>> of work
>> 4) If you want to go further, consider creation a masonry app for XWiki
>> that would allow creating masonry-style pages similar to what the totem app
>> does. You could do this using AWM as a starter place.
>> 
>> Thanks
>> -Vincent
>> 
>>> // My current search state and ideas :
>>> 
>>> I already searched the plugin database and couldn't find someting already
>>> build. But I could have missed something.
>>> 
>>> Then, I thinked in making an app with App Within Minuts and modifing
>>> LiveTable.
>>> 
>>> First step would be to edit the code to display only the first
>> attachement
>>> as a bigguer image.
>>> 
>>> It could be a quick fix waiting for the second step, more complex, to
>>> display the LiveTable as a masonry view. There is already existing code
>>> that could be adapted. However this would be at the limit of my few
>>> programming skills and then taking a lot of time.
>>> 
>>> Also I'm not sure if LiveTable can be modified on the context of one
>>> application only (not modifiing the others applications).
>>> - If yes, would it still be possible to use Apps Within Minutes to modify
>>> other parts of the app, not reversing the handmade code modifications ?
>>> - If not I gess this mean I need a more complex plugin to add a
>> "massonery
>>> view" option to LiveTable and another option to Apps Within Minuts to
>>> display it by default ?
>>> 
>>> This is only a XWiki beginner ideas so maybe someone has an idea of a
>>> simpler way to do it ?
>>> 
>>> Regards
>>> --
>>> Thibaut DEVERAUX
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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

2016-04-19 Thread Vincent Massol
still can’t help you without the error…

-Vincent

> On 15 Apr 2016, at 18:55, Daniel Ullfig  wrote:
> 
> 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 
> links to url's using parse and render.
> 
> 
> String run( request, response) {
>  // Using umlref, each diagram of the wiki page has its own unique url
>  def umlref="1"
>  if (null != ctx.umlref) {
>umlref=Integer.toString(Integer.valueOf(ctx.umlref)+1)
>  }
>  ctx.put("umlref", umlref)
>  response.setContentType("image/svg+xml")
>  // translate all page links to url's
>  def translated = services.rendering.render( services.rendering.parse( 
> umltext, "xwiki/2.1" ), "xhtml/1.0" )
>  def reader = new SourceStringReader("@startuml\n"+translated+"\n@enduml")
>  def os = new ByteArrayOutputStream()
>  def option = new FileFormatOption( FileFormat.SVG )
>  def desc = reader.generateImage(os, option)
>  os.close()
> 
>return "{{html wiki=\"true\"}}" + os + "{{/html}}"
> 
> }
> 
> It throws an exception with a long long traceback, seems to complain of 
> non-existing feature. commenting out the line with the rendering call makes 
> it work.
> 
> Dan
> 
> -Original Message- From: Vincent Massol
> Sent: Thursday, April 14, 2016 11:24 PM
> To: XWiki Users
> Subject: Re: [xwiki-users] Can't make a groovy macro work
> 
> 
>> On 15 Apr 2016, at 05:32, dullfig  wrote:
>> 
>> 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!
> 
> See 
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Rendering+Module#HRenderingScriptService
> 
> To help you more we’d need to see your content and the error you get.
> 
> Thanks
> -Vincent
> 
>> 
>> Dan.
>> 
>> 
>> 
>> --
>> View this message in context: 
>> http://xwiki.475771.n2.nabble.com/Can-t-make-a-groovy-macro-work-tp7599001.html
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Disabling javascript in HTML macro

2016-04-19 Thread Vincent Massol
Hi Andrew,

> On 18 Apr 2016, at 19:32, Andrew Kuang  wrote:
> 
> Thank you for the responses, Vincent and Marius.
> 
> After playing around with the HTML macro, I came across a potential
> solution. It appears that all the XWiki-created pages reside within certain
> spaces (xwiki:Wiki, xwiki:WikiManager, etc). With that in mind, I was able
> to prototype an override for the HTML macro that whitelisted specific wiki
> spaces (Wiki, WikiManager, etc) and potentially lock down the creation/edit
> of pages in those spaces to the Admin group. This way we would be able to
> avoid conflicting with any existing Javascript usage while preventing
> outside (non-admin) users from using JavaScript on their pages.
> 
> In the event that the page in question is not part of the whitelisted space
> and contains Javascript, we would return an error block with an error
> message instead of rendering the content passed into the HTML macro. I
> wanted to get any input on if this is a viable solution or if there are any
> crucial parts I may have overlooked that jeopardize this approach. Thank
> you!

The main issue I can see is that XWiki extensions contribute pages in various 
spaces. For example the Admin Application contributes pages in the XWiki space, 
while the FAQ Application contributes pages in the FAQ and FAQCode spaces. So 
if one extension requires javascript you’ll need to add those spaces to your 
whitelist.

Another option you have is to allow javascript when the last author of the page 
has programming rights for example (this is the highest security level in 
XWiki) or even Admin rights. Thus installed extensions would work since you 
install them with a user having Admin rights at minimum.

To check for this is easy:

@Inject
private ContextualAuthorizationManager cam;
…
if (!cam.hasAccess(Right.PROGRAM, ) {…}

Hope it helps,
Thanks
-Vincent

> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Disabling-javascript-in-HTML-macro-tp7599019p7599044.html

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


Re: [xwiki-users] xWiki RESTful/HTTP Connection

2016-04-19 Thread Thomas Mortagne
That's because what Mohamed is referring is the old (3.x) HttpClient
and not the new (4.x) one which have different (sometime very
different) API.

The main issue you have is probably the fact that XWiki does not ask
the client for credential by default since anonymous access is valid.
That means you need to force preemptive authentication which is very
easy in 3.x (just a call to setAuthenticationPreemptive like in
Mohamed's example) and quite harder in 4.x (they find dangerous to
support it like they used to...).

You can find various examples on Google and the official documentation
is on 
https://hc.apache.org/httpcomponents-client-ga/tutorial/html/authentication.html
(section "4.6. Preemptive authentication").

On Mon, Apr 18, 2016 at 3:05 PM, Tobi  wrote:
> For some reasons it gives me this
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/commons/logging/LogFactory
> at 
> org.apache.commons.httpclient.HttpClient.(HttpClient.java:65)
> at RestTest2.getClient(RestTest2.java:16)
> at RestTest2.main(RestTest2.java:27)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.logging.LogFactory
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 3 more
>
> Code:
>
> import java.io.IOException;
>
> import org.apache.commons.httpclient.HttpClient;
> import org.apache.commons.httpclient.methods.GetMethod;
> import org.apache.commons.httpclient.methods.PutMethod;
> import org.xwiki.rest.model.jaxb.ObjectFactory;
> import org.xwiki.rest.model.jaxb.Page;
> import org.apache.commons.httpclient.methods.PostMethod;
> import org.apache.commons.httpclient.UsernamePasswordCredentials;
> import org.apache.commons.httpclient.auth.AuthScope;
> import org.apache.commons.httpclient.NameValuePair;
>
> public class RestTest2 {
>
>  static HttpClient getClient(String host, int port, String username, 
> String
> password) {
>   HttpClient httpClient = new HttpClient();
>   httpClient.getParams().setAuthenticationPreemptive(true);
>   httpClient.getState().setCredentials(
>  new AuthScope(host, port, AuthScope.ANY_REALM),
>  new UsernamePasswordCredentials(username, password)
>   );
>   return httpClient;
>}
>
>public static void main(String[] args) throws IOException {
>  // Get request example
>   HttpClient httpClient = getClient("xwiki.aircr.ru", 8080, "Tobi",
> "gaben1337");
>   GetMethod getMethod = new
> GetMethod("http://xwiki.aircr.ru/xwiki/bin/view/Main/;);
>   getMethod.addRequestHeader("Accept", "application/json");
>   getMethod.setDoAuthentication( true );
>   String getURL = "http://xwiki.aircr.ru/xwiki/bin/view/Main/;;
>   try {
>   int status = httpClient.executeMethod(getMethod);
>  System.out.println(getMethod.getResponseBodyAsString());
>} catch (Exception e) {
>  //...
>   } finally {
>   // release any connection resources used by the method
>   getMethod.releaseConnection();
>}
>
>   // Put request example
>   String putURL = "http://xwiki.aircr.ru/xwiki/bin/view/Main/;;
>   PutMethod putMethod = new PutMethod(putURL);
> putMethod.addRequestHeader("Accept", "application/json");
> putMethod.setDoAuthentication( true );
> try {
>int status = httpClient.executeMethod(putMethod);
>   System.out.println(putMethod.getResponseBodyAsString());
> } catch (Exception e) {
>// ...
>   } finally {
>// release any connection resources used by the method
>   putMethod.releaseConnection();
> }
>   }
>
> }
>
>
>
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/xWiki-RESTful-HTTP-Connection-tp7599026p7599035.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



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


[xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2

2016-04-19 Thread Sebastian Schabbach
Dear all,

a view weeks ago we updated our xwiki application from version 6.2 to version 
7.4, but since upgrading the wiki we encountered several problems with the ACE 
editor. The problems causes unexpected behaviors (loading the article content 
in the ace editor will never end due to javascript errors) when editing 
articles or create new ones.

The root problem seems to be the Xuake script 
(http://baseurl/xwiki/bin/jsx/XWiki/Xuake?language=de=1.1) tries to 
intialize the ace library, but I guess something is missing.
Below is listed the console output when running the create new page wizzard in 
the xwiki.

HTML1406: Invalid tag start: "http://requirejs.org/docs/errors.html#timeout
require.min.js (8,137)
-
SCRIPT438: Object doesn't support property or method 'getLayout'
prototype.js (11,59324)
-
SCRIPT438: Object doesn't support property or method 'getLayout'
prototype.js (11,59324)
-
SCRIPT438: Object doesn't support property or method 'getLayout'
prototype.js (11,59324)
-
SCRIPT438: Object doesn't support property or method 'getLayout'
prototype.js (11,59324)



Hopefully somebody has an idea what is missing and can give me some help with 
that issue.
Let me thanks you for your investigations in advice.


Mit freundlichen Grüßen / Kind regards
Sebastian Schabbach
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki Button with ActionListener?

2016-04-19 Thread Eduard Moraru
Hi Oleg,

This is not really an XWiki-related question as much as it`s a standard
HTML form one.

You want to create a simple (1 button) HTML form that submits to the
current page and the result is to be handled with velocity to check if the
request has the button clicked and execute some other velocity code.

{{velocity}}
#if ("$!request.myButton" != '')
  Button pressed!
  ## more code follows here
#else
  ## Show the form (button)
  {{html}}

  

  {{/html}}
#end
{{/velocity}}

Hope this helps,
Eduard

On Tue, Apr 19, 2016 at 10:04 AM, Rochlin Oleg <
oleg.roch...@ssi-schaefer.com> wrote:

> Thanks for the link. it´s still not really helping me with my question.  )
>
>
> -Ursprüngliche Nachricht-
> Von: Mohamed Boussaa [mailto:mohamed.bous...@xwiki.com]
> Gesendet: Montag, 18. April 2016 17:41
> An: XWiki Users
> Betreff: Re: [xwiki-users] XWiki Button with ActionListener?
>
> Hello,
>
> Here is the XWiki Developer's Guide:
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/
>
>
> Regards,
> Mohamed.
>
> On Mon, Apr 18, 2016 at 1:28 PM, Rochlin Oleg <
> oleg.roch...@ssi-schaefer.com
> > wrote:
>
> > Hello my fellow XWIKI-people.
> > I would like to create a button to generate some content.
> >
> > Pseudo-code example
> >
> > {{velocity}}
> >
> > #set(button=false)
> >
> > Click this Button causes #set(button=true)
> >
> > #if($button)
> >
> > script starts
> >
> > #end
> >
> > {{/velocity}}
> >
> > Any ideas? I am pretty new to WIKI
> >
> >
> > ___
> > 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] Configuring LDAP.

2016-04-19 Thread Thomas Mortagne
When you don't understand what is wrong the best is usually to enable
debug log to follow step by step what the authenticator is doing.

See 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HEnableLDAPdebuglog.

On Mon, Apr 18, 2016 at 9:28 PM,   wrote:
> I used that link to configure my LDAP authentification.
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCases
>
>
> -Message d'origine-
> De : users [mailto:users-boun...@xwiki.org] De la part de 
> sebastien.boulia...@cpu.ca
> Envoyé : 18 avril 2016 15:23
> À : users@xwiki.org
> Objet : [xwiki-users] Configuring LDAP.
>
> Hi all,
>
> Im running Xwiki 7.0.1 and I would like to configure LDAP Authentification.
> I configured my xwiki.cfg like that http://pastebin.com/08DAw0eb BUT I can't 
> connect with my AD user.
>
> Can you help me to setup this features please ?
>
> Thanks you very much in advance.
>
> Sébastien
>
> ___
> 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



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


Re: [xwiki-users] Advice on building simple app

2016-04-19 Thread Marius Dumitru Florea
On Mon, Apr 18, 2016 at 7:21 PM, Ecaterina Moraru (Valica) <
vali...@gmail.com> wrote:

> Hi Tim,
>
> Have you tried using AWM?
>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/App+Within+Minutes+Application
>
>

> After you have the structure you can try to modify the Sheet page and add
> conditionals.
>

No need to modify the sheet. The Content field (from the Field Palette)
allows just that: free form editing (non-structured content). As the name
suggests, the content is actually saved as the content of the wiki page.

Hope this helps,
Marius


>
> Thanks,
> Caty
>
> On Mon, Apr 18, 2016 at 6:11 PM, Tim Dudgeon <
> tdudg...@informaticsmatters.com> wrote:
>
> > Hi all,
> >
> > I'm wanting to create a simple XWiki "app" and being new to this wanted
> to
> > get some advice before starting.
> > What I want is probably not too far removed from the FAQ app, so it may
> > well look a bit like this, but I wanted to get some pointers before
> heading
> > off in the wrong direction.
> >
> > The app is essentially a directory of "things" where each "thing" will be
> > its own wiki page, and there will be a master page that lists them all
> and
> > allow pagination, filtering etc. (livetable etc.)
> > The "things" will have a small number of "fields", not too different from
> > the FAQ app. But where it may differ is that the page for each "thing"
> > should also allow free form editing of the wiki page so that arbitrary
> > additional info can be added (even including scripts etc.) This arbitrary
> > extra info will just be part or the page, not part of the directory.
> > The page for each "thing" will therefore be a combination of structured
> > info (the fields) appearing at the top of the page in a consistent manner
> > across all pages), and non-structured info appearing below this.
> >
> > All advice greatly appreciated.
> >
> > Tim
> >
> > ___
> > 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] XWiki Button with ActionListener?

2016-04-19 Thread Rochlin Oleg
Thanks for the link. it´s still not really helping me with my question.  )


-Ursprüngliche Nachricht-
Von: Mohamed Boussaa [mailto:mohamed.bous...@xwiki.com] 
Gesendet: Montag, 18. April 2016 17:41
An: XWiki Users
Betreff: Re: [xwiki-users] XWiki Button with ActionListener?

Hello,

Here is the XWiki Developer's Guide:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/


Regards,
Mohamed.

On Mon, Apr 18, 2016 at 1:28 PM, Rochlin Oleg  wrote:

> Hello my fellow XWIKI-people.
> I would like to create a button to generate some content.
>
> Pseudo-code example
>
> {{velocity}}
>
> #set(button=false)
>
> Click this Button causes #set(button=true)
>
> #if($button)
>
> script starts
>
> #end
>
> {{/velocity}}
>
> Any ideas? I am pretty new to WIKI
>
>
> ___
> 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