Loading a region at click on the PanelBox

Hi,
I have a PanelBox in the iterator . I would be load at the click on the PanelBox, the corresponding region.
Does anyone have any idea how to do that is? My code:
<af:iterator id="myIt1"
                                     value="#{bindings.MyView1.collectionModel}"
                                     var="row"
                                     rows="#{bindings.MyView1Iterator.rangeSize}" varStatus="stat">
                <af:panelBox id="myPanelB"   text="#{row.Ref}">
                            <af:componentDragSource/>
                            <af:outputText id="text1"   value="#{row.Description}"/>
                            <af:outputText id="text2" value="#{row.Address}"/>
                  </af:panelBox>
</af:iterator>Thanks in Advance
regards
Edited by: NewBB on 19.04.2011 09:03

you can access the var variable in the iterator in the managed bean.
Below is the sample based on the Departments Table in HR Schema.
IteratorSample.JSPX:
<af:form id="f1">
<af:iterator value="#{bindings.Departments.collectionModel}" var="row"
rows="#{bindings.Departments.rangeSize}" id="t1">
<af:outputText value="#{IteratorSampleBean.departmentValue}" id="ot1"/>
<af:spacer height="5" id="s1"/>
</af:iterator>
</af:form>
IteratorSamplePageDef.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
version="11.1.1.59.23" id="IteratorSamplePageDef"
Package="view.pageDefs">
<parameters/>
<executables>
<variableIterator id="variables"/>
<iterator Binds="Departments" RangeSize="25"
DataControl="AppModuleDataControl" id="DepartmentsIterator"/>
</executables>
<bindings>
<tree IterBinding="DepartmentsIterator" id="Departments">
<nodeDefinition DefName="model.views.DepartmentsVO">
<AttrNames>
<Item Value="DepartmentName"/>
</AttrNames>
</nodeDefinition>
</tree>
</bindings>
</pageDefinition>
IteratorSampleBean.java:
import javax.el.ELContext;
import javax.el.ExpressionFactory;
import javax.el.ValueExpression;
import javax.faces.context.FacesContext;
import oracle.jbo.Row;
import oracle.jbo.uicli.binding.JUCtrlHierNodeBinding;
public class IteratorSampleBean {
public IteratorSampleBean() {
super();
private String departmentValue;
public void setDepartmentValue(String departmentValue) {
this.departmentValue = departmentValue;
public String getDepartmentValue() {
JUCtrlHierNodeBinding node =
(JUCtrlHierNodeBinding)this.evaluateEL("#{row}");
if (node != null) {
Row currentRow = node.getRow();
if (currentRow != null) {
departmentValue =
(String)currentRow.getAttribute("DepartmentName");
return departmentValue;
private Object evaluateEL(String el) {
FacesContext facesContext = FacesContext.getCurrentInstance();
ELContext elContext = facesContext.getELContext();
ExpressionFactory expressionFactory =
facesContext.getApplication().getExpressionFactory();
ValueExpression exp =
expressionFactory.createValueExpression(elContext, el,
Object.class);
return exp.getValue(elContext);
}

Similar Messages

  • I have iphoto 9.2.1 and it will not load. The loading screen after I click on the app keeps circling. Can anyone help Please?

    I have iphoto 9.2.1 and it will not load. After I click on the app it opens but the screen continousley tries to load. Please Help

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • I just purchased photoshop elements and went to retrieve my serial code.  The web page provided to retrieve it loads blank, even when clicking on the URL through adobe's web site.  I can not install my product without this.  Please help

    I just purchased photoshop elements and went to retrieve my serial code.  The web page provided to retrieve it loads blank, even when clicking on the URL through adobe's web site.  I can not install my product without this.  Please help

    Drusso77 if you are continuing to face difficulties locating your serial number then please see Find your serial number quickly - http://helpx.adobe.com/x-productkb/global/find-serial-number.html.  You are also welcome to contact our support team at http://adobe.ly/1aYjbSC.

  • Hitting ENTER on a bookmark no longer starts the page to load I have to click on the arrow in the title to start that WHY??

    If I start typing a book mark, then highlight & click on the page, Firefox used to start loading that page immediately Now I have to click again on the arrow in the URL bar

    Issues with the Enter key not working can be caused by the AVG Safe Search Toolbar.
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • I can't get Firefox to load. When I click on the icon the page doesn't load and it is not responding

    My FF stalled so I closed the window. When I click on the ff icon, the page comes up but the page is blank and when I right click the f icon it says the application is not responding

    From your question I am going to assume that this is the first time that you've encountered this issue. Applications, like Firefox, can become responsive for various reasons. I would suggest killing the Firefox process. If you're not familiar with the steps to do so you can simply reboot your system.

  • Firefox launches and re-loads my tabs, but clicking on the tray icon doesn't display the window

    I can see that Firefox is loaded and running (running Windows 7) - I can hear notices of emails arriving and see the miniature version of the active tab when my mouse hovers over the icon in the tray - but when I click on it it doesn't expand the window so that I can view it. I have tried closing and re-opening as well as restarting my computer. I'm hoping for a solution that preserves the open tabs I currently have. Thanks in advance for any and all help!

    * Use Restore or Maximize in the right-click context menu of the Taskbar icon to set focus to the Firefox application if you do not see the Firefox window.
    * Open the system menu of that Firefox window via Alt+Space and see if you can move and resize that window (use the keyboard cursor keys).
    If that works then first close all other open Firefox windows and then close Firefox via "File > Exit/Quit" to save that setting.
    If the above didn't help then see:
    * http://kb.mozillazine.org/Corrupt_localstore.rdf

  • Movie Clip loading buttons require double clicking on the first attempt

    I have created a number of buttons that load move clips into
    an empty movie clip. The problem is that it takes several clicks to
    activate the first clip button then the buttons behave as they are
    supposed to and load properly. Is there a reason why the first time
    you must click several times to activate the button loading a movie
    clip?

    stop();
    unloadMovie(1);
    agatha_btn.onRelease = function() {
    nextFrame();
    loadMovieNum("agatha_full.swf", 1);
    anastasia_btn.onRelease = function() {
    nextFrame();
    loadMovieNum("anastasia_full.swf", 1);
    chiara_btn.onRelease = function() {
    nextFrame();
    loadMovieNum("chiara_full.swf", 1);
    clarisse_btn.onRelease = function() {
    nextFrame();
    loadMovieNum("clarisse_full.swf", 1);
    fifi_btn.onRelease = function() {
    nextFrame();
    loadMovieNum("fifi_full.swf", 1);
    gigi_btn.onRelease = function() {
    nextFrame();
    loadMovieNum("gigi_full.swf", 1);
    ginger_btn.onRelease = function() {
    nextFrame();
    loadMovieNum("ginger_full.swf", 1);
    ingrid_btn.onRelease = function() {
    nextFrame();
    loadMovieNum("ingrid_full.swf", 1);
    lucrezia_btn.onRelease = function() {
    nextFrame();
    loadMovieNum("lucrezia_full.swf", 1);
    natasha_btn.onRelease = function() {
    nextFrame();
    loadMovieNum("natasha_full.swf", 1);
    philipa_btn.onRelease = function() {
    nextFrame();
    loadMovieNum("philipa_full.swf", 1);
    signy_btn.onRelease = function() {
    nextFrame();
    loadMovieNum("signy_full.swf", 1);
    sophia_btn.onRelease = function() {
    nextFrame();
    loadMovieNum("sophia_full.swf", 1);
    teresa_btn.onRelease = function() {
    nextFrame();
    loadMovieNum("teresa_full.swf", 1);
    trudi_btn.onRelease = function() {
    nextFrame();
    loadMovieNum("trudi_full.swf", 1);
    };

  • Certain sites are not loading.If user clicks on the links,the page loads as blank.Rest of the sites are working fine.

    I had opened a couple of sites along with marathimoviesdownload.blogspot.com.For the last site, I received a error message about the security settings.I clicked on the "Get me out of here" link. After that websites that I had open in the initial tabs.. along with marathimoviesdownload.blogspot.com are not loading.
    If you click on the links for the website like uploaded.net etc,the page opens but the contents do not load.
    This is happening for IE as well as Firefox.
    I have tried by uninstalling Firefox,deleting the previous install data.Re-installed the latest Firefox version.
    Next I tried with your online support topics similar to mine. None of them have worked.
    Thanks,
    MaddyJ.

    Unless you are using a proxy, the same web address should work
    regardless. Disable it for now and check.

  • Firefox won't start whenI click on the icon; info on help page doesn't help

    I have Windows XP and Verizon Internet Security Suite. I've installed Firefox twice (with an uninstall in between) and it still won't load when I double-click on the icon. It runs fine on my other laptop with same OS and same anti-virus/firewall. Info on help page doesn't actually address this problem, even though the headline indicates it does.
    == This happened ==
    Every time Firefox opened
    == Firefox has never actually opened. I double-click the icon and nothing happens. Check task mgr, it's not listed. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    See my update at 6:46PST - having the very same problem on a MacBook Pro. Someone named "Sherry" posted around 5:42PST w/ same problem. No techies are picking up on these posts, though. Please add a comment to mine as well to keep it at the top and see if we can get some visibility to what is obviously a bug.
    Did you upload a new version/update? That is what caused my problem

  • Hierarchy Viewer does not load after clicking on the + icon

    Premise: I have a hierarchy viewer with multiple levels of master-detail with different VOs.
    The inputs to the taskflow containing this page are the key and VO type. The tree should render until that VO which matches the type and key and all the next level children under it. The user can expand the nodes under these children at will to drill further.
    Issue: I am able to render the tree with results. When I click on the + icon to drill on the children, I see that the backend code for fetching the children is called. But, the tree does not display. It shows the loading icon forever.
    Example:
    Organization - PO - POItem - Vendor - VendorSite -VendorAddress
                                                           - Responsible - ContactDetails
                        - Project - SubProject - Location
    TaskFlow Input: Vendor, 12345
    The tree should dispaly Organization - PO - POItem - Vendor(12345) - VendorSite(for 12345)
                                                                                                        -Responsible(for 12345)
    If the user expands any of the VendorSites, the VendorAddresses should be shown
    Technical Details: JDeveloper Version: 11.1.2.1.0
    Code: To filter the children, I am overriding the CreateViewLinkAccessorRS in the VOImpls. I am passing bind variables to the VO criterion to check the paths.

    @Arunkumar: Yes, I ran the AM tester and I am able to see the results properly for all the VOs and levels.
    I created a sample on the HR Schema and tested. I see that when I click on the Employee node for expansion(can be checked with the data or the short description), it hangs with the load icon.
    I do not see anything in the log other than:
    <RegionRenderer> <encodeAll> The region component with id: r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.
    I do not see any upload options here to give my testcase. So, I uploaded to this link: https://www.dropbox.com/s/vybip3owzuziz86/HRHierarchyViewer.zip
    Please let me know if I can do this elsewhere for easy access.
    Message was edited by: Divya Bellamkonda

  • Cannot install Firefox. WHen I click on the link to install, it takes me to an "error loading page" notice. My network connection and internet access are normal with Internet Explorer, so this is not the issue. Some kind of conflict with my settings or pe

    Cannot install Firefox. When I click on the link on the Mozilla website, it goes to an "error loading page". My network connection and Internet Explorer are fuctioning normally.
    == computer was recently wiped clean and am now reinstalling all previous software and applications ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

    None of the stuff in " http://kb.mozillazine.org/Locked_or_damaged_places.sqlite " helps. I have tried and tried and I have even wipe the computer clean still didn't help. I got the same problem as he/she has got in the first posted. Can add some web pages but not all the web pages I want.. I should have never updated to 3.6.13... That's when it all started for me, from that version..... Now Version 3.6.14 is out, I was hoping the version 3.6.14 might would fix the problem wrong again....
    Funny thing is i can not even Bookmark Firefox.com!!!!!...lol
    So any ideas on how to fix it other than the link giving would help.
    Thanks.

  • I just downloaded the new 4.0 an now when I click on the tab it won't even load up, it'll look like the page will show up but then it won't an the it'll look like I never even clicked on it. What is going on? Why won't firefox work?

    My firefox was working perfectly before when I had the 3.6 but now it just won't load up at ALL! I've dealt with it crashing on me while I was on the internet but I've never clicked on the tab OVER an OVER again an still not even having the home page show up on my screen. Its getting really frustrating and I now really wish I'd of just left my firefox the way it was. . .can you please help me??

    Please do the following.<br><br>
    #Use Internet Explorer 8 or 9 and go to [http://www.mozilla.com/en-US/firefox/fx/?ref=logo Download Firefox 4.0.1] Do not choose "Run" when you see the prompt, but instead choose "Save" and save the file to your desktop.<br><br>
    #Then go to Add/Remove Programs, scroll down to "Mozilla Firefox" and remove it, choosing to keep your bookmarks, customizations etc., (don't checkmark the box).<br><br>
    #Then reboot and delete the folder called "Mozilla Firefox" at this location: C:\Program Files\Mozilla Firefox<br><br>
    #Finally run the installation file you downloaded to the desktop earlier.<br><br>
    Your bookmarks, customizations etc., are maintained in a different location and will become available to you again once you complete the installation.<br><br>
    '''To reset your home page, do the following'''.<br><br>
    * Go to the site you want to set as your homepage.<br><br>
    * Click the orange Firefox button and go to '''Options '''| '''Options '''| '''General'''.<br><br>
    * Make sure it says "''Show My Homepage''" in the first dropdown menu.<br><br>
    * Click the button called "'''Use Current Pages'''" to set the homepage to the one you have on the screen.<br><br>
    Here are a few tips to make FF4 look like the previous version in case you don't like the new design.<br><br>
    * Right click a blank part of the tab bar and click "Tabs on top" to remove the checkmark. Tabs will subsequently reappear below the search bar.<br><br>
    * Repeat the same steps, but click the top one called "Menu bar". This will reinstate the text links at the top.<br><br>
    * To rearrange the layout, repeat the same steps again and choose "Customize". A panel will open and while that remains onscreen, you can move elements like toolbars, buttons etc around and place them anywhere you wish. You can also drag anything you don't like into that panel and add anything you want by dragging it out of there.<br><br>
    * To replace the status bar at the foot of the page, install this add-on: https://addons.mozilla.org/en-US/firefox/addon/status-4-evar/<br><br>

  • Partially refresh the sql report region by clicking the region selector tab

    Hi,
    In my page i have a region display selector tab. This region selector tab contain show all,booking,service,.. etc. when i click the booking tab,sql report region will appear. My intention is when i click the booking tab i want to refresh that region partially to display the record according to sql query in that region source of report region.
    how to do this?
    skud.

    KevinFitz wrote:
    The report region being displayed is conditional on P2_QUERY item being NOT NULL. I assume the region not appearing is because the Action for the Select List Item is set to None and so P2_QUERY is always NULL.
    No, the region is not appearing because it is conditional on P2_QUERY being NOT NULL. This means that the report region never exists on the page shown in the browser, so it can't be dynamically refreshed. (Dynamic refresh doesn't evaluate region conditions, and it only re-renders the report content, not the entire region.)
    Remove the condition on the report region, check the refresh is working, then reconsider exactly what the requirements here are. If you want the region to appear only when P2_QUERY has a value, and you want it to be refreshed without submitting and re-rendering the page, then the region needs to be hidden rather than conditionally rendered, and shown via a dynamic action when P2_QUERY gets a value.
    I tried adding an additional Set Value True Action for the DA event but got an error as listed above,
    All irrelevant if Page Items to Submit on the region is used properly.

  • I'm wanting to use the "Actions" in Photoshop Elements 11.  But when I get the Actions box up, it is only showing a small list of effects to use.  And no side bar to go any further.  When I click on the little arrow at top and then click on "load actions"

    I'm wanting to use the "Actions" in Photoshop Elements 11. But when I get the actions box up, it is only showing a small list of effects to use. And no side bar. So I can't go any further.  When I click on the little arrow at top and click on "load actions", I am only getting a box with empty space saying "No items match your search".  The folder at the top does say "Actions".  How do I get more effects?  The tutorials that I've checked into all show a long list of effects in their box.  Can anyone help? 

    To use the existing actions, try the following:
    1. Open one of the Action Sets, in this example Special Effects is the Action Set, by pressing the small arrow beside the set name.
    2. Then click on the name of the Action, in this example Faded Ink is the Action name.
    3. Then press the Play button to run the action.

  • Creative cloud installed but when clicked on the hourglass comes up for a second and disapears and program won't load

    I am on windows 7 and have downloaded and installed creative cloud.  I click on the icon to start the program and for a second the little hourglass shows up as if its loading but then nothing happens and it won't load or do anything

    Hi slashrocks1,
    Please refer to the help document to fix the issue:
    Troubleshoot CCM Applet installation and download
    You may also refer to the thread below:
    creative cloud won't launch
    Regards,
    Sheena

Maybe you are looking for