<h:inputText render incorrect value...
after pressing "ShowExisted" button we get -
HtmlTextRendererBase.renderInput(...) {
...
String value = RendererUtils.getStringValue(facesContext, component);
...
writer.writeAttribute(HTML.VALUE_ATTR, value, JSFAttr.VALUE_ATTR);
...
}
RendererUtils.getStringValue(...) {
..
if (submittedValue != null) {
if (submittedValue instanceof String) return (String)submittedValue;
else throw something;
}
..
}
yes, submittedValue = "", it is not null and it is instance of String... but
component.getValue = Long(10).
--
View this message in context:
http://www.nabble.com/another-Cancel-button-question-tf1918501.html#a5253241
Sent from the MyFaces - Users forum at Nabble.com.