Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JSF and the fly likes DynaFaces and commandLinks Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "DynaFaces and commandLinks" Watch "DynaFaces and commandLinks" New topic

DynaFaces and commandLinks

Christer Dalevind

Joined: Nov 28, 2008
Posts: 2

I have a dataTable of items and that is updated regularly using DynaFaces library fireAjaxTransaction method. The items in the dataTable are rendered as commandLinks. The problem is that for some reason I sometimes can click the links but sometimes need to do a full page refresh in order to be able to click the links. Is this a bug in DynaFaces?

Btw. I solved my navigate to new view on ajax update issue posted earlier in this forum by doing a regular ajax call to another servlet that returned me the state. So actually I never got it solved in the JSF/Faces Servlet scope. Anyone know if the DynaFaces library can be used to get values from JSF backing beans into javascript like

var state = /* A DynaFaces ajax call to Faces Servlet to return backing bean value to state variable */
I agree. Here's the link:
subject: DynaFaces and commandLinks
jQuery in Action, 3rd edition