Page 3 of 3 FirstFirst 123
Results 21 to 22 of 22

Thread: SWF Inventory of Javascript examples

  1. #21

    Default Dojo query

    Hi there,

    You could also query for the form using Dojo like so:

    Code:
    <script type="text/javascript">
        dojo.addOnLoad(function() {
            dojo.query("form").forEach(function(element) {
                Spring.remoting.submitForm('selectedTaishoHaniSentei.analyzeId', element.id, { _eventId:'updateTaishoHaniSenteiByAnalyzeId' }); 
            });
        });
    </script>

  2. #22

    Smile Spring JS - Popup and List refresh

    Hi all,

    I have compiled a Spring-JS tutorial that illustrates how to create a page that lists items, then you can add to those items via a popup dialog. The list then gets updated via Ajax all without changing page.

    It should hopefully help with one common use case of Ajax and Spring JS

    Welcome and comments and feedback.

    http://eggsylife.co.uk/2010/11/08/sp...-list-refresh/

    Eggsy

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •