Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • This is same as Person Screen
  • Now this screen will be shown by Ajax updater.
    Code Block
    <screen name="UpdatedPersonList">
        <section>
            <actions>
                <script location="component://practice/webapp/practice/WEB-INF/actions/person.groovy"/>
            </actions>
            <widgets>
                <platform-specific>
                    <html>
                        <html-template location="component://practice/webapp/practice/person.ftl"/>
                    </html>
                </platform-specific>
            </widgets>
        </section>
    </screen>
    

Step - 10: Now submit the form and and run your ajax request.

Note
  • One important thing to remember is "id" used in form should always be unique, as prototype only understand ids. And if you use same id on different elements then prototype may get confused and your javascript will be blocked.
  • Also installation of firebug is suggested from get firebug, for debugging javascript in Mozilla.

...