jeudi 4 juin 2015

Trigger custom JSP tag manually

Lets pretend that we have custom JSP tag somewhere on page:

<myTag:loadList data=${asyncData} />

When a page starts loading, asynchronous AJAX call to server is made. As a result of this call the data for asyncData parameter should be provided.

The question is - how can I "trigger" my custom tag for rendering manually based on successful AJAX request? Thank you!

Aucun commentaire:

Enregistrer un commentaire