Posts by NilsonUehara • 3,105 points
111 posts
-
1
votes1
answer2032
viewsQ: JSF Javadoc not located in Netbeans
I use Netbeans 7.2.1 and wondered why only Javadoc of Java objects (java.lang, java.io, etc) are shown. All others (javax.*) show something like this: javax. faces. context public Abstract class…
-
4
votes3
answers1015
viewsQ: Send e-mail on behalf of the client
I have a system that serves several clients and sends emails to their users (clients of my clients). Today I use my own email account (from my domain), and in the composition of the email I inform…
-
1
votes2
answers379
viewsA: Tomcat only reads Log4j.properties when restarted
Apparently, I was able to solve my problem using a Log4j initializer public class Log4jConfigLoader extends HttpServlet { private static final long serialVersionUID = 1L; @Override public void…
-
4
votes2
answers379
viewsQ: Tomcat only reads Log4j.properties when restarted
Until recently I made file changes log4j.properties (ex: change the level of the Testemb class) and simply redeploy the application. Now, the changes only take effect when I restart Tomcat. I wonder…
-
0
votes2
answers3727
viewsA: Configure Jenkins to build each commit?
Look at mine here: I set to query the repository every 5 minutes.
-
7
votes1
answer1242
viewsQ: Control module version with Maven
I have a multi-module Java project with Maven. Currently, I control the version of each module manually, editing the element <version> pom.xml for each module that undergoes updates. I believe…
-
6
votes1
answer168
viewsA: Project that Imports Other Netbeans Projects
You need to create a JAR from the Hibernate project to use it as a dependency on the register project. It gets easier using Maven. Take a look at this video, made by Éder Magalhães of Yaw: Maven…
-
14
votes2
answers1611
viewsQ: How to obtain form data via "POST"?
Is there any way to receive data from an external form using the method="post" on my jsf page? I can already do that when the data traffic via GET. <f:metadata> <f:viewParam name="dados"…
-
4
votes1
answer850
viewsA: Primefaces Datatable Lazy - Table does not present records
Solved! Missing the total number of records in the Rowcount property. Chamadolazylist public ChamadoLazyList(){ this.setRowCount(new ChamadoDao().getQtChamados()); }…
-
3
votes1
answer850
viewsQ: Primefaces Datatable Lazy - Table does not present records
I’m creating a Lazy datatable, but although the class load is loading the records correctly, the table remains empty. XHTML: <p:dataTable value="#{chamadoMB.chamados}" var="c"…
-
6
votes5
answers22775
viewsA: What is the best way to iterate objects on a Hashmap?
Map<Integer,String> mapa=new HashMap<Integer, String>(); mapa.put(1, "ze"); mapa.put(2, "mane"); Set<Integer> chaves = mapa.keySet(); for…