Closed
Bug 5150
Opened 26 years ago
Closed 26 years ago
Need to have a way to set the widget value dynamically
Categories
(SeaMonkey :: Preferences, defect, P3)
SeaMonkey
Preferences
Tracking
(Not tracked)
VERIFIED
WORKSFORME
M7
People
(Reporter: chuang, Assigned: mcmullen)
Details
There should be a general mechanism (or interface) to set pref widget anytime on
startup, when the pane is about to be visible or after some user action.
The examples are:
1. Set the prefs list into "select" list
2. add/delete server should update the server list
3. After some user action(open a dialog box in pref), checkbox change state.
4. Select a widget resulting disabling/enabling other widges
The mechanism for 1,2,3 already exists: get the DOM element by ID, and set its
value. It doesn't look to me as if any new work needs doing here.
4 is so common, I agree it would be good to have a magical mechanism so you don't
have to code each one specially.
Perhaps we can talk about this, Candice.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
Well, Don, I assume you're talking about item 4.
This, too, may require no work on our part, it may be completely expressible in
XUL.
The current way to do this is to have one widget "observe" another. When the
observed widget's value changed, the observer widget would enable/disable itself.
Last time I heard, this was to be, but was not yet, supported in XUL.
Candice, I'm marking this one "worksforme". If you find the current mechanism is
inadequate, please reopen it.
Candice, I'm marking this as verified. If it works for you as well, great; if
not, please re-open. Thanks!
Bulk move of all Pref UI component bugs to new Preferences component. Pref UI
component will be deleted.
Component: Pref UI → Preferences
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•