• Post Reply Bookmark Topic Watch Topic
  • New Topic

Alternative tag for a4j:jsFunction in jsf  RSS feed

kishi kiran
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I am using a4j:jsFunction in a4j:form to call the bean method and get the data and also calling the js function, i am looking to replace the a4j:jsFuntion tag with other alternative tag,
because a4j response contains duplicate content.

here is my code

<a4j:jsFunction name = "clusters"
data = "#{bean.generateContent()}"
ajaxSingle = "true"
ignoreDupResponses = "true"
oncomplete = "clusterInitialize(data);">

<script type = "text/javascript">
window.onload = clusters;

which fetches the data from bean and calls the js method by passing the fetching data.

here i wanted to replace the a4j:jsFunction tag with JSF/Ajax tag to do this
can anyone help me out on this?

Thanks in Advance.
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!