Bug 535018 (RHQ-1758)
| Summary: | On group config page,"Unset" then "Reset" button forgets to make the field editable again | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Jeff Weiss <jweiss> |
| Component: | Configuration | Assignee: | Ian Springer <ian.springer> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Jeff Weiss <jweiss> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 1.2 | CC: | ccrouch, dajohnso |
| Target Milestone: | --- | Keywords: | SubBug |
| Target Release: | --- | Flags: | jweiss:
archived+
|
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://jira.rhq-project.org/browse/RHQ-1758 | ||
| Whiteboard: | |||
| Fixed In Version: | 1.2 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: |
rev3351
|
|
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 534605 | ||
|
Description
Jeff Weiss
2009-03-10 17:48:00 UTC
Fixed by making RESET button do a server-based reset of the form rather than a client-based one - r3404. Specifically, replaced:
<h:commandButton type="reset"
value="RESET" title="Click to Reset All Properties to Their Original Values"
styleClass="buttonmed"/>
with:
<h:commandButton type="submit" immediate="true"
action="#{EditGroupResourceConfigurationUIBean.reset}"
value="RESET" title="Click to Reset All Properties to Their Original Values"
styleClass="buttonmed"/>
and:
@End
public void reset() {
FacesContextUtility.addMessage(FacesMessage.SEVERITY_INFO, "All properties reset to original values.");
this.redirect.setViewId(VIEW_ID);
this.redirect.execute();
return;
}
Fixed, rev3416 This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1758 This bug relates to RHQ-1759 |