Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
I have a need to generate components in my backing beans and have them displayed on the page when rendered.
Creating the component is not an issue, I can do that with the code listed below.
However I want to add ajax functionality and I do not know how to do that in the backing bean.
A simple example of an ajax enabled component on an xhtml page would be something like:
To create something similar in a backing bean I use the following code in my backing bean:
I then add this as a child of a component on the page.
What I don't know how do do is add the ajax behavior to this compponent.
Sometimes the only way things ever got fixed is because people became uncomfortable.