[ADF, JDev12.1.3] "executeWithParams": is this correct setting?

Hallo,

I would lke know if the setting of the operation executeWithParams here (see image) is correct.

The CodEsito of the VO Esiti istance parameter is set by the strange expression #{data.oaw_view_ricercaEsitiPageDef.codice}

I've never seen a similar expression assigned to a var bind.

It works, but I don't know if it's only a 'magic' or if this configuration makes sense.

I expect that, in ricercaEsiti the value to pass to setEsitParams was passed for example to a pageFlowScope.CodEsito and then the expression #{pageFlowScope.codEsito} has been used...

Thank you

Federico

The CodEsito of the VO Esiti istance parameter is set with the strange expression #{data.oaw_view_ricercaEsitiPageDef.codice}

It's not strange, you can reference any pageDef (but of course this pageDef must be initialized before or you will get error or bad result)

I would have expected that in ricercaEsiti the value to pass to setEsitParams was adopted for example in a pageFlowScope.CodEsito and then the expression #{pageFlowScope.codEsito} has been used...

Well, except pageFlowScope/sessionScope, I would expect that this parameter belongs to a liaison in pageDef created for your MethodCall activity "setEsitiParams".

Dario

Tags: Java

Similar Questions

  • [ADF, JDev12.1.3] How to get the column headers, request of VO and VO bind vars used by an af:table?

    Hallo,

    I want to create a method that takes as a parameter the id of an af:table (used to display the search results) and returns:

    • the column headings of the af: table
    • Visible property (true/false) of the columns af:table
    • the actual query of the VO instance used to create the af: table
    • the values of real bind variables passed to the query of the instance of VO

    I would like to create a servlet which takes the parameters reruns the query and returns a report Excel/PDF file that contains exactly the same columns and same of the af records: table.

    I'm a little confused on who use the code to achieve this... you kindly help me?

    I did a similar qustion here Re: [ADF, JDev12.1.3] how to export an af:table to Excel in an ADF Essentials application? but then I guessed that it was preferable to create a new thread.

    Thank you

    Federico

    For this, you can use this type of code

    Context LocaleContext = _adfTableBinding.getLocaleContext ();

    for (attr AttributeDef: attributeDef) {}

    Label As String = attr.getUIHelper () .getLabel (context);

    _logger.info ("Attritbute name:" + attr.getName () + "column name:" + attr.getColumnName () + "Col4Query name:" + attr.getColumnNameForQuery () +)

    "Name:"+ label);

    }

    which produces this output

    Timo

  • [ADF, JDev12.1.3] When you use create/restoreSavepoint... Restore operation is still useful? And other doubts...

    Hallo,

    Dario and Timo advised me (in this thread Re: [ADF, JDev12.1.3] Master w/playback af:form only af:tables detail: how to handle insert and edit through forms?) I make a request using the functions create/restoreSavpoint to this fragment in my application.

    The tables are read-only, and the user can insert and modify records by a form of popup.

    Each table has its own pop-up that I created using a btf executed as diaolog (*).

    Before I open the popup, I create the backup point.

    BindingContext bctx = BindingContext.getCurrent();  
    DCDataControl dcDataControl = bctx.getDefaultDataControl();  
    String sph = (String) dcDataControl.createSavepoint();  
    AdfFacesContext.getCurrentInstance().getPageFlowScope().put("AdfmSavePoint", sph); 
    

    When the popup is closed, I restore the backup point if the Cancel button was clicked...

    Object confirmOrCancel = returnEvent.getReturnValue();  
    if (((String) confirmOrCancel).equals("cancel")) {  
      String sph = (String) AdfFacesContext.getCurrentInstance().getPageFlowScope().get("AdfmSavePoint");  
      BindingContext bctx = BindingContext.getCurrent();  
      DCDataControl dcDataControl = bctx.getDefaultDataControl();  
      dcDataControl.restoreSavepoint(sph);  
    } 
    

    I have these doubts:

    1. the button "CANCEL ALL" (so far) AM restore operation is still meaningful (is always useful) when you use the check points? Or can I avoid using the restore of the AM operation, creating a backup point before you enter the fragment and restore it if the user clicks on "RESTORE ALL"?
    2. for all tables: before opening the popup insert/change the backup point is implemented pageFlowScope under the same key 'AdfmSavePoint '. Is it OK or would it be better to use a different key for each table (for example 'AdfmSavePointTable1', 'AdfmSavePointTable2',...)?
    3. If the pageFlowScope already contains a checkpoint under the "AdfmSavePoint" key... What does if I give the floor to new .put ("AdfmSavePoint", sph)? Can I be sure that the old value is overwritten?
    4. is this safe with nested savepoint? For example in my case I want to create a backup before the fragment in the image point is displayed (and restore if the user leaves the fragment by clicking "RESTORE ALL"), then within the fragment, as I said above, I would manage other points of record when inserting/editing tables.
    5. I noticed that clicking on the button "RESTORE ALL" when it relates to the AM-restore operation causes this strange thing: when before displaying the fragment I call SetCurrentRowWithKey on the master istance VO... If I click on "ROLLBACK ALL" posted master VO Records changes and 1 minutes of the main of the VO table is displayed. Why the master istance VO is not reimain in the folder I've previously selected by SetCurrentRowWithKey?
    6. With reference to the expression (*) above. The BTF 'dialogue' I created contains only the page jspx with shape and a return to activity. I also tried a) create (and restore) the backup point, b) to call createInsert inside the "dialog box" operation BTF (see images below), but the createInsert on retail VO istance called inside the 'dialogue' BTF seems not to reflect on the table as when I call createInsert by calling btf. I have to make some adjustments in the 'dialogue' of BTF?

    Thank you

    Federico

    Federico,

    (1) Yes, what should happen if a user add or edit vo1 and click ok in the dialog box but decided that ask to work must be restored?

    (2) as long as you don't have that a dialog box is open, it should work.

    (3) the flowrate range of page is a map. You can put the same key more than once. If the key already exists, the value is replaced.

    (4) in fact, I don't know, but the sounds of complicated design. I guess you can record more points, but only in the order of creation. It's as if you try to rebuild the framework. BTF yo it even for you, when worn right. Please go to ADF Architecture Square and read and watch it task flow of related things.

    (5) this behavior is as expected. A restore resets all the iterators so thagetto point at the top of he. http://www.Oracle.com/technetwork/Developer-Tools/ADF/learnmore/OCT2010-OTN-Harvest-183714.pdf 'keep the line after cancellation' shows how to handle this situation.

    (6) I suppose have you refresh the table iterator, once you close the dialog box for the new data. But that's only a guess because it depends on how the btf share control of data and the your involved.

    Timo

  • [ADF, JDev12.1.3] Which is the best way to define the properties of CIU/fragments of pages. Is the approach that I have used a good choice (for a beginner)?

    Hallo,

    in my app, that I have a lot of pages and fragments in which properties (for example rendered text, disabled, Selected,...), lots of user interface components must be set, before/when the page is displayed, depending on the session and pageFlow scope attributes.

    So far I have created for each page/one backingBean brought bean fragment in which I defined an attribute for each property defined (e.g. 2 properties for each UIC: UIC is 10...) "I have 20 attributes to manage in the bean).

    Then, I linked each attribute of the bean to the respective UIC property. You can see in this my thread (unfortunately without answers ) [ADF, JDev12.1.3] backingBean bean: a lot of properties to set for lots of CIU... is better by using the properties of the binding or access code (created by ID) UIC? a small example. I put the attributes the bean Builder (or in a function of 'action' if the APP properties must be set based on the interaction of the user).

    I would like to know:

    • If it is a good approach / recommended / safe or if there is a better way;
    • If the scope backingBean is OK, or if a larger scope would be better.

    As I asked in the thread in the link above, the situation can become difficult to manage if the PPP for which setting, properties are very different.

    So I'd like if there is no alternative that I can use to get the same result with less effort.

    For example, using the class ComponentReference or invokeOnComponentAPI could simplify my life? And their use could I always use backingBean brought beans?

    Thank you

    Federico

    Federico, please understand that this forum has no sla. I have other work to do, who pays my bills. I will do my best to help, but you can not expect the instant replay.

    (1) you must not use the bean to init your beans. You can delay load or init your beans instead.

    (2) as Frank and says you can use a bean to view range and use it to make your calculations as long as you know how their parameters go to the btf

    (3) you should always use the reference of the component if you bind a component to a bean. Make a habit of all scopes.

    As we do not know how you calculate the State and how often it changes while the Working Group is on the page, it is difficult to give further advice.

    Timo

  • E-mail & Safari are freezing / crashing when I arrived at links.  When is this corrected?

    E-mail & Safari are freezing / crashing when I arrived at links.  When is this corrected?

    We do not know. As far as we know is that apple is working on it.

    For now, here is a list of the workarounds that have worked for some:

    Re: Links, Hanging Apps: an overview of solutions

  • Found that this problem was due to windows being disabled "Wireless Zero Configuration" service. Found this automatic setting and then by installing the software corrected the problem.

    How to get through this process of changing windows 'Wireless Zero Configuration' service is disabled.  Found this automatic setting and then by installing the software corrected the problem.

    Hi Joseph,.

    1 are you always face the question or the issue are already fixed?

    2 Windows operating system you are using?

    If you still experience the problem, you can follow this link completely and check if the problem persists.

    In the Windows wireless network connection problems

    You can also read the following article and check.

    How can I disable wireless configuration and enable Windows XP Wireless Auto Configuration services

  • I'm having the problem of local connection on my Dell PC with Vista. ISP is Verizon FIOS. FiOS representative told me to disable Ipv6 and the problem stops. Is this correct?

    I'm having the problem of local connection on my Dell PC with Vista. ISP is Verizon FIOS. FiOS representative told me to disable Ipv6 and the problem stops. Is this correct?

    original title: local area connection problem

    Hello

    1. What is the exact problem you are facing with local connection?

    2. how many computers have you plugged into the network?

    Please provide the information of network event logs to help you best.

    Click on the link below.

    http://Windows.Microsoft.com/en-us/Windows-Vista/using-Windows-Network-Diagnostics-event-logs-to-solve-network-problems

    In the meantime, run the troubleshooter mentioned in the link below.

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-network-connection-problems

  • Internet TV Media Center is no longer available after September 22, 2012. Is this correct?

    I received an error message saying that internet TV Media Center is no longer available after September 22, 2012. Is this correct?

    Message from Microsoft and then given direct links to CBS, ABC, and MSN sites and asked to go directly to the source to watch the episodes.

    What is going on???

    .

    This isn't a "repairable" situation and the folks at Experts Windows won't
    a solution. Microsoft has removed Internet TV on September 20. The reason was not
    has announced.
     
     
    Barb
     
    MVP - Windows/entertainment and connected home
     
     
    Please mark as answer if that answers your question
     
     
     
     
  • Prepare a document to insert a row that contains the Blob column. Is what sense this correct?

    When we prepare the statement to insert a row that contains the Blob column. Is what sense this correct? And what is the difference? Does anyone know?

    1 Preparestatement.setBlob(parameter number, blob type object)

    2 Preparestatement.setBlob(parameter number, inputstream type object)

    This link shows the test I did.

    https://community.Oracle.com/thread/3680185?SR=Inbox & customTheme = OTN

    When we prepare the statement to insert a row that contains the Blob column. Is what sense this correct? And what is the difference? Anyone know?

    1 Preparestatement.setBlob(parameter number, blob type object)

    2 Preparestatement.setBlob(parameter number, inputstream type object)

    I answered in your other thread and provided a link to the JDBC Dev Guide section, which explains how to work with type LOB and BFILE data.

    Have you read this article from doc?

    Did you read my response to your other thread?

    In java, a BLOB is just the index that gives you access to the content. In your case, you access by selecting a locator BLOB existing and getting his inputstream. This inputstream is what allows you to access the content real blob.

    The Locator is just that; It specifies the LOCATION of the blob content, but NOT the content.

  • Bought more Adobe Photoshop CS on Amazon with the key! What it will not accept my registration SR #. How can apply me this correctly!

    Bought more Adobe Photoshop CS on Amazon with the key! What it will not accept my registration SR #. How can apply me this correctly!

    CS? or CS3: CS6?  If this is the CS, it is worthless.

    The CS/CS2 activation servers have been removed. Download CS2 and use the new number given to the right of the download link.

    ml https://helpx.adobe.com/x-productkb/Policy-Pricing/Creative-Suite-2-activation-end-Life.HT

  • CC of Photoshop crashes regularly and is slow by glaciers at best. When is this corrected? Why I pay for it?

    Since the update in November, both my iMac was rendered almost useless. Photoshop CC 2015 now barely works. When is this corrected? And what is the answer to Adobe? I know I'm not the only complaint to CC.

    Hi mcjohnso,

    Please update your Photoshop in the last update and check if it works.

    Photoshop CC 2015.1.2 update now available

    Kind regards

    Mohit

  • You can buy JUST Adobe Stock for three users in a company? The guy I chatted with that said I had to pay $199.99 per year over $ 69.99 per user. Is this correct?

    You can buy JUST Adobe Stock for three users in a company? The guy I chatted with that said I had to pay $199.99 per year over $ 69.99 per user. Is this correct?

    When I go on the website of plan, it says 199.99 per license as well. Do we buy 3 licenses then 3 plans to 69.99 each apps? It's very confusing.

    Well I advise you to contact Adobe sales for the same because they can help you with the correct plan according to your needs.

    Contact us | Adobe

  • Purchased 8 a window PC, reinstalled Photoshop 5.5 on my PC, went to download updates and had a message saying download failed – repeatedly.  How can I get this corrected download problem?

    Purchased 8 a window PC, reinstalled Photoshop 5.5 on my PC, went to download updates and had a message saying download failed – repeatedly.  How can I get this corrected download problem?

    If you mean CS 5.5, the updater no longer works. You must make a list of what needs to be updated or that update failed and go here to download and install them manually.

    Updates Photoshop, Bridge and so on for Windows.

  • I want to convert a Word document to PDF format. I can't do unless I pay... .is this correct?

    I want to convert a Word document to PDF format. I can't do unless I pay... .is this correct?

    That is right. Free Adobe Acrobat Reader is to view, print and comment on pdf files. For other functions, you can use one of the subscription services or purchase the full version of Adobe Acrobat.

  • The SYS user connects to the database level, is this correct?

    My senior colleague gave me following information about the user sys. I want to know, - is this correct?

    Since the SYS user connects to the database level, therefore, on the session active user SYS, to kill only the current statement is canceled. The database session does not disconnect. Instead, he continues to run the remaining in the script file instructions where we run a script file that contains a large number of SQL statements.

    Elya

    If the Oracle session was killed and the customer continued to successfully submit the following commands to the database, a new session was automatically created to replace the killed session. A feature called Of Application Transparent failover which allows the customer to switch to a session of a RAC server to another RAC server, the initial session fails (for example, RAC Server breaks down).

    TAF is part of the response to the so-called "+ the Evil Twins +"-errors and crashes. The rest of the answer are FAN (Fast Application Notification) and CLF (resumption of fast connection). This set of features about the errors and crashes - and allows an application 'seamless' continue even when his Oracle Server session fails.

    See the white paper Oracle on failover of applications with Oracle Database 11 g for the basic details.

Maybe you are looking for

  • HP pavilion 15-p107ne: wireless adapter

    Hello I have hp pavilion 15-p107ne and im having a problem with wifi adpter I have this model ( 1x11b/g/n Wireless LAN PCI Express Half Mini Card Adapter ) and its bad to find networks and connection. 1. is the problem of the adapter 2. can I replace

  • How to reset iPad 2

    How to reset my iPad 2

  • More themes for K3 Note! ;)

    As lenovo gave 2 other themes in the last update of 85 MB again but who want more themes... Here is a list of more than 40 themes, that you can install on your phone... Simply install apk normal n, you're good to go... Remember that these are the apk

  • Impossible to update the BIOS, winflash.exe accidents

    I downloaded the tool to update BIOS update 1.19, but it crashes immediately when he launched winflash.exe. I'm plugged into the AC adapter and have a full battery. I'm on a x 220 running Windows 7 Professional x 64. Any help you would be much apprec

  • Why my windows Defender doesn't let me turn it on? I get an error message.

    Why my windows Defender doesn't let me turn it on? I get an error 0x800705b4.