Hi,

I'm currently working on views that contain dynamically created subviews holding various input fields. Problem domain: the user creates 'data stores' and defines fields for each data store. Fields are of various types, i.e., text, date, time, date time, various lists based on different datasets, number, currency, etc. Basically a cut down version of a DBM system. For the user to create records for each data store the record view needs to dynamically create input fields according to the previously defined fields. This proofs to be difficult as with a large number of defined fields more input fields need to be dynamically created (and potentially destroyed as each record view has to be based on a data store definition). At some point the application grinds to a hold given slow script execution warnings etc.

I approached this problem from many angles but are at a point where I cannot see it working within Laszlo. Currently I can see two alternatives: (i) have the record view delivered as a pop-up JSP (i.e., page is created entirely on the server side, applying all logic of each field), or (ii) think about creating the record view via scripting on the server side and load it dynamically.

The first alternative is certainly doable, although not user friendly (and it breaks to the entire application Look & Feel).

The second alternative would be nice. However, before I go down the path and invest time (deadlines!!) on researching this option, I wondered whether somebody has done it before!?

Cheers

Jens
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to