[xwiki-users] Skins - Fix Nav Menus when scrooling page content

2016-09-27 Thread Ramon Gomes Brandao
Hi XWiki Team,

I'm trying to design a new skin based on flaming to attend our company's use 
cases (with XE 8.x) and we were required to fix the top menu divs (for 
instance, the menuview div and the headerglobal div), as well as, if possible, 
side panels, while scrooling the page content. The side panels div shoud also 
be scroolabe, when the elements overflow the viewport.

I could not achieve any success overriding some flamingo's CSS and trying to 
fix elements with position CSS statement. How is the best way to achieve that 
using a new skin approach? I won't also forget to be responsible for small 
screens, so fixing side panels and top menu is not a good idea. How is the best 
way to deal with this?

Best Regards,


RAMON BRANDÃO

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


[xwiki-users] Plans for XE 8.2.2

2016-08-24 Thread Ramon Gomes Brandao
Hi XWiki Team, 

Are there any plans to release a 8.2.2 bugfix version in the upcoming few days? 

Best Regards, 

RAMON BRANDÃO



-Mensagem original-
De: users [mailto:users-boun...@xwiki.org] Em nome de Guillaume Delhumeau
Enviada em: quarta-feira, 24 de agosto de 2016 15:24
Para: XWiki Developers; XWiki Users
Assunto: [xwiki-users] [ANN] XWiki 8.3 Milestone 1 released

The XWiki development team is proud to announce the availability of XWiki
8.3 Milestone 1.
This release brings mostly usability improvements.

You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download

Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki83M1

Thanks for your support
-The XWiki dev team
___
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] RES: XE 8.2.1 NullPointerException in Create action

2016-08-01 Thread Ramon Gomes Brandao
Hi Thomas, 

Thanks for your quick answer. I've opened two JIRA issues, as follows:

A) XWIKI-13617 - the error originally reported in my previous message;
B) XWIKI-13618  - issue regarding what it seems to be related in some cause: 
there's a similar problem with the Template Application. A NPE is fired when 
trying to access the Template Admin Section. 


Regards, 

RAMON GOMES BRANDÃO

-Mensagem original-
De: users [mailto:users-boun...@xwiki.org] Em nome de Thomas Mortagne
Enviada em: segunda-feira, 1 de agosto de 2016 09:33
Para: XWiki Users
Assunto: Re: [xwiki-users] XE 8.2.1 NullPointerException in Create action

Would be great if you could create an issue on http://jira.xwiki.org with the 
complete error and the steps to reproduce.

On Mon, Aug 1, 2016 at 1:52 PM, Ramon Gomes Brandao 
<ramon.bran...@planejamento.gov.br> wrote:
> Hi everybody,
>
> I've just got running a fresh new install of 8.2.1 in a Wildfly instance 
> (9.0.x) with datasource and PostgreSQL. No problems until there, and nothing 
> special in config settings other than the default ones.
>
> However, as I try to create a new page (child or whatever) clicking on the 
> "+" in any place, XE fires a NullPointerException. Here's the extract of the 
> Stack Trace:
>
> Error number 4001 in 4: Error while evaluating velocity template 
> createinline.vm
> com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while 
> evaluating velocity template createinline.vm ...
>
> Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to 
> evaluate content with id [/templates/create.vm] ...
>
> Caused by: org.apache.velocity.exception.MethodInvocationException: 
> Invocation of method 'getParameter' in  class 
> com.xpn.xwiki.web.XWikiServletRequest threw exception 
> java.lang.NullPointerException at 284:/templates/create.vm[line 90, column 
> 31] ...
>
> Caused by: java.lang.NullPointerException
>
> Am I missing something in configs?
>
>
> Regards,
>
> RAMON GOMES BRANDÃO
>
> ___
> 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
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] XE 8.2.1 NullPointerException in Create action

2016-08-01 Thread Ramon Gomes Brandao
Hi everybody,

I've just got running a fresh new install of 8.2.1 in a Wildfly instance 
(9.0.x) with datasource and PostgreSQL. No problems until there, and nothing 
special in config settings other than the default ones.

However, as I try to create a new page (child or whatever) clicking on the "+" 
in any place, XE fires a NullPointerException. Here's the extract of the Stack 
Trace:

Error number 4001 in 4: Error while evaluating velocity template createinline.vm
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while evaluating 
velocity template createinline.vm
...

Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate 
content with id [/templates/create.vm]
...

Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation 
of method 'getParameter' in  class com.xpn.xwiki.web.XWikiServletRequest threw 
exception java.lang.NullPointerException at 284:/templates/create.vm[line 90, 
column 31]
...

Caused by: java.lang.NullPointerException

Am I missing something in configs?


Regards,

RAMON GOMES BRANDÃO

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


[xwiki-users] Help on Using Database Tree property

2015-11-26 Thread Ramon Gomes Brandao
Hi Team, 

I could not yet get a proper working instance of an object with Database Tree 
property. Is there any reference I can check on detais of how I can use this? 
Everything I could find related with DBTree was on JIRA and they're not  clear. 

I see that I need a page hierarchy to display. Is it only a matter of 
parent-child relationship (if so, how can I inform to DBTree property the 
"root" of the hierarchy) or I can use the XE's native "relational" mechanism 
between objetcs, as I do with Database List? 

I've tested both approaches,  without success. I'm not using App within 
minutes, because I would like to learn and understand how this works to build 
bigger applications. 

Below is the example of what I'm trying to build.

Thanks again in advance, 
Ramon Brandão


-Original Message-
From: users [mailto:users-boun...@xwiki.org] in name of Ramon Gomes Brandao
Sent on: terça-feira, 24 de novembro de 2015 19:30
To: users@xwiki.org
Subject: [xwiki-users] Database Tree property Error on XE 7.1.2

Hi Xwiki Team,

I'm building an application on XE 7.1.2 and it uses classes with 1:N relations 
between them through Database List and (potentially) Database Tree property. 
The relation using Database Tree is not working. For illustration of my use 
case, I have the following classes:

Space.Info0Class with properties:
"info0ID" type String
"info0Name" type String

Space.Info1Class with properties:
"info1ID" type String
"info1Name" type String
"relatedInfo0" type Database List -> with Xwiki Class Name=Space.Info0Class, Id 
Field Name=info0ID and Value Field Name=info0Name

Space.Info2Class with properties:
"info2ID" type String
"info2Name" type String
"relatedInfo1" type Database Tree List -> with Xwiki Class 
Name=Space.Info1Class, Id Field Name=info1ID, Value Field Name=info1Name and 
Parent Field Name=relatedInfo0

The relation I want to build is, then: 1 Instance of Info0Class can be related 
to (0...N) Info1Class, which then can be related to (0...N) Info2Class.

When creating a new instance of Info2Class, I would like to show the 
information on relatedInfo1's  select box in a tree view manner, where the 
"relatedInfo0" instance name is the aggregator and all the related Info1Class 
instances are the leafs. Thus, the user can get a much better idea of which 
Info1Class she/he can select for relatedInfo1 field.

I've used, since then, only the default pages and codes generated by class 
editor (default sheet to display class properties and default template). I got 
the relation working like a charm between Info1Class and Info0Class, but things 
are not working with Info2Class and Info1Class. Creating a new instance of 
Info2Class triggers a
"org.apache.velocity.exception.MethodInvocationException: Invocation of method 
'display' in class com.xpn.xwiki.api.Document threw exception 
java.lang.StackOverflowError" and infinite 
"com.xpn.xwiki.objects.classes.DBTreeListClass.addToSelect(DBTreeListClass.java:319)"
 calls. In this way, I could not even check if this use case is valid for the 
Database Tree List.

I've searched deeply and really could not find any further documentation about 
Database Tree Usage, neither examples, nor detailed information on how to get 
this working. The only reference is a brief description on the XWiki Data Model 
Page mentioning the Yahoo Javascript Tree Library.

So, the questions for the team are:

1)  Where can I find more information (a good tutorial/documentation/usage 
example) about Database Tree List?

2)  Is it suitable for this use case? Am I doing it right?

3)  What do I need to get a Database Tree property/relation to work?



Thanks in advance for your help.
Best Regards,
Ramon Brandão
___
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