PDA

View Full Version : Persist client choices


lipe
11-02-2004, 04:08 PM
Hello, good evening.

Iīve been using XUL for about 6 months now, and it has an interesting feature that allows the application to remeber the state of some widget attribute.

For instance:
<window width="200" height="200" persist="width height"/>

If the user resizes the window and then closes the application, when the application is opened again, the window will have the same width/height configured by the user.

This feature is very useful in many cases, like columns visibility, checked checkboxes and so on.

XUL stores the information in a local rdf file, therefore I donīt know if itīs possible to implement this feature in Laszlo. Nevertheless, it would be very nice.

ps.: sorry the bad english

aarondc
11-11-2004, 10:29 PM
Sure is

http://www.laszlosystems.com/lps-2.2/examples/sessionwindow.lzx