Michael van Adrichem

Greenhorn
+ Follow
since May 20, 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 Michael van Adrichem

I think my problem is in SuccessenList = (List<Succes>) q.list();

Because im using 2 tables instead of 1.

How can i fix this?
12 years ago
JSF
here's the stack:



Sorry for not posting it

If its helpfull i'll post the classes too.

Class Succes:


Class Personeel:
12 years ago
JSF
Hey all,

Im getting this error when trying to load my page:
java.lang.NumberFormatException: For input string: "personeelsplaatje"

I dont know why, because everything seems ok.

I got this in my html page:


This is my controller code:


And im using this in the helper as query:


Anybody got a clue what im doing wrong?

Greetings,

Zylox
12 years ago
JSF
Hey all,

I have a small problem.

I have two tables. The table Personeel and the table succes.

What i wanna do is get the data from both personeel and succes, but i dont want duplicates.

So the query i use is:


It now nicely displays only the personeels records that are linked to the table succes.
However, it is not showing the data from the table succes, only from the personeel table.

What am i missing in my query that it also shows the data from the succes table?

Greetings,

Zylox

12 years ago
JSF
Vance Montague, Thank you verry much.

This was exactly my problem and now it works.

you have no idea how long i struggled with this easy looking problem :p

Thank you for your explanation too.

And Guy deLyonesse it is also working now with the capital The name of the bean is also with a capital.

Greetings,

Michael
12 years ago
JSF
Do you really mean by allert or by dialog?

When i have to logout for example i click a button, but first want a messagedialog showing up.

this is the javascript for the dialog box


And this is where i call it:



12 years ago
JSF
Hey all,

I've seen some topics about this but none of them really helped me find my awnser.

This is the problem:

I have a XHTML page with a button that has a logout function:



As you can see. This button has to do 2 things.
1. Do the action practicebean.kill (works perfectly)
2. Onclick it has to do: Personeelbean.kill and the method uitlogen()

The methode uitlogen works fine. But the PersoneelBean.kill just isnt working.

I get this error:
SEVERE: Error Rendering View[/HoofdschermKoffieruimte/FrameBoven.xhtml]
javax.faces.FacesException: javax.el.PropertyNotFoundException: /HoofdschermKoffieruimte/FrameBoven.xhtml @97,121 onclick="#{PersoneelBean.kill}; uitlogen()": The class 'Mapping_Files_POJOS.PersoneelBean' does not have the property 'kill'.

So i have the PersoneelBean:


What am i doing wrong? I just dont get it.
Especialy since the practicebean.kill is exactly the same and that one IS working...

Please help...

Greetings,
Michael
12 years ago
JSF