Is it possible to  laod navigation options after querry is displayed

Hi
I have a question concerning the display of a query. Us ut possible to display a query and load the navigation options after the query has been displayed (in other words in the background)?
[I am talking about the query property on how to load a query with option A, H and X]
If yes, does it provide a relevant performance benefit in the case of using large hierarchies?
Thx,
Nana

There is, but the preferred way to do something like this is through
the action reference expression which is attached to a UCommand
component. So you could do something like the following:
1. set up a class which extends javax.faces.Action:
import javax.faces.Action;
public class RegisterAction extends Action {
public String invoke() {
return checkUserName();
Set up an accessor method (javabean convention) in your business
object bean that returns the Action instance:
public class Register {
public Action getRegisterAction() {
return registerAction;
2. set up a mapping for the Navigation Handler (assume user.jsp
is the page where the user enters data, and welcome.jsp is
the page that gets displayed on successful outcome). Set this up
in your faces-config.xml:
<navigation-rule>
<from-tree-id>/user.jsp</from-tree-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-tree-id>/welcome.jsp</to-tree-id>
</navigation-case>
<navigation-case>
<from-outcome>failure</from-outcome>
<to-tree-id>/user.jsp</to-tree-id>
</navigation-case>
</navigation-rule>
Make sure that the checkUserName() method above, returns a string
that matches the "from-outcome" element in your navigation mapping
(in this case - "success" or "failure").
3. attach the actionRef expression to your button component as follows
in your jsp. Something like:
<h:command_button commandName="register" actionRef="Register.registerAction"/>
Hope this helps, Roger.

Similar Messages

  • Adding reminders to my calendar items is no longer an option after the software upgrade.  I also can't get to day and week view, only month view.  What's a possible solution?

    Adding reminders to my calendar items is no longer an option after the software upgrade.  I also can't get to day and week view, only month view.  What's a possible solution?  I'm using Andriod version 4.4.2 with kernal 3.4.0.

        @MaloneTP
    Thanks for keeping me updated!  Do you see the screen options displayed in the following link: http://bit.ly/T2koBL for changing the calendar view options in Kies Air?  Also, let me know if you're able to add a Reminder by following these steps: http://bit.ly/T2l9dY.  Keep me posted.  Thanks!
    AnthonyTa_VZW
    Follow us on Twitter @VZWSupport

  • I have Hello screen after i slide to set up gel language options after select English , Egypt it request to connect with WI FI after connect start to activate my IPhone after that it unable to activated because the activation server is unavailable

    I have Hello screen after i slide to set up gel language options after select English , Egypt it request to connect with WI FI after connect start to activate my IPhone after that it unable to activated because the activation server is unavailable and request to connect to itunes and no activate.

    4 possible causes of that message:
    1] Activation server is actually down. Very rare occurrence, but it does happen.
    When it does occur, down time is very short. Solution - try again.
    2] Your firewall or antivirus are blocking the connection. Solution - temporarily
    deactivate your firewall or antivirus until the update completes.
    3] Computer being used for the activation has previously been used to jailbreak
    an iOS device. Solution - use a computer that has not been used to jailbreak an
    iOs device.
    4] Your iPhone is jailbroken. Google may provide some direction. Be advised the jailbreak
    may have made changes that will prevent the iPhone from successfully activating.
    Terms of Use for this forum prohibit discussion of jailbroken iPhones.

  • TOC Navigation Options

    Is it possible to have the navigation in a project locked down until you complete each section?
    I'm using the TOC to split the content into 5 sections. The first section contains a knowledge section. The remaining sections are branching scenarios. I would like to lock the navigation to make sure people follow the logic of the branching scenarios, but I would also like them to be able to refer back to the knowledge section using the TOC and review the completed scenarios once they've been through the module.
    I've tried different combinations of checking und unchecking the 'self paced learning' and 'enable navigation' options in the TOC settings menu, but no joy. Is there another way (that isn't too complex!).
    Thanks
    Sam    

    This is likely to be a bit complex if you are trying to do all of this from within one huge course module.
    Are you going to be delivering this course via an LMS?  If so, the best way to arrange what you are talking about is to control the sequencing rules in the LMS, not the course.
    If you can't control the sequencing via an LMS, you could perhaps do it in a single module via Advanced Actions and variables but it would be complex to set up.
    Another issue to consider: If you jump the user out of the middle of a branching scenario back to a knowledge section and they browse around there for a while picking up more info, how do you ensure they get back to the same spot in the branching scenario when they're ready?

  • I can't find the 2G, 3G and LTE options after updating to iOS8.1, can anyone help me with this? I'm using iPhone5s

    I can't find the 2G, 3G and LTE options after updating to iOS8.1, can anyone help me with this? I'm using iPhone5s

    I have check on my service provider about the correct APN settings, but unfortunately doesnt work still..

  • Opening new navigator window after clicking to "commandLink"

    Hi, what I can do for opening new navigation window after I will click on element inside "commandLink"

    You can use onmouseup an onkeyup events to open the new window in javascript.

  • Is there a backdoor to filevault 2  or possible way to regain access after a lost password?

    Is there a backdoor to filevault 2  or possible way to regain access after a lost password?

    Found this link....
    support.apple.com/kb/HT4790
    ....I hope it helps....

  • I have a problem with my viber.It has stopped working.I tried reinstalliing it again .On the setup option after entering my phone number and continuing ..it either exists or gives no service message .

    I have a problem with my viber.It has stopped working.I tried reinstalling it again .On the setup option after entering my phone number and continuing ..it either exists or gives no service message .My other applications are working fine ..other applications that require internet too are working fine.

    Please get in touch with Viber's customer support.

  • Doesn´t appear Personal Hotspot option after updating to iOS 8?

    Doesn´t appear Personal Hotspot option after updating to iOS 8?

    I Had the same challenge and all I did was switch off my iPad. Remove the SIM card from the tray. Switch the iPad back on again, reinsert the SIM card and bingo! The hotspot showed up again.

  • Even if we have bought the advance version of Adobe FormsCentral, is it possible to receive via e-mail the completed form in .pdf? If not, is it possible to develop this option? How much would it cost?

    Even if we have bought the advance version of Adobe FormsCentral, is it possible to receive via e-mail the completed form in .pdf? If not, is it possible to develop this option? How much would it cost?

    I know of no way to do this with Reader or XML.

  • How can I empty my trash email. There is no delete or delete all option after the emails are highlighted from the edit option. This is on an i phone 4 running on ios 7.1.2

    How can I empty my trash email. There is no delete or delete all option after the emails are highlighted from the edit option. This is on an i phone 4 running on ios 7.1.2

    I have 7 email accounts on my phone. If I tap EDIT while viewing the Trash folder in any of them I see "Mark All" on the left and "Delete All" on the right. If you tap any message, however, the legends go away.

  • Empty selection options  after report run

    Hi,
    After the execution of my abap report sap returns to the selection options screen in which all the selected values from the run are still mentioned. How can i refresh the selection screen (so no values in the selection options after the report run) ?
    this is the code (all parameters as you can see) :
      parameters :  p_matnr   like mara-matnr default ''.
      parameters :  p_werks   like mard-werks default 'XYZ', 
                    p_lgort   like mard-lgort default ''.    
    selection-screen skip 1.
      parameters :  p_qty     like sy-tabix default 1.
    selection-screen skip 1.
      parameters :  p_file    like RLGRAP-FILENAME memory id GXD.
    with regards

    hi
    i tried for select-options try for parameters
    at selection-screen .
    if sy-ucomm = 'ONLI'. " Only when execute is pressed
    v_low = s_kunnr-low.
    v_high = s_kunnr-high . " Hang on to this for select statement
    clear s_kunnr[].
    clear s_kunnr. " Clear the screen parameter
    endif.
    for your program
    data : matnr like mara-matnr,  " variables are taken so that we can have the values for further                                     operations         
          werks like mard-werks,
           lgort like mard-lgort,
           qty like sy-tabix,
           file like RLGRAP-FILENAME.
    at selection-screen.
    if sy-ucomm = 'ONLI'. " Only when execute is pressed
    matnr = p_matnr.
    clear p_matnr.
    werks = p_werks.
    clear p_werks.
    lgort = p_lgort.
    clear p_lgort.
    qty = p_qty.
    clear p_qty.
    file = p_file.
    clear p_file.
    endif.
    start-of-selection. " write what ever code you have for the start-of-selection
    NOTE "Remove the memory id for p_file otherwise it will not be cleared
    regards
    prasanth

  • How do you change your intial bc template selection under site options after you click finish

    how do you change your intial bc template selection under site options after you click finish

    You cant. BC doesnt have a theming system like Wordpress or Joomla. The template is fixed and switching templates at this stage is not an easy feat.

  • Why don't we have hotspot option after upgrading to iOS 8.1?

    why don't we have hotspot option after upgrading to ios 8.1 ?

    Did you already update the carrier settings? The hotspot feature is provided by the carrier. Follow the steps in this article:
    iOS: Updating your carrier settings

  • HT204364 Is it possible to address an envelope after creating a greeting card like we were able to in the iOS app?

    Is it possible to address an envelope after creating a greeting card like we were able to in the iOS app?

    no
    LN

Maybe you are looking for

  • Finding a printer shared from 10.3.9 on 10.5.6

    i have seen the support page at _http://support.apple.com/kb/HT2275_ that suggests using cupsctl to configure the cupsd.conf to search for my printer being shared by my PPC-based mac running 10.3.9 on my other macs running 10.5. unfortunately, upon t

  • HP Elitebook 840 NIC issue

    Strange issue.  I have an Elitebook 840 with Windows 7 Enterprise 64 Bit.   Once installed, I copied the driver disk to an external drive and installed the drivers.  All the drivers have installed with one exception.  When the NIC driver installs, th

  • How do i save an entire text conversation to my computer

    i have a very long text conversation i want to save.  i'd like to save it to my computer.  help!

  • Cannot find the new columns I added to a list a week ago

    Hi, I'm using VS2012. I added a couple of new columns to an existing list over a week ago.  Using C# code, I was able to connect to the site and got the list.  Able to update the columns until I got to the new column4,  and then I got exception error

  • Scratch Disk Error : Not Enough Space

    So I switched my scratch disk to a hdd with 461gb free but am still receiving an error. Is there a minimum requirement for space I overlooked?