[ADF, JDev12.1.3] Plating of workflow that can function as 'serch & open' and 'create '? How to build?

Hallo,

in a stubborn workflow, I have a fragment of Details as you can see here...

And it is the working group...

Then dynamic region is contained within the page that has a menu.

Each menu item has action = "#{viewScope.mainDynamicRegion.startBoundedTaskFlowX}". "

The bean maniDynamicRegion I have a lot of functions, each for each menu item, like this:

public String startBoundedTaskFlowX() {}

taskFlowId = "/WEB-INF/btf-X.xml#btf-X";

Returns a null value.

}

End of details

I would like to have 2 menu items for the btf above: one as 'research and details open' and onoter like 'create new details '.

When I click on "search...". "a search form should appear, the user selects a folder, then click on 'Open' and finally appears my fragment 'details' showing the desired folder.

Of course I have now that I'll have to add a new snippet to search for the folder desired to open

When I click "create...". "my fragment displays the master desired folder should appear. Af: form in the 1st tab must be ready to be filled.

You kindly could help me to complete the stubborn workflow? What components do I use?

How can I let know the stubborn workflow what mode should work (research & open or create)?

Is there something in particular, I have to take care of?

Thank you very much

Federico

Hi Federico

You can do this by using a BTF or two

So, using only a BTF you can do the following:

1. create an inputPram in your BTF who receives a value if the application is called from the search menu or create (set its value to S (Search) and C (Create))

2 use a router to check if BTF is called from the search menu, then he should go to the search page

3. and if it is called in Menu create then they should goto createPage drirectly and in the range of the router and createPage createInsert (for the first tab) operating as a method in taskFlow, so it will show a folder created in the first tab

See -task using flow router in Oracle ADF - YouTube activity

Thank you

Tags: Java

