File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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 */
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DynaFaces and commandLinks