I'm trying to use:  <script type="text/javascript">       function myfunc() {          var param = 4;          alert("OK");       } </script>   I call the function like this:  <a4j:jsFunction name="myfunc"&g...
I have a rich:extendedDataTable and I am using column filtering. I want the filter to be fired once the user enters the "intro" key, but in javascript there is no such event.  I want to do so because if I use events such as onkeyup I get too...
How would I go about submitting a form in Richfaces without the form name or id from javascript? I was thinking I might be able to use the jsFunction tag, but I haven't been able to figure it out.  As a note, I can set the name of the function in...
I have popup with autosized attribute. Panel contains fields for search, search button, datatable and datascroller. After press search button or select page in datascroller javascript is called. Javascript is used for move popup to center of browser...
I am trying to do highlight the rows of the extended datatable when mouse is over. Here is my datatable:  <rich:extendedDataTable onrowmouseover ="this.style.backgroundColor='#B5F3FB'" onrowmouseout="this.style.backgroundColor=...
I'm developing a JSF project in which I must integrate both component libraries. In last versions the main problem was the jquery.js version and extras implementation in jQuery. I've looked the new version of PrimeFaces and RichFaces librarie...
I would like to use a rich:effect with a JSF element in my app but am having a little trouble with the AJAX side of things.  As per the below, I have an h:outputText element which has a JSF referenced value (#{MyBacking.sysMsg}) which changes during...
We have a form which has a submit button (input type="submit") and a bunch of a4j:commandButtons which are ajax buttons that translate into input type="button".   I'm able to use this jquery code to prevent double submitting of th...
I am currently studying a migration to RichFaces 4. From my JS, I have have to get DOM elements using  document.getElementById('myParent:myElement').   From the JBoss migration guide, I understood that "document.getElementById" can no...
I have a datatable with  as search fields. I want a method on the backing bean to be invoked when ENTER key is pressed, as well as the DataTable to be re-rendered.  My approach so far only works in IE 6, and 7, not in FF. This is the inputText:  <...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.