Setting disclosed for af:showDetailItem from pagetemplate ?

Hi adf people,
JDev Ver 11.1.1.4.0
use case :
I have a header part in my page template which is having 3 command image links say Simple search, Advanced search, Saved search
On click of this links , that should go to search page that has 3 af:showdetailitem for each link. So on click of saved search it shoud focus to saved search detailitem, and so on..
For that i have added one dummy field and given binding for that , on getter method i did like this
      if(advanced != null && simple != null && saved != null){  
              if("SavedSearch".equals(searchType)){
                advanced.setDisclosed(false);
                simple.setDisclosed(false);
                saved.setDisclosed(true);
              }else if("AdvancedSearch".equals(searchType)){
                simple.setDisclosed(false);
                saved.setDisclosed(false);
                advanced.setDisclosed(true);
              }else if("SimpleSearch".equals(searchType)){
                  simple.setDisclosed(true);
                  advanced.setDisclosed(false);
                  saved.setDisclosed(false);
Issue :
after the search page renders , i am cliking the links, that is not focusing on corresponding detailitem
How to solve this ?
thanks
Gopinath J

yes
use disclosureEvent.isExpanded()
Edited by: Puthanampatti on Feb 21, 2013 9:19 AM

Similar Messages

  • I have a mac mini server which I want to set up for remote access from windows and mac pcs.  How do I do this.  I can access it form my home network OK

    I have a mac mini server which I want to set up for remote access from windows and mac pcs.  How do I do this.  I can access it form my home network OK

    Posted in error.

  • Setting margins for "Create PDF from Clipboard"

    I'm posting this because I could not find another question that dealt with my problem directly, but after A LOT of searching, and a few failed attempts, I did find the solution.
    Problem: When creating a PDF from content copied to the clipboard from a webpage, everything on the page was way off-center, with almost no left margin.
    Once the PDF was created, since there is no easy way to adjust page margins, the only way to center everything would have been one page at a time (for 24 pages), by dragging the page contents manually to the center of the page. I tried using the "Set Page Boxes" function, but I ended up with 24 blank pages. Yes, I could export the PDF as a Word document, and then reprint that Word document as a PDF, but I knew there had to be a simpler way.
    Solution: When you create a PDF from a clipboard containing text (or in the case of the above document, text and images), Acrobat uses the settings for "Create PDF from Web Page."
    Unfortunately, if you look up Convert clipboard content to PDF in Acrobat Help, it doesn't tell you that. AND the settings for "Create PDF from Web Page" are NOT included in the list of settings under Preferences > Convert to PDF. There is an HTML option in that list, but there are no editable settings for that file type (There are actually quite a few such file types listed there, and my question is, if there are no editable settings, why are they even listed under Preferences?). Batch Conversion of Text Files also uses the same settings.
    So, here's how to do it:
    Select File > Create > PDF from Web Page
    Click on Settings
    To adjust the default margins for new PDF files created from a clipboard containing text, select the Page Layout tab, and adjust the margins to your liking. Notice how small the Default right and left margins are... hence my problem.
    Click on OK to save your new settings, and the simply Cancel out of the "Create PDF from Web Page" dialog box. If you read this page, it says you have to actually create at least one PDF file using the "Create PDF from Web Page" dialog in order for your settings to stick, but I never did, and my settings were saved just fine.
    If you're copying basic text (or converting text files), that's all there is to it.
    With web page content, there could still be a problem (as there was with this web page), if the content you've selected is not the full width of the web page. I think this has to do with the fact that web pages often use Content Style Sheets to format their page elements, and those styles are transferred when you copy that content to the clipboard. The PDF page margins are technically correct now, as you can see by the position of the image at the top of the page, but the text portion (at the bottom of the page) of the PDF only fills the same percentage of the text area (between the margins) as it did on the web page.
    The only solution I have found if this happens, is to export the PDF as a Word document, and adjust the margins there. In the document I was working with in these examples, there were boatloads of different invisible subsections to the document, and each subsection had different settings for right and left indent, fonts, font sizes, etc., so there was a lot more to it than a simple 'copy & paste' type of procedure. Once I corrected all the different elements (and this one had a whole lot of weirdness going on), and then printed it as a new PDF, everything looked much better.
    Hopefully this helps someone else find their answer much easier than I found mine
    And of course, comments and suggestions are welcome.

    Thanks for asking. Yes, with either the Crop tool or the Set Page Boxes tool, I could trim the page just fine, removing the excess from the right side, but as soon as I tried to add space to the left side, it just blanked out the whole page. It seemed like it should have worked, and maybe on a simple text file it would have. But that particular array of content proved to be most troublesome.
    I also could have just cropped the page down to 6.5 x 11, and then centered it when I printed it.
    My primary goal in searching for the answer, and my main reason for posting this, was for setting the margins for future documents (and to help others find those settings,too). Since I still had the web address, I could easily recreate the PDF once I figured out how to set the margins. Of course I didn't realize that there would still be problems once I got the settings right. Like I said, that particular web page seemed to have several unique difficulties.

  • How to set condition for my Choose From List

    hi ..plz check my code...i want to set a condition on my CFL which opens GL Accounts..it has to show only Active Accounts...but when i run the program iam able to see all accounts..what might me the proble..
    my code is as follows
    '''''''''' load form
    private sub loadform()
    '' here iam loading form which is designed in Screen painter where i have a textbox (uid = 19) and CFL_2 as its choosefromlist and object type = 1 alias name = ActCode
    conditionCFL()
    oform.visble = true
    end sub
    '''''''''' end of load form
    '''''''''setting condition
    private sub ConditionCFL()
    Try
                Dim oCFLs As SAPbouiCOM.ChooseFromListCollection
                Dim oCons As SAPbouiCOM.Conditions
                Dim oCon As SAPbouiCOM.Condition
                oCFLs = oForm.ChooseFromLists
                Dim oCFL As SAPbouiCOM.ChooseFromList
                Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
                oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
                ' Adding 2 CFL, one for the button and one for the edit text.
                oCFLCreationParams.MultiSelection = False
                oCFLCreationParams.ObjectType = "1"
                oCFLCreationParams.UniqueID = "CFL1"
                oCFL = oCFLs.Add(oCFLCreationParams)
                ' Adding Conditions to CFL1
                oCons = oCFL.GetConditions()
                oCon = oCons.Add()
                oCon.Alias = "Postable"
                oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                oCon.CondVal = "Y"
                oCFL.SetConditions(oCons)
                oCFLCreationParams.UniqueID = "CFL2"
                oCFL = oCFLs.Add(oCFLCreationParams)
            Catch
                MsgBox(Err.Description)
            End Try
    end sub
    '''''''''end of setting condition
    i have still more code...plz follow the next code which is posted below.....

    continuation from above code...plz foloow complete code
    '''''''''''item event
    Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
            Dim EventEnum As SAPbouiCOM.BoEventTypes
            EventEnum = pVal.EventType
            Try
                Select Case pVal.EventType
                    Case SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST
                        If pVal.BeforeAction = True Then
                          Dim oCFLEvent As SAPbouiCOM.IChooseFromListEvent = DirectCast(pVal, SAPbouiCOM.IChooseFromListEvent)
                            Dim oDataTable As SAPbouiCOM.DataTable = oCFLEvent.SelectedObjects
                            Dim val As String
                            Try
                                If pVal.ItemUID = "19" Then
                                   Me.oDBDataSource.SetValue("U_BalenceSheet_Acct", 0, oCFLEvent.SelectedObjects.GetValue(0, 0))
                                End If
                             Catch ex As Exception
                                MsgBox(ex.ToString)
                            End Try
                        End If
                        Exit Select
                End Select
                           Catch ex As Exception
                                MsgBox(ex.ToString)
                            End Try
    end sub
    ''''''''''end of item event
    Edited by: Shenaz Sultana on Nov 13, 2009 2:18 PM

  • Can't Set Default for "Show Items From Subfolders"

    I like to view several folders and subfolders at the same time...and then view another group of folders and subfolders, etc. etc. etc....and to do that I'm constantly going to View > Show Items From Subfolders because the command doesn't "stick."  I've looked around, and don't see a way to set "Show Items From Subfolders" as a default. Does anyone know a way to do that?
    Thanks for any help.

      I've looked around, and don't see a way to set "Show Items From Subfolders"
    as a default. Does anyone know a way to do that?
    You can't do so and I'm still not sure you should, it is easy to forget
    resetting it and when visiting a new folder with lot's of subfolders and
    files not being cached it can slow down your workflow, but that is my
    personal opinion
    An option for you might be to open a new window for a new search in
    different folders. By default the new window reflects the current window
    with all subfolder content but changes also to without viewing subfolders
    after having clicked on a new folder. However switching back to the other
    window(s) they still have the 'show subfolders' active.
    Instead of switching folders you could switch windows (I often have multiple
    windows active and cycle through them using cmd+` (tilde key).

  • How to set Permissions for Mac HD from "No Access" to "Read only"

    Hi everyone! My friend's having a problem with her MacBook Pro. She accidentally changed the value of the Macintosh HD's privilege for everyone from Read only to No access. (See attached image for reference/guide). Seconds after, her Mac crashed. She rebooted her laptop, the Apple logo shows up with the usual scrolling week. Afterwards, the scrolling wheel disappears but the Apple logo is still there and it no longer proceeds to her login/desktop screen anymore.
    We already tried Repairing Disk Permissions (by pressing Command +R on bootup) and Repair Disks, rebooted, but it's still up to nothing. Unfortunately, she doesn't have a Time Machine backup.
    Is there a way to revert the changes even though the login/desktop screen can't be accessed? Is having the value "No access" on your Macintosh HD unsafe and will make you locked out of your system?
    I am looking forward to your fast and favorable feedback. :-)
    Thanks in advance!

    Is there a way to revert the changes even though the login/desktop screen can't be accessed? Is having the value "No access" on your Macintosh HD unsafe and will make you locked out of your system?
    There is currently no way to access the disk, no access means no access.
    Others may know better but I would backup the data on the drive, erase and reinstall.

  • How to set variant for ALV grid from ABAP

    Hello,
    I have a program which displays some data with ALV grid. Then after some operation I would like to set different layout for the grid, but not by choosing it manually but by the program. I thought that it would be enough to use the method SET_VARIANT, so I'm setting DISVARIANT structure properly, using SET_VARIANT method and after that I'm calling REFRESH_TABLE_DISPLAY but layout is not changed. What else should I do? Is that possible?
    Best regards,
    Marcin

    Hi,
    Check this
    * While declaring select-options
    parameters: p_vari        like ltdx-variant.  " Layout
    * then add the following code in
    at selection-screen on value-request for p_vari.
      perform f_variant_f4 using p_vari.
    * Code for f_variant_f4
    form f_variant_f4 using  p_vari.
    * private variables
      data : v_exit    type c.
      clear gs_variantt.
      v_variant_save = 'U'.
      call function 'LVC_VARIANT_F4'
        exporting
          is_variant    = gs_variant
          i_save        = v_variant_save
        importing
          e_exit        = v_exit
          es_variant    = gs_variantt
        exceptions
          not_found     = 1
          program_error = 2
          others        = 3.
      if sy-subrc ne c_0.
        message i999(yscc) with text-064.    " No Layout Available for F4
      endif.
      if v_exit is initial.
        gs_variant-variant = gs_variantt-variant.
        p_vari             = gs_variantt-variant.
      endif.
    endform.                                 " F_variant_f4
    * In PBO
        call method grid1->set_table_for_first_display
          exporting
            is_layout                     = gs_layout
            is_variant                    = gs_variant
            i_save                        = 'A'
            it_toolbar_excluding          = i_exclude[]
          changing
            it_outtab                     = i_output[]
            it_fieldcatalog               = i_fieldcat[]
          exceptions
            invalid_parameter_combination = 1
            program_error                 = 2
            too_many_lines                = 3
            others                        = 4.

  • HT4436 I want to set up an icloud account for work, separate from our personal accounts.  We all have iPad 2.  How do I do that?

    I want to set up an icloud account for work, separate from our personal accounts.  We all have iPad 2.  How do I do that?

    You can set up a second ("secondary") iCloud account on your device by going to Settings>Mail,Contacts,Calendars>Add Account>iCloud.  Secondary accounts do have limitations. Only the primary account can be used for Photo Stream, Bookmarks, Documents, iCloud Backup and Find My Device.  Push mail only works for the primary account; secondary account mail is fetch.

  • Is there a PS setting where it can read my Canon Mark 3 5D's monochrome setting so that the files will also appear in monochrome instead of colour? Or do I have to change from RAW each time to Monochrome within PS (even if I have set up for Monochrome in

    Is there a PS setting where it can read my Canon Mark 3 5D's monochrome setting so that the files will also appear in the same monochrome structure (instead of appearing in colour as it is now when i open in PS, not even monochrome)? Or do I have to change from RAW each time to Monochrome within PS (even if I have set up for Monochrome in my 5D)?
    1. Basically I am taking photos with a monochrome setting with my 5D and the screen shows monochrome.
    2. when i import this onto my computer and open with PS, it opens in colour.
    3. when I change this to Monochrome in PS. (It cannot read my monochrome setting with my preference of the greyscale mix when I viewed it on my 5D)
    4. my question is: is there a way so that PS can read the monochrome setting from my 5D and display the same monochrome setting as my 5D instead of a different one from PS.
    Lily

    you need camera raw 6.7 or better.
    i don't know what version of ps you have so i can't say if it can be updated to use that, but update anyway.
    pre cc updates:  http://www.adobe.com/downloads/updates/
    cc updates:  http://prodesigntools.com/adobe-cc-updates-direct-links-windows.html
    cc 2104 updates:  http://prodesigntools.com/adobe-cc-2014-updates-links-windows.html
    if you can't update your cr sufficiently, use the dng converter. DNG Converters:
    Win
    Mac

  • I have an iPod, iPhone and iPad all set up to a Dell laptop. I recently got a Macbook Pro, how do I transfer all my control for my devices from the Dell to the MacBook?

    I have an iPod, iPhone and iPad all set up to a Dell laptop. I recently got a Macbook Pro, how do I transfer all my control for my devices from the Dell to the MacBook?  Can anyone help?

    http://www.apple.com/support/switch101/
    http://www.macworld.com/article/1153952/superguide_switchingtoamac.html

  • How do you change the default setting for RTF documents from TextEdit to MS Word

    How do you change the default setting for RTF documents from TextEdit to MS Word, I download forms from the Canadian government and they use RTF as a standard, they are supposed to open as MS Word documents (Yes I have Office for MAC 2011) but when download the document it goes to TextEdit which messes up the form format. I can down load it right click and go "open with" MS Word but how can I get the default chnaged to save this step.

    richr604 wrote:
    Thanks I knew this, I like Safari as I want to keep everything MAC, but if I use Firefox the documents open in MS Word straight away, I was just curious if there was some setting I could change?
    In Firefox > Preferences, click the Applications tab. If RTF is there, use the pulldown menu in the Action column to pick MS Word. If RTF is not there, there are instructions here for how to add file types.

  • My friend found an iPhone 5 ; he plugged it in the computer willing to restore when the restore was succesfulhe was ready to set it up on his way to do it , icloud ask him for a password from certain email he doesnt know, is there any way you could skip ?

    my friend found an iPhone 5 ; he plugged it in the computer willing to restore when the restore was succesfull he was ready to set it up on his way to do it , icloud ask him for a password from certain email he doesnt know, is there any way you could skip this step or delete the accoun without putting a password down ?

    9EriickxD wrote:
    my friend did but they couldnt tell whose it was. now he/she just trying to restore it. But not knowing how to get rid off it 
    Turn it into the police.
    Your friend should not keep someone elses iphone without making every attempt to fget it to the rightful owner.

  • How to set password for photos from home screen? Please help.

    Hi,
    Can anyone pls help to set password for my Iphone 4s.
    My friends/family often use my phone for gaming purpose. I don't want them to see my photos/gallery/videos.
    How can I protect my personal things from others?
    Thnx.
    Rgds.

    There is no way to set a password for photos. You could upload all of your photos to something like DropBox, then sign out of the app. Or, you could only let people you trust to respect your privacy touch your phone.

  • Set textRollover color for Text control from css (very urgent)

    Hi,
           I have text control . I need to set textRollovercolor for the text control from css. Is it possible.
    regards,
    Jayagopal.

    Jayagopal
    We can set the text roll over color using css like shown below.
    .txtColor{
        text-selected-color:         #000000;
        text-roll-over-color:         #FF0000;
    Thanks
    Raghu

  • How can I change the default setting for downloading photos from email?

    How can I change the default setting for downloading photos from emails I receive?  It shows the default as Photoshop Elements 4.0 and is not supported by this system.  That was my last computer!!
    Thanks,
    Sheila

    That has nothing to do with styles nor Pages, it is a System/Printer Driver setting.
    You can experiment to see if the Printer Settings stick with your document, but in the past this has not worked.
    Peter

Maybe you are looking for

  • Maintain hierarchy data in R/3

    Hello experts, How to maitain hierarchy data in R/3. Any pointerts will be appreciated. Thanks Konda Reddy

  • GRAPH LEGEND LABELS NEED TO BE USER MODIFIABLE

    GRAPH LEGEND LABELS NEED TO BE USER MODIFIABLE FOR DYNAMIC PARAM INPUT CONTROL I've been told on Metalink that my problem can not be resolved in Reports 9i or 10G but a Internal enhancement request 3071917 has been logged. Is it possible to have some

  • Oracle Java Mail API exception in Jdev 11.1.15

    we are using java mail api to send out emails. and wrap it in java embedding with in our webservice. we are using jdeveloper 11.1.1.5 for this and the Java API is failing with the below error, we have included all the java libraries. As code is worki

  • Unable to set CLASS_PATH for j2ee.jar

    Hello all, I have a peculiar problem. I have included the j2ee.jar path in my XP Home Edition environment variable, but javac is unable to get packages from there. I have echo-ed the CLASS_PATH in DOS command prompt and it reports the correct path of

  • Jazzing up a poster

    I created my first design in indesign. it is a white background with many quotes and some graphics on it, size is 16x20. The background is just plain white. Previously when I made things like this, I created it in Photoshop.  I would like to add a te