[BUG] Page composer does not pass task flow input paramters correctly

Hello,
When using the page composer to add a task flow requiring parameter to an editable region, the pageDef is correctly created within the MDS store. In my test case, the generated pageDef looks like the following, which seems to be correct:
<?xml version = '1.0' encoding = 'UTF-8'?>
<mds:customization version="11.0.0.49.49" xmlns:mds="http://xmlns.oracle.com/mds">
   <mds:insert parent="pages_test_testWebCenterComposer2PageDef(xmlns(mds_ns1=http://xmlns.oracle.com/adfm/uimodel))/mds_ns1:executables">
      <taskFlow id="regionBinding1" taskFlowId="/taskflows/texte-riche-task-flow#texte-riche-task-flow" xmlns="http://xmlns.oracle.com/adf/controller/binding" Refresh="ifNeeded"/>
   </mds:insert>
   <mds:insert parent="pages_test_testWebCenterComposer2PageDef(xmlns(mds_ns2=http://xmlns.oracle.com/adf/controller/binding)xmlns(mds_ns1=http://xmlns.oracle.com/adfm/uimodel))/mds_ns1:executables/mds_ns2:taskFlow[2]">
      <parameters xmlns="http://xmlns.oracle.com/adf/controller/binding"/>
   </mds:insert>
   <mds:insert parent="pages_test_testWebCenterComposer2PageDef(xmlns(mds_ns2=http://xmlns.oracle.com/adf/controller/binding)xmlns(mds_ns1=http://xmlns.oracle.com/adfm/uimodel))/mds_ns1:executables/mds_ns2:taskFlow[2]/mds_ns2:parameters">
      <parameter id="idStellent" xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
   </mds:insert>
   <mds:insert after="pages_test_testWebCenterComposer2PageDef(xmlns(mds_ns2=http://xmlns.oracle.com/adf/controller/binding)xmlns(mds_ns1=http://xmlns.oracle.com/adfm/uimodel))/mds_ns1:executables/mds_ns2:taskFlow[2]/mds_ns2:parameters/mds_ns1:parameter">
      <parameter id="mode" value="edit" xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
   </mds:insert>
</mds:customization>Since it was not working as I expected, I added a method call printing the parameters values as the first action of my task flow, but I get the following, showing that none of the parameters ever get passed to the task flow. Of course, in its current state idStellent should indeed be null, but the mode should have the static value "edit":
------------------------ idStellent = null, mode = null ------------------------Can we get a ticket filled for this issue because it's an extreme blocker for us as it prevent reuse of task flows with the page service.
Regards,
~ Simon

