Problem with the computation of the processing lines

Hi all
We use Jdeveloper 11.1.1.4.0 JHS 11.1.1.4.26.

I am trying to calculate the Salary table Employees field and then put the result in the footer of the table as follows:

1 - a feature on the Employees table construction
2-go to salary attributes field-> control tips and then put the following values:
-Type format = number
-Format = #, # 0.00
3 - construction of a new page of JHS and put the following value on the Salary field:
-View the summary in the table = Type sum

When executing the application, it will throw an exception:
"java.lang.NumberFormatException: for input string:"

When you debug the code, we see that the JHS calls a TableBean.java method called sumRow.
Inside this method, the input value cannot be converted from a string to a number

Any suggestions will be appreciated.

Thank you
Ali.

Ali,

It is indeed a bug. To fix it, you should create a subclass of the table bean Jheadstart and override the getSumRow method to return your own map

public getSumRow() map
{
Return sumRowFixed;
}

And the private map class looks like this:

private map sumRowFixed = new HashMap()
{
public Object get (Object key)
{
Total = new Number (0);
int rowsWithValue = 0;
int rowCount = getTable ()! = null? getTable () .getRowCount (): 0;
for (int i = 0; i)< rowcount;="">
{
Map rowData = getTable () .getRowData (i) (card);
If (rowData! = null)
{
Object objectValue = rowData.get (key);
If (objectValue is nothing)
{
continue;
}
Number of value = null;
If (objectValue instanceof number)
{
value = (number) objectValue;
}
ElseIf (rowData instanceof JUCtrlHierNodeBinding)
{
JUCtrlHierNodeBinding node = rowData (JUCtrlHierNodeBinding);
objectValue = node.getRow () .getAttribute (key.toString ());
If (objectValue instanceof number)
{
value = (number) objectValue;
}
}
If (value! = null)
{
Total = total.add (value);
rowsWithValue ++;
}
}
}
return to the total;
}
};

Then change the tableBean.vm template to use your subclass.

We'll include the fix in the next version.

Steven Davelaar,
Jheadstart team.

Tags: Java

