Wiki source code of Layout of a Diva Look Page
                  Last modified by Ravi Mendis on 2009/07/21 04:07
              
      Show last authors
| author | version | line-number | content | 
|---|---|---|---|
| 1 | = div#a - 'a' is for 'ajax' = | ||
| 2 | |||
| 3 | [[image:attach:Diva_layout.png]] | ||
| 4 | |||
| 5 | The D2W page content is contained inside {{code language="none"}}div#a{{/code}}. | ||
| 6 | This is the only pre-requisite of the PageWrapper in a Diva look D2W app: that it places its contents inside a {{code language="none"}}<div id="a">{{/code}}. | ||
| 7 | |||
| 8 | See {{code language="none"}}Wonder/Examples/Ajax/ERDivaLookExample{{/code}}. | ||
| 9 | |||
| 10 | == div#a - the Primary Ajax Update Container == | ||
| 11 | |||
| 12 | In a Diva D2W app, {{code language="none"}}div#a{{/code}} is the primary update container. | ||
| 13 | Here, ajax page configurations like {{code language="none"}}AjaxQueryMovie{{/code}} will update the contents of {{code language="none"}}div#a{{/code}}. |