ADF BC Jdev11.1.1.4 progressIndicator + survey problem

Hello

My case here:
I have to load a large file, do some checking and then insert rows in a table in DB.
I would like to indicate to the user the current status of the load using an af:poll and af:progressIndicator components.
The user select a file (af:inpuFile), then press a button 'load' that launch a popup with the progressIndicator.
I created a Thread with the load method and a BoundedRangeModel.
I managed to do everything I need to some extent:
-file loading works
-I can read each line of the file and d othe checks the data

My problem occurs when I try to insert the data into the DB in the thread.
I tried to use the bindingContainer of my page to insert lines, but I continue to have errors:
-First one is I tried the DCBindingContainer using the JSFUtils.getBindingContainer () of my thread-> got a NPE
-J' tried passing as argument the DCBindingContainer of my Bean (viewscope) support the thread-> error when trying to get my DCIteratorBinding
I tried to pass the DCIteratorBinding of my Bean to the Thread support-> always had an error

Someone at - it an idea of what I'm doing wrong?
Is there another way to get my DCIteratorBinding so I can insert lines in there?

Best regards

Jack

It is not a service, just a method in the AM which is flush in the client interface. Inside of the AOS, you can access the entire data model and get each VO you like.

Timo

Tags: Java

Similar Questions

  • ADF 11 g: create with the data control problem: Please help

    Hello

    In my application, I tried to create a customized data controller.

    I created a Java class results and a bean ResultsBean class.
    Then I selected class results-> right click-> data controller to create.
    The Results.xml is created
    Everything is going well so far.

    Then I updated the details of class Bean in Results.xml and tried to re-create the data controller but did ResultsBean.xml ' t formed.


    In other words ResultsBean have not associated with outcome data controller.
    Please help on this.

    Version of the ADF: Studio Edition Version 11.1.1.3.0
    Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660

    Thanks and greetings
    Maryline Roussel

    Yes you use generics to the JDeveloper type, how the JDeveloper Assistant know the ResultBean is used to return an ArrayList value?

  • blazeDS survey problem

    Hello, here is the question

    I have j2ee, flex client server, I configured blazeds and working with remote objects and messaging of the customer which is fine. This is the problem

    How make the Client queries for example to every 3 seconds to call the method some remoteObject for a kind of update or whatever or something like the functionality of chat with consnat client looking for new data for...

    Hello

    You can use the timer to Flex to call a remote object for each certain time interval, you can use the following code


    http://www.Adobe.com/2006/mxml"layout ="absolute"creationComplete =" creationCompleated () ">"
       
            Import mx.controls.Alert;
    private var: timer;
    private function creationCompleated (): void
    {
    Timer = new Timer (5000);
    timer.addEventListener (TimerEvent.TIMER, callRemoteObject);
    Timer.Start ();
    }
    private void callRemoteObject(event:TimerEvent):void
    {
    Alert.Show ("called TimerEvent");

    object remote call here
    }
    ]]>
       

    But my Suggestion is that you can use the e-mail provided by BlazeDs,

    By using e-mail, you can use ServerPush whenever something has changed in the Backend just push this data to the Client (Flex), instead of voting for each certain time interval.

  • Jdev 11G ADF BC: rollback and keep the current line problem

    Hello

    I have 2 pages of tabs in the application. The second is a page change that has a master detail data set can be changed and 2 buttons - submit and rollback.

    Submit button is a validated method from the viewImpl.java that will save your changes and keep the currently selected line.
    Cancel button is also validated method of the viewImp and the restoration on the changes and keep the line currently selected.

    There is a validator that is set up for a component on this page. When user input is not valid and that the user clicks on the "Restore" button, the error message appears and stays there until a valid value is entered.

    How can I restore without validating any component. In a Word, how to disable the validator when you click on restore.

    Thank you very much

    Annie

    I would suggest trying to use Steve code as is in the view object in beforeRollback, afterRollback.
    It works very well with the button restore default
    Maybe the problem is that you made the restoration of the Interior of the view object.
    You can also find a script to test for 11g in [http://adfbugs.blogspot.com/2009/09/range-paging-and-restore-current-row.html]

  • All-in-one HP OfficeJet Pro X576dw: poor Fax quality with ADF

    I have a fairly new HP OfficeJet 576, which sends faxes fine when using the flat bed scanner.  When documents are sent by fax using the ADF, the receiving end gets a copy of very poor quality; the document is very light and the lower part is impossible to read.  No streaks or lines in the document.

    The test page was sent using a single sheet and the ADF seemed to treat the paper without any problem.

    The ADF is necessary because most of the faxes include several pages.

    Any ideas?

    Hello

    Can you please confirm what version of firmware you have?
    The most recent version ends with 1409BR. We find it by pressing the question mark, and then "touch" printer information.

    If you have the latest, please install and let me know. I'll see if I can help.

  • Library of the skin of the ADF in JDev 11.1.1.7.0

    Hello

    I use JDev 11.1.1.7.0. I have created a Web Application from merger for skins-in order to create a shared library for Skinning. I created this as an ADF library JAR. Also, I created another Web Application of merge to use the ADF to skinning library. I associated the ADF counting library to the Application.

    Problem:

    The application is not made according to the defined CSS.

    Warning message:

    < SkinFactoryImpl > < getSkin > cannot find a skin that matches org.apache.myfaces.trinidad.desktop SkinTemplate and renderkit family, so we'll use the simple skin

    Not a valid @agent CSS property < SkinCSSDocumentHandler > < _parseAgentProperties > address: max-version: 1.9.2

    Not a valid @agent CSS property < SkinCSSDocumentHandler > < _parseAgentProperties > address: max-version: 532

    Code:

    The project, the counting

    Trinidad - config.xml:

    <? XML version = "1.0" encoding = "windows-1252"? >

    "< trinidad-config xmlns ="http://myfaces.apache.org/trinidad/config">."

    SkinTemplate < skin-family > < / skin-family >

    skin v1 < version > < / skin-version >

    < / Trinity-config >

    Trinidad - skins.xml:

    <? XML version = "1.0" encoding = "UTF-8"? >

    "< skins xmlns ="http://myfaces.apache.org/trinidad/skin">."

    < skin >

    MySkin.custom.desktop < id > < /ID >

    < Home > SkinTemplate < / family >

    org.Apache.MyFaces.Trinidad.desktop < render-kit-id > < / render-kit-id >

    < extends > skyros < / extends >

    < style-sheet-name > skins/skintemplate/SkinTemplate.css < / name of style sheet >

    < / skin >

    < / skins >

    On demand,

    Trinidad - config.xml:

    <? XML version = "1.0" encoding = "windows-1252"? >

    "< trinidad-config xmlns ="http://myfaces.apache.org/trinidad/config">."

    SkinTemplate < skin-family > < / skin-family >

    skin v1 < version > < / skin-version >

    < / Trinity-config >

    Are there any errors recorded just before getSkin? In my case, I do not use the version, but the main is always the same.

    Try to give skyros - v1.desktop in in the main application.

    Trinidad - skins.xml:

    http://MyFaces.Apache.org/Trinidad/skin">

    MYSKIN. Custom.Desktop

    SkinTemplate

    org. Apache.MyFaces.Trinidad.Desktop

    Skyros - v1.desktop

    skins/skintemplate/SkinTemplate.css

  • ADF task output with warning Popup stream


    Hello

    JDeveloper 11.1.2.2.0.

    Requirement

    2 pages to navigate inside 2 defined task flow.  TFA has PageA.  PageA babou button which has an Action to navigate to TFB.

    By clicking the button, should open by saying popup

    You want to leave the current page?

    If yes - go to task FlowB

    No - keep on the same page.

    Thank you

    Kiran

    Kiran, you use the button to display the dialog box in the dialog box and confirmation return check listener if the use has clicked ok or cancel. According to what you access to another workflow or stay on the current page.

    Page 3 of http://www.oracle.com/technetwork/developer-tools/adf/learnmore/002-adf-programmer-cheat-sheet2010-169115.pdf read the problem of displaying a confirmation dialog box before you navigate to another page in a unlimited workflow

    Timo

  • The ADF Mobile preview pane does not work under Windows 8.

    The ADF Mobile preview pane does not work under Windows 8 64-bit even I use Jdeveloper 11.1.2.4.0 version, but I use windows 7 64-bit or windows xp works fine.

    How to solve this problem, please.

    Thank you!

    Hello

    I installed JDeveloper 11.1.2.4 on my machine Windows 8 and the extension of the ADF Mobile. I can open the ADF Mobile Viewer. There is therefore no problem with this on Windows 8. I used the generic facility, which is that I have installed the JDK and then run the command for installing JDeveloper Java-jar.

    Frank

  • Form values: DB view or anything in the ADF ViewObject?

    Hello.

    I have a DB table with a field called PERSON_ID, which is the ID of a person. My version of JDeveloper is 11.1.1.7.0

    With an Oracle DB function, I pass this ID and Mr. John Smith Smith prepare to indicate in the request.

    Another field in the table is the AGE, with a raw number.

    I need to generate a table of the ADF, and I need to show the person name and age.

    I tried these two approaches for the solution:

    • Generate an attribute calculated in the ViewObjectand try to call the function DB: obviosly, if that were possible, I did something wrong, because it did not work. If something as if it were possible, it would be the best solution.
    • DB view: it works, but I can't commit data in this window of the application.
      • Create a DB view with formatting of name, age, etc.
      • Map an OT and VO
      • Generate a table of the ADF in this VO
      • When the form is completed, insert the form data in the DB Table.
      • Validate the new line
      • Reload the table of the ADF.

    How can I solve this problem?

    Any suggestion is appreciated

    Thanks in advance. Concerning

    Create EO based on your DB table.

    Create this EO vo

    Go to expert mode and modify the query

    to something like:

    Select user_id,

    xx_utils.get_full_name (user_id) full_name,

    Ager
    ---------------------------------------------------------------------

    Full name add LOV which, in the return element fill in your UserID

    Drop the VO on the page

    Now when you create the new line, the user will choose the 'full name' lov, who will fill in the field "user_id".

    Commit;

    you have completed

  • ADF business components Type map Oracls vs Java

    What advantages and disadvantages of each one card

    I thank in advance

    Take a look at this link in the developer's guide:
    http://docs.Oracle.com/CD/E16162_01/Web.1112/e16182/bcintro.htm#sm0062

    The scope of Java to map Oracle and Oracle areas type plan manage numeric data differently. When you create a new application of the type mapping default Java extended for Oracle maps the digital data to the Java.Math.BigDecimal > class that inherits from java.math.Number. The default value of Java.Math.BigDecimal corresponds to the way that web view Fusion application layer, consisting of elements ADF Faces, retains the alignment of digital data (such as numeric values > posted by ADF Faces of fields on a web page). Whereas the areas of the Oracle type that maps digital data from the oracle.jbo.domain.Number class, may not display the data with alignment scheduled by some ADF Faces > components. Apart from this alignment problem, the plan of type Oracle areas remains a valid choice and applications without ADF Faces components will work without problem.

    Thank you
    Nini

  • date of post at the level of the adf pages?

    I have a date of field who I need to validate using the following validation criteria

    date cannot be a future date

    is there any future provided by the adf?

    Hello..
    Still having problem. If so, please share your code.did you try code above, stuff that works for me. In the above code change Date java.util.Date in the bean and try...

  • Comments and questions about the mixture ADF Page flows with Trinidad UI

    Hi all

    I did a few tests to see how possible it is to use Trinity to the UI (for compatibility of this stinking IE 6) as well as the ADF Page flows / controller of the ADF. My question is whether there is a sustainable configuration from the point of view of Oracle. I did things to make it work and noted the following interesting behaviors (call anaomalies, if you wish):

    (1) addition of ADF Page Flow within the reach of the technology for a project automatically adds ADF Faces. If I try to eliminate ADF Faces of the scope of technology, it automatically deletes the flow of Page of ADF as well.

    (2) if I remove the ADF Faces DURATION 11 project library and create a page of trinidad (also set up the renderkit and as appropriate skin and remove a moment-false ServletADFFilter of web.xml) I get errors MDS when running the resulting page. I can't correct the error by removing the MDS libraries either - as soon as I put ADF Faces DURATION 11 library back, things are OK.

    (3) since I've faced ADF in my scope of technology, all newly created JSPX pages end up having af:document / af:form tags and have the namespaces implemented for ADF Faces. Not useful if I want only parts of Trinidad, but not a show-stopper, either.

    (4) an interesting thing that I have reported before... If I have the ADF Page library flow into my project and then configure navigation case in faces-config. XML (I know, wouldn't do that, just an observation, even if someone who has accidentally library ADF Page Flow in their project without any intention to use the ADF Page flows will find this very annoying to debug...), the first click of button that leads to the navigation works very well. All subsequent navigation requires two clicks on the link/button to trigger navigation. This behavior does not occur if you change the case of navigation to redirect = true.

    So, in summary, I seems to be the controller of flow/ADF Page ADF working with Trinidad, with a few minor problems of productivity due to an obvious requirement to have the Library Runtime of ADF Faces and the extent of technology ADF Faces included in my project. Now Oracle - is this going to be a sustainable configuration?

    I'd also appreciate comments, suggestions and comments from anyone else who has tried or is trying to use the ADF Page flows / ADF controller with a single user Trinity interface (well, in my case, I'm going to blur more using the tag af:template with components of the Trinity, but it's another whole story).

    Best,

    John

    bump #2

    + 1). Adding the ADF Page Flow within the reach of the technology for a project automatically adds ADF Faces. If I try to eliminate ADF Faces of the scope of technology, it automatically deletes the flow of Page of ADF as well. +

    ADF task flows have to ADF Faces e around. Not sure this is documented somewhere, but I hope it's

    (2) no idea about it

    + 3). Since that I've faced ADF in my scope of technology, all newly created JSPX pages end up having af:document / af:form tags and have the namespaces implemented for ADF Faces. Not useful if I want only parts of Trinidad, but not a show-stopper, either. +

    Looks like that is facing an emergency room to have an option in the dialog creation page if create an ADF or page of Trinidad. I'll take a note

    + 4). An interesting thing that I have reported before... If I have the ADF Page library flow into my project and then configure navigation case in faces-config. XML (I know, wouldn't do that, just an observation, even if someone who has accidentally library ADF Page Flow in their project without any intention to use the ADF Page flows will find this very annoying to debug...), the first click of button that leads to the navigation works very well. All subsequent navigation requires two clicks on the button/link to trigger navigation. This behavior does not occur if you change the case of navigation to redirect = true. +

    I'm not sure how to restrict we are on the "do not use" them in combination, but to me this looks like a bug.

    Frank

  • ADF Faces 11g on IBM WebSphere Application Server 7

    Hello



    We deploy a product 11g ADF Faces on WebSphere AS 7 (a Java EE 5 certified container, available from September 9, 2008).



    I could not find any information on the question of whether this is possible. It seems not officially certified (but wait it should work).



    Release Notes State: "< em > ADF 11g applications require a Java EE 5 container.» To date, only Oracle WebLogic Server 10g (10.3) is certified, and we intend to support both JBoss and Tomcat. Note, 10.1.3 OC4J and/or OAS 10.1.3 is not fully compliant Java EE 5 and ADF 11 g applications will not work in this environment. < /em >.
    ADF 10 g support WAS 6 and other containers, so I really hope that it is a timing issue and not a victim of the acquisition of BEA.



    -Anyone

    (a) have experience with 11 g & WAS7?

    (b) knowledge if Oracle is planning document or certify has BEEN supported in the future? (and if so, when)



    Thanks thanks in advance!



    David.

    WebSphere 7 certification for the ADF is on our to-do list, but probably would be done for the next version of JDeveloper 11 g.
    If you use just ADF Faces and not the rest of the ADF frame - I don't expect too many problems - you might want to try and see how it works today - and let us know if you encounter any problems.

  • How to use af:poll to ensure the security of session?

    Hello...
    I m using Jdev 10.3.1.2 + ADF business components, and I am facing the problem with the session expires in 4 or 5 minutes.
    How can I use af:poll to ensure the safety of the session of my application?
    Thank you
    Willian

    Hello

    You can define a poll on a page component, and its value is set under 4 minutes. When the survey triggers event it sends a notification on the server. Failed after 4 to 5 minutes session is, however, a problem with the network or server configuration.

    Frank

  • Photosmart 7520 series: error Photosmart 7520 series Document feeder

    Error message when you try to print, copy, fax, bed or document scan power - it says that I have to re - load the document into the charger and I am not fed any document.

    Hi @FaithHopeLove,

    Welcome to the Forums of HP Support!

    I see that your HP Photosmart 7520 printer will not print because of this error message "re - load the document". I'd be happy to help you and don't forget to come back to this thread and check "Accept as Solution", if I have successfully helped solve you the problem. If you want to say 'Thank you' to my effort to help, click on the "thumbs up" to give me a Kudos.

    I understand the frustration you are experiencing. It seems that the printer is stuck in an error state or there is a blockage in the ADF (ADF).

    I would like to do a hard reset to see if that will solve the problem. Let the printer and disconnect the printer cable and the wall socket for 60 seconds. Reconnect the power cable to the output of the printer and the wall, and not a surge protector. This ensures that the printer is full on and can help this situation.

    Make sure that the printer is connected directly to a wall outlet (do not use a bar or a surge protector). This ensures that the printer is full on and can help this situation.

    If you have access to another computer running Windows 8 or an earlier version, please update the firmware of the printer. Click here to go to the download page.

    To make sure that there are no obstructions in the ADF, follow this guide:

    The ADF (ADF) is not get paper

    If the problem persists, I suggest we try semi Full Reset. I can send you this information in a private message. In the forum next to your handle name simply click on the envelope to see.

    If you have completed all the above steps and your product still has a problem, service the product.

    Contact HP for service in all countries except Asia-Pacific.

    First, check your product warranty to check your warranty printer status and then go to contact HP support to find an authorized dealer or to schedule a repair. Cost of repair out-of-warranty printers may apply. What you can do, is to use the following link to create yourself a file number, then call and it can help to expedite the appeal process:

    Step 1. Open the link: www.hp.com/contacthp/

    Step 2. Enter the product number or select Auto detection

    Step 3. Scroll up to "still need help? Fill out the form to select your contact options.

    Step 4. Scroll down and click on options contact HP - click Get phone number if number and phone number are displayed.

    Please reply to this message with the result of your troubleshooting. I can't wait to hear strings attached good luck! Happy smiley

Maybe you are looking for

  • Apple Watch does not work

    So do not know how this will go down, but I think of my Apple Watch was the biggest waste of money so far, very disappointed. 1. it just doesn't work very well, everything works slowly and measures are very imprecise. 2. the quality is not great, tha

  • Click-to-play is active, but the Flash videos still play automatically

    On my old computer (Windows 7, with Firefox 32.0.3), click-to-play stop Flash video to play unless I click on the piece of lego next to the URL bar. However, on my new computer (also Windows 7, with Firefox 32.0.3), Flash videos play automatically, e

  • SIMS 2 works do not because of copy protection?

    I just bought the laptop satellite M60 who should have just asked in the game The Sims 2. I installed the program but when I want to play, a window will appear "this program has caused an error and closes. I read on another page that maybe it's becau

  • My satellite A200-1AG does not illuminate

    Hello: My A200 power on. When I plug in the AC/DC adapter then flahs blue led once and that's it. No, do something more. No power led on.help please.

  • convert png gif in Labview

    Hi all I'm using Labview 8.6. In my application I want to convert a PNG in GIF file. There the VI to convert PNG to GIF? Thanks in advance, Vaira Muthu. ------------------------------------------------------------