diff --git a/src/main/resources/org/richfaces/renderkit/html/scripts/richfaces.watermark.js b/src/main/resources/org/richfaces/renderkit/html/scripts/richfaces.watermark.js index 35f2722..68f3feb 100755 --- a/src/main/resources/org/richfaces/renderkit/html/scripts/richfaces.watermark.js +++ b/src/main/resources/org/richfaces/renderkit/html/scripts/richfaces.watermark.js @@ -5,4 +5,10 @@ RichFaces.Watermark = function(targetId, text, options) { jQuery(function() { jQuery(document.getElementById(targetId)).watermark(text, options); }); -}; \ No newline at end of file +}; +RichFaces.Watermark.showAll = function() { + jQuery.watermark.showAll(); +}; +A4J.AJAX.AddListener({onafterajax:function() { + RichFaces.Watermark.showAll(); +}}); \ No newline at end of file