I need to konw in which jsff page the action is happen

i am using jdeveloper 11.1.2
I have this jsf page which contains 4 task flows
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:c="http://java.sun.com/jsp/jstl/core" locale="ar">
<c:set var="viewcontrollerBundle" value="#{adfBundle['ta.view.ViewControllerBundle']}"/>
<af:document title="composingSecretarySubmit.jsf" id="d1">
<af:form id="f1">
<af:pageTemplate viewId="/templates/PageTemplate.jsf" value="#{bindings.ptb1}" id="pt1">
<f:facet name="title"><af:outputText value="#{viewcontrollerBundle.PAGETITLE_U4}" id="ot1"/></f:facet>
<f:facet name="body">
<af:panelTabbed id="pt2" inlineStyle="width:inherit;" dimensionsFrom="auto">
<af:showDetailItem text="#{viewcontrollerBundle.SUBMIT_COMPOSING_PLAN_FROM_AUT}" id="sdi1">
<af:region value="#{bindings.secretarySubmitTF2.regionModel}" id="r2"
clientComponent="true"/>
</af:showDetailItem>
<af:showDetailItem text="#{viewcontrollerBundle.REQUORED_MODIFICATION_COMPOSIN}" id="sdi2">
<af:region value="#{bindings.modifRequiredTF1.regionModel}" id="r3"/>
</af:showDetailItem>
<af:showDetailItem text="#{viewcontrollerBundle.READY_SUBMISSION_COMPOSING}" id="sdi3">
<af:region value="#{bindings.readySubmissionCommitte1.regionModel}" id="r1"/>
</af:showDetailItem>
<af:showDetailItem text="#{viewcontrollerBundle.BEING_CHECKED_COMPOSING_PLAN}" id="sdi4">
<af:region value="#{bindings.beingCheckedTF1.regionModel}" id="r4"/>
</af:showDetailItem>
</af:panelTabbed>
</f:facet>
</af:pageTemplate>
</af:form>
</af:document>
</f:view>
If I make an action in any pages of these 4 task flow
I need to know using java script or java in which task flow this action is happen

I will try to explain more
I have 4 bounded task flows
I dragged them to one jsf page
each task flow has 2 jsff pages
and each jsff page has its unique help page
in each jsff page i have button called "Show Help button"
these buttons will open help page depending on the jsff that contains the clicked button
so I need to know the id of the jsff page

Similar Messages

  • Opening the dashboard(XLF) file from BOE repository is  locking of my SAP USER ID(SBOP) again again .....Urgently need solution. Don't know what the damn thing happening with me.

         Hi Experts,
                Since from 15 days  I am working on one Dashboard with BEX query, now I have completed that I am able to run that till yesterday. But today my SAP USER ID expired(every 15 days it expires). I have updated same password in all places(CMC OLAP, UNV,IDT) and tried to open the same XLF (which was running fine till yesterday ) after opening that if I tried to edit query or tried to add query or clicked on preview....all ending with locking of my SAP USER ID(SBOP) ..............Don't know what the damn thing happening please seng if you know any solution.
    Experts need help to solve this issue urgently .........:)
    Thanks in Advance

    Hi Mahantesh,
    We have faced same scenario,this is happening due to SAP User ID password change.
    Stop all the BO work and change the password of SAP everywhere used.Any single point will lock it again.
    Try this.This has worked for us.
    Regards,
    Javed

  • Which model should I use for Multimedia purposes? (Multimedia major in need of help deciding which model is the best for me.)

    Multimedia major looking for a model in Apple that is best for me. Any advice is welcome.

    Hi
    1)you need to check the requiered characteristics are available or not from these data sources which supply data to the above said cubes,,2
    2)0CCA_C11
    3)0IC_C03
    You cann't get the inventory report from the purchasing data(purchasing data always talks about the vendor supplying inventory,it never talks about the production inventory)
    Hope it helps
    Thanks
    Teja

  • Some of my appointments dissappear from the date on which they were scheduled and revert to the day on which I made the entry - this happens to only some entries not all

    I am currently finding it almost impossible to use ical.  sometimes when I make diary entries the entry appears as I have entered it in ical but the next day a selection of entries are no longer in their correct position but are listed as all day events for the day on the entry was made.  This is a problem that has only emerged in the last couple of weeks but I am not aware of having changed any settings during that time.  I would be very grateful for any advice.

    Hi!
    Well, there isn't any family member who could do that, because they don't have any access to my iCloud, so the second one is not an option for sure!
    Also, I am positive that photos don't stay in the stream only for 30 days, because I've had those photos from mid-end September in my iPhone, why did they just disappear?They should've disappeared long ago!Also, in my previous device I had photos stored in my stream for up to 8-9 months and they never disappeared, so this one doesn't seem to be the answer!
    Thank you though for your time, I really appreciate it!

  • Need help with a simple php page link

    I have a small .php to force the download of a file when a user clicks on a link:
    <?php
    header ("Content-type:application/pdf");
    header ("Content-Disposition:attachment;filename='form.pdf'");
    readfile ("form.pdf");
    ?>
    I need to include code which will redirect the user back to the home page without opening a new browser window, either during or immediately after downloading the file. And if it's possible, prevent the browser back button to return the user to the download page.
    I tried adding this after the readfile line:  echo "<a href="mywebsite.com/index.html" /a>";
    but that failed miserably. My php knowledge is as weak as a bull moose after the mating season. Can someone help me out on this?

    If you couldn't tell whether it is AS2 or AS3, it is doubtful you can turn it from AS2 into AS3, at least not until you learn both languages.  There is no tool made that does it for you.

  • Why do the facebook apps crashes when i need to go to my profile page

    each time I need to go to my profile page the app crashes out. then what I do is to log out and log in again.

    Because the app is buggy.
    If this is the only app you are having issues with and it occurs everytime you do a specific action in the app, report it to the app developer.

  • Which app is the best for viewing documents without sliding while zooming?

    I have many novels saved under *.htm, doc and pdf.
    I'm using Quick Office, but when I zoom in, I have to slide the screen from side to side just to watch the whole things, which make my eyes feel very tired.
    So I need your help about which app is the best for viewing documents without sliding while zooming, I mean, when you zoom in, you just have to slide vertically to see the whole documents, and don't have to slide horizontally.

    shazeal wrote:
    There is a big difference between Windows and Linux, the scheduler being the biggest. Here are 3 shots from oblivion, I tried to keep the Tri-passes around 400-450k, and the texture mem is ~ the same in all 3.
    The first two also have, Apache, Dovecott, Mysql, Samba, and SSHD running in the back ground, these were all stopped for the 3rd.
    Gnome Desktop 2.2.4 Full bloated install - All background services running, run from gnome terminal, Firefox open. Consonance Music player running.
    http://img525.imageshack.us/img525/1551 … tc5.th.jpg
    Xorg only no WM, with urxvt console open to launch the game, nothing else running except background services.
    http://img265.imageshack.us/img265/34/s … zu1.th.jpg
    Xorg only, all non essential services stopped.
    http://img225.imageshack.us/img225/7540 … zd7.th.jpg
    All running on Wine 1.1.7, Oblivion is running around 150 mods, and QTP3, Body mods, High res texture packs for the character skins, with HDR lighting. As you can see the FPS does not change, it fluctuated between 19-20 on all three runs.
    Especially with Dual cores, you will find that games do not loose FPS even with things like a lightweight music player running in the background. Windows scheduler simply was not made for that kind of thing, and benifits alot more from a lower number of background processes. I wont say linux does not benifit, but with Dual cores and CFS, it is not really noticable anymore.
    Wait, does that mean you have better performance while you are running more stuff? Does the desktop manager handle graphics better?
    This really did confuse me...

  • BCS Data Model (which one is the best)

    Hi,
    We are implementing SEM-BCS 6.0 with SAP BI 7.0.
    We have 2 possibilities for a data model and we need help to decide which one is the best.
    The first possibility is:
    1)       SAP ECC 6.0:
    a.      Define 2 (two) charts of accounts (company chart of accounts and consolidation chart of accounts) that are mapped/linked in transaction FSP0;
    b.      Define Balance and an Income Statement hierarchy for the group/consolidation chart of accounts;
    2)       BW (BI 7.0)
    a.      In BW we also have both charts of accounts, with a Balance and an Income Statement hierarchy for the group/consolidation chart of accounts. These ones were replicated from source system SAP ECC;
    3)       SEM-BCS 6.0
    a.      IN BCS we update the Financial Statement Item automatically based on/equal to consolidation chart of accounts (and not based on Balance and Income statement);
    b.      For reporting issues, we will define BW workbooks,  based on the Group Balance and Income statement,  for Consolidation reporting. In resume, we will have the Balance and an Income Statement hierarchy for the group/consolidation chart of accounts, created in SAP ECC, replicated in BW in order to report consolidated data.
    The second possibility:
    1)       SAP ECC 6.0:
    In R3 we only have the company chart of accounts. For consolidation purposes  we will define a Balance and an Income statement item hierarchies, one for legal report and the second one for management report, which the superior nodes (items) are the aggregation of G/L Accounts (below nodes).
    2)       BW (BI 7.0)
    In BW we will replicate the Balance and Income Statement that was created in SAP ECC.
    3)       SEM-BCS 6.0
    In BCS we would have to:
                                                      i.      Create automatically the Financial Statement Item, based on the items of Balance and an Income Statement hierarchies, which would be a concatenate of the two item hierarchies.
                                                     Or
                                                        ii.      Create 2 Financial Statement Items, where which one would depend on the balance or the income statement hierarchy.
    Which of the possibilities is the best?
    Having 2 charts of accounts (company and consolidation) or just have one chart of accounts (company) and have a balance item hierarchy consolidated and create the financial statement item in BCS having this hierarchy in account and not a consolidation chart of accounts?
    In our opinion the first scenario is the best one, because is seem to be more flexible and as we have the intention to use SEM BPS in the next year, for budget purpose. Furthermore, we think that with the first scenario we can have a FS Chart of accounts (in BCS) that is not dependent of reporting purposes (based on Balance and Income statements). 
    Is this interpretation correct?
    Thanks

    Hi Ricardo,
    Yes, The first one is the best choice and it is the way to work.
    SAP has given some How-to documents, which are available in service market place. These documents also suggest almost same path as first choice.
    Thanks

  • I need the dialog box (which contains page selection etC) HOW TO MAKE IT?

    hi
    i have done an requirement in smartforms.
    i need the dialog box (which contains output device name, page selection etc) when i take the print (smartforms).
    And now i already can see a dialog box .but still it doesn't have the page selection.
    I mean if the smartforms which have 5 pages,and what i need is just print the page 1 and page 3 . so I need the page selection
    which can help me on this issue. 
    Would anyone know something about it  and give me some advice . I will be appericate it.

    Hi,
    Just check with the control parameters of the function module, if you have changed any of it.
    If you have changed it then try to give the no-dialog field of the control parameter table as space.
    If the dialog box which gives you the Output device name and others appears then just below the output device name you have the column for the page selection.Just pass the values of the pages separating them with comma(like 2, 5 will print second and fifth pages) and it prints only those pages.
    Regards
    Sarves

  • Need a solution on which page template to opt for my requirement..

    Hi Forum,
    I need a solution how to proceed with this requirement.
    I need a Two pages on my application
    First Page : It need to be displaying approx 7 to 10 cloumns of data from 5 tables based on QUERY1, out which one is the hyper link to the second page ( say JOBNUM as one of the column ). These data are located in a flat database.There are no PK in the tables. Once you click on the JOBNUM it needs to navigate to the second page displaying data based on a QUERY2 which runs with the JOBNUM we clicked and the clumns on the second page needs to be alligned as per my design. Example is shown below.
    DATA1 DATA2 DATA3
    DATA4
    DATA5 DATA6
    I started this by designing a FORM ON REPORT.
    The first page which is report is fine displaying data and I changes one of the columns JOBNUM on the first page to Hyperlink onto 2 page ( FORM ). But now I need some help from the forum how to generate that FORM page based on
    1) on a SQL query which runs on 5 tables
    2) and the JOBNUM selected as this JOBNUM is in those 5 tables
    and How to change the allignment of the cloumns on the form
    Thanks for your time and help in advance.
    Krishna.

    Krishna...
    When you ask about creating page two as a FORM page, are you wanting the ability to update the record(s) that are queried from those five tables? If so, you'll more than likely need to build the page by hand without using one of the wizard options that do all the DML for you. If you are updating information of just one of those tables, you should include the ROWID of the table you wish to update in your query since you said there is no PK on any of those tables. You can easy store the ROWID in a hidden item on the page. If you wish to update more than one table, you should include all of the ROWIDs of each table with different aliases. Then your page processing needs to be savvy to which columns were updated in order to perform update statements against each table individually using the appropriate ROWID.
    If you are not updating and simply want to display the information in a report region and the query on page 2 will be retrieving more than one record based on your JOBNUM parameter, you could look into using a custom region template that you build using a combination of standard HTML tags and special Application Express placeholder tags. An example of this is in the Aria People Search packaged application found at this link, http://www.oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html, and look at (hopefully) page 2. There is a report region on one of the main pages that displays a lot of information about a person and uses a custom region template that positions the resulting columns of a query into specific locations in of a table. Not necessarily positioned exactly like how you want it, but the concept is the exact same -- you can use HTML [table] [table] syntax to put the results of your query into specific locations.
    Hopefully I have not completely misunderstood your request.
    Shane.

  • Bean is not worked  in the jsff page

    Hi
    JDeveloper Studio Edition Version 11.1.2.2.0
    I Have a bean for run a jasperreport
    package Reports;
    import javax.faces.event.ActionEvent;
    import sp11.model.apm.clubImpl;
    import java.io.ByteArrayOutputStream;
    import java.io.InputStream;
    import java.math.BigDecimal;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.util.HashMap;
    import java.util.Map;
    import javax.faces.context.FacesContext;
    import javax.servlet.ServletContext;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServletResponse;
    import net.sf.jasperreports.engine.JasperExportManager;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperPrint;
    import net.sf.jasperreports.engine.JasperReport;
    import net.sf.jasperreports.engine.type.WhenNoDataTypeEnum;
    import net.sf.jasperreports.engine.util.JRLoader;
    import net.sf.jasperreports.view.JasperViewer;
    import oracle.adf.model.BindingContext;
    import oracle.adf.model.binding.DCIteratorBinding;
    import oracle.binding.BindingContainer;
    import oracle.jbo.client.Configuration;
    public class CardFrontBean {
    public CardFrontBean() {
    public String runReportAction(){
    DCIteratorBinding rleIter = (DCIteratorBinding)getBindings().get("RealentityIterator");
    String RleId = rleIter.getCurrentRow().getAttribute("RleId").toString();
    BigDecimal ID = new BigDecimal(RleId);
    Map parameter = new HashMap();
    parameter.put("ID", ID);// where ID is a jasper report parameter
    try
    runReport("card_front.jasper", parameter);
    catch (Exception e)
    return null;
    public BindingContainer getBindings(){
    return BindingContext.getCurrent().getCurrentBindingsEntry();
    public ServletContext getContext(){
    return (ServletContext)getFacesContext().getExternalContext().getContext();
    public HttpServletResponse getResponse(){
    return (HttpServletResponse)getFacesContext().getExternalContext().getResponse();
    public static FacesContext getFacesContext(){
    return FacesContext.getCurrentInstance();
    public void runReport(String repPath, java.util.Map param) throws Exception {
    Connection conn = null;
    try
    HttpServletResponse response = getResponse();
    ServletOutputStream out = response.getOutputStream();
    response.setHeader("Cache-Control", "attachment;filename=\"CardFront.pdf\"");
    response.setContentType("application/pdf");
    ServletContext context = getContext();
    InputStream fs = context.getResourceAsStream("/ReportsFolder/" + repPath);
    JasperReport template = (JasperReport) JRLoader.loadObject(fs);
    template.setWhenNoDataType(WhenNoDataTypeEnum.ALL_SECTIONS_NO_DETAIL);
    PreparedStatement statement = null;
    String amDef = "sp11.model.apm.club";
    String config = "clubLocal";
    clubImpl am = (clubImpl)Configuration.createRootApplicationModule(amDef,config);
    statement = am.getDBTransaction().createPreparedStatement("select 1 from dual", 0);
    conn = statement.getConnection();
    JasperPrint print = JasperFillManager.fillReport(template, param, conn);
    //JasperViewer.viewReport(print, false);
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    JasperExportManager.exportReportToPdfStream(print, baos);
    out.write(baos.toByteArray());
    out.flush();
    out.close();
    FacesContext.getCurrentInstance().responseComplete();
    catch (Exception jex)
    jex.printStackTrace();
    finally
    close(conn);
    public void close(Connection con){
    if (con != null)
    try
    con.close();
    catch (Exception e)
    and a commandButton in the .jsff page
    <af:commandButton id="Realentitycardfront"
    textAndAccessKey="#{nls['REALENTITY_CARDFRONT']}"
    shortDesc="#{nls['REALENTITY_CARDFRONT_HINT']}"
    action="#{CardFront.runReportAction}"/>
    my .jsff page is in a bounded task flow with Use Page Fragments = true
    when i click the button. ........>nothing
    what is the matter
    i read in a post that it is not work in jsff page with page fragmentation
    please help me
    thanks

    One problem is that you write into the output stream from an action method and don't know what's already in the output stream. Once there is one byte written to hte stream (which you can't know from inside the action method) the pdf stream does not behave as you think it would.
    Next thing is that you use createRootApplicationModule but never release it. This will get you out of resources error eventually.
    A better approach would be to put this code in a servlet and stream the report from there. In the servlet you have control over the output stream.
    Check my blog http://tompeez.wordpress.com/2011/12/16/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-3/ where I show how to serve images from a servlet which can even use the application module pool from the application (no need to use createRootApplicationModule at all). All you have to do is to exchange the part where I get and stream the image data to your needs.
    Timo

  • Javascript in .jsff page

    Hi Gurus,
    Iam facing few problems in adding javascript to my .jsff page.
    i had tried with <trh:script></trh:script> but its showing not declared and dont know which lib that i need to add.
    Please let me know how to add javascript in .jsff page so when ever iam selecting a value from <af:selectOneChoice> i need to trigger the javascript function.
    Regards
    Suresh kumar

    hi ,
    Its not working.
    My use case is on selecting the value from <af:selectOneChoice> , i need to make few fields as read-only.
    i have tried by giving
    <af:selectOneChoice value="#{bindings.AprftypeId1.inputValue}"
    label="#{bindings.AprftypeId1.label}"
    required="#{bindings.AprftypeId1.hints.mandatory}"
    shortDesc="#{bindings.AprftypeId1.hints.tooltip}"
    id="soc3" clientComponent="true" >
    <f:selectItems value="#{bindings.AprftypeId1.items}"
    id="si3"/>
    <af:clientListener method="clientListenerFunction()" type="valueChange"></af:clientListener>
    </af:selectOneChoice>
    and used <af:resource> for javascript function but nothing is working.
    Is that my case cant be done in javascript.i need to use bindmethod to do ?

  • ADF: want to add multiple instance of .jsff page in af:region dynamically

    Hi,
    I am having following requirement.
    We have one .jsff page, and we want to add multiple instance of this fragment page in <af:region> at runtime.
    Basically our requirement is anyhow we want to add multiple panel which is having many other child component at run time.
    Your suggestion will be very helpful.
    Regards,
    Deepak Parmar

    Vinod,
    Hmm.. only option left is i should add component at run time. but i am facing following issue...
    I am trying to add child component into RichPanelStretchLayout object at runtime, but getFacetCount() and getFacet() method of RichPanelStretchLayout is returning 0 and null respectively.
    can you please suggest me how can i add child component into RichPanelStretchLayout object?, i have directly added component using getChildered.add() method. but it wont work as i must need one facet object ( either START,BOTTOM or CENTER).
    Regards,
    Deepak

  • Putting code to my Jsf and Jsff pages and calling Java class

    I want guidance on how to write simple code on adf pages
    1. I have adf pages (.jsf and .jsff) where I have input text fields and command buttons, I want to put custom code on the command button such that when you click on any of the buttons at runtime, the code will be executed.
    2. In my application, I have a java class which I have written, I need to click on any of the buttons at runtime, the application will call the java class and execute the class. Essentially, taking parameters from my adf page(s) (.jsf and .jsff) to the java class and also returning parameters after execution.

    The version of my Jdev. is 11.1.2.3.0
    Which docs?.... I will be grateful if you can point to the particular doc fro me.
    1) Can you pls tell me in one of few sentences how to add method and set the actionListener property.
    2) in question number 2, I am totally lost... Let me explain my self again to clarify the situation. In my adf page, I have a button and three input texts,my purpose is that at runtime, when a user click on the button, the values in the first two input texts will be passed to the java class as parameters, it is expected to use these parameters to process some form of calculations and return a value which I will place on the  third input field.

  • No Authentication for application but need to be authorized for few pages

    Hi,
    I am new to the security concepts of APEX. Could you please assist me if my below requirement could be acheived, if so how?
    My application has 'No Login Authentication' schema selected which makes it open for any user, and this is as per our requirement. I have few pages which have to be accessed only by
    * Administrator
    * Higher Management team
    * Some pages where any enduser need to login (for instance, for posting any query, I would require to know the owner of the query for which I require the user to be authenticated and further have email communications)
    Any assistance in this regard is much appreciated.
    Thanks & regards,
    Anasuya

    Anasuya,
    You need to select an appropriate authentication scheme based on how you want to authenticate users and then make all pages "public" except for those that require authenticated access. For those authenticated pages, you can then assign authorization scheme to limit which authenticated users are authorized for each page.
    Scott

Maybe you are looking for

  • Add fields to Existing DSO and DS in R/3

    Hi Friends, I have got to change my LO datasource which is running on production, 2lis_va_vatim, i need to add 2 fields to the exisitng DS from Comm Stru, so could anyone point me inthe right direction, Hoow to Add the fields with out disturbing the

  • WSUS service failure and uninstall error 0x80070643

    Hello I recently had a drive fail in a RAID 1 array on a Windows Server 2008 Standard SP2 domain controller. The drive was replaced and the array successfully rebuilt the drive. Our domain comprises a Win2k8 DC (which WSUS is installed on), a W2k3 DC

  • Using my MacBook as a wireless hub?

    I've had my MacBook for a couple of months now and I love it. I recently got a next-gen video game console with internet capabilities. The problem is that my router is all the way on the other side of my apartment. I could buy a 100' ethernet cord, b

  • Adapter engine queue monitoring

    Hi All, I have one doubt about adapter engine queue. We can see adapter engine queue in  RWB->Message Monitoring-> Adapter engine-> Display  . Here in queue if one message goes in to system error status, remaining all messages from that queue goes on

  • Safari and Google Video Chat

    Ever since I updated my Flash I can not get Video when trying to use Google Video Chat using Safari, it works using Crome. Does anyone know how to fix it in Safari?