Problem with display of the Popup details

Hi friends,

I designed a Taskflow. The taskflow image can be seen here.

http://snag.Gy/afGa5.jpg

In the Taskflow activity RowKeyStrPG use the viewobject EMPVO1. Once again in the page DeptPG, there is a popup which must be called by clicking the link. The pop-up window also uses the same view object EMPVO1. Here's the code to call the context menu.

BindingContainer links is BindingContext.getCurrent () .getCurrentBindingsEntry ();.

OperationBinding operationBinding = bindings.getOperationBinding("setCurrentRowWithKeyValue");

Object result = operationBinding.execute ();

System.out.println ("inside service");

RichPopup popUpToShow = new RichPopup();

RichPopup.PopupHints popUpHints = new RichPopup.PopupHints ();

this.getPopUp2 () .show (popUpHints);

But when the popup opens always shows the first record rather than the selected details details. The link "setCurrentRowWithKeyValue" takes "#{pageFlowScope.empNo}" as the value and the value "#{pageFlowScope.empNo} ' is defined as the propertylistener of the DeptPG.

If anyone can help as to why the view object does not query the selected employee

Thank you

Or if you do not want to add iterator then just get the BindingContainer of page 2 and then get iterator binding against it

See-

    /**     * Method for taking a reference to a JSF binding expression and returning
     * the matching object (or creating it).
     * @param expression EL expression
     * @return Managed object     */
  public static Object resolveExpression(String expression) {
        FacesContext facesContext = FacesContext.getCurrentInstance();
        Application app = facesContext.getApplication();
       ExpressionFactory elFactory = app.getExpressionFactory();
        ELContext elContext = facesContext.getELContext();
        ValueExpression valueExp = elFactory.createValueExpression(elContext, expression, Object.class);
        return valueExp.getValue(elContext);
    }

See using a page id in your DataBinding.cpx file and call that

        // Pass page usage id from DataBinding.cpx file- replace sample_view_view1PageDef
        BindingContainer bindings = (BindingContainer) resolveExpression("#{data.sample_view_view1PageDef}");
       DCBindingContainer dcBindings = (DCBindingContainer) bindings;
       DCIteratorBinding iter = (DCIteratorBinding) dcBindings.get("Iteratorname");
       iter.setCurrentRowWithKeyValue("KeyValue");

Thank you

Tags: Java

Similar Questions

  • Problem with display as the brightness function does not work

    Cleaned keyboard & screen. Now the screen is not as bright. Tried the buttons Sun but no difference.

    Hello

    Thanks for posting your question on the Microsoft Community.

    I understand the inconvenience you encountered.

    In order to understand the issue more clearly, I would ask that kindly provide me with the following information.

    • What is the number and the model of the computer?

    I would suggest trying the following steps and check if it helps.

    Note: Windows chooses the best settings of your PC based on your monitor screen. If you want to adjust your display settings, or if they have been changed and you want to restore the default settings, you can follow the above given below.

    Get the best display on your monitor.

    http://Windows.Microsoft.com/en-us/Windows-8/get-best-display-monitor

    I hope this information is useful.

    Please let us know if you need more help, we will be happy to help you.

    Thank you.

  • Problem with display in the design mode User Interface

    Hello! I use the model #2 from the Adobe Developer Connection found here: http://www.adobe.com/devnet/dreamweaver/articles/dreamweaver_custom_templates.html

    When I add more than 10 navigation buttons they begin to appear to the right of the first 10 in design mode.

    There is a screenshot showing the problem here: http://www.sallyaverill.com/dw_grab.html you will see in code view, it is simply a list that it explodes into design mode, pushing the content to the right and pushing an accordion Spry Panel.

    She looks like and acts very well in mode live view and in a browser, locally and remotely, but I'd like to see it in design mode. What is the cause? Please let me know if there are more necessary information. CS4, WindowsXP

    Many thanks - Sal

    Text dims to the overview is because you called a: hover, but not li: hover.

    Instead of

    .leftnavigation a: visited {
    color: # 66;
    }
    .leftnavigation a: hover {
    color: #ffffff;
    background-image: url(images/nav_down.jpg);
    }

    follow these steps:

    . LeftNavigation li: visited {info style here}

    and

    . LeftNavigation Li: hover {info style here}

    Make sure that keep them in that order! You want your Pseudo-classes to come in this order:

    Li: link link

    Visited li: visited

    Hover li: hover

    Active li: active

    Again, it won't be your entire list change (menu point) color, so you could also add funds... at the present time, you apply a style text only (text styles of color; background-color styles menu item)

    Beth

  • my computer recently crashed and when I tried to use photoshop, then I got the message: - message - problem with display driver, temporarily disabled the improvements. Does that mean, they will return when the problem is solved?

    My computer recently crashed. A fixed it but! When I then tried to use photoshop I got the message: - message - problem with display driver, temporarily disabled the improvements. Does that mean, they will return when the problem is solved?

    Update or restore your graphics driver.

  • problem with Safari and the opening of sites

    problem with Safari and the opening of sites

    Please describe the problem in more detail?

    Try to reset the settings of Safari:

    1. open Safari

    2. click on the Safari menu at the top (to the right of the Apple logo)

    3. Select the Preferences/Privacy tab

    4. click on remove all data from the Web site

    5. close Safari.

    Remove cache Safari files:

    1. click on finder

    2. look for the menu GO to top

    3. click on GO and hold down the option key. This will show a user library folder.

    4. click library and find the Caches folder

    5. in the folder caches com.apple.Safari Ouvrezledossier

    6. move the Cache.db file Trash.

    This should solve the problem. If it does not help, try to disable the Safari extensions

    1. open Safari

    2. click on the Safari menu at the top (to the right of the Apple logo)

    3. Select Preferences

    4. find the Extensions tab

    5 disable all extensions of

    6. relaunch Safari

  • Having a problem with loading in the combustion chamber

    Hello

    I'm having a small problem I could use help with. I'm not really sure what's going on, but I'm having a problem with one of the pages of my site does not when you try to view the page in Firefox. But if I loaded this page in Safari or Chrome, it loads very well.

    Here is the URL of the page to take a look:
    Specific link removed by moderator display ~ J99 < sitename >.com/top-10/top...services/

    No idea why this might be happening or how to fix it? I don't know if it's just my computer, or if others have the same problem.

    Thanks in advance,

    Mike

    There's two of us have confirmed the page will load so I deleted the link to display as it could be construed as advertising.

    P.S. Note only forum content in the resolved threads is now indexed by search engines.

    (Last updated: February 14, 2015 08:45 CEST)

    Solved the locked thread now ~ J99

  • Strange problem with measurement of the color under Mac.

    Hello, I have a strange problem with measurement of the color under Mac. For example I create a gradient in Photoshop color 200 200 200 color 240 240 240. When I measure the color of the gradient with the Photoshop color measurement tool or with the built in OS X color measurement tool measured color is of 200 199 197 to 240 240 238. I measured the same gradient with Photoshop for PC and the values are OK (the same values that I create).

    I don't know what the problem is, but I think that the colors that I create are the same I have measure after creating them and also values between Mac and PC. I appreciate much help or information you could give me that helps me understand what is happening here.

    Thank you for your time

    Marcelo.

    Yep, you guessed it, evidence as monitor basically removes all profiling and just offer it right.

    is it possible to make the OS X color measurement tool to measure the original color values

    You mean the colors of paper - No., as I said photoshop filter your image through the profile document, proof of installation and the monitor profile. Why use Digital color meter for this though?

    I don't understand what is measurement of color values that will change every time point calibrate it my monitor.

    Because color values are "larger" what is on your monitor. Your monitor (via photoshop) makes only the best he can to display these values, which can be anything from LAB colors outside the range of your monitor - to the CMYK color. Calibration, it is the only way to allow your monitor to do this in any way accurately. (never really impossible) The monitors have a certain range and are only representations / would the REAL colors who is the holder of a document, with a profile. There's only one good reason to measure the monitor values so that is to build a monitor profile.

  • Using an IP191 monitor, have random horizontal stripes on the screen - have no problems with other browsers. also no problem with FF on the other PCs on the family

    Using an IP191 monitor, have random horizontal stripes on the screen - have no problems with other browsers. also no problem with FF on the other PCs on the family.

    These "streaks" seem to be the domain of the high frequency analysis; they can be eliminated by scrolling upwards or downwards.

    Hello, maybe it's a problem with hardware acceleration - try updating your graphic driver, or in case this does not solve the problem, or there is no new version available at the time, disable hardware acceleration in the firefox menu

    > options > advanced > General.

  • I have an older version of Firefox 3.6.6 I think I'm having a problem with one of the websites that I sign. Is it possible to upgrade to the latest version

    I have an older version of Firefox 3.6.6 I think I'm having a problem with one of the websites that I sign. Is it possible to upgrade to the latest version. Without losing all my favorites and the saved passwords?

    Yes, see this article:

    After:

  • Problem with Vista hit the Satellite X 200 - 20 s

    Sometimes during typing on vista, it will stutter and freeze. The time is very short. Is this a problem with vista or the laptop. The T7300 Core 2 Duo 2 ghz processor.

    Hello

    I have a Satellite Pro S200 and the same problem was with my camera. It s is not a hardware problem, it s more a driver related issue No. So, the best thing you can do is update your bios and keep your drivers up-to-date. Just check the download Drivers Toshiba site and make sure you have the latest drivers installed.

    I had resolved my stuttering (core2duo 2.33 Ghz, 2 GB RAM) by updating all drivers...

    That's all

    Good bye

  • Want to Phoenix 860-010: problem with fonts and the noisy fan

    I have a new machine, just a day old, and I'm having a problem with fonts.  The file Explorer, Edge and other similar programs seem to go from a very readable font that lights up in half a second or less whenever I move down on the page in these applications.  Police that results is much more difficult for me to read because of the lightness that results. I have not met this problem before.  Frankly, I don't know the source of the problem.  Is it hardware (video card) or (Windows 10) operating system software?

    Hello @PhotoGene47,

    Thanks for the quick response!

    Have you tried to see the document that I mentioned in my previous post?  If you prefer to have the Board repaired, you can consider contacting the HP support by phone for additional options.  Please use the following http://www.hp.com/contacthp and create a folder for your question and contact HP. If you do not live in the United States / Canada, please click on the link below to get contact information for your region.
    http://WWW8.HP.com/us/en/contact-HP/WW-phone-assist.html

    I hope this helps.

    Please let me know if this information helps you solve the problem by marking this message as 'accept as Solution' , this will help others easily find the information they seek.  In addition, by clicking on the Thumbs up below is a great way to say thank you!

    Kind regards!

  • a problem with one of the files in the TestStand\AdapterSupport\LabVIEW directory

    When looking at the module a LabVIEW VI called for TestStand, I get the following message:

    A problem with one of the files in the TestStand\AdapterSupport\LabVIEW directory.  Please reinstall or repair.

    I made the mistake of cleaning C: in my computer.  Clean the C:\National Instruments downloads

    Why would someone put bits of applications or modules, etc. in such a directory?

    I'm not too crazy about restoring 11FR in this folder.  It's just crazy!

    If anyone has encountered this before?  No "easy"? outside re - install TS...

    Side note: I do not touch anything in the \Program files. National Instruments\TestStand\AdapterSupport\LabVIEW

    What version of LabVIEW and TestStand do you use?

    In 2012, TestStand, this directory is mapped to:

    C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 2012\AdapterSupport\LabVIEW

    Have you tried mass compiling the screws in this folder?

    I had to create a new 'TestStand - default values XX.llb"file, where XX is the last version of LabVIEW you use, but I have not seen this message before.

    Good luck

    PH

  • Problems with access to the web pages, email, video, etc. even when I have 4-5 bars.

    I installed a Dell Wireless 1505 low-profile carrier 1.2 antenna dim/insp in desktop. Its a PCIe wireless lan card. But since last Tuesday patches have been installed I had problems with access to the web pages, email, video, etc., even when I have 4-5 bars.  Someone at - it an idea of what's going on.

    Hi William e. Swann

    1. what web browser do you use?

    Method 1:

    You can read the following article and check.

    You may experience connectivity problems or performance issues when you connect a portable computer that is running Windows Vista or Windows 7 to a wireless access point

    Method 2:

    You can also read the following article.

    How to troubleshoot network connectivity problems in Internet Explorer

    Hope this information is useful.

  • Problem with shutdown on the start menu

    Original title: PROBLEM WITH SHUT DOWN IN STAT MENU

    I had a problem with closing down on the start menu in my dell Inspiron CORE i3 laptop with windows 7. When I right click on the command prompt, and the user has clicked run as administrator nothing came, and now I can't click on anything whatever in the menu tab start such as my documents, my computer and Control Panel. Please tell me how to solve this problem. for this reason I can't tab from the command prompt.

    Hello

     
    Thanks for the reply and happy to know that the problem has been resolved.
     
    If you have problems with Windows in the future, please do not hesitate to post in the Microsoft Community Forums and we will be happy to help you.
  • I had endless problems with Lightroom since the purchase of subscription for one year in December 2014. Now, the development Module was disabled, as they claim that my subscription has expired...  He spent more time to work does not, and I'm bitterly briv

    I had endless problems with Lightroom since the purchase of subscription for one year in December 2014. Now, the development Module was disabled, as they claim that my subscription has expired...  He spent more time to work does not, and I bitterly regret it.  Help, please!

    Open the Adobe Creative Cloud application then go to preferences then sign out and then sign back with the same Adobe ID that you used to purchase the subscription photographers, that is to say the same e-mail address and password.

    Then open Lightroom and go to the Help menu and make sure that it is signed in with that Adobe ID email address.

Maybe you are looking for