Alan Duke

Greenhorn
+ Follow
since Apr 12, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Alan Duke

This is error:


I don't know resolve. How can I get a logged user?
12 years ago

My FactorySingleton

The qury work on postgresql. It returns 2 records. The query from glassfish work too. But in app do not work. The return is null.
12 years ago
This is the glassfish log.
12 years ago
The query result is:


This login.getPessoa().getIdPessoa() returns idpessoa wich case it is 1.

if I make , I have the same result.
12 years ago
My query is not executed. The result is NULL, but the log GlassFish, it is mounted and if I run on direct Postgresql she returns the list. But in the app it comes null. Below my query.
12 years ago
I wonder why this error is happening. My class Professor extends Pessoa. When I do a join, it gives me an error that the field does not exist. Below my joiin in HQL and log for GlassFish.
My Join with HQL

The error

And the log
12 years ago
Can not display XHTML page in the result of my query. I suspect that my bean is wrong, or I am not able to connect me with PostgreSQL. Below my files and beans.

My ManagedBean(MB)

My DAO

My DAOImplementation

My AbstractDAO(Implementation of DAO)

My XHTML(I posted one piece of code)

And my Persistence
12 years ago
Whenever I make changes to my XHTML, and when I get on the Container, it does not update, ie, up to what was before. To resolve this, I have to restart the Helios and it does and should happen. What should I do to see changes?
12 years ago
Personally, I took an html ready for a designer. What do I need to do is load the result of a select and put in html, like so:

The result brings me three schools, then I put it like this:

School 1
School 2
School 3

I have no problem with the sql, just put the result in a certain position, and PrimeFaces using JSF with Hibernate / JPA. Use Postgresql.

I do not mean to say that asking for complete code, is not it.
12 years ago
JSF
I installed Tomcat operate there. And have tested with JBoss also worked. I do not know what really happened. I do not know well the JBoss for this type of configuration.
12 years ago
JSF
This is the Server Log

12 years ago
JSF
This is very simple and not score runs below my web.xml and jsp calling xhtml

web.xml


jsp


My XHTML(.jsf)


My Faces-Config

When I right click on top of the jsp file and give: Run As > Run On Server > JBoss
I got the following message: Internet Explorer can not display this page. Amazingly, my default browser is Firefox and not IE.
What do I do?
12 years ago
JSF
How do I solve this in my eclipse?
org.eclipse.swt.SWTError
12 years ago
JSF
I changed my web.xml files and xhtml and so I created a JSP. Ma are still error. To make the call I do so: Right on top of JSP (before it was on top of XHTML) and choose: Ru AS> Run On Server> JBoss JBoss and then when he starts giving the error could not load the web page . Below my files.

Web.xml


My Faces-Config is the same.

My index.jsf(XHTML)


My JSP file(index.jsp)
12 years ago
JSF