Listeners of bean not invoked in the Facelets page fragment in Jdeveloper 12 c

Hi all

I'm working on an ADF application and facing the issue, as described below.

I created a facelets page, index.jsf. In the jsf page, I added a taskflow bounded as a region.

The taskflow, MainTF.xml, is based on fragments of the page. The default activity on the page is a page1.jsff of pageFragment, which comes from the facelets.

Now inside the page1.jsff, I have a pane of the < af:link > with the property of listener action pointing to a bean method.

When I run index.jsf, < af:link > is rendered, but clicking on it, the actionlistener is never called.

The jsff source code is as below:

<?xml version='1.0' encoding='UTF-8'?>

< UI:composition xmlns:UI = "http://java.sun.com/jsf/facelets" xmlns:AF = "http://xmlns.oracle.com/adf/faces/rich" >

< af: link text = "#{viewScope.ABean.aa} ' id = "l1" actionListener = "#{viewScope.ABean.al}" / >

</ UI:composition >

If I replace the tag < ui:composition > < ui:fragment > tag, as shown below, the page works as expected and the action listener is called by clicking on the link

<?xml version='1.0' encoding='UTF-8'?>

< UI:fragment xmlns:UI = "http://java.sun.com/jsf/facelets" xmlns:AF = "http://xmlns.oracle.com/adf/faces/rich" >

< af: link text = "#{viewScope.ABean.aa} ' id = "l1" actionListener = "#{viewScope.ABean.al}" / >

</ UI:fragment >

So my question is, has anyone faced with a similar problem? I've seen several code samples where < ui:composition > works very well, then is there something I could do wrong here?

Also, if I continue to use the <ui:fragment> tag, which will cause problems down the line?

The version of Jdeveloper I use is: JDEVADF_12.1.3.0.0_GENERIC_140521.1008.S

Thank you

Gopal

Try to surround yourself with af: link with containers (af:panelGroupLayout, af:panelBox,...)

Dario

Tags: Java

