Questions tagged as 'jsf'

1
answer

How to limit the amount of characters in an inputNumber?

I'm using the Primefaces extension to format an input of a person's weight and height and I could not. How do I limit the amount of characters entered in input ? I tested it with maxlength="5" but it did not work: <pe:inputNumb...
asked by 24.10.2015 / 13:45
1
answer

persistence of data in two or more banks simultaneously [closed]

Greetings! I would like someone to help me with some example of a JSF application that persists data simultaneously in more than one bank, ie: it will connect to 2+ banks and inject data into them. I'm using Hibernate. The project is in...
asked by 03.09.2015 / 14:07
1
answer

Logic to inhibit registration permanently

I have a "problem" and I can not think of anything to solve it so I would like your help. I have a desktop system that is the intermediary between the server and my web system. This desktop system makes two queries in the database every hour and...
asked by 09.06.2015 / 13:41
1
answer

p: dataTable with variable column quantity

Good evening. Does anyone know if it is possible (and how to do it) to create a dataTable of primefaces whose number of columns is variable? For example, imagine two cases, A and B. In set A I would create 3 columns. In B, I would only cre...
asked by 01.06.2015 / 02:15
1
answer

Problem upload image with more than 10mb primefaces

Guys, I'm going through a pretty annoying and seemingly simple problem and I have not found a solution yet, can anyone help me? I am using the upload of primefaces and it simply does not upload files larger than 10mb ... A 9.9mb file goes normal...
asked by 10.12.2014 / 17:05
1
answer

Clustered JSF application

What does my application (JSF + Primefaces) need to have to work on a cluster? I'm doing a test in a clustered 3 Tomcat environment (with session replication) and my test application does not work. At first, I only included the <dist...
asked by 30.10.2014 / 18:12
1
answer

Remove Demoiselle pagination

I'm using the Demoiselle and its paging feature, but when I need to use all the objects listed, ie use the full return, it does not leave, it keeps paging. My pagination: @Override public LazyDataModel<NotaFiscal> getDataModel() {...
asked by 16.06.2015 / 18:34
2
answers

Error installing a war on jboss eap 6.2 with myfaces jsf 1.1

The error below occurs when installing the application in jboss. I know it's due to jboss having an implementation of javaserver faces. 11:15:04,601 INFO [org.apache.catalina.core] (ServerService Thread Pool -- 182) JBWEB001093: The listener...
asked by 13.08.2014 / 14:24
1
answer

What is the difference between these two statements?

I was reading some tutorials and documentation and came up with two different ways to declare RequestContext : RequestContext requestContext = RequestContext.getCurrentInstance(); requestContext.execute(/*coisas*/); and RequestConte...
asked by 17.08.2014 / 17:36
2
answers

Lock a button inside a dataTable in the firstfaces

I have the following problem, I have a dataTable that contains the possibility to edit the data using editing by the line, using the tag rowEditor and cellEditor . Next to it I have a button to delete that line. When I click...
asked by 05.08.2014 / 15:12