Open Bug 83146 Opened 23 years ago Updated 2 years ago

WizardStateMgr's persistent value is not overwriting checked="true" attrib when a page is loaded (radio buttons case)

Categories

(Core :: XUL, defect)

x86
Windows NT
defect

Tracking

()

Future

People

(Reporter: racham, Unassigned)

Details

In a wizard, If I have a page with a radio group and select one of the items and go the next page and come back to the page with radio buttons, the radio item selection is gone. The point to note here is that the radiogroup element still has the right value attribute. So, the UI to that affect is not updated.
The side effect will be, if one of the items is set with the checked attribute to true..that item will always be selected as the UI simply follows that rule. I nstead I think the wizardmanager in a persistence mode for radio group should overwrite that attribute with the value it has.
Adding wsm_persist (="true") attribute to each radio group items made the UI to persist with user selection. So, here is the remaining issue. If I make a radio item foo's checked attribute to "true" in the XUL file so that I don't need to do any special things in JS file to set the default. Say once the page is displayed I select radio item 'bar' and go forward in the wizard and come back again to the same page (with radio buttons). Then the seletion is back to 'foo', becauseof checked="true" on foo. So, is there any way to make the persistent value to overwrite the default once the user selection is made. To understand the picture better, you can substitute 'foo' with 'POP3' and 'bar' with 'IMAP' in the mail account wizard. Changing the summary to reflect the above issue.
Summary: WizardStateManager not reflecting radiogroup persistence in UI → Can WizardStateMgr's persistent value overwrite checked="true" attrib when a page is loaded (radio buttons case) ?
Changing summary from question to the problem.
Summary: Can WizardStateMgr's persistent value overwrite checked="true" attrib when a page is loaded (radio buttons case) ? → WizardStateMgr's persistent value is not overwriting checked="true" attrib when a page is loaded (radio buttons case)
May God have mercy on us all. The 212 bug spam-o-rama is Now!
QA Contact: aegis → jrgm
It'd be super-spiffy if you could convert whatever wizard you're using from WizardManager to the new Wizard stuff. I don't see myself getting to this soon, unless it's blocking some impending release.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Mass reassign of my non-Firefox bugs to ben_seamonkey@hotmail.com
Assignee: bugs → ben_seamonkey
Status: ASSIGNED → NEW
Assignee: ben_seamonkey → jag
QA Contact: jrgmorrison → xptoolkit.widgets
Assignee: jag → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.