Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.1.7-SNAPSHOT
-
None
-
None
-
tomahawk-sandbox-1.1.6-snapshot.jar
Description
The stateChangedNotifier component will currently never look for a value binding for the confirmationMessage property.
I think there is something wrong in current source of StateChangedNotifier.java#getConfirmationMessage().
ValueBinding wont be evaluated because of property will always be set to default message:
private static final String DEFAULT_MESSAGE = "Are you sure?";
private String confirmationMessage = DEFAULT_MESSAGE;
public String getConfirmationMessage()
{ if (confirmationMessage != null) return confirmationMessage; ValueBinding vb = getValueBinding("confirmationMessage"); return (vb != null) ? _ComponentUtils.getStringValue(getFacesContext(), vb) : null; }Is this correct?
Greetings, bruno
Attachments
Issue Links
- is a clone of
-
TOMAHAWK-219 stateChangedNotifier does not use ValueBinding for the confirmation message
- Closed