Win a copy of Java by Comparison (eBook) this week in the Java in General forum!

Alex Horst

Greenhorn
+ Follow
since Jun 30, 2008
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 Alex Horst

Thanks for your reply,

I'm using richfaces and haven't found a "head" component there. But I found <a4j:jsFunction>
which solved my problem. Instead of using the "onload" attribut I now call my javascript function with
the jsFunction component.
9 years ago
JSF
Hi,
Is it possible to access the <body> element from a managed bean?
I want to add the "onLoad" attribute programmatically.





The statement above returns null. I guess this is because the ViewRoot contains JSF-Components only?

Thanks in advance.
9 years ago
JSF