<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: onurnalbantoglu</title>
    <description>The latest articles on DEV Community by onurnalbantoglu (@onurnalbantoglu).</description>
    <link>https://dev.to/onurnalbantoglu</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F483342%2F2e15d4dd-2916-4e23-b97d-2b2a81196b2b.png</url>
      <title>DEV Community: onurnalbantoglu</title>
      <link>https://dev.to/onurnalbantoglu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/onurnalbantoglu"/>
    <language>en</language>
    <item>
      <title>I keep getting "null" errors</title>
      <dc:creator>onurnalbantoglu</dc:creator>
      <pubDate>Tue, 06 Oct 2020 06:39:18 +0000</pubDate>
      <link>https://dev.to/onurnalbantoglu/i-keep-getting-null-errors-2hpl</link>
      <guid>https://dev.to/onurnalbantoglu/i-keep-getting-null-errors-2hpl</guid>
      <description>&lt;p&gt;I have such a code. I'm working on a multiple selection and want it to show the values ​​entered. I also write in html to show them on the screen. However, whenever I make multiple selections, it brings up "null" first.&lt;/p&gt;

&lt;p&gt;obj.load("REF_TEKLIF_NO");&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Object value= obj .get("REF_TEKLIF_NO");

if (value instanceof Object[]) {

     Object values[] = (Object[]) value;

     for(int vv=0; vv &amp;lt; values.length; vv++)

     {

           REF_TEKLIF_NO =  REF_TEKLIF_NO + (vv == 0 ? "" : ", ") +  (java.lang.String) values[vv];

     }

} else {

           REF_TEKLIF_NO = (java.lang.String) value;

}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

</description>
      <category>help</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