Similar Questions

  • Icons wiggle and move in the home screen but will not go to the next page

    Icons wiggle and move in the home screen but will not go to the next page

    You need to move to the edge and hold the button for a few seconds so he can move to another screen.

  • can not find on the web page hp H470 bluetooth driver for win 8.1

    can not find on the web page hp H470 bluetooth driver for win 8.1

    Downloaded the full software, stops and States that the h470 is installed and no problems were discovered. only allows a test page to print when connected by usb. show / not allow an option to install the bluetooth drivers. If I remove the usb key indicates that the h470 is not discovered even if I have a bluetooth installed in the Pavilion and the h470

  • I have placer place text, and then change the font size, but it does not flow to the next page

    Hello! Tell when I have text that fits into a page, because it is absorbed in indesign with a great font size small. Then when I want to increase the font size it does not continue on the next page. How can I get there?

    Thank you very much!!

    Click the port at the bottom right of the text block to recharge the cursor, go to the next page and click to place it.

    If this is new to see you:

    Text of wire among images in Adobe InDesign

    InDesign 03 - Mini tutorials - threads of text - Threads view - overflow of text warnings areas - YouTube

  • jQuery not made on the secure page

    I have a jquery function in a payment page to switch between two different web forms (paid by check) and pay by credit card.

    It works fine on the page that is not secure...

    Marine girls choir | Payment for the new singer

    But does not work on the secure page...

    Marine girls choir | Payment for the new singer

    Any ideas what is happening here?

    .. .and then you will probably need to add ;return false; to the JS to keep the link jumping to the top of the page. So:

    showonlyone('newboxes1');return false;">

  • Its results are not redirect to the respective pages


    Hi all

    I configured ITS Peoplesoft peopletools 8.53 and ELM 9.2 instance.

    After you have everything configured, ITS search results arrive correctly but is you click on it, it is not redirecting to the respective pages.

    This is to show the error on the page in the status bar of Internet Explore.

    Could you please help me to solve the problem.

    Thanks in advance.

    AJMAL

    Hello

    Probably you are encountering the problem that is described in this document of knowledge "My Oracle Support":

    Doc # 1551951.1: Search 'Results list' contains links that do not work because they are built with the incorrect URL

    Here is the solution:

    ------------------------

    Make sure that the content/portal URI are set correctly on all nodes the.  This can be done as follows:

    1. connect to the PeopleSoft application

    2. go to PeopleTools Integration Broker, integration configuration, nodes

    3. sort by "Local node".

    4. for any node where "node Local = 1' do the following:

    a. set up the node

    b. go to the tab "portal."

    c. ensure that the text "URI Content" and "Portal URI text" are properly defined.

    For example, if your Integration Broker is on myserver.mycompany.com:8000 and your site is called hcm, you would use these values:

    Text of the URI of the content = "http://myserver.mycompany.com:8000/PSC/hcm /"

    Portal of text URI = "http://myserver.mycompany.com:8000/psp/hcm /"

    (Write it down "/" at the end of the values.) Make sure you remember that)

    d. make sure this change is made to all nodes. For example, for HCM, this aspect should be defined for nodes PSFT_HR and HRMS.

    5. after making the above changes, you need to rebuild the search index. Do this as follows:

    a. redeploy all the definitions of research that were built with the incorrect URL as follows:

    -Go to PeopleTools, research framework, Administration, deployment/delete the object

    -Box next to the definition of inactive research

    -Click "undeploy".

    -Once finished, check the box next to the definition of research and this time click "deploy".

    b. rebuild search indexes

    -Go to PeopleTools, research, Administration, research agenda Index

    -Bring the command run to perform a build of the full Index and launch it.

    c. Once finished the process ' Building for Search Index ', re - test and verify that the problem is solved.

  • Hi, I have another problem, when people visit my site that they could not return to the home page

    Hi, I have another problem, when people visit my site that they could not return to the home page

    Hello

    Problem is in outline view.

    Please follow the steps below and you should be all set.

    1. go in the Plan view.

    2. right click on the 'HOME' page

    3. Select "Menu" > "include the Page containing the hyperlink.

    4 save the file and then try to preview.

    You should be all set.

    Concerning

    Vivek

  • How can I keep STROKE does not spread on the next page?

    My InDesign document has a few features that are on a 45 degree angle and I'm trying to keep them does not spread on the next page. I can't send them to the back which will not work in this case. Is it possible to prevent them from showing on pages all about? Thank you!

    Why not just remove the offending part of the path? Move the curvilinear straight ends or use the scissors tool to cut what you don't need.

  • CFinclude and mappings? Images not displayed on the calling page

    I can't find it. I have a cfinclude on a page. "The original model has an image inside < a href="/image/pic.gif ">, which does not appear on the calling page. I understand that I need to create a mapping on the server see

    She asked a logical path and a directory path. I don't know what to put here; I tried all the variations and the pictures do not always show on the calling page.

    Thanks anyway. I found another solution.

    For other people, I created an application variable with the full virtual path including the domain name in Application.cfm.
    http://www.domain.com/">

    I then use the variable in the img src, which is in the include file:

    Now the cfinclude can go in any folder on the server and apply to any page on the server, and the url of the image will not be broken.

  • Pass the parameter page fragment in a dynamic region

    Hello.

    I use Jdeveloper 11.1.1.3.

    Can someone explain to me how to pass the parameter page fragment in a dynamic region?

    My situation is:

    I have only 1 page: index.jspx.

    This page includes 2 items:
    1. < af:tree >
    < af:tree id = "t1" var = 'node' rowSelection = 'single '.
    value = "#{bindings." Rendering FpsrVO1.treeModel}"="true"expandAllEnabled ="true ".
    contentDelivery = "lazy" initiallyExpanded = "false".
    contextMenuSelect = 'false' fetchSize '-1' = >
    < f: facet name = "nodeStamp" >
    < af:commandLink id = "cl1" rendered = 'true '.
    actionListener = "#{backingBeanScope.RegionDynamicBean.treeClick}" >
    < af:outputFormatted id = "outForm' value = ' #{node." Name}' has made = "true" / >
    < name f: attribute = "Flash" value = "#{node." Code} "/ >"
    < / af:commandLink >
    < / f: facet >
    < / af:tree >
    2. < af:region >:
    < af:region value = "#{bindings.dynamicRegion1.regionModel} '"
    ID = "r1" / >
    region could be changed to 3 delimited taskFows who have just a fragment of page.

    Can someone explain to me how I can send < name f: attribute = "Flash" value = "#{node." Code} "/ > element tree to page fragment that will appear on the screen?"

    You can move a card to the dynamic region that would take the parameters of workflow task in the form of key-value pairs.


    taskFlowId = "${backingBeanScope.TestPageBean.dynamicTaskFlowId}" "
    Activation = "deferred."
    xmlns = "http://xmlns.oracle.com/adf/controller/binding."
    parametersMap="#{backingBeanScope.TestPageBean.parameters}"/ >

    When reloading the taskflow, ensure that the settings are loaded into the taskflow.

    See this example from exactly your use case:
    http://adfsampleapplications.googlecode.com/svn/trunk/TaskflowParamSampleApp.zip

    Thank you
    Nini

  • does not open to the home page

    Recently when I opened my firefox browser, whenever it does not open the home page. Instead, it opens to the last page I was on until I closed out of the browser. I tried to reinstall firefox, and that has not changed anything. I use windows 7.

    You can check if you have a user.js file in the Firefox profile folder that affects the pref browser.sessionstore.resume_session_once true value.

    You can use this button to go to the current Firefox profile folder:

    The user.js file is read whenever Firefox is started and initializes the preferences to the specified value in this file, so the preferences set via user.js can be changed temporarily for the current session.

    You can remove the user.js file if you do not create this file yourself.

  • GIFs on 9gag open in a new tab, do not play on the home page.

    I use Firefox 24 at present. In the previous version, I could browse 9gag and play the gifs in the homepage. Now, whenever I click on a gif image to play, firefox opens as a new site in the same tab. This does not happen in Chrome. Furthermore, I can't expand the parameters or the other. What is going on? Am I missing some plug-ins?
    Help, please!

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the startup window Mode without failure.
  • Search button does not work on the start page

    When I get home the point I want to search i.e. Griffin vulture in the search bar in the center of the home page and then click on the button Search to the right of the bar, that nothing happens

    Try to use the extension SearchReset reset preferences to default values.

    Note that the SearchReset extension runs only once and then uninstalls automatically, so it will not appear on the page "> Firefox Add-ons" (topic: addons).

    You can also check if you have the XML files including Google's default search engine in the searchplugins folder in the Firefox program folder.

    If this isn't the case, then you need to reinstall Firefox.

  • "back" button does not work and the home page does not display on startup

    My buttons next and previous no longer work. They show just gray and I cannot click on them.
    Also my home page does not appear when I launch firefox.
    I reinstalled firefox 4 and then I went back to firefox 3.6.16 and have the same problem in both versions.
    Don't know what to do anymore
    I just found out that when I opened a second window everything works well in the second window, but it still does not work in the first window.
    The same thing happens when I close both windows. The first window of my home page does not appear and the back button does not work, but the second window is operating normally. Including my home page.

    Try:

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the Add-ons is the cause of the problem (switch to the DEFAULT theme: Tools > Modules > appearance/themes).

    • Makes no changes on the start safe mode window.

    See:

  • The action of the button Back/will not return to the first page open on a tab

    From a few weeks ago (I believe that when 3.6.16 is released), I lost the ability to return to the first Web site loaded on any tab by using the previous button or right click-> menu back.

    I upgraded to Firefox 4 and I still see the same question.

    This happens if the new tab is created from a link on another tab of an item in my toolbar bookmarks, or if I have on a button open new tab, then the initial Web page in the address bar or in my bookmarks toolbar.

    When I navigate to the second site in this tab via a link, manual entry or a bookmark, the previous button is active.

    If I navigate to other pages and a right click on the back button, the first page I have loaded is not listed in the history.

    It is possible to my modules or something is causing this issue? I can't think of any possible configuration setting that would entail.

    If not, should I submit a report in Bugzilla? I couldn't find a corresponding bug report, but it seems that it would have been stated several times if someone else saw this question.

    Edited to stop scrolling - Maurane

    With the back button does not, problems are caused by the McAfee Site Advisor, if you uninstall or disable this extension, the back button should work again.

Maybe you are looking for

  • Match pattern - effectiveness of the descriptor of KING

    In my application, I am followed by objects in an image using the VI 'IMAQ Match model 4' from the Module of vision. Currently, follow-up can not keep up with the rate of acquisition of 60 Hz the camera so I would speed it up. My first step was to de

  • Old device restarts when you receive an order

    Hey,. I have connected 4 devices on a GPIB to USB adapter. I can see all 4 of them to the interface and 3 of them work as it should (can send commands and obtain the expected answers). The 4th one "Programmable Pulse current Source P4000 ' society 'f

  • batch processing model loop

    How to set the model of batch TestUUT loop once? You need to use TestUUT and not only passage require the dialog box of the UUT. In process model so step ' Goto next batch "is modified to create a branch to"- end of batch loop -", discussions do not

  • Startup problem, get an error missing: &#60; ROOT WINDOWS &#62; \system\ntoskrnl.exe

    OP: Start-up of the question I starts instead of windows displays an error coming. It says I'm missing: \system\ntoskrnl.exe. How can I fix it?

  • How to convert wordpress theme to Blogger in Dreamveawer?

    I have a site on [private info removed by Moderator], it's in wordpress I'm was thinking create the same in blogger, but I don't know where to start and how to convert, I know that there could be a way that is really hard, and that is if I start codi