Similar Questions

  • problem with the easy line of site Web

    I have a problem with a site called easy line. It's using words on my ebay page to link to advertisements.

    No idea how I can get rid of him?

    Do a check with some malware malware, analysis of programs on the Windows computer.

    You need to scan with all programs, because each program detects a different malicious program.

    Make sure that you update each program to get the latest version of their databases before scanning.

    Alternatively, you can write a check for an infection rootkit TDSSKiller.

    See also:

  • Problem with the command line APEXEXPORT after upgrading to 3.2

    Hello

    After the upgrade to 3.1.2 to 3.2 Apex (upgrade went well), I get the following error message when you try to do an export of command-line applications:

    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/apex/APEXExport (unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0 (Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    in java.net.URLClassLoader.access$ 100 (URLClassLoader.java:55)
    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

    Any ideas? It worked perfectly fine before the upgrade... I use Oracle 10.2.0.4 database JDBC jar files.

    Thank you
    Matthias Hoys

    Hello

    Machines virtual Java is backward compatible, so you can use the JDBC 1.4 with JVM 1.5 or later without problem, no need to download new classes.

    And Yes, I think that it is best to go directly to JDK1.6... Here I have 1.6 and use the tool to export Apex with the 10g JDBC classes without problems.

    Luis

  • Problems with the processing of your order.

    Our company paid by credit card don't order. AD006552924IT on 30.11.2015 at 13:46. I tried to lead the team to assign the license to one of our colleagues in marketing, but I saw the message that you need 24 hours to process the payment for 2 days now.

    If I try to update my payment information, I get the message to contact support.

    I tried with the cat, but I had to wait while a message told me to contact you on the forum...

    So here I am.

    Can someone help us?

    Thank you

    Hello

    The order number you provided is not for creative cloud for teams.

    You will need to contact support by calling/chat for this request.

    Contact the customer service

    * Be sure to stay connected with your Adobe ID before accessing the link above *.

    Kind regards

    Sheena

  • Problem with the process running sql

    I created a pricess that deletes a file off of the table apex_application_files

    When I run the following statement:
    delete apex_application_files whose name like "resume.pdf" it works without problem

    When I run the following statement:
    delete apex_application_files whose name like ': P4_PDF_DISPLAY' he does not. what I have to do.

    I changed the: p4_pdf_display to be a single item displayed on the page
    With the help of the P4_PDF_DISPLAY can view the file in a query sql and beable to view the file to download, but am unable to delete
    Help!

    Hello
    >
    I created a pricess that deletes a file off of the table apex_application_files

    When I run the following statement:
    delete apex_application_files whose name like "resume.pdf" it works without problem

    When I run the following statement:
    delete apex_application_files whose name like ': P4_PDF_DISPLAY' he does not. what I have to do.

    I changed the: p4_pdf_display to be a single item displayed on the page
    With the help of the P4_PDF_DISPLAY can view the file in a query sql and beable to view the file to download, but am unable to delete
    >

    What is this point of P4_PDF_DISPLAY? It is the name of the file, as it is supposed to be in your delete statement? Or, view the article PDF?
    Verify session state to display the value of the element. You see the name in it?

    See you soon,.

  • display_item in a form. Problem with the processing order

    I have a display_image element in a request form:
    select image
    from nbg_font_teken
    where font=:P80_FONT
    and teken=:P80_TEKEN
    P80_FONT and P80_TEKEN get their value from a header after extraction process line. This turns out to be too late for the image appears after the first load of the page.
    Only after a refresh of the image is displayed.

    I can rewrite the query:
    select image image
    from nbg_font_teken
    where (font,teken) = (select font,teken from nbg_stijl where id=:P80_ID)
    But now, the image will change whenever I take a new POLICE or TEKEN.

    Any ideas?

    What is

    select image image
    from nbg_font_teken
    where (font,teken) = ( SELECT font,teken
                                    FROM ( select font,teken from nbg_stijl where id=:P80_ID AND :P80_FONT||:P80_TEKEN IS NULL
                                                UNION
                                                SELECT :P80_FONT font,:P80_TEKEN teken FROM DUAL WHERE :P80_FONT||:P80_TEKEN IS NOT NULL
                                              )
                                   )
    

    In these situations, it's a good idea to try a check of the debug report and show the order of execution of the process, to see if you need to button-up/prepone no particular process.

  • problems with the command-line command pc

    on the side of mac, I work from command line. But on the pc side I can't understand this.

    on a mac, this is

    deleteF="rm -r "+myNumPhoto.slice(0,39)+"imaging/*";
          app.system(deleteF);
    

    on the PC I'm trying to do the same thing with this.

    deleteF = "RD/s \\TEST\test".

    It runs the command, but I get the system cannot very well the specified file.

    If I run the slashes on the other hand, it works not at all of the suggestions would be greatly appreciated.

    much of the problem was with all the obliques. They must return the characters. That said I ended up doing a string. Here's what I used.

        myNumPhoto=app.document.presentationPath;
        s=myNumPhoto.slice(0,42)
        s.toString();
        s=s+"imaging";
          deleteF="RD /S /Q "+s;
          addF="MD "+s;
          app.system(deleteF);
          app.system(addF);
    

    I had to delete the folder, and then add it in back on the PC because the command RD except no wildcard characters.

  • Problem with the pen, lines and smoothing tool tool

    I draw the line 1.

    il line 1.jpg

    Then I pause (click the arrow and then click on the new tool pen) and draw of the line 2

    il line 2.jpg

    When I finished there is a surprising gap in line 1 after the intersection of line 2:

    il line 3 gap.jpg

    Then when I use the resulting mixture too the abstract looks at-non-contigue with dashed lines:

    il line 4.jpg

    instead of something of a continuous and uninterrupted wave lines like:

    blend.jpg

    For me, the problem is clearly the gap appear but I do not understand why it appeared, when as shown in image 2, I clearly I paint complete lines.

    Please check if the lines (at least one of them) with a filling.

  • OfficeJet 6600/problem with the vertical line that appears both scanned and copied items

    There is a vertical line that follows the entire length of a page when I scan or copy.  Have cleaned the glass, it is not the effect.  Help

    Hi gljatlaw,

    I see that you are having problems of quality of scan.  I'll take a look at the document below.

    Scan quality

    Let me know how it goes.

  • Problem with the new line when you manually run a procedure in SQL * more

    The procedure below works fine in SQL * more when all EXEC < procedure_name > (parameter1, parameter 2,...); is placed on a single line
    SQL > exec cust_admin_util.create_schema (P_SCHEMA_NAME => 'SCOTT_01', P_SCHEMA_PWD => 'scott123', P_TBS_NAME => 'TRAG_TBS', p_temptbs_name => 'TEMP' );
    
    PL/SQL procedure successfully completed.
    I wanted to perform the same procedure with readability. So, I put each parameter on a separate line and try to run. But it's the slightest mistake out.
    SQL > exec cust_admin_util.create_schema
    (
    P_SCHEMA_NAME => 'TESTUSR_01',
    P_SCHEMA_PWD => 'scott123',
    P_TBS_NAME => 'TRAG_TBS',
    p_temptbs_name => 'TEMP'
    );BEGIN cust_admin_util.create_schema; END;
    
          *
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'CREATE_SCHEMA'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    
    
    SQL >   2    3    4    5    6    7
    P_SCHEMA_NAME => 'TESTUSR_01',
    *
    ERROR at line 2:
    ORA-00928: missing SELECT keyword
    No work around for this?

    Tom wrote:

    No work around for this?

    BEGIN
    cust_admin_util.create_schema
    (
    P_SCHEMA_NAME => 'TESTUSR_01',
    P_SCHEMA_PWD => 'scott123',
    P_TBS_NAME => 'TRAG_TBS',
    p_temptbs_name => 'TEMP'
    );
    END;
    /
    

    SY.

  • Problem with the process of with Mathmatica generation

    Hi all

    I'm trying thinapp Mathmatica.  The issue I'm having is that when I am building now I get an error stating.

    Adding \English\ReferencePages\Symbols\Scale.nb 11986 bytes (100%)

    Adding \English\ReferencePages\Symbols\Terms.nb 11348 bytes (100%)

    Adding n\English\Tutorials\NumericalCalculus.nb 57100 byte (100%)

    Error: GetFileAttributes for file C:\Program VMware ThinApp\Captures\Wolfram Mathematica 6\%ProgramFilesDir%\Wolfram Research\Mathematica\6.0\Documentation\English\Packages\NumericalDifferentialEquationAnalysis\Documentation\English\Guides\NumericalDifferentialEquationAnalysisPackage.nb impossible?

        • Build failed *.

    I was wondering if anyone has had success with this program or if there might be a work around it.

    Thanks for the help in advance.

    Steve K

    The path is too long. Instead of saving to C:\Program VMware ThinApp\Captures\Wolfram Mathematica project try to save it to C:\WM.

  • I got a call from people claiming that there was a problem with the computer.

    Original title: scammed by PCWizards?

    A few days ago I received a call from PC assistants saying they were Windows operating system support. They tell me that they have noticed that I had many requests from spam junk that was slowing down my computer. Unfortunately, as I had a big problem with my computer in time, I bit. I was very nervous about it at the time, but since I had so many problems with my computer and that you didn't know what to do, I fell prey to their plot. They talked to me in a 6 month contract for a fee of $99.00. After they have finished the maintenance on my computer, it worked very well, too gullible me thought: maybe they are legitimate.

    At the end of the interview I googled their business and came across an article that has been exposed as the crooks and claims that Wizards PC installs a spyware sophisticated by giving them access to the victim's computer remotely.

    To reassure myself, I decided to call using my Norton Security System. Their technician checked my computer and found a few things that their technology did not that he should have done; such that no detected restore points, the registry was not cleaned (35 detected registry errors) and it did not remove some software malware browers (toolbars).

    On his recommendation, I recalled PC assistants. The first tech I talked didn't seem to know what he was doing, so I hung up with him and sent their support line and ask them to address these problems or I would withdraw the payment from my credit card. Almost immediately after sending the e-mail, another technician called me. Unknowingly, I had all ready filed a dispute with my credit card company. I intend to cancel the service, but I am still concerned by some spyware detected on my computer. What is the best way for me to handle this? How can I get authenic proof that I was definitely scammed and I should report it to the Internet Crime Center? Using my computer for a few basic daily functions, must not be so stressful!  Any constructive guidance would be greatly appreciated!

    (Scammed in PA)

    After they have finished the maintenance on my computer, it worked very well, too gullible me thought: maybe they are legitimate.

    At the end of the interview I googled their business and came across an article that has been exposed as the crooks and claims that Wizards PC installs a spyware sophisticated by giving them access to the victim's computer remotely.

    Hello

    It's a scam.

    Either these so-called "Microsoft" Tech companies want to sell you a worthless software, or remote access to your computer to try to steal your credit card and bank information and also achieve an identity theft on you.

    You gave them remote access and if you do Internet banking, contact your bank, explain, and change passwords.

    If you use your online credit card, cancel and get a new one issued to you.

    And the only way that willl you know that you are free to them is to backup your data and do a clean install of your operating system.

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    And Microsoft does not contact you unless YOU have made prior arrangements with them to do.

    There is an article in the link I'm you provide at the end of this one

    Read this Information from Microsoft:

    "Avoid scams to phone for tech support.

    http://www.Microsoft.com/security/online-privacy/avoid-phone-scams.aspx

    Don't be fooled of unsolicited calls. Don't provide personal information.

    Here are some of the organizations that cyber criminals claim to come:

    • Helpdesk Windows

    • Windows repair center

    • Microsoft technical support

  • Microsoft technical support

  • Windows Support Group Technical Department

  • Microsoft Research and Development Team (team of Microsoft R & D)

  • See you soon.

  • Problems with the blue screen of death (when my computer is shut down)

    I get a blue screen of death on occasion, when shutting down my computer (Windows XP, Dell Vostro). It started happening after I installed the latest version of the Synology NAS software. This is the message: BCCode: 100000d 1 BCP1: BA3F1F20 BCP2: 00000002 BCP3: 00000008 BCP4: BA3F1F20 OSVer: 5_1_2600 SP: 3_0 product: 256_1. Additional technical information: C:\DOCUME~1\admin\LOCALS~1\Temp\WER4098.dir00\Mini021112-01.dmp and C:\DOCUME~1\admin\LOCALS~1\Temp\WER4098.dir00\sysdata.xml.

    Not sure if it is related to the installation or if it is another problem. Any advice would be appreciated.

    The minidump file showed a DRIVER_IRQL_NOT_LESS_OR_EQUAL (d1) referencing the usbccgp.sys (common class generic Parent Driver USB):

    BUCKET_ID: 0xD1_CODE_AV_BAD_IP_usbccgp+ 1f20

    The spoolsv.exe (print spooler service) is the process that crashed.

    You have recently installed a USB printer?

    In any case there may be a problem with the USB stack in Windows XP Service Pack 3 so I recommend you to install the following fix can correct a problem of 'timing' of USB that can be useful for the error you receive:

    http://support.Microsoft.com/kb/969238

    There is a link at the top of the article to request the hotfix.

    There was a driver of Synology (busenum.sys) loaded during the crash, but it does not appear to be involved in the accident.

  • Wiped a computer due to problems with the operating system, but do not have any media to reinstall. Help.

    No operating system

    Hello

    I bought a second hand computer and there is no backup of the operating system CD. He had problems with the operating system start so I wiped it, but now I have to re - install.

    Would it not possible to obtain another copy of the operating system for that computer?

    All the best

    Dean

    Hello

    These are forums for Vista, so vista information is provided

    Here are the different ways to reinstall Vista

    Contact the manufacturer of the laptop computer and ask them to send you to vista recovery disks to reinstall the operating system back as it was when you bought it

    they do it for a nominal cost of $

    ____________________________________________________________

    also ask them if you have a recovery partition on your hard drive to get back to the way you bought

    you would normally press F8, F9, F10 or F11 or Alt + F10 or 0 to start to start the recovery process according to the manufacturer

    Ask them of the exact key sequence

    __________________________________________________________

    or borrow a vista microsoft dvd; not a HP, Acer recovery disk etc

    Make sure that you borrow the correct 32-bit or 64-bit microsoft dvd to your computer

    they contain all versions of vista

    This is the product key that determines which version of vista is installed

    http://www.theeldergeek.com/Vista/vista_clean_installation.html

    ____________________________________________________________

    How to replace Microsoft software or hardware, order service packs and replace product manuals

    http://support.Microsoft.com/kb/326246

  • I had to uninstall firefox because it was causing so many problems with my computer. I was using the latest version 18. What is the problem?

    I had nothing else problems since I installed the latest version of Firefox version 18. It crashes my computer no matter what I do. Even if I do not use the browser. I uninstalled three times and the problems just seem to be deteriorating. Finally, I uninstalled and it did not reinstall again. I will not use again until the problems are solved. Also, I don't know is that funmoods or whatever it is that has replaced my google home page. I don't like software to decide what services I use. I've been a user of firefox for more than 15 years. I've never had problems like this before. I spent in Safari. It works without interfering with the other tasks I do on my computer. I don't know what version 18 is but the previous version of firefox that I used was perfectly fine. I had no problem whatsoever with it. It seems as if this version has not been tested enough. Also my daughter is having the same problems with his computer and they all started with the new version. So it isn't just me. At least give us the option to revert to the previous version and we ask if we want to improve when a new spell. However, I never had these problems in the past with any version of firefox that I installed. I like the features of firefox, but cannot afford to keep restarting my computer. It seems that firefox is hindering and then hangs up the computer and I can't do anything else even if I do not use it. It seems to stay in the background and just hang up. Please fix this.

    The problem is unlikely to have been with Firefox itself. It is much more likely to have been with some software or malware you have inadvertently installed

    Installs official Firefox is not bundled with other software. Firefox is customizable and has many extensions of the software you can choose to install but don't have to do anything.

    Funmoods is also a malware or at least software which is often hated to see these messages

    If you want to reinstall firefox official site:

    Then start playback on the malware removal and the toolbar

    If you want more advice back again post.

  • I have a problem when using Google Maps, at a certain point my custards computer window and says there is a problem with the display drivers and he recovered, but it is not. Problem does not occur with Int Explorrer, so I don't think it's the computer

    When using google maps via Firefox, after asking a place which is not the General section of North America who comes up regularly, the firefox screen becomes white with a narrow banner at the top. A message appears in the lower right corner that says something on display drivers having had a problem, but now have been recovered. However, the display is not recover and the message of the banner is that Firefox is not responding. When I go to restart Firefox if I'm about to restore, the page is still frozen.
    I don't think there is a problem with my computer because it doesn't happen if I used to go to google maps, then G-cards works normally.
    This phenomenon didn't happen before the last update Google or Firefox. I used Fiefox for some years and also Google Maps on previous computers and on this one and not had it before.
    It is a relatively young computer (Asus EeSlate 121) less than a year. I have used Firefox since I bought it and until recently had no problem with Google Maps.

    I solved it myself, after the 'note' that was FF/Mozilla, just as I finished my message, commenting on what it was that my system was, I wnnt back to check my plug-ins, etc. I downloaded the latest Java, the TWO 32-bit AND 64-bit versions and latest Firefox.
    Now everything works.
    Thank you
    B.

Maybe you are looking for