You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by GAAA <ag...@custis.ru> on 2006/07/10 17:00:33 UTC

It looks like a bug

<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.