Hi Glenn, We talked about this a while ago (a year or two?), and I proposed we move the prefs into an XML document instead. Then it would be trivial to parse, display and modify it.
I think I was voted down, probably because manual modification of settings is made so much harder for non-dev users, or just because XML is unwieldy to edit in the first place. I think the UI dialog is a little over the top for our current "config storage", since it's so diverse. It'd be cool if we could cook up something like Firefox's or Thunderbird's about:config dialogs, that are entirely data-driven and the files are still user-editable, but it seems there's some level of abstraction missing from our *prefs.js structure. - Kim > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Glenn Carr > Sent: den 17 juli 2006 03:04 > To: 'DQSD development discussions' > Subject: [DQSD-Devel] UI for user options > > So, after the discussion about editing user preferences, I've > been playing around with a UI for setting user interface options. > > I don't have anything even close to working yet (most of my > struggle is trying to remember C++ after having been almost > exclusively using C# for 2+ years), and it's really just an > experiment that may or may not work out, but... > > My thinking is that the UI code could simply modify the localprefs.js. > That's where the stretch in my mind is, parsing and modifying > the localprefs.js. But, I really think it would be possible > using regular expressions to detect the existence of a > setting, and modify it if exists, or add it if it doesn't exist. > > Thoughts? Ideas? Anybody want to help? > > P.S. The UI options dialog I've started is very basic a > screenshot is attached. > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Archive: https://lists.sourceforge.net/lists/listinfo/dqsd-devel
