Horizontal contextual panel

Hi friends,
I am using horizontal contextual panel in my View.
In horizontal contextual panel action, i am calling the Views based on the tab I have clicked.
In signatuer part of the Action i have given  index as Importing parameter, but i am unable to get the index of the contextual panel that i have clicked.
please help me in getting index of the contextual panel that i have clicked.
Regards,
Xavier.P

I have delclared varaible in signatuer part of action refering to IF_WD_CONTEXT_ELEMENT

Similar Messages

  • Links not getting displayed in the contextual panel

    Hi,
    I have created a contextual panel inside a transparent container. And created a method in the same view supply_values of type supply function to supply the values to the panel.Inside the method I have coded like:
    DATA TAB  TYPE WD_THIS->ELEMENTS_N_VIEW_SWITCH.
      DATA LINE TYPE WD_THIS->ELEMENT_N_VIEW_SWITCH.
      LINE-TEXT    = 'User Manual'. "#EC NOTEXT
      LINE-ENABLED = ABAP_TRUE.
      APPEND LINE TO TAB.
      LINE-TEXT    = 'Logout'. "#EC NOTEXT
      LINE-ENABLED = ABAP_TRUE.
      APPEND LINE TO TAB.
      NODE->BIND_TABLE( TAB ).
    Also in the context of the view I have created a node and supplied the method  'supply_values' in the supply function.Under the node I have 2 attributes named text and enabled. Text is of string type and enabled is of boolean type. In the properties of the contextual panel I have bound the visible property with the enabled attribute.
    Now when I am running this application , links are not getting displayed in the contextual panel. Though when I debug TAB contains the values.  Please suggest if I have missed out something or I need to look into the properties of the contextual panel. Any pointers will be really helpful.
    Regards,
    Ashutosh

    Hi,
    Can you elaborate ' ItemEnable property of ViewSwitch'.
    I have already bound the enable property of the panel with a context attribute of type wdy_boolean  but it is still not working. 
    Regards,
    Ashutosh

  • Expand horizontal scroll panel on both sides for a zoom in effect

    Hi,
    I'm creating an interactive timeline with Flash Catalyst. It is set up as a long horizontal scroll panel which contains buttons that link to states with photos and text about historic events. One feature I would like to include is a zoom feature, like the one found on the bbc British history timeline (http://www.bbc.co.uk/history/interactive/timelines/british/index_embed.shtml ). E.g., when you click on a colored section of the horizontal scroll panel it will zoom in to view that timeframe in more detail.
    The problem I'm running into is that I can't expand the scroll panel to the left. So, I can go into edit mode for the scrolling content, create a second state, and enlarge the scrolling content in that second state to create a zoom in effect. However, because the scrolling content will only expand to the right, I can't line up the interaction correctly.
    Is there a workaround for this in Flash Catalyst?

    have a peek at this:
    on the left, the corner radius (the red line) is enough to create a curve on the inside of the stroke. on the right, it isn't large enough.

  • How to use Contextual panel ?

    Hi,
    Can u please expalin me what are the properties of contextual panel ? and How to use contextual panel with in Contextual panel?
    Thanks,
    kishore.

    Check out this link
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/01754e5ba20c4be10000000a11466f/frameset.htm

  • Need help with horizontal accordian panels

    Hi,
    I'm wondering how I would re-create a horizontal accordian panel set, such as the one used in this website link, "http://www.thecapriapts.com/".
    When I insert a "spry accordian" panel set, the panels are stacked on top of each other. I guess you would consider that a "vertical" accordian. Is it possible to manipulate the CSS to have it display horizontally, like the link I attached? Or.. is this a common javascript that I sould look into?
    As always, thanks for your help out there...
    Chris

    With spry, there are two different kinds you can use: horizontal and vertical. What you're looking at in that site is horizontal. Usually, it appears as rectangles placed next to each other with the spry flying out below. In DW, you can go to your CSS rules for your spry menu and change the width and height of your boxes in your spry, depending upon which rule you have selected. Play around with that and see if you can just manipulate the horizontal accordian spry to where the rectangles end up being tall and thin. This will make it difficult, however, to get the text on its side like you see in that site. I'm not sure how you would go about doing that. But I would suggest trying to play around with the values in your CSS styles panel on the right (this is me looking at CS5 mind you. I'm not sure what you're running.)
    Either way, for times sake and also readability, might I respectfully suggest playing around with other sprys to see if any look more aesthetically pleasing for your site? It would also make it a lot simpler to tweak to your liking.

  • Contextual Panel of GP in collapsable window like Navigation Panel

    hi all
    i want to put the Contextual Panel of Guided Procedure in the collapsable window LIKE the Navigation Panel of the portal (not in Navigation Panel).
    For this to achieve, In Portal Content,
    I created a copy of "Navigation Panel & Content Area Layout" and made its "Object is a Template" as TRUE.
    Then I created a new page of Default Page Template so that i can use my "Navigation Panel & Content Area Layout" and put the Contextual Panel of GP in "Navigational Panel".
    Now when I added this page into "Portal Content -> Content Provided by SAP -> Platform Add-Ons -> Guided Procedures -> Pages -> Process Instance" page, a warning message appears saying "The object you have added is not fully compatible with the page. Therefore, its Isolation Method property has been set to URL and read only." and does so, and because of this the Contextual Panel of GP comes in the collapsable Navigational Panel as per my requirement but the height of the page is not sufficient enough to display the whole page in the required format.
    Thus, defeats my sole purpose.
    So please help to solve this problem.
    Thanks & Regards
    Vivek

    hi all
    lets leave the above requirement aside.
    even if that works, it won't solve my purpose because
    i found that even if i get the gp's Contextual Panel / Process Activies Panel in a collapsable window
    or i hide the it, this won't appear in the collapsable window or get hidden when i initiate the process using the generated URL.
    As per my requirement, i need a URL which will initiate a new GP process and doesn't show
    Contextual Panel / Process Activies Panel on the left side.
    But the generated URL doesn't hide it.
    I think there should be some additional parameter which I should pass along the URL and the started process won't show the Contextual Panel / Process Activies Panel.
    If anyone knows how to get rid of Contextual Panel / Process Activies Panel, please reply.
    Thanks & Regards
    Vivek

  • Contextual Panel Height Adjustment

    I have a scenario:
    There are 2 Contextual Panels in my application, left panel is a navigation panel and right panel is a content panel which depends on the viewswitch selected in the left panel.
    The right panel height is variable depending on the contents. I have tried many properties settings like 100% height and stretchedVertically for the Transparent Container which is Matrix Layout to make both panels height equal during runtime, but i couldn't.
    Any comment is appreciated. Thanks!

    Hi Mary,
    Even I faced similar problem , thought its not a permanent solution it might be of some help I guess.
    Firstly, we can adjust the heights of free contextual area in your contextual panel . You can bind the content height property of the free contextual area to a variable or attribute and can set it accordingly. Further you need to make sure you put transparent containers in these free contextual area's which have auto scrollable mode, then you can fix the height of these containers.
    P.S It'll take a number of hits and misses to finally get the two contextual panel to be of same height.
    I hope it helps.
    thanks and regards,
    sunny

  • Coding in contextual panel

    Hi,
    I have created an application which has a contextual panel.I am Filling the panel using the below code in SUPPLY_VIEW_SWITCH function:
    DATA TAB  TYPE WD_THIS->ELEMENTS_N_VIEW_SWITCH.
      DATA LINE TYPE WD_THIS->ELEMENT_N_VIEW_SWITCH.
      LINE-TEXT    = 'Invoice'. "#EC NOTEXT
      LINE-ENABLED = ABAP_TRUE.
      APPEND LINE TO TAB.
    LINE-TEXT    = 'Delivery Status'. "#EC NOTEXT
      LINE-ENABLED = ABAP_TRUE.
      APPEND LINE TO TAB.
    Now I want to show an ALV report when the user presses the Invoice button. Please suggest how to write code in method ONACTIONON_VIEW_SWITCH (Action on Selection in View Switch). I guess we have tohandle it using the cases, but dont know the coding part of it.

    Hi Ashutosh,
    In order to use ALV, you have to define the usage of the component SALV_WD_TABLE in your component.
    You could refer the below link for the detailed step by step procedure.
    [ALV Document|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3439404a-0801-0010-dda5-8c14514d690d?overridelayout=true]
    You can alternatively use Table UI Element to achieve the same.
    Edited by: Anurag Chopra on Dec 9, 2009 2:44 PM

  • Horizontal Sliding Panels flicker IE

    Hello
    I'm using the horizontal Sliding Panel to slide some Images
    and text. It works fine with Safari on Mac, but with IE and Firefox
    on Windows the animation isn't very smooth (the problem concerns
    only the image, the text-sliding works fine). With the vertical
    Sliding Panels I don't have this problem...
    Can anyone help me? Thanks

    solaris23 wrote:
    > Hello Danilo
    >
    > Horizontal:
    http://www.miomedia.ch/test/SprySlidingPanels.html
    > Vertical:
    http://www.miomedia.ch/test/SprySlidingPanels2.html
    >
    > Look on the image in the horizontal slide, the animation
    flickers on the left
    > and right image-borders.
    > In the vertical slide the animation is much smoother.
    This probably has to do with the rendering of the moved
    elements on the page and IE redrawing portions of the images at a
    time during the slide. I'd suspect that the issue actually exists
    in the vertical slide as well, but is minimized due to the angled
    top and bottom of the images, but that's just a suspicion, not a
    known fact. It seems that if I look closely enough at the animation
    in Firefox it seems to be doing something similar, but it is indeed
    a good bit smoother than IE.
    > I'm using transparent png images, I've also tried with
    jpg, with different
    > duration time, different fps... but still the same
    problem....
    That would have been my suggestion too. A quick local copy of
    your page and it seems that making the duration 1000 milliseconds
    seems to help with moving left to right, but moving right to left
    still has a little bit of flicker.
    I tried making the images smaller and it seemed to be
    lessened, so perhaps it's IE and the larger images rendering. You
    might also try making the vertical lines of the screenshot to be a
    bit less vertical, or perhaps add a shadow or glow to the image to
    soften the hard vertical edge.
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • Horizontal Sliding Panels with 100% width

    Hi,
    Im trying to use horizontal sliding panels with a width of 100% for an expandable website. So far i got it working with the vertical sliding panles where if i increase the width of the site the sliding panels width increases as well, but how do i get them to float left and slide horizontally, if i change the slidingpanelscontentgroup width it messe up. so far here is the css:
    .SlidingPanelsP {
    width: 100%;
    position: relative;
    height: 300px;
    padding: 0px;
    border: none;
    .SlidingPanelsContentGroupP {
    width: 100%;
    position: relative;
    margin: 0px;
    padding: 0px;
    min-height:0;
    border: none;
    .SlidingPanelsContentP {
    float: left;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin: 0px;
    padding: 0px;
    border: none;
    .SlidingPanelsAnimatingP * {
    overflow: hidden !important;
    .SlidingPanelsCurrentPanelP {
    Thanks in advance

    Had a hard time find the solution, but this seem to work in major browsers, except Opera which does not like the 33.33% width apparently and shows a bit of next panel. You may be able to play with margin or padding to correct this behavior.
    You have to know the number of panels and make the calculation of the SlidingPanelsContent class width accordingly. Here's my test page and code for you:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Document sans nom</title>
    <script language="javascript" type="text/javascript" src="SpryAssets/SprySlidingPanels.js"></script>
    <link href="SpryAssets/SprySlidingPanels.css" rel="stylesheet" type="text/css" />
    <style>
    #slidingPanel_1 {
        height: 200px;
    .SlidingPanelsContentGroup {
        width: 300%;
    .SlidingPanelsContent {
        height: 200px;
        float: left;
        width: 33.33%;
    #content1 { background: yellow; }
    #content2 { background: red; }
    #content3 { background: green; }
    </style>
    </head>
    <body>
    <a href="#" onClick="sp1.showPanel(0);">Panel 1</a>
    <a href="#" onClick="sp1.showPanel(1);">Panel 2</a>
    <a href="#" onClick="sp1.showPanel(2);">Panel 3</a>
    <div id="slidingPanel_1" class="SlidingPanels">
         <div class="SlidingPanelsContentGroup">
            <div id="content1" class="SlidingPanelsContent">The Content 1</div>
            <div id="content2" class="SlidingPanelsContent">The Content 2</div>
            <div id="content3" class="SlidingPanelsContent">The Content 3</div>
         </div>
      </div>
    <script language="javascript" type="text/javascript">
       var sp1 = new Spry.Widget.SlidingPanels("slidingPanel_1");
    </script>
    </body>
    </html>

  • How to create Contextual Panel?

    Dear Friends..
    I want to make Contextual Panel in WD4A..
    But I don't know..how to create Contextual Panel..
    Please answer me..^^
    Thanks..

    Oh... I'm Sorry.
    I can't write english well..and I can't understand Navigation list and contexual panel.
    So.. I can study that.
    But..
    I make Contextual Panel reference CTX_NAV_PANEL View in WDR_TEST_EVENTS Component.
    'com.lang.abap.sap' line has right arrow just like '>'
    i think.. '>' click then.. another action happens..
    for example.. display sublist..
    'comp.lang.abap.sap.webdynpro'
    'comp.lang.abap.sap.webdynpro.viewdesigner'
    'comp.lang.abap.sap.webdynpro.runtime,X'
    'comp.lang.abap.sap.webdynpro.libraries'
    and so on..
    But nothing happens..
    How can I display sublist..

  • Horizontal Tabbed Panel Inside Vertical Tabbed Panel

    Hello!
    I am new to web coding and in dreamweaver I would like to place a horizontal spry tabbed panel as the content of a vertical spry tabbed panel.  I guess you could call it a nesting a tabbed panel.  However, when I place the horizontal panel in the content area, it takes the form of a vertical panel.  Any thoughts?
    Here is a live page of the issue: http://andrewpapp.com/baseballprofile.html
    and here is the code:
    http://www.andrewpapp.com/html.txt

    Hi Newbie,
    I say this through gritted teeth because I think you have done far better than just a newbie, even to the extent that you have given correct advice to Jennigje Galama.
    To get to your problem, have a look at the following example
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css">
    <style>
    .HTabbedPanels .TabbedPanels {
         margin: 0px;
         padding: 0px;
         float: left;
         clear: none;
         width: 100%; /* IE Hack to force proper layout when preceded by a paragraph. (hasLayout Bug)*/
    .HTabbedPanels .TabbedPanelsTabGroup {
         margin: 0px;
         padding: 0px;
    .HTabbedPanels .TabbedPanelsTab {
         position: relative;
         top: 1px;
         float: left;
         padding: 4px 10px;
         margin: 0px 1px 0px 0px;
         font: bold 0.7em sans-serif;
         background-color: #DDD;
         list-style: none;
         border-left: solid 1px #CCC;
         border-bottom: solid 1px #999;
         border-top: solid 1px #999;
         border-right: solid 1px #999;
         -moz-user-select: none;
         -khtml-user-select: none;
         cursor: pointer;
    .HTabbedPanels .TabbedPanelsTabHover {
         background-color: #CCC;
    .HTabbedPanels .TabbedPanelsTabSelected {
         background-color: #EEE;
         border-bottom: 1px solid #EEE;
    .HTabbedPanels .TabbedPanelsTab a {
         color: black;
         text-decoration: none;
    .HTabbedPanels .TabbedPanelsContentGroup {
         clear: both;
         border-left: solid 1px #CCC;
         border-bottom: solid 1px #CCC;
         border-top: solid 1px #999;
         border-right: solid 1px #999;
         background-color: #EEE;
    .HTabbedPanels .TabbedPanelsContent {
         padding: 4px;
    .HTabbedPanels .TabbedPanelsContentVisible {
    </style>
    </head>
    <body>
    <div id="TabbedPanels1" class="VTabbedPanels">
      <ul class="TabbedPanelsTabGroup">
        <li class="TabbedPanelsTab" tabindex="0">Tab 1</li>
        <li class="TabbedPanelsTab" tabindex="0">Tab 2</li>
      </ul>
      <div class="TabbedPanelsContentGroup">
        <div class="TabbedPanelsContent">
             <div id="TabbedPanels2" class="HTabbedPanels">
               <ul class="TabbedPanelsTabGroup">
                 <li class="TabbedPanelsTab" tabindex="0">Tab 1.1</li>
                 <li class="TabbedPanelsTab" tabindex="0">Tab 1.2</li>
               </ul>
               <div class="TabbedPanelsContentGroup">
                 <div class="TabbedPanelsContent">Content 1.1</div>
                 <div class="TabbedPanelsContent">Content 1.2</div>
               </div>
             </div>
        </div>
        <div class="TabbedPanelsContent">
             <div id="TabbedPanels3" class="HTabbedPanels">
               <ul class="TabbedPanelsTabGroup">
                 <li class="TabbedPanelsTab" tabindex="0">Tab 2.1</li>
                 <li class="TabbedPanelsTab" tabindex="0">Tab 2.2</li>
               </ul>
               <div class="TabbedPanelsContentGroup">
                 <div class="TabbedPanelsContent">Content 2.1</div>
                 <div class="TabbedPanelsContent">Content 2.2</div>
               </div>
             </div>
        </div>
      </div>
    </div>
    <script type="text/javascript">
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
    var TabbedPanels2 = new Spry.Widget.TabbedPanels("TabbedPanels2");
    var TabbedPanels3 = new Spry.Widget.TabbedPanels("TabbedPanels3");
    </script>
    </body>
    </html>
    What the vertical tabs does, is override the style rules of the normal (horizontal) tabs. Thats OK, but if we then want horizontal tags, we must resurrect the orginal style rules. We must also make sure that we choose the selectors carefully unless we want to rewrite the JavaScript file.
    I think the above approach is probably the best,
    Keep up the good work.
    Gramps

  • Contextual Panel issue

    Hi All,
    I'm trying to use the ContextualPanel. Problem is that you cannot set the panel to a 100% height.
    Does anyone created a workaround for this? The screen would look much nicer if this UI element has a 100% height.
    Regards,
    Bert

    Hi Bert,
    is it that 100% doesn't fill the whole page? Do any other UI elements that you put in that container fill the page if you use 100%? It's worth remembering that 100% means 100% of the current view container - if that container is not stretched to 100% of the overall view. Grid layout has stretched horizontal/vertical options, etc.
    Chris

  • How do you add a horizontal tabbed panel within the eCommerce "Individual-Product-Large" page?

    I am a new user to Business Catalyst and Muse web design... So sorry if this seems like a daft question
    I have created a website in Muse.
    Then I created the template page that BC can reference for the eCommerce area and inserted the tag to hold content from the BC - {tag_pagecontent}.
    I then created products and catalogues, grouped products etc - all groovy. Working great.
    I then decided that it was time to style the page as per my design - snap shot below (similar to how i did for the blog - which works great).
    So i started with the page layout.
    I managed to move the content from left to right and change widths, i then started to try to create the tabbed section in the same way and ba bowwwwww - epic fail
    I want to use a "Horizontal Tabbed Widget" as per the one i picked from Muse.
    I have a LOT of information that is unique for each product, so rather than have this huge page, its just easier to show it this way - plus it seemed pretty standard on other eCommerce site...
    But I am stumped.
    I'm so confused, i thought if i copied what seemed like a standard on other sites it would be fairly easy, especially since Muse has the Horizontal Tabbed widget - i though it would just come over to BC.
    Except, i can't get it to work...
    I'm not sure what i am doing wrong?
    A) I would like the "Individual-Product-Content" to look like the Horizontal Tabbed Widget in the screen shot of the original design from inside Muse below - im sure its possible.
    The Tabbed section is unique to the product, as is the description and the little icons bottom left and the ingredients.
    B) then the next conundrum is that each tab would have unique text to the product it is showing, how do i add those fields into the BC Product menu where the product is created and added to catalogues etc.
    I have searched and searched the web and have found nothing that is helpful.
    Anything that i have found only does a portion of what i need.
    I found something on jQuery - should i be using this?
    Or can i create the same thing using CSS?
    Or should i be combing jQuery with the BC Web Apps?
    I'd really just like help where i can be pointed in the direction of the instructions to achieve this.
    I even downloaded the BC instruction manual, which also has nothing.
    I'm sure that the answer is very very simple - but i'm just not experienced enough and after a week of trying to find the solution i thought i'd ask the experts!
    I really do appreciate anyone who takes the time to help me out.
    Thanks heaps!
    Muse Design:
    Current layout in Adobe BC:

    HI DAVIDFON, Thank you for replying to my post.
    I am using Adobe Business Catalyst to build the eCommerce component of the site. This is where i came a cropper.
    I'm not using Bootstrap or Foundation. I have done a little research on both and am wondering how easy it is to add the tabbed section to Business Catalyst with Bootstrap? nothing really explains this online...
    I'm also wondering how easy it is to put in custom information in the tabbed sections when the fields and tags are not available in Business Catalyst.
    Do you know if i can add custom fields and new tags in Business catalyst when you add products in BC?
    I'm sure you can but i can't find any reference to this online either?
    Thanks for your help.

  • Lost the horizontal tool panel down the left side of the screen.  I can't find anyway to bring it back.

    My tool panel disappeared on me and I have not been able to locate any option to bring it back.  I have reset tools and nothing happened.  There is supposed to be an options function that will bring it back but I can't find it.

    Try
    Window > Tools
    and if that does not help try another Workspace (Window > Workspace > …).

Maybe you are looking for