MII 12.1 Javascript IGRID Character return issue

In the following Javascript I attempting to count on values equaling the letter "S" for an IGRID in MII 12.1.  However I do not get a return value for a specific letter.  I'm using getCellValueByName, numbers read fine, however specific letters are not found. Any suggestions? 
function calculateTotal_HUs_GR() {
  var counter = 0;
  var total = 0;
  counter = document.gridHUReportApplet.getGridObject().getRowCount();
  if (parseInt(counter) > 0) {
    for(i = 1; i <= counter; i++)
      if(document.gridHUReportApplet.getGridObject().getCellValueByName(i, "GR") == "S") {
        total++;
  return total;

Hi Brad,
I tested your code (of course substituting my own applet and data) on a later version of 12.1 (SP08) and had no problem. 
Can you try the getCellValue(int row, int col) method and see what happens?
Just to clarify, are you saying you can use the the getCellValueByName(int, String) method on a column containing numbers and it works?
Thanks and Warm Regards,
Diana

Similar Messages

  • Character display issue in French Web index tab

    First of all, I'm working with RoboHelp 8.
    There is a character display issue in the index tab of the web help. (See screenshot below)
    The apostrophe, instead of displaying by itself, it has a backslash just before it: \'
    In the hhk file, I started using the actual apostrophe ('), then replaced it with &#39; and finally tried &apos;
    (The htm files use utf-8 encoding). None of those options seemed to solve the issue.
    Any help will be appreciated.

    Hi Steve,
    Thanks for a very quick response. The problem is that the Title (name of the image filename is also the item number in Quote) and this is always not null. I am not sure how do I test whether the image is present in $OA_MEDIA directory or not. Does BI Publisher provide a way to find out whether an image filename exists in $OA_MEDIA or not.
    If there is no such standard way provided by BI Publsher, then I guess I will have to write Java function that executes in the middle tier and returns whether file exists with that name in $OA_MEDIA.
    Please let me know your view.
    Thanks

  • How to print a character return in a txt file?

    i tried this line of code
    " outFile.print(lines.get(k) + "\n"); "
    where "lines" is an arraylist that stores only strings
    everything works fine, except the "\n" doesn't really give me a character return, ie. i want the file to start on a new line after printing lines.get(k). but it doesn't.
    what should i put in the place of \n?
    thanks a lot!

    yea, i load the saved file into notepad, and all i see is something like || (2 little bars) instead of a return, and the next word continues on the same line instead of going to the next line
    ...... _-- ||||||                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Keyboard, power, and character palette issues

    I have a brand new macbook (about 3 weeks old) that came with leopard pre-installed. I am continually having problems with the laptop not recovering from sleep mode and the keyboard will spontaneously stop working periodically. As well, the special character palette does not work - it doesn't come up at all! I tried resetting my PRAM to resolve the power/keyboard issues to no avail, and I have heard that an os reinstall may resolve the character palette issues, but am wary. Has anyone successfully resolved these issues?

    Re the character palette:
    http://discussions.apple.com/thread.jspa?threadID=1257002&tstart=50

  • Character encoding issue in sql server

    Hi Team,
    We have a table with more than 20 columns...In that we have some columns which will have data extracted from the Datawareshouse applicances and its one time load.
    The problem is we have two columns which will may have same set of values from some records and for different set of records
    the below values are the example for same set of records but the values are changed while importing into the sql server database..
    2pk Etiquetas Navide‰as 3000-HG                                
     2pk Etiquetas Navideñas 3000-H                           
    Is there anyway to change the first column values into the second column value ? 
    By looking at the data we can say its the code page issue..(Character encoding issue)..but how to convert it?
    Convertting(2pk Etiquetas Navide‰as 3000-HG)  
    to get   2pk Etiquetas Navideñas 3000-H   in the select query?

    Then it seems that you can do the obvious: replace it.
    DECLARE @Sample TABLE ( Payload NVARCHAR(255) );
    INSERT INTO @Sample
    VALUES ( N'2pk Etiquetas Navide‰as 3000-HG' );
    UPDATE @Sample
    SET Payload = REPLACE(Payload, N'‰', N'ñ');
    SELECT S.Payload
    FROM @Sample S;

  • Menu vs. Submenu return issue

    I am running DVDSP 4.2 and am having a menu return issue that I can't seem to resolve using the forum or the manual.
    I created a DVD that has a main menu that links to a movie, a sub menu of chapters for that movie, and a features sub menu. If you chose play movie from the main menu, it calls the movie asset and plays from start to finish. When you go to the chapters sub menu you can go to any chapter (the same movie asset) and the movie will play from that point through the end.
    My question is this. How do I get the menu button (when pressed) to return to the main menu if the movie was selected from there, or to the chapters button if the movie (chapter) was selected from there?
    I know I have done this before but I can't find it and it's frustrating. And I believe it was a fairly simple operation as well. I could really use the help. Thanks!

    As Drew said - use a few scripts OR use stories.
    If scripting leaves you cold, set up two stories on your project and drop ALL of the markers into the chapter play, then only the ones you need for the features menu.
    In your menus, set the main menu 'play' button to point to the track itself. Make sure the menu call is to go to the main menu. Next, point each chapter play button to the chapter inside the chapter play story container. Set the menu call for the story to go to the chapter menu. Finally, do the same for the features menu, setting the menu call for the second story to go to the feature menu.
    All in all, I prefer the scripted approach, but it isn't for everyone. Stories offer an alternative approach, and there are other ways to set them up besides the way I describe above - it depends on what you want your viewers to be able to do.

  • Character encoding issue

    I'm using the below give code to send mail in Trukish language.
    MimeMessage msg = new MimeMessage(session);
    msg.setText(message, "utf-8", "html");
    msg.setFrom(new InternetAddress(from));
    Transport.send(msg);
    But my customer says that he gets sometime unreadable characters in mail. I'm not able to understand how to solve this character encoding issue.
    Should i ask him to change his mail client's character encoding settings?
    If yes which one he should set.

    Send the same characters using a different mailer (e.g., Thunderbird or Outlook).
    If they're received correctly, come the message from that mailer with the message
    from JavaMail. Most likely other mailers are using a Turkish-specific charset instead
    of UTF-8.

  • Shockwave to Javascript - character encoding issue !

    Hi !
    I have resigned from sending messages from JavaScript to
    Shockwave movie
    as I have found all existing methods unreliable (at worst
    scenario Flash
    blocker is installed and using localConnection trick with
    Flash gateway
    fails).
    But in the consequence, I have to send message (a search
    string) from
    Shockwave to JavaScript.
    That seems easy with the following Lingo:
    goToNetPage("javascript:void myJSfunction('" & aString
    But the problem is with encoding possible non-ASCII
    characters.
    I presume the browser page is using charset=UTF-8.
    Any idea how to properly encode 'aString' so it will preserve
    non-ASCII
    characters while being transfered to JavaScript?
    It is really urgent!
    Rgs,
    Ziggi

    > I have resigned from sending messages from JavaScript to
    Shockwave movie
    I replied a little late to your earlier thread, but take a
    look at
    <
    http://dasdeck.de/staff/valentin/lingo/dir_js/>

  • JSF myfaces character encoding issues

    The basic problem i have is that i cannot get the copyright symbol or the chevron symbols to display in my pages.
    I am using:
    myfaces 2.0.0
    facelets 1.1.14
    richfaces 3.3.3.final
    tomcat 6
    jdk1.6
    I have tried a ton of things to resolve this including:
    1.) creating a filter to set the character encoding to utf-8.
    2.) overridding the view handler to force calculateCharacterEncoding to always return utf-8
    3.) adding <meta http-equiv="content-type" content="text/html;charset=UTF-8" charset="UTF-8" /> to my page.
    4.) setting different combinations of 'URIEncoding="UTF-8"' and 'useBodyEncodingForURI="true"' in tomcat's server.xml
    5.) etc... like trying set encoding on an f:view, using f:verbatim, specifying escape attirbute on some output components.
    all with no success.
    There is a lot of great information on BalusC's site regarding this problem (http://balusc.blogspot.com/2009/05/unicode-how-to-get-characters-right.html) but I have not been able to resolve it yet.
    i have 2 test pages i am using.
    if i put these symbols in a jsp (which does NOT go through the faces servlet) it renders fine and the page info shows that it is in utf-8.
    <html>
    <head>
         <!-- <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> -->
    </head>
    <body>     
              <br/>copy tag: &copy;
              <br/>js/jsp unicode: &#169;
              <br/>xml unicode: &#xA9;
              <br/>u2460: \u2460
              <br/>u0080: \u0080
              <br/>arrow: &#187;
              <p />
    </body>
    </html>if i put these symbols in an xhtml page (which does go through the faces servlet) i get the black diamond symbols with a ? even though the page info says that it is in utf-8.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
         xmlns:ui="http://java.sun.com/jsf/facelets"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:rich="http://richfaces.org/rich"
         xmlns:c="http://java.sun.com/jstl/core"
           xmlns:a4j="http://richfaces.org/a4j">
    <head>
         <meta http-equiv="content-type" content="text/html;charset=UTF-8" charset="UTF-8" />
         <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    </head>
    <body>     
         <f:view encoding="utf-8">
              <br/>amp/copy tag: &copy;
              <br/>copy tag: &copy;
              <br/>copy tag w/ pound: #&copy;
              <br/>houtupt: <h:outputText value="&copy;" escape="true"/>
              <br/>houtupt: <h:outputText value="&copy;" escape="false"/>
              <br/>js/jsp unicode: &#169;
              <br/>houtupt: <h:outputText value="&#169;" escape="true"/>
              <br/>houtupt: <h:outputText value="&#169;" escape="false"/>
              <br/>xml unicode: &#xA9;
              <br/>houtupt: <h:outputText value="&#xA9;" escape="true"/>
              <br/>houtupt: <h:outputText value="&#xA9;" escape="false"/>
              <br/>u2460: \u2460
              <br/>u0080: \u0080
              <br/>arrow: &#187;
              <br/>cdata: <![CDATA[©]]>
              <p />
         </f:view>               
    </body>
    </html>on a side note, i have another application that is using myfaces 1.1, facelets 1.1.11, and richfaces 3.1.6 and the unicode symbols work fine.
    i had another developer try to use my test xhtml page in his mojarra implementation and it works fine there using facelets 1.1.14 but NOT myfaces or richfaces.
    i am convinced that somewhere between the view handler and the faces servlet the encoding is being set or reset but i havent been able to resolve it.
    if anyone at all can point me in the right direction i would be eternally greatful.
    thanks in advance.

    UPDATE:
    I was unable to get the page itself to consume the various options for unicode characters like the copyright symbol.
    Ultimately the content I am trying to display is coming from a web service.
    I resolved this issue by calling the web service from my backing bean instead of using ui:include on the webservice call directly in the page.
    for example:
    public String getFooter() throws Exception
              HttpClient httpclient = new HttpClient();
              GetMethod get = new GetMethod(url);
              httpclient.executeMethod(get);
              String response = get.getResponseBodyAsString();
              return response;
         }I'd still love to have a solution to the page usage of the unicode characters, but for the time being this solves my problem.

  • Special Character Encoding issue

    Hi all
    Am using OAS9i. i ve deployed a webservice. i submit a payload request data that has some unicode characters like "§". The data is base64binary encoded. The type of the element mentioned in the schema is base64binary. When i retrieve the payload in java implementation code the character is displayed as � in the console. Please advice how to fix this issue. I tried setting JVM option file.encoding=utf-8 it didnt work out.
    Thanks
    Shiny

    When you use an UDF and you have programmed a Sax parser, then make sure, that the parser works with the correct encoding. So when the result of the webservice is  ISO-8859-1, then assign this to the parser.
    In principle the encoding should be part of XML header. Make sure that the encoding of the response is the same as declared in XML header.

  • Oracle 10g db character set issue

    I have a database 10g with database character set western
    european "WE8ISO8859P1" and we are receiving data from source
    database with database character set as "UTF8" during data load
    for one of the tables we receive the following error "ORA-29275:
    partial multibyte character" I understand this might be due to
    the fact western european character set is not a subset/superset
    of UTF8 .Am i right ? What would be the way around this ?

    It is certainly possible that the issue is that your database characterset is a subset of UTF8.
    How are you getting the data? Are we talking about a flat file? A query over a database link? Something else?
    Does the data you're getting contain characters that cannot be represented in the ISO-8859 1 character set? It is quite common to send UTF-8 encoded files even when the underlying data is representable in other 8-bit character sets (like ISO-8859 1).
    What are you trying to do with the data? Are you trying to load it into a CHAR/ VARCHAR2 column? A CLOB? A BLOB? An NCHAR/ NVARCHAR2? Something else?
    Justin

  • Goods return issue

    Dear Experts,
    One of our existing client engineering relvant industry is using SAP B1 PL_18 & facing a problem in purchase module. Scenario is the goods received through grpo found defective on quality check and the same is returned to the vendor through goods return. When the returned goods comes back then there is no option avaliable in standard SAP to receive the returned goods from goods return form.
    I s there any provision from goods return to receive the goods in standard SAP other than customization. If any one knows the solution or faced this kind of issue please share your knowledge.
    Regards,
    Krishnakumar
    Edited by: krishnaoctopus on Aug 25, 2010 1:34 PM

    Mr.Sachin,
    Thanks for you suggestion but still in 8.8 version there is no provision to re-open the grpo once the good return is passed i think u have not checked properly.
    According to SAP PLC (Product Life Cycle) goods return is the last stage of purchase cycle there after there is no provision to re-open its corresponding Po or Grpo gets closed.
    Best Regards,
    Krishnakumar
    PCS Technology

  • Javascript (or some plugin) issues present in Firefox 8 but not Chrome.

    Not sure if this is a Javascript issue or what, but here are some of my issues:
    * Facebook: cannot close notification tab after I open it.
    * Tumblr: cannot expand images in posts on my dashboard; preexisting text in forms (such as the tags form when making a new post) does not go away. This "typeover" error exists on other pages as well.
    * Reddit: cannot enter the subreddit in a post; logging in from the main page results in error
    This hasn't been a persistent problem; it just started today. I tried reinstalling Firefox and restarting my computer, but the issues are still present.
    I don't have any of these problems in Chrome. Is this an issue Javascript and/or other plugins? When I disable Javascript, these problems don't exactly go away - the aforementioned features just don't work.

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • Pages: On the new version of Pages, I can't select the invisible character "return". I need to copy and past it on "Find and replace". How can I do that? Thanx.

    To change all the "-" by — that starts a dialogue on a book, I used to copy and past "Return" + "-" to ensure that all the "-" will not be change. But on the new version of Page if I select the "Return" character, and past it on "Find", the "Space" is appearing. How to select the "Return" character ? hanks for your help.

    Select a song. Hit command-I (Mac) or Ctrl-I (Windows). In the pane which opens select the 'Artwork' tab. Drag an image to the space.
    Or, select an album: same keystroke. In the pane which opens is a space labelled 'Artwork' - drag an image there.

  • Chinese Character display issue on Coldfusion 10

    My Company using Coldfusion to built an report platform and recently I upgrade our Coldfusion 7MX with Windows Server 2003 to Coldfusion 10 Enterprise with Windosw Server 2008 R2.
    I copy the Code from the Old server to the new one, but I met the problem I couldn’t solve.
    We have a repost that can enter, modify and view our SRM that has Chinese Character display request. Chinese character was display without problem when the system in the old server. which look like following.
    once I move the code into the new server, I got the problem with Chinese Character as following.
    This report pulling the data from SQL2005 with Windows Server 2003 R2.
    Coldfusion code code was same and both version is access to the same database.
    I ran all of the update included to install the windows MUI for Chinese character into the new server,  but I still can't get the character display correctly.
    I can view the chinese character website without issue but only to display in the report.
    I contact with Microsoft tech support but they don't have an solution for me. please help.

    Install windows server language pack:  http://www.microsoft.com/en-us/download/details.aspx?id=12250
    Are you sure the Chinese is encoded in UTF-8?  (It should be, but you should check the database field type encoding.)  If it's simplified chinese it could be set to GB18030 and if it's traditional chinese it could be Big5.
    You might want to leave off the encoding directive in CF and load the page in a browser then change encodings using tools > encodings  to see what works.
    祝你好运!

Maybe you are looking for