Questions tagged as 'java'

1
answer

Difficulty getting object inside a CDI Extension

I want to create an extension in my project so that it starts interpreting a note itself, so I initially had a @Producer of the Quartz Scheduler object, see public class SchedulerProducer { private static final Logger LOGGER = Logger.getL...
asked by 12.11.2015 / 00:24
1
answer

Is it possible to use Tiles inside SpringMVC tags?

Hello, I'm creating a generic form so that I can parameterize some attributes. I want to do the following: <sf:form cssClass="form" modelAttribute="<tiles:getAsString name="modelAttribute"/>" action="<tiles:getAsString name="action...
asked by 12.11.2015 / 02:35
1
answer

How to break to the end of the line checkBox

The courses are going out without formatting, there are more courses and they are not appearing on the registration screen. HowtobreakthisintoXHTML?Code:<h:panelGridcolumns="2" cellpadding="5"> <p:outputLabel value="Cursos" for="cur...
asked by 12.11.2015 / 19:25
2
answers

package does not exist (Maven)

Let's contextualize the problem: I have a project that consumes some Web Services, in this project I have separate source folders according to the standard suggested by Maven ex: (main / java test / java), the classes generated based on the W...
asked by 09.12.2015 / 20:25
1
answer

@Inject for manually instantiated object?

I have a class called Application which is a listener , it instantiates objects of ServidorRadius where it needs to access repositories that are injected with CDI , however radiusRepository is returning null...
asked by 08.10.2015 / 23:49
2
answers

DAO + Webservice

I want to use the DAO standard to create a Java project in Eclipse to view data from a database. I just want to turn it into a Webservice .. How should I proceed? Just use that IDE Webservice creation option and you're done?     
asked by 07.10.2015 / 20:30
1
answer

Register product for logged in user

I'm able to pass the object by Activity's using putExtra and returning on the other screen with getSerializableExtra . I already created fk id_usuario in the products table for the id_user field of the users...
asked by 08.10.2015 / 15:02
1
answer

Which version of primefaces extensions is compatable with primefaces 3.5?

I use primefaces 3.5 in my project and intend to use Primefaces Extension. I would like to know which newest version of Primefaces Extension is compatible with version 3.5 of Primefaces.     
asked by 07.10.2015 / 15:41
2
answers

Redirect JSF error

To trying to pass two parameters to another example page: <p:commandButton icon="ui-icon-pencil" action="form?faces-redirect=true&id=cargo.id"></p:commandButton> But I get this error: A referência à entidade "id" deve term...
asked by 06.10.2015 / 15:49
1
answer

Why are tables created in hibernate deleted after stopping the server?

I run my site and it generates the tables in the database. I even can register in the database through the site and his select it shows that it has been registered. But if I stop the server, and see the tables in MySQL, the table is gone....
asked by 02.10.2015 / 20:42