edit - heh, turns out I was looking at the deployed app on an old context-root.... so all my attempts were not actually getting tested,. Not saying I have this figured out yet, but it is at least explainable now
You can probably see it is a basic login form. I have the command link set to call the login method, and I only want it to render this div. So I added the f:ajax tag close to the bottom there, but it is not behaving like I expect. I should mention this is my first attempt to use ajax, so I am probably doing something dumb.
I tried a few variations without luck, can someone guide me a bit here?
It seems the fact that I am calling login method is causing the page to reload no matter what. There is no logic there to reload the page, we just check the username and password and add errors if it fails (we redicret if it logs in, but that is not what I am worried about, I am working on getting only a portion of the page reloading when there is a login error).
True wisdom is in knowing you know nothing - Socrates
Well, now that I am testing the right page, I am getting something else.
When I click the button the page is not rerendered, but neither is the area I define. I am getting this js error each time I click: