Defer loading of case contents until first use.

Project:formsPlayer
Version:1.5.2
Component:Code
Category:feature
Priority:normal
Assigned:Unassigned
Status:closed
Description

To improve load times, the contents of xf:switch/xf:case should not be loaded until those cases become selected.

Updates

#1 submitted by Paul Butcher on Wed, 2007-05-02 18:20
Status:active» applied

This feature has now been implemented.

#2 submitted by Mark Birbeck on Wed, 2007-05-02 19:32

Note that this is a step towards the standard behaviour in XForms 1.1. The other aspect that needs to be added is that if a case becomes unselected again, its controls should no longer receive events.

#3 submitted by Anonymous on Thu, 2007-05-17 14:00
Status:applied» closed