Similar Questions

  • How to view the monthly/annual statistics in terms of time past/calories burned, broken down by each individual activity such as run elliptical/outside etc. Y at - it a third party application that can help me to collect and display these data?

    How to view the monthly/annual statistics in terms of time past/calories burned, broken down by each individual activity such as run elliptical/outside etc. Y at - it a third party application that can help me to collect and display these data?

    Hello

    It is not currently possible to review the data the application integrated in activity or training on this basis. If you want Apple to consider adding this feature, you can suggest here:

    https://www.Apple.com/feedback/watch.html

    However, health and fitness data from other sources, iPhone, and Apple Watch are registered and grouped within the health on iPhone app. These data can be exported, which you may find useful to track the cumulative progress and/or analyze your activity more in detail.

    IPhone app activity also has a button for sharing (top right of the screen) that allows to share data - including social media, Messages, Mail, Notes, and a printer.

    Include third-party applications that can be useful, for example:

    Access to QS

    -"Access your HealthKit data in a table so you can Explorer using numbers, Excel, R, or any other tool compatible CSV."

    - https://itunes.apple.com/gb/app/qs-access/id920297614?mt=8

    SpectaRun workouts

    -"View from the workouts of your Apple Watch on your iPhone and to export these workouts so you can download them to your favorite online running community."

    - https://itunes.apple.com/gb/app/spectarun-workouts/id991723862?mt=8

    Data can also be exported directly from the application of the health (Health Data > All - Share at the top button on the right).

    Check the descriptions and support resources for third party applications for supported details of import and data analysis features.

    More information:

    Use the activity on your Apple Watch - Apple Support

    Use of the workout on your Apple Watch - Apple Support

    http://www.Apple.com/watch/health-and-fitness/

  • Required: a portable charger for an iPhone 4 that can be used in Germany and the United States

    Required: a portable charger for an iPhone 4 that can be used in Germany and the United States

    Does anyone have recommendations?

    The original charger is International, all you need is a converter of pin code.

  • [ADF, JDev12.1.3] 'BTF as train': is it possible to use routers and operations between views/stops?

    Hallo,

    I need to create a working group while the train with 4 stops.

    The page showed in the 2nd stop should be based on a choiche which makes the user in step 1:

    Option_1 involves using trainStop_1.jspx as point of view for the 2nd stage

    Option_2 implies to use trainStop_2.jspx.

    Option_3 means to use trainStop_3.jspx "" "" "


    I thought to create 3 times (one for each page jspx) and to use a router to display the correct view, but it seems that the router does not allow a created task force so that the train.


    In addition, between the 1st and the 2nd stop, I need to call the createWithParams operation that has 1 parameter whose value are known only after the user makes the choice of the 1st stage.


    If you kindly could help solve this issue?


    Thank you

    Federico

    Yes, you can:

    http://www.techartifact.com/blogs/2012/11/method-call-between-train-flow-in-ADF-techartifact.html#sthash.FMOsLwb4.DPBS

  • [ADF, JDev12.1.3] Method in AM that returns a ViewRowImpl object. How...?

    Hallo,

    I need to create a method in the Module of the Application that returns a ViewRowImpl object.

    I want to call this method to a bean that will consume the returned line.

    I ask if this is possible, since in the AM configuration I don't see my method to expose it to the customer.

    What's wrong?

    Thank you

    Federico

    What's wrong?

    Documentation: https://docs.oracle.com/middleware/1213/adf/api-reference-model/oracle/jbo/server/ViewRowImpl.html

    "Client applications should not access this class on the client tier of an application. Instead, the Row interface must be used for access to the client tier. »

    In general, if you can use the class interface or application in a certain part of the code, always use interface.

    Dario

  • [ADF, JDev12.1.3] Lined back workflow a lot of values used as a dialog box. How to specify and pass the values to the btf appellant?

    Hallo,

    I've created a workflow bounded (containing JSPX pages) that I use as dialog box.

    There a lot of return values...

    I would like to how to go and read all values ret in the workflow limited appeal because the return value of dialogue seems to not allow a value...

    Thank you

    Federico

    You can try with returnListener, then to returnEvent.getReturnParameters ( https://myfaces.apache.org/trinidad/trinidad-api/apidocs/org/apache/myfaces/trinidad/event/ReturnEvent.html#getReturnParameters%28%29 )

    Dario

  • A string that can be displayed as ASCII and hex in an indicator will allow not to store the data in a file in ASCII format

    You can see the data in an indicator very well, but when we try to write this string of hexadecimal data in a file, it will only save the data in ASCII format.

    This seems simple enough, as the indicator can be selected to display the data in different formats (VI > properties > appearance > display Style: Normal, backslash, hexadecimal).  However, I could not, for the moment save data in different formats.

    Altenbach says:

    ... or you can just read the string: text.text property to get everything that is actually displayed.

    Like this...

  • I think someone is hacking my visit Web sites and IP address. Some sites do not open. When I try to open mozilla 1 message is displayed indicating that a single firefox is open and does not first close and reboot the system.

    At present 2 sites not open. When I am trying to open these sites to be ' problem loading page or the Web site you are looking for does not appear. These two messages are displayed.

    Try to clear your browser's cache.

    Tools > clear recent history... - details and of course Cache hit only is selected, and then select all and click the clear now button.

  • Is it still something that can be done in photoshop? If so, how?

    Hi all

    I wonder if the effect on the attached photo is something that can be done in photoshop.

    dropshadow example.png

    How do you get the orange outline to the shadow circle. The black space between the white letters and the orange outline is even a shadow? In addition, how do you space black dark drow transparent so that you can put on different color background?

    You can apply Layer Styles to groups.

    "Shadow" I would recommend creation with an additional instance of the text as a smart object.

  • [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

  • [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] How to create a new record in a table filling one filed with the IP address of the client?

    Hallo,

    I create a stubborn workflow that begins with a create operation on the table where a new record should be added.

    The recording fields must be filled in by the user, but before committing, I have to fill a field of the reocord with the address IP of the PC of the user.

    Could you kindly advice me which are the possible recommended approaches to achieve this?

    Thank you

    Federico

    Hello

    See this post: Blog of Zeeshan Baig: how to get the IP address of the customer in ADF merge request

    You can use a createWithParams operation and to fill in this field.

    Reference: Andrejus Baranovskis Blog: CreateWithParams operation for Oracle ADF 11g BC

    Kind regards

    Ruben.

  • [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] How to display totals for numeric columns in an af:table?

    Hallo,

    I have a VO with numeric columns. I dragged the VO to UI to create an af:table.

    I would like to know if ADF allows you to easily add a footer to the af: table that automatically show the total of each digital line.

    This is to avoid creating a just another VO only to calculate and show the totals.

    Thank you

    Federico

    Why so complicated?

    Groovy is your friend here. Cech Tech Blog of Rohan Walia: ADF - Groovy for a Total of a column in a Table amount or do you it directly in the DB using Analytics functionms as shown here Andrejus Baranovskis Blog: Analytic Functions Oracle for Total and averaging in British Colombia ADF

    Timo

  • In my adf application, I use sequences, the problem that I face, is that this sequence break at 2:21 or three insertions. Any reason?

    Mr President

    In my adf application, I use sequences, the problem that I face, is that this sequence break at 2:21 or three insertions. Any reason?

    Concerning

    How can I correct this situation?

    Well, look at your definition of the sequence and correct

    There are CACHE 20 then change or recreate your sequence and use NOCACHE

    Dario

Maybe you are looking for

  • CSRSS maintains files non-existe running

    Hello Can anyone help on this. The csrss process keeps reading disc in my computer for a long time. (Seems it will destroy my drive) Today, I wonder what happens to this topic and use the process monitor to check it out. The process monitor provides

  • Computer froze during the upgrade/installation of windows xp

    I have windows xp home edition on a Dell desktop computer. I had problems with the computer freezing and then lost the connection to the internet 3 days ago. So I decided to reinstall windows xp from cd. However, I have chosen upgrade, rather than ne

  • Cannot connect nex - 6 i-phone 4 s

    I downloaded the playmemories app for my iphone and using the menu of reading on the nex - 6 it does not find the i-phone - what step am I missing? First, I downloaded the playmemories app to my iphone then I use the soft key on the nex 6 to bring up

  • Mini Dock more Series 3 - is - do I have to connect the dock and the laptop or just the dock?

    My laptop not charging when I plug the adapter to the back of the stand. When I'm on the dock with the adapter plugged into the laptop, if I hover over the Green battery in the system tray icon, it tells me that I should plug the dock: "Alternating c

  • Information about the indicator lights up to 1250 lwapp radios

    Someone to a link or info on her mean different indicators led on the lwapp 1250? All I've found so far is the standalone info http://Cisco.com/en/us/docs/wireless/access_point/12.4_10b_JA/configuration/guide/scg12410b-chap22-trouble.html#wp1088135