This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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
Author

DynaFaces and commandLinks

Christer Dalevind
Greenhorn

Joined: Nov 28, 2008
Posts: 2
Hi

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 */
 
Don't get me started about those stupid light bulbs.
 
subject: DynaFaces and commandLinks