[gatein-issues] [JBoss JIRA] Created: (GTNPORTAL-1236) UIFormComboBox missing value when open form

tuan pham (JIRA) jira-events at lists.jboss.org
Thu May 20 23:20:06 EDT 2010


UIFormComboBox missing value when open form 
--------------------------------------------

                 Key: GTNPORTAL-1236
                 URL: https://jira.jboss.org/browse/GTNPORTAL-1236
             Project: GateIn Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: WebUI
    Affects Versions: 3.0.0-GA
            Reporter: tuan pham


- In the component UIFormComboBox.java from line 202 to 205

 text +=
         "<input class='UIComboboxInput' options=\"" + options
            + "\" onkeyup='eXo.webui.UICombobox.complete(this,event);' type='text' " + renderJsActions() + " /></div>";
      w.write(text);

it should be 

text +=
         "<input class='UIComboboxInput' options=\"" + options
            + "\" onkeyup='eXo.webui.UICombobox.complete(this,event);' type='text' " + renderJsActions() ;
            if (value_ != null && value_.trim().length() > 0)
            {
               text += " value='" + encodeValue(value_).toString() + "'";
            }		
      text += "/></div>";

because it rises error when edit data but in UI have no value on our product http://jira.exoplatform.org/browse/CS-4252

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list