Hi,
I forgot to mention that the task flow is extremely simple, here's its definition:
<?xml version="1.0" encoding="windows-1252" ?>
<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
  <task-flow-definition id="texte-riche-task-flow">
    <default-activity>printParams</default-activity>
    <input-parameter-definition>
      <name>idStellent</name>
      <value>#{pageFlowScope.idStellent}</value>
      <class>java.lang.String</class>
    </input-parameter-definition>
    <input-parameter-definition>
      <name>mode</name>
      <value>#{pageFlowScope.mode}</value>
      <class>java.lang.String</class>
    </input-parameter-definition>
    <managed-bean>
      <managed-bean-name>document</managed-bean-name>
      <managed-bean-class>ca.ulaval.ena.faces.bean.HtmlStellentDocumentBean</managed-bean-class>
      <managed-bean-scope>pageFlow</managed-bean-scope>
      <managed-property>
        <property-name>idStellent</property-name>
        <property-class>java.lang.String</property-class>
        <value>#{pageFlowScope.idStellent}</value>
      </managed-property>
    </managed-bean>
    <managed-bean>
      <managed-bean-name>block</managed-bean-name>
      <managed-bean-class>ca.ulaval.ena.webcenter.bean.BlockBean</managed-bean-class>
      <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <view id="texteRiche">
      <page>/fragments/ut412/texteRiche.jsff</page>
    </view>
    <view id="texteRicheEditable">
      <page>/fragments/ut412/texteRicheEditable.jsff</page>
    </view>
    <router id="modeSwitch">
      <case>
        <expression>#{pageFlowScope.mode == 'edit'}</expression>
        <outcome>edit</outcome>
      </case>
      <default-outcome>read-only</default-outcome>
    </router>
    <method-call id="printParams">
      <method>#{block.print}</method>
      <parameter>
        <class>java.lang.String</class>
        <value>#{pageFlowScope.idStellent}</value>
      </parameter>
      <parameter>
        <class>java.lang.String</class>
        <value>#{pageFlowScope.mode}</value>
      </parameter>
      <outcome>
        <fixed-outcome>done</fixed-outcome>
      </outcome>
    </method-call>
    <control-flow-rule>
      <from-activity-id>texteRicheEditable</from-activity-id>
      <control-flow-case>
        <from-outcome>annuler</from-outcome>
        <to-activity-id>texteRiche</to-activity-id>
      </control-flow-case>
      <control-flow-case>
        <from-outcome>ok</from-outcome>
        <to-activity-id>texteRiche</to-activity-id>
      </control-flow-case>
      <control-flow-case>
        <from-outcome>enregistrer</from-outcome>
        <to-activity-id>texteRicheEditable</to-activity-id>
      </control-flow-case>
    </control-flow-rule>
    <control-flow-rule>
      <from-activity-id>modeSwitch</from-activity-id>
      <control-flow-case>
        <from-outcome>read-only</from-outcome>
        <to-activity-id>texteRiche</to-activity-id>
      </control-flow-case>
      <control-flow-case>
        <from-outcome>edit</from-outcome>
        <to-activity-id>texteRicheEditable</to-activity-id>
      </control-flow-case>
    </control-flow-rule>
    <control-flow-rule>
      <from-activity-id>printParams</from-activity-id>
      <control-flow-case>
        <from-outcome>done</from-outcome>
        <to-activity-id>modeSwitch</to-activity-id>
      </control-flow-case>
    </control-flow-rule>
    <use-page-fragments/>
  </task-flow-definition>
</adfc-config>Note that the method call at the start is totally useless and only used to print the input parameters.
~ Simon

Similar Messages

  • [BUG] Item.getShortDesc does not return taslk flow's shortDesc

    Hi,
    Yet another page composer issue. If I have the following task flow:
    <task-flow-descriptor path="taskflows/texte-riche-task-flow.xml" id="texte-riche-task-flow"
                          type="task-flow-definition" uses-page-fragments="true" train="false"
                          short-label="Zone de texte riche"/>then oracle.adf.rc.model.dc.Item gotten in the DropHandler returns "texte-riche-task-flow" rather than "Zone de texte riche" which is a bit annoying considering that value is used as the showDetailFrame's text attribute value.
    Thanks,
    ~ Simon

    Verified with ADFc folks.
    Assuming you are using TP4, add a display name & description for you task flow in JDeveloper & then re-package your application as an ADF Library.
    The resulting task-flow-definition and META-INF/task-flow-registry.xml (generated into your ADF Library) should contain display-name and description attributes. These should be correctly reflected in the resource catalog & the drop-handler.
    Chris

  • Linking pages: i have published my site, but my page map does not appear.

    linking pages: i have published my site, but my page map does not appear.

    thanks Roddy,
    i had other issue as well. my server site could not be found, the music player did not show on the pages and my email opened up in compose, but anyone could go to my inbox, etc...
    i am using FTP server and hosted through godaddy and using their FTP manager.
    after making everyone's day that i communicated with i closed everything out and rebooted. now everything works with the exception of the email. i will have to use a different email address.
    thanks again

  • I'm applying for jobs online through my iPad using the safari app. For some reason when I try to attach my resume, which I have saved in Pages, it does not give me an option to go to Pages. It only gives my an option to choose a file from photos. Does it

    I’m applying for jobs online through my iPad using the safari app. For
    some reason when I try to attach my resume, which I have saved in
    Pages, it does not give me an option to go to Pages. It only gives
    my an option to choose a file from photos. Does it not have the
    capability to choose a location other than photos??

    No. Safari does not have the option to attach files for uploading other than photos.
    Look at iCab Mobile in the App Store. There are other browsers that may do this, but I'm pretty sure that iCab will fill the need.
    iCab Mobile (Web Browser) on the App Store on iTunes
    take a look at this.
    http://www.icab-mobile.de/faq.html

  • Itunes does not pass windows logo testing to verify CD/DVDrom drives, Why?

    Hello All,
    When I try to install Itunes 9.2 on my XP 32bit machine, I get the error message "Itunes does not pass windows logo testing to verify CD/DVD rom drives this software will not be installed. Contact your administrator" I am the owner & my account has administrator rights. When I start itunes i get the message "Itunes was not properly installed if you wish to burn Cds you will need to reinstall itunes" Any ideas what i should do anyone?
    Thanks
    Lacanox

    When I start itunes i get the message "Itunes was not properly installed if you wish to burn Cds you will need to reinstall itunes" Any ideas what i should do anyone?
    That sounds like the GEAR drivers that iTunes uses for burning and importing aren't going in properly. (or there's damaged GEAR drivers for an old install stuck on the PC.
    Perhaps manually uninstalling and reinstalling the GEAR drivers can get you past this. There's instructions for that on the GEAR wiki:
    [DRIVERS: Windows - Updating, removing, 64 bit versions, etc|http://www.gearsoftware.com/wiki/index.php?title=DRIVERS:Windows_-_Updating%2C_removing%2C_64_bit_versions%2Cetc]

  • How to redirect a page that does not exist

    Hello everyone. Thanks for the feedback so far.
    I am editing an old site and there are going to be some pages that do not exist anymore.
    Is there a way to have an automatic redirect so that if any user types in ANY page that does not exist sitewide, they can be directed to another main redirection page which displays a message and then to the main page again?
    The current site is littered with empty pages with a redirect link on each at the moment which does not look good and it's awful to maintain as these non-meaningful filenames the original developer has used are no help at all.
    Thank you in advance for all feedback
    Terry

    What is the web address of the old site?
    If it's on a Linux server then you can use .htaccess rewrites to automate much of the redirection heavy lifting
    http://kb.mediatemple.net/questions/85/Using+.htaccess+rewrite+rules#gs
    https://my.bluehost.com/cgi/help/htaccess_redirect

  • Crystal Report for VS2010 - The Go To Page function does not work

    When running a report into Crystal(VS2010), the Go To Page function does not work.  Typing in a page number and pressing Enter does not take you to that page.  The report remains on the current page. I'm not sure if there is suppose to be a button like the one in Crystal 8.5(VS2008).

    As long as you are using the CR assemblies for VS .NET, the viewer (Win) should look like this:
    Remember, the ActiveX viewer based on the Report Designer Component (RDC, referencing craxdrt.dll) is not supported in VS 2010.
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • Javascript to create bookmark for page that does not exist yet

    Hello all,
    Is there a way to write js for a bookmark that goes to a page that does not currently exist?
    For example, I have a 20 page pdf document.  We have FileMaker Pro that can 'append' to a PDF additional pages.  So when FileMaker pro appends two new pages (bringing us up to 22 pages), I'd like to have 2 'existing' bookmarks in the original 20 page pdf document that will, when clicked, go to page 21 and 22 respectfully.
    Is this possible and would anyone have the JS I would put into that bookmark?
    Thank you in advance!!

    Here's what I posted in the other forum you posted this to, in case it might help someone here:
    The JavaScript would be:
    // Go to page 21
    pageNum = 20;
    If there are fewer than 21 pages, it will go to the last page. If you want to avoid this, you could do something like:
    // Go to page 21 if there are at least 21 pages
    if (numPages > 20) pageNum = 20;

  • How to create an OAF page that does not need login to access

    We have a lot of Oracle users, and everyday there are some users forget there username or password and need reset. I really want to use a web page to let them reset their passwords automatically. The web page will call the API to reset password if it found the user request is legible.
    So based on the situation, the users should not need a login to get to this page, can I do this using OAF?
    And idea is welcome, thank you for your help!
    -Bill
    Edited by: billzheng2004 on Jun 18, 2009 12:12 PM

    Srini,
    Thank you for your response, I think we need to go back to my original question, is it possible to create an OAF page that does not need login, how can I do that.
    I think I said too much and led us to go to a different direction I did't want to. But I am still glad to texplain why I need a custom password reset process, that is all about business requirement, here it is:
    ----I am not sure that "company issues" (such as what you described) can be solved by software -
    I already have a solution for that. Create a custom OAF page, ask user to input his SSN / Date of Birth.... then I can figure out what his real username easily. And I can reset his password as his SSN or something which only this particular user knows. Then he can login.
    ----you may have to impart training to end users.
    As I mentioned, most of our users use only Benefit self service. They only login several times a year, even they are trained this year, most of them will forget next year, this is just human nature. And because the nature of our business, thousands of employees may change at the end of a year. It does not make any business sense for company to prepare trainers every year.
    ----In any case, the functionality you require is already built into the product.
    I guess the reason most companies hire Oracle Developers is that some functionality Oracle Applications provide is not exactly the companies needed. When there is Oracle Apps product, there is alway customization.

  • Creating a page that does not exist

    Hi everyone,
    Is it possible to create a page that does not exist based on the user input?
    By does not exist I mean that it is not stored in your computer and JSP will generate the page based on the user input. For example, in forums the user can create a new topic and based on the options selected a page will be created and stored that was not present before. The same thing happens when a message has a large number of replies, in which a new page will be created and attached to the previous page. I hope that I am not misunderstanding the concept of creating pages in forums.
    Any help is greatly appreciated.
    Regards,
    Basil Mahdi

    Hi,
    what happens in the forums is that you type in a message and that message is stored in a database. Along with your message the number of thread, forum number and message number is stored. Next time somebody wants to read your message, this message is taken from the db and shown to you by the jsp. The JSP ofcourse does more thant taht it shows also other messages and static HTML.
    http://galileo.spaceports.com/~ibidris/

  • WAD 2004s Analysis Item Row Select RRI_RECEIVER does not pass Filter values

    I have created an Analysis item and using a Data Provider that has a Sender-Reciever entry for it. I created a Command on the Row Selection Activation that does an Report to Report (RRI) jump to another web page(template or app whatever sap calls it). When running the page, it performs the jump to the other page, but does not filter the page on the selected hierarchy value on the original page.
    Why does this not work?
    If I do the same thing by selecting the Goto from the context menu on the cell it works fine.

    Answering my own question here....
    This was solved by applying the patch mentioned in Note 1115027.

  • Form Filler Yellow Task Bar Link Does Not Open task or do anything SharePoint 2010 InfoPath 2010

    Form Filler Yellow Task Bar Link Does Not Open task or do anything (SharePoint 2010 InfoPath 2010)
    Using a SPD workflow to run a approval process. This is a non-browser form. User receives task notification, opens form in IP Form Filler and sees yellow task bar notification. User Clicks on open task, nothing happens... OS = XP, On Win7
    = We get a never ending download box, and several logon security windows
    Attempted Fixes
    Clear
    InfoPath Cache
    Workflow History Looks good

    Hi,
    I understand that when you click on Edit this task in the message bar in InfoPath 2010, nothing happens. Does this happen when you open the email which contains the ‘Edit this task’ link?
    If so, you can try to check whether this key is in your regedit. If so, you can delete this key and have a test.:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{00000000-0000-0000-0000-000000000000}
    Back up the regedit keys before making any changes. For more information about backup and restore the regedit, please refer to these sites:
    Fix “Edit this task” In Outlook 2007:
    http://vettekerry.wordpress.com/2008/06/11/edit-this-task-in-outlook-2007-doesnt-work/
    How to back up and restore the registry in Windows XP:
    http://support.microsoft.com/kb/322756?wa=wsignin1.0#method1
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • Layout Options - Page Order Does Not Work Correctly

    I have a Photosmart C7280 All-in-One printer.  The Layout Option - Page Order does not work as expected.  The User Guide (page 95) states that the default for a multiple page document is to print first page first.  The manual states that to print last page first requires one to change the Page Order to "Back to Front".  For my Excel, Word, Internet Explorer and PDF pages, I need to leave the Page Order as "Front to Back" if I want the last page to print first.  This makes no sense.  In addition, I can't get my Quicken reports to print last page first no matter what I try.  Does anyone no why the Page Order does not work as expected for Excel, Word, IE and PDF, and does not work at all for Quicken?

    Keisha,
    If you uncheck the "show" option, then the corresponding HTML for that item is not rendered on the page. Thus, when you try to inspect that item via APEX_APPLICATION.G_F02, it simply doesn't exist.
    One trick that I use when I want to have hidden items on the page, but not make them take up any space, is to concatenate them to items that will be visible.
    Using your query as an example, I would re-write it like this:
    SELECT APEX_ITEM.CHECKBOX(1,ROWNUM,'CHECKED')ATTENDED,
    APEX_ITEM.HIDDEN(2,C.PARTY_ID)
      || APEX_ITEM.HIDDEN(3,C.PARTY_TYPE_CODE)
      || C.PARTY_TYPE_CODE PARTY_TYPE_CODE,
    S.PERSON_ID,
    S.PERSON_FIRST_NAME AS NAME,
    C.PARTY_CASE_ID
    FROM CASE.PARTY C
    INNER JOIN DN.PERSON S
    ON C.PARTY_ID = S.PERSON_ID
    WHERE C.PARTY_CASE_ID = :P18_CDBCASE_ID
    AND C.PARTY_SEQ_NO = :P18_SEQThus, the second APEX report column will contain the HTML for the hidden items PARTY_ID & PARTY_TYPE_CODE, as well as the value for PARTY_TYPE_CODE. When you submit the page, you should not encounter any issues.
    Thanks,
    - Scott -
    http://sumnertechnologies.com/
    http://spendolini.blogspot.com/

  • HT4641 Im trying to print off my cv, page 1 prints off fine but page 2 does not, I'm using the selected template for curriculum vitae why does my page 2 not print?

    Im trying to print off my cv, page 1 prints off fine but page 2 does not, I'm using the selected template for curriculum vitae why does my page 2 not print?

    Hi @kots 
    I suspect your question would be better answered in the HP Enterprise Business Community, as your HP Printer is a commercial model.
    My technical expertise is with consumer products and software, I am sure the commercial folks would be happy to help if you re-post your question for them to answer. The HP Enterprise Business Community is an HP Forum designed for the Commercial and Enterprise customers to help one another. I am sure you will find some HP folks there to help too.
    Click here to view the Printing and Digital Imaging. When the page opens you will see the option to 'Log in' or 'Register Now' on the right. The commercial forums are separate from the consumer boards, thus you will need to register if you don't already have a commercial account.
    You may find the HP LaserJet M2727 Multifunction Printer series page helpful while you wait for somebody in the commercial Forum to respond to your inquiry.
    Best of luck.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • ADE stuck on cover page and does not go to any page

    ADE stuck on cover page and does not go to any page

    I was having the same problem. I've discovered that I can now go to other pages by clicking on the arrow or highlighting the place I want to go in the Table of Contents and then clicking on the "Toggle Full Screen View" icon in the upper right-hand corner. I have to click on this icon with each page change. This doesn't make sense to me and I happened upon it accidently. I'm sure there must be a better way.

Maybe you are looking for

  • Powerbook Titanium user looking for advice on MacBook Pro

    Hello, all, After almost 10 years of faithful service, I'm afraid that my 15" TiBook is showing signs of age and may soon need replacing. For financial reasons, I can't spring for a brand-new, top-of-the-line MBP, and I was wondering if you had any a

  • Installing an archiso system

    so after creating a livecd with archiso, what would be the best way to get that system installed? (in a redistributable way, not just for myself.) would I modify AIF somehow? I've been lookin' at it for a bit now, but don't really get it... xD

  • Upgrade WLC 5508

    I'm trying to upgrade my Cisco WLC 5508 with 125 AP's from 7.0.116 to 7.4.110, so it can support the new AIR-CAP2602 and the old AIR-LAP1142 at the same time, but for some reasons the AP's will not accept the new software. (Cisco Controller) >show bo

  • Strange Outline Appears

    We have a machine (G5) that randomly makes a black outline around file names, objects, images in PS, in the finder and what-have-you. Please see the links provided for screen shots. Any clue why this is happening? This machine is running 10.4.7. imag

  • Problem visibility psd image in Photoshop Elements 10

    When you open a file in photoshop elements 10 are not all psd's image as visible, so sometimes he leaves only a psd icon. How do I get this as an image visible?