Questions tagged as 'java-ee'

1
answer

JasperReports - Is it possible for a report to be listed multiple times automatically?

I have a report that is nothing more than an invoice, with your items and note data and items. A feature was requested that when selecting more than one invoice, this report manages the template of each note in a PDF just so the user massively p...
asked by 30.11.2015 / 18:49
1
answer

List two related tables PrimeFaces x Hibernate

I need to list information from two tables on the same grid, they have relationship created by hibernate itself. You would need the vendor name in the table below. In case they would be these classes: Template: public class Produto {...
asked by 28.11.2015 / 16:57
1
answer

How to interrupt and return to xhtml error to display in p: messages

I have a processing of a <p:dialog> within this dialog I have a <p:messages> . <p:messages id="msg-dialog" showDetail="true" autoUpdate="true" closable="true" /> Messages from required="true" o...
asked by 14.10.2015 / 16:23
0
answers

Prevent simultaneous access TinyRadius

I'm using TinyRadius in a Java EE application and in this application simultaneous access of the same user can not be allowed, but the same TinyRadius does not implement such a requirement. I thought of ways to prevent this: If the user...
asked by 11.10.2015 / 22:36
0
answers

Return to the region of the page where you were when submitting the form (JSF 1.2)?

I have a page jsf with 2 forms type master / detail. How to make after the submission of the form detail the bean can direct to the region of the page where the detail is? I am using jsf 1.2 and Richfaces 3.3.3.     
asked by 09.09.2015 / 17:29
3
answers

Problem in file OiMundoServlet.java - #algaworks

I'm following the E-book "Java EE7 with JSF, PrimeFaces and CDI". I created the Maven project, I edited the file pom.xml as the handbook guides, when I created the OiMundoServlet.java sample file, I noticed that errors appeared in...
asked by 05.10.2015 / 23:32
1
answer

Refresh datatable when performing autocomplete search

Good morning everyone .. Could anyone get a question? Good is this, I have a component of primefaces autocomplete and a datatable, however when I perform a autocomplete search, it does not update my datatable, how do I do this? Below is my au...
asked by 27.08.2015 / 16:11
0
answers

How to write the folder path in the database?

Greeting for all, I created an application that is saving the registry in the database, as shown in the figure; Thisapplicationissucceedinginsavingthetitle,dateanddescription,andisabletouploadtheimagetothefolderthatisdetermined,howeverIwa...
asked by 30.07.2015 / 13:37
0
answers

How to integrate my User to Spring Security xml

I'm starting to learn Spring Security and I'm having some doubts. I used to authenticate users using phaseListener . I have the User MB where its scope is @SessionScoped . How can I pass this user and configure it in this xml:...
asked by 05.08.2015 / 20:55
0
answers

Problems saving in bank in project Spring MVC

I'm new to Spring MVC developer, I'm developing a simple application, but quite different from what I usually create, because usually the SpringWorks MVC FrameWorks uses XML files to configure the project, and I'm using the Java class to do thes...
asked by 16.10.2015 / 17:47