Hide/Show a Panel group or Panel Box with a command link

I need to show and hide a panel group/box that has a lot of components inside ..with a command link ...I need to do this with partial submit ....please advise.
<af:commandLink >
hide the panel box with all the comps inside it ..change commandlink text ....
use the same command link to show the panel box and change the command link
text back
</af:commandLink>
<af:panelGroup layout="vertical">
<af:panelBox>
     <af:panelGroup>
ALOT of components .......
     </af:panelGroup>
</af:panelBox>
</af:panelGroup>
I tried with partial trigger ..I tried everything i know ..it did not work .....it only worked I do a I full submit and setting some processScope(session) variables ..
Thanks.

Hi,
- have a managed bean in session scope
- define a boolean variable that is set to true
- expose the variable through a public method
- use EL on the panelBox rendered property to link to this boolean method
- define an action listener on the command link and set the autosubmit property to true
- use the action listener to set the boolean value
- define a value for the ID property of the command link
- set the ID vaule to the PartialTrigger property of the panelGroup component
Frank

Similar Messages

  • [Shortcuts] Hide/Show standart panel

    Hello.
    Default in Dreamweaver used Ctrl+Shift shortcut for Hide/Show
    standart panel.
    But I use this shortcut for the keyboard layout switching.
    And I need standart panel.
    So when I press Ctrl+Shift for swith keyboard layout standart
    panel hidding.
    How can I change this setting?
    I can't found setting for this shortcut in Edit->Keyboard
    Shortcuts...
    With toolbars.xml the same result.
    Please help me to decide this problem, becouse I have
    discomfort.

    Please help me to decide this problem, or say that it's
    unsoluble.

  • HIDE / SHOW active panels

    hallo another tweak to my tiny script...
    I know its a little foolish to be tweaking such a little nonsense script BUT hey everybody has to start somewhere and THAT'S what a forum is about :)
    I got this problem:
    Iam trying to hide all panels i have currentlly visible and later show them again as they were before... i can do it in two separate scripts (scriptHIDE, scriptSHOW) thats fine with me...
    i just need to script an exact functionality of pressing TAB key (show/hide panels)
    when i use "app.panels.everyItem().visible = false" all the panels dissapear BUT there is no way to show them back :) they are gone
    when i in contrary use "app.panels.everyItem().visible = true" InDesign shows EVERY panel possible...
    isnt there some smarter and cleaner way to toggle ON / OFF panels but only those which are currentlly visible (including Tools and Control)...

    Hi Rosta,
    My idea is to save "visible" property of every panel in an array, and then after making every panel invisible you can restore the visible state of the panels:
    // remember which panels visible and invisible in array
    var arr = app.panels.everyItem().visible;
    // make every panel invisible
    app.panels.everyItem().visible = false;
    // restore settings from the array
    for (i=app.panels.length -1; i>=0; i--){
    app.panels[i].visible = arr[i];
    Kasyan

  • Showing RSS feed in Dynamic Text box (with hyperlink)

    Hi all -
    I am currently trying to pull RSS data into a project for my first time and am trying to get 3 (potentially 4) boxes filled with rss data that will be updated. So far, I am going with Actionscript 3. So far I have the code below, but it puts data in a listbox. What is the easiest way to put the data in three dynamic text boxes inside a movie clip, so I have one for the title, one for description and one for link (shown as 'read more' text but a link using the url from the rss value)?
    I am really banging my head against the wall on this one and want to get it sorted asap, so any help would be GREATLY appreciated! I have also attached an image to show what I am trying to do:
    I also want to know if it's possible to show rss values only if they exist. For example, my xml feed currently only has 3 items that change, and i will be assigning these to boxes, but is it possible to display a fourth if it exists, and if it doesn't it just shows the first?
    My code so far:
    var loader:URLLoader = new URLLoader();
    loader.addEventListener(Event.COMPLETE, onLoaded);
    var xml:XML;
    function onLoaded(e:Event):void
        xml = new XML(e.target.data);
        var il:XMLList = xml.channel.item.description};
        trace(il[1]);
             lb.addItem({data:il.description.text()
                                label:il.title.text()}):
    loader.load(new URLRequest("http://www.rssfeedhere.xml"));

    you would create a movieclip (exported for actionscript and class = rssItem) with 3 textfields and the display shown in your message and use something like:
    var loader:URLLoader = new URLLoader();
    loader.addEventListener(Event.COMPLETE, onLoaded);
    var xml:XML;
    function onLoaded(e:Event):void
        xml = new XML(e.target.data);
        var il:XMLList = xml.channel.item.description};
        for(var i:uint=0;i<il.length();i++){
            var mc:rssItem = new rssItem();
            addChild(mc);
            mc.x = 300*i%2;
            mc.y = 300*Math.floor(i/2);
            mc.titleTF.text = il[i].title.text();
            mc.descriptionTF.text = il[i].description.text();
            mc.readmoreTF.text = ?
    loader.load(new URLRequest(http://www.rssfeedhere.xml));

  • Can someone help me with pages on iPad. I am trying to group a text box with a media image and the group option is not appearing.

    I have tried all different combinations of objects to see if that is the problem but still no group options.
    I have also tried with 2, 3, 4 &amp; 5 objects.
    I have managed this before, by obviously by chance.
    Thanks in advance

    Ok as per my previous message a few months ago, I realised I hadn't changed the Move with Text to Off.  Now It's fine!

  • WHY DO PICTURES-NOT ALL-IN MY EMAIL APPEAR IN A BLANK BOX WITH RED 'X'-NO PICTURES ON MY PC AND LAPTOP BUT DO SHOW UP ON MY 4G PHONE?

    PICTURES DO NOT SHOW UP IN EMAILS ONLY BLANK BOX WITH RED 'X' IN UPPER LEFT HAND CORNER

    Photostream only syncs photos over Wi-Fi, make sure you are connected to Wi-Fi to begin with.
    Photostream only syncs when the camera app is closed, ensure it is closed.
    Photostream only syncs when the battery is above 20%, try recharging the device
    Try disabling photo stream on your device (settings > iCloud), restarting your device and then re-enabling photo stream.
    Note: disabling photostream and re-enabling it will result in any photos that are currently in the photostream album on your device, that are older than 30 days old, not being added back.

  • Hide and show Control Panel Items in 2008 R1

    Hi,
    we have Windows Server 2008 DC's and Terminalservers. I try to hide the control panel items from Users via GPO.
    Using GPO: Show only specified Control Panel items
    First I tried: main.cpl,@2 for showing Printers -> didn't work! Then I saw there are new canonical names for control panel items.
    Microsoft.Printers -> Didn't work
    Microsoft.DevicesAndPrinters -> Didn't work.
    What can be wrong with it. I tested it where only this policy is set. If I use only main.cpl I get the mouse and keyboard, so the policy ist definitly used and read.
    Any Help here? We don't have 2008 R2 .(

    This GPO feature seems extremely unreliable.
    See these docs:
    http://msdn.microsoft.com/en-us/library/ee330741(v=VS.85).aspx
    http://msdn.microsoft.com/en-us/library/cc144191(v=VS.85).aspx#CommunityContent
    The following have worked for me, WITHOUT the Microsoft prefix...
    Keyboard
    Personalization
    Mouse
    Fonts
    Printers
    The following do not seem to work under any condition!
    FolderOptions
    Microsoft.FolderOptions
    DateAndTime
    Microsoft.DateAndTime
    AudioDevicesAndSoundThemes
    Microsoft.AudioDevicesAndSoundThemes
    EaseOfAccessCenter
    Microsoft.EaseOfAccessCenter
    MobilityCenter
    Microsoft.MobilityCenter
    SpeechRecognition
    Microsoft.SpeechRecognition
    ColorManagement
    Microsoft.ColorManagement

  • Adobe InDesign CC 2014 Custom Panel Built With Extension Builder - Problem: Can't tab from one entry field to the next; Hitting tab instead hides all palettes; Is there a fix? This didn't happen in Adobe Indesign CC

    Adobe InDesign CC 2014 Custom Panel Built With Extension Builder - Problem: Can't tab from one entry field to the next; Hitting tab instead hides all palettes; Is there a fix? This didn't happen in Adobe Indesign CC

    This is planned to be fixed in the next release.

  • How to align text in Panel Box to the center

    Hi,
    I would like to align the text in the Panel Box to the center. Here is my code snipplet:
    +<af:panelBox text="22" id="pb8"+
    titleHalign="center" ramp="highlight"
    background="dark"
    icon="/images/warningind_active.gif"
    showDisclosure="false"
    contentStyle="height: 50px; width: 100%; horizontal-align:center;">
    +<f:facet name="toolbar"/>+
    +<af:outputText value="Update RFC with Approval Info"+
    id="ot8"
    inlineStyle="font-size:medium; font-weight:bold;"/>
    +</af:panelBox>+
    But it didn't work. The text "Update RFC with Approval Info" is still align to the left by default.
    Any ideas?
    Thanks.
    -Mina

    You can't do it without panelGroupLayout. Try this way...
            <af:panelBox text="PanelBox1" id="pb1" titleHalign="center" ramp="highlight"
                background="dark">
                <f:facet name="toolbar"/>
               <af:panelGroupLayout id="pgl1" layout="horizontal" halign="center" valign="top">
                <af:outputText value="***centered***" id="ot1"/>
               </af:panelGroupLayout>
            </af:panelBox>

  • Centering panel boxes horizontally on a page

    Experts,
    I have a panelStretchLayout component on my page having 3 facets top, center and bottom. In the bottom facet i have to display 5 images inside a panel box such that they are aligned equiv distance from the left and right side. That is the same on the left side of the page and right side of the page (if the resolution changes - left hand border of the first image and right side border of the last image should be same) should be same and the panel boxes should start occupying space from the center of the bottom facet.
    thks
    Jdev 11.1.1.5.

    Can you try this?
            <af:panelBox text="PanelBox1" id="pb1">
              <af:panelGroupLayout layout="horizontal" id="pgl1" halign="center"
                                   styleClass="AFStretchWidth">
                <af:commandButton text="commandButton 1" id="cb1"
                                  styleClass="AFStretchWidth"/>
                <af:commandButton text="commandButton 2" id="cb2"
                                  styleClass="AFStretchWidth"/>
                <af:commandButton text="commandButton 3" id="cb3"
                                  styleClass="AFStretchWidth"/>
                <af:commandButton text="commandButton 4" id="cb4"
                                  styleClass="AFStretchWidth"/>
                <af:commandButton text="commandButton 5" id="cb5"
                                  styleClass="AFStretchWidth"/>
                <f:facet name="separator">
                  <af:spacer width="5" id="s1"/>
                </f:facet>
              </af:panelGroupLayout>
            </af:panelBox>Thanks,
    Navaneeth

  • Lightroom 5 - in all of the panels starting with Basic all titles are showing "Reset".

    Lightroom 5 - in all of the panels starting with Basic all titles are showing "Reset".   For example, Tone is now showing Reset Tone - Resent Presence.
    In all panels the titles are showing "Reset".  Can you please explain and tell me how to fix?
    Thank you,
    Louise

    Sounds like you have an [Alt/Opt] key stuck down. Pressing this key changes to the Reset mode. If your key isn't stuck, did you recently custom map some keystrokes?

  • "Show doc panel" on two monitors

    Hi,
    JDev 11.1.2 offers super behavior "Show doc panel" on "Completion insight" menu.
    Unfortunately with two monitors (JDev active on right one)
    is display of doc panel ruptured between left and right monitor and in practice useless.
    Is there any chance to disabled rupture of "show doc panel" between two monitors?
    Or, maybe, forced displaying of "show doc panel" on the right to "Completion insight" menu?
    Thanks very much vor help,
    Jara

    I figured this was assumed, but if not: Yeah, you need an extra display card. If you only have one monitor, you'd need two more of those as well.
    I'd say you could get some real cheap-o LCD's for the QT displays as having QT playback on a large screen isn't visually needed --and less pixel pushing equals a faster Mac overall.
    I dunno. I think it would work easily enough.

  • Show front panels of sub VIs when running a EXE (build application)

    I've created a exe file and it works fine. However, it only shows the front panel of main VI and I can not open sub VIs (it looks like they are all hidden). I know it can be done by creating a library file along with this exe file, but that's not what I want. I want to create a single exe file that shows several front panels, and that can be run with run time engine. Is there any way to show front panels of sub VIs by running a exe file?

    In the development mode, how are you displaying the front panels? Did you right click on the subVI and select SubVI Node Setup and choose 'Show Font Panel when called/Close afterwards if originallly closed' or did you choose the same options from VI Properties for each subVI. If the second, then the app builder will automatically retain the front panels of the subVI. If you chose the first option or if you are using VI Server to open a front panel, then the default setting in the app builder is to remove the front panels. You would then have to go the VI Setting tab in app builder and edit the settings.

  • How to hide/show dashboards for user/groups

    Hi,
    Please help on how to hide/show dashboard menu/sub menu to users/groups based on their profile settings.
    thanks in advance.
    regards,
    kumar.

    Hi Jinu,
    1) Do some or all of those subreports span multiple pages?
    2) Do each of the Subreports start on a new page?
    If yes, for both, then here's what you need to do:
    1) Create a formula (@True) with this code:
    shared booleanvar SetStatus:= True
    2) Create another formula (@False) with this code:
    shared booleanvar SetStatus:= False
    Drag and drop the @True formula on the details sections for which you want the Page Footer to be suppressed.
    Similarly, drop the @False formula on the details sections for which you want the Page Footer to show up.
    Then, go to the Section Expert > Select Page Footer c > Click the formula button beside Suppress and use this code:
    shared booleanvar SetStatus;
    -Abhilash

  • Will Illustrator CS4 panels show panel name with icon?

    Is it possible to have Illustrator panels, when collapsed, still show the panel name? InDesign CS4 panels (for me) show the icon and panel name when the panel is collapsed. Illustrator CS4 only displays the icon when the panel is collapsed. I am unable to find a preference setting (or help document) for Illustrator to create a similar behavior.
    Thanks for you help.

    Yikes. Figured it out. Move the panels away from their default state in the upper right corner of your desktop. Move cursor to right edge of panel, and cursor will change. Now you can 'expand' the collapsed panel by dragging to show the name alongside the icon.

Maybe you are looking for

  • How do I see a USB device attached to AirPort Extreme?

    Alright guys, I have been browsing around in search of an answer, but I've found nothing definitive about this. If I missed it, please be so kind as to put me towards a working link. My question is the following. I have an AirPort Extreme 802.g, 5th

  • UI font size in dreamweaver is too small - can it be changed?

    Hi, I just purchased Dreamweaver CS6 and found to my dismay that the UI font sizes are so small that I need a magnifying glass to read them. At least they give the option for larger UI font sizes in Photoshop, but not in dreamweaver - as far as I can

  • How call web Services in web dynpro abap ..?

    hi guru, how to call web service in wd abap ? wheather it is possible or not,if it possible please give me a exqmple Regard,s Vivekananthan.S

  • Slideshow in iphoto

    how do we reverse the order of pictures in slideshow?

  • I can't import P2 footage

    I have an old project that needs some changes. The footage I need to add was never imported the first time around. When I go to the log and transfer window, I can't add the P2 folder for this project, or any project for that matter. I'm using FCP 6.0