11G ADF BC: First time loading the page, how to disable some components?

Hi,
I have a fusion web application created using Jdev 11G ADF BC. I am working on a search/results page that has a panel split. In the left panel, there is a list of nevigation links. The data shows in the right panel.
What I want to achieve here is to enable only one link on the left when the page is first loaded and it is a search/result page. Disable all the rest of it because other links are related to more info about the search results. When the page is first loaded, there is no data on the right, so that there is no more other data to look at. Ideally, all the rest of the links should be disabled and only the "Query" link should be active and selected.
Is there a way to do this with 11G? Thank you very much for your help.
Regards,
Annie

initially, what ever the components you want to disable set the disabled="true" in the jspx. Once you fetch the query results and in that action enable the componens like commandButton1.setDisabled(Boolean.FALSE);. that's how I am doing. You can dynamically enable/disable by having a boolean variable in the backing bean and set the disable property of component lke disabled="#{backingBeanScope.yourbean.blnAddBtn}".

Similar Messages

  • First time Report aspx page load fine close Second time it asking parameter

    Hi
    Please go to
    http://viewer.zoho.com/docs/da5aaag (or)
    http://www.megaupload.com/?d=HQCSMQNA
    it has my Crystal report aspx page and aspx.cs page sourceu2026!
    Note: Save image in the above url and Zoom it see clear code
    My Problem:-
    Its working fine, but have small problem let me know why the problem occur
    When I first load the page it show data fine in crystal report viewer and if I select from dropdwonlist it showing data based on dropdownlist value working fine.. when I close the page and come back agaion it asking paramter why its asking parameter in second time when I come to same page in first time its working fine.. second time it asking parameter.. let me know where im wrongu2026
    Edited by: gopihere on Oct 30, 2010 10:51 AM
    Edited by: gopihere on Oct 30, 2010 1:03 PM

    You are setting the CrystalReportViewer1.ReportSource in multiple sections of code on this page. I'm not quite sure what you are attempting to accomplish here? In my opinion, your ConfigureCrystalReports() should accept a report filename, or something similar. Then use that info to load the report and throw it into Session. Then the last line of ConfigureCrystalReports can set the ReportSource.
    If you can tell us what you are trying to do we might be able to give you some advice. But at this point I'd just say start over on this page.

  • In one website, it takes to much time to load the page, in other site its not taking time, so do i need to enable or change any settings

    in one website, its taking time to load the page, on other PC its not taking any time( with internet explorer) in my PC other websites are opening quickly but this website takes too much time with firefox

    Zepo wrote:
    My iMac has been overwhelmed almost since I bought it new.  After some digging the guiness bar suggested its my Aperture library being on the same
    internal Tera byte drive as my operating system.
    Having a single internal hard drive overfilled (drives slow as they fill) is very likely contributing to your problems, but IMO "my Aperture library being on the same internal Tera byte drive as my operating system" is very unlikely to be contributing to your problems. In fact the Library should stay on an underfilled (roughly, for speed, I would call ~half full "underfilled") internal drive, not on the Drobo.
    Instead build a Referenced-Masters workflow with the Library and OS on an internal drive, Masters on the Drobo, OS 10.6.8 (there have been issues reported with OS 10.7 Lion). Keep Vault backup of the Library on the Drobo, and of course back up all Drobo data off site.
    No matter what you do with i/o your C2D Mac is not a strong box for Aperture performance. If you want to really rock Aperture move to one of the better 2011 Sandy Bridge Macs, install 8 GB or more of RAM and build a Referenced-Masters workflow with the Library and OS on an internal solid state drive (SSD).
    Personally I would prefer investing in a Thunderbolt RAID rather than in a Drobo but each individual makes his/her own network speed/cost decisions. The Drobo should work OK for referenced Masters even though i/o is limited by the Firewire connection.
    Do not forget the need for off site backup. And I suggest that in the process of moving to your new setup it is most important to get the data safely and redundantly copied and generally best to disregard how long it may take.
    HTH
    -Allen Wicks

  • ExecuteQuery WhereClause problem for first time in the session of the page

    I am new to OAF and I have panic problem.
    I have two pages application like following..
    First page “LookupTypes” and second page “LookupValues” for the selected first page Lookuptype.
    The problem is when I press first time(after lunching the page/first time for the session) the button in “LookupType” page I am getting all the “Lookup Values” for all the lookup types instead of getting only for one Lookuptype and I will press “back” button in “Lookup Values” Second page to come back “LookupType” first page, Again immediately I will press the same button which I pressed first time, this time I will get correct number of records for one Lookup Type. I don’t know why its where clause is not working first time.
    Please find the following code and help me.
    First page is LookupTypes->second page is Lookup Values
    Step 1 : I have button on “Lookup Types” page to call “Lookup values” page
    Step 2 : “Lookup Values” page control to receive the parameters from lookup type page.
    Step 3 : application module (AM) to execute the query..
    Code :
    Step 1 : I have button on “Lookup Types” page to call “Lookup values” page
    Following is the code from “Lookup Types” control.
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    String paramLookupTypeAction = pageContext.getParameter(EVENT_PARAM) ;
    String paramLookupType = pageContext.getParameter("paramLookupType");
    OAApplicationModule PafLookupAM = pageContext.getApplicationModule(webBean);
    //Adding calling LookUp Values screen
    if (paramLookupTypeAction.equals("viewLookupValues") )
    // PafLookupAM.invokeMethod("clearLookupValueMethod");
    //Here we prepare the HashMap object, that cotains name of the parameter and the value of the parameters
    HashMap phm = new HashMap() ;
    phm.put("xxparamLookupType",paramLookupType);
    phm.put("xxparamLookupTypeAction",paramLookupTypeAction);
    pageContext.setForwardURL(
    "OA.jsp?page=/oracle/apps/xxpaf/pafLookups/webui/pafLookupValuesPG"
    , null //not needed as we are retaining menu context
    ,OAWebBeanConstants.KEEP_MENU_CONTEXT
    ,null //not needed as we are retaining menu context
    ,phm //pass the hashMap that contains values for all of the parameters
    ,true //retain AM
    ,OAWebBeanConstants.ADD_BREAD_CRUMB_NO
    ,OAWebBeanConstants.IGNORE_MESSAGES);
    Step 2 : Following is the code from “Lookup Values” page control to receive the parameters from lookup type page.
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    String paramLookupTypeAction=pageContext.getParameter("xxparamLookupTypeAction");
    String paramLookupType=pageContext.getParameter("xxparamLookupType");
    OAApplicationModule PafLookupAM = pageContext.getApplicationModule(webBean);
    Serializable LookupTypeParamList[]= {paramLookupTypeAction,paramLookupType};
    System.out.println("viewLookupValues 3 " + paramLookupType);
    System.out.println("viewLookupValues 4 " + paramLookupTypeAction);
    if ( paramLookupTypeAction!=null && paramLookupTypeAction.equals("viewLookupValues"))
    System.out.println("viewLookupValues 5 " + paramLookupType);
    System.out.println("viewLookupValues 6 " + paramLookupTypeAction);
    PafLookupAM.invokeMethod("viewLookupValuesMethod", LookupTypeParamList);
              // Assuming the controller is associated with the pageLayout region
    // import oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean;
         //     OAPageLayoutBean page = (OAPageLayoutBean)webBean;
         //     page.setTitle("Lookup Type: " + paramLookupType);
    Step 3 : Following is the code from application module (AM) to execute the query..
    public void viewLookupValuesMethod( String pAction, String pLookupType)
    try
    OAViewObjectImpl pervo = getPafLookupValuesEOVO();
    String existingWhereClause = pervo.getWhereClause();
    pervo.setWhereClauseParams(null);
    pervo.setWhereClause("Lookup_Type = :1");
    pervo.setWhereClauseParam(0, new String (pLookupType));
    pervo.executeQuery();
    pervo.setWhereClauseParams(null);
    pervo.setWhereClause(existingWhereClause);
    catch(Exception exception1)
    throw OAException.wrapperException(exception1);
    Best Regards,
    Pathi TVB

    Pathi,
    Please try to have the WhereClause in the VO query as part of static definition itself. So you would only need to bind the parameter and execute the Query.
    Try and let me know if that helped.
    Thanks
    Sumit

  • Minefield just would not open pages, whatever I tries to type in the addressbar the URL just stayed there and nothing happened. Even if I opened a new tab and put a new url again it did not even start loading the page. This is happening since the last upd

    Minefield just would not open pages, whatever I tries to type in the addressbar the URL just stayed there and nothing happened. Even if I opened a new tab and put a new url again it did not even start loading the page. This is happening since the last updates from today or yesterday. I already removed minefield and installed it again
    == This happened ==
    Every time Firefox opened
    == today ==
    == User Agent ==
    Mozilla/5.0 (Windows; Windows NT 5.2; Win64; x64; rv:2.0b3pre) Gecko/20100728 Minefield/4.0b3pre ( .NET CLR 3.5.30729; .NET4.0E)

    Create a new profile as a test to check if your current profile is causing the problems
    See [[Basic Troubleshooting|#Make_a_new_profile|Basic Troubleshooting: Make a new profile]]
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    See also http://kb.mozillazine.org/Browser_will_not_start_up
    You can discuss issues with Namoroka 3.6 and Minefield 4.0 nightly and alpha/beta builds at the MozillaZine Firefox Builds forum.
    That forum is better suited to discuss such issues.
    You need to register on the MozillaZine forum site in order to post at that forum.
    See http://forums.mozillazine.org/viewforum.php?f=23

  • A lot of tabs loads and tells me there was a problem loading the page. How can I stop all the tabs loading because ist slows down Firefox.

    When I open Firefox, a lot of tabs try to open at the same time. They all say Problem loading the page. It happened after I tried to download a owners manual for Harley Davidson motor cycles. How can I stop all but one tab from opening.

    This can be a problem with the file [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    Delete [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.
    See:
    * http://kb.mozillazine.org/Session_Restore

  • I click on a link and It won't automatically load the page; I want to change this setting. HOW??

    Hi,
    When I ope my mail in gmail. I click on a link to open a new tab and show me what ever it is I've just clicked on....Firefox won't just load the page like it did before I upgraded to this latest version. It says: Firefox prevented this page from automatically redirecting to another page. and asks me to allow. I allow.
    How can I tell firefox that if I have clicked on a link, I want to view it. That seems intuitive enough. I don't want to allow every time. I do this all day~
    Thanks,
    Melissa

    See:
    *Firefox > Options/Preferences > Advanced > General : Accessibility : [ ] "Warn me when web sites try to redirect or reload the page"
    The setting in "Options > Advanced > General" is meant as an accessibility feature, as you can see by the label of that section, so that people with disabilities or people who use screen readers do not get confused and is not meant as a safety protection to stop redirecting.
    See also:
    *https://support.mozilla.org/kb/settings-network-updates-and-encryption#w_general-tab
    *http://kb.mozillazine.org/accessibility.blockautorefresh
    *http://kb.mozillazine.org/Accessibility_features_of_Firefox

  • Tried Login, first time, "User Agreement" page pops up breifly, then nothin

    Basically, I just got a 30 gig video iPod, installed everything, it seemed going smoothly until I tried opening Itunes for the first time. The "User Agreement" page that prompts you to agree/disagree to all that writing pops up momentarily, and then disappears. I try this again and again; same reaction. I've tried clicking "Agree" before the disappearing, but it won't work. I've tried installing and uninstalling Itunes, off of both the CD and the Apple website; same reaction. After trying this several times, now nothing pops up at all.
    Does anyone have any advice? It would definitly be appreciated...this is a pretty frustrating situation that I got going on
    Acer   Windows XP  

    are you seeing similar symptoms when you try to launch your QuickTime, tymc? (a brief flash of a screen, and then nothing?)
    if so, check for a Qoologic adware infestation on your PC. the free version of Ewido has been catching and killing that for most folks:
    ewido anti-malware download

  • External links open a new tab but do not try to load the page

    When I click on a link outside of Firefox, FF opens a new tab and the URL is loaded into the address bar, but FF makes no attempt to actually load the page. I have to click on the address bar and then the green arrow. FF then loads the page with no problems.

    9/20
    Finally found toolbar settings and unchecked the box.
    All is well. Thanks for taking time to answer.

  • I've tried to update my i-Tunes version after the site suggested I should following my i-Pad being plugged into it for the first time. The update seemed successful but the program would not open at all despite switching off the PC and re-starting several

    I’ve tried to update my i-Tunes version after the site suggested I should following my i-Pad Air being plugged into it for the first time. The update seemed successful but the program would not open at all despite switching off the PC and re-starting several times. I then tried wiping the original software from the computer and re-downloading from scratch. Each time I tried the download failed with a message saying “Service “Apple Mobile Device” failed to start. Verify that you have sufficient privileges to start system services” At this stage, the only way forward was to “abort” the download. This I have done now four times and the same thing happens. When I did finally manage to get an i-Tunes shortcut on my desktop, the program wouldn’t open saying: “i-Tunes was not installed correctly. Please re-install i-Tunes. Error 7 (Windows error 193)” Any ideas to resolve this?

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • Firefox 4 freezes after i open it (keeps loading the page non-stop and i cant click or do anything

    firefox 4 freezes after i open it (keeps loading the page non-stop and i cant click or do anything, plus there is no option to report an error so i cant even get this checked and this seems to be the case on 3 different computers i use all have windows 7 32bit.

    Hello,
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!
    Thank you.

  • I live in Nepal. I can access for the first time at the time of using itunes. There isnt option of NONE in the payment mode.Please Help Me Out !

    I live in Nepal. I can access for the first time at the time of using itunes. There isnt option of NONE in the payment mode.Please Help Me Out !

    AshimPoudel wrote:
    I have problem still. Is this payment important to create a free apple ID???
    Not sure what you are asking...
    Apple ID FAQs
    http://support.apple.com/kb/HE37

  • How to increment the date without loading the page?

    i have a table which contain fields 'No_of_days','fdate' and 'tdate'
    my requirement is add the value of 'No_of_days' and 'fdate' and put it in field 'tdate'
    No_of_days
    2
    fdate
    12-02-2011
    i want the output from 'tdate' as 14-02-2011 without loading the page....
    what i have to do....?
    i was use when-validate-item in forms to perform this.... but i dont know in apex...im new to apex..so pls help...
    help me guys....
    Edited by: 794244 on Feb 11, 2011 11:54 PM
    Edited by: 794244 on Feb 12, 2011 12:05 AM

    Is this what you're after ?
    http://apex.oracle.com/pls/apex/f?p=18507:12 ?
    This can be accomplished with little effort. Let me know and I'll write it up.
    Jeff

  • Hard drive on my mac died, installed new hard drive.  When I try to sync my phone for the first time, will the computer wipe all the songs, photos, ibooks from my phone?

    hard drive on my mac died, installed new hard drive.  When I try to sync my phone for the first time, will the computer wipe all the songs, photos, ibooks from my phone?

    Yes because that information is not located on the hard-drive of your new mac! If it is purchased content from the store, than this issue isn't as bad as it looks!
    Here is a link explaining how to get your previously purchased content back:
    http://support.apple.com/kb/HT2519
    You also want to authorize your Apple ID account on the computer by following these instructions as well:
    http://support.apple.com/kb/PH1730
    Basically this link explains to go to the top left corner of your screen where you will see file, edit, view etc! Click on Store in that section and click on authorize this computer, also you want to make sure that the computer will not automatically sync by going to iTunes in the top left corner, just to the right of the apple symbol if iTunes is selected, and go to prefrences, and here you will see back up! Right under the back-ups has an option explaining to prevent devices from automatically syncing which is good cause you may be able to transfer your purchases from there which will put your content into the computer, and if that happens than we don't lose anything
    Hopefully I was of some help:)

  • I can not activate my iphone to be used for the first time, it is blocked. how do i unlock. can someone help me

    I can not activate my iphone to be used for the first time, it is blocked. how do i unlock. can someone help me

    dis the activation server is not available try again later or contact tech support.
    has no sim card installed more already tried with the sim card still not of.
    bought in china.

Maybe you are looking for

  • Can't get my Satellite A210 to work

    Hi, please can anyone help? Have Toshiba A210 series. Had it over a year and never could get it to work. I did manage to download one set of photos and managed to play a game that is already on pc, but never got connected to go online. Eventually I w

  • TFS 2010 Branching - Is it possible to create a child branch with latest version of specific code alone from parent branch?

    Hi, QUERY: I've  'MAIN' code base as parent branch. From 'MAIN' parent branch, I need to create multiple child 'Development' branches (Dev1, Dev2,etc..) for consecutive releases.  I don't want Child branch creating with entire code from Parent branch

  • Column Head Repeating

    I am new to BI Publisher and using MS Word to create the templates. I have an issue with column headings repeating for each record. Here is a sample of the XML data: <CVIGREENPROEXPORTXML> <LIST_G_CS_SUM_OF_NULL_APPROVALS> <G_CS_SUM_OF_NULL_APPROVALS

  • Query Rule Not working As Expected

    I'm trying to make a rule that will let me know when a server is not in one of 3 AD groups. This is the Query I have: select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDom

  • Is it possible to show stored value '0' as 'pending' in sql server

    //i have a leavestatus table which has four columns  //leavecode int type //empcode int type //status bit type //total leave //i want to show stored status 0 as pending  //and 1 as approved   and i want to show data in gird view in asp.net