Rory Gilfillan

Greenhorn
+ Follow
since Jan 05, 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 Rory Gilfillan

I overcome that problem by doing this:

But I don't see why JSF can't handle such simple logic.

I have another problem that when the URL has a some parameters on the end the whole page reloads instead of the portion that i told AJAX to reload.

Initially I had a problem that after AJAX reloaded the part of the page I requested, then the whole page would reload. I solved that by putting the JSF library files in WEB_INF/lib directory. I'm using eclipse and the files are already on the build path so it didn't seem necessary. I had a tutorial where the AJAX was working properly and libraries in WEB_INF/lib seemed to be the only difference . I also used the tutorials version of the libraries, so i am not sure if that was the problem.
13 years ago
JSF
Hi,

I used the c:choose to decide whether a page number should be rendered as <strong> or as a link, but when the AJAX executes the c:choose doesn't run. It seems to only run the first time that it is loaded. I know i'm not supposed to put any logic in the view but this really something simple. I'm really getting irritated with JSF why do they half implement something. If your not supposed to put logic in the backing beans or in the view where are you supposed to put it. I feel like this MVC is like a straight jacket.

Thanks,
Rory.


13 years ago
JSF
Hi,

I had the misfortune of purchasing this book and would sincerely not recommend it.

It basically consists of a summary of the relevant API's and some lame multiple choice questions. I guess that all books by this author are of a similar nature. Please don't make the same mistake I did.

Sincerely,