Where is the code for the collapse button in the default SAP iview layout?

I need to eliminate the collapse/restore button displayed on each iView tray. I was looking at the default layout component (com.sap.portal.layouts.default) but I could not find the code for the tray.  The code for "FullWidth.jsp" (this file that implements the "FullWidth" component) is below:
<%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibHtmlb" prefix="hbj" %>
<%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibLayout" prefix="lyt" %>
<lyt:template>
    <hbj:content id="myContext" >
        <hbj:page title="Portal Page">
            <lyt:container id="column1"  />
        </hbj:page>
    </hbj:content>
</lyt:template>
as you can see, there is no reference to the tray tags.
note: I am familiar with how to create a new iView tray using the new Layout Tag Library (from blog below)
EFP: Layout Tag Library
, but I want am not interested in this approach... All I want is to modify the EXISTING tray.

Hi,
may be it's helpful for you.
http://blog.flexexamples.com/2010/05/18/changing-the-background-color-of-a-disabled-spark- textarea-control-in-flex-4/
Regards
-Bechar

Similar Messages

  • Add the option for a close button on the Scattered setting .

    Add the option for a close button on the Scattered setting ... like you have with all the other options - needed for touch devices as the roll out is no use on an ipad or iphone etc etc....

    This was the original code I got:
    Main FLA: (on AS layer inside DropDownButton Movie Object)
    function removeF() {
    removeChild(myLoader);
    var myLoader:Loader=new Loader ();
    page1_mc.addEventListener(MouseEvent.CLICK, page1content);
    function page1content(myevent:MouseEvent):void {
    var myURL:URLRequest=new URLRequest("page1.swf");
    myLoader.load(myURL);
    addChild(myLoader);
    EXTERNAL FLA: (on main time line of this file)
    close_mc.addEventListener(MouseEvent.CLICK, closeMC);
    function closeMC(myevent:MouseEvent):void {
    MovieClip(parent.parent).removeF();
    Main.FLA
    myLoader=bigboreLoader (my new loader)
    page1_mc=btnbb2 (the button who event will call external swf)
    page1content = bigborecontent (name given to SWF being loaded???)
    myURL=bigboreRequest (my new URLrequest for bigbore)
    page1.swf=moduletemplate.swf (actual address of what I am loading)
    External.FLA
    close_mc=button that will close external swf
    closeMC=movie clip to close?

  • I forgot the code for my iPhone to access the Home screen I do , please help me try formatting the iphone but when I put in nfc mode and connect it to the pc recognizes it and everything when you try to format the error 3004 appears

    I forgot the code for my iPhone to access the Home screen I do , please help me
    try formatting the iphone but when I put in nfc mode and connect it to the pc recognizes it and everything when you try to format the error 3004 appears

    Hello polo-angulo,
    I apologize, I'm a bit unclear on the nature and scope of the issue you are describing. If you are saying that you are getting an error code (3004) when you try to restore your iPhone (because you could not remember your passcode), you may find the information and troubleshooting steps outlined in the following articles helpful:
    Resolve iOS update and restore errors in iTunes - Apple Support
    Get help with iOS update and restore errors - Apple Support
    Sincerely,
    - Brenden

  • What would be the code for a previous button?

    I am passing Strings from an array to JTextArea. When I hit the "next" button on my jtoolbar, it shows the next string in the array. This is the code I have for the next button:
    static final public String NEXT = "next";
    String cmd = e.getActionCommand();
    String[] arr =
    "the strings",
    "that i am",
    "passing to JTextArea"
    if(NEXT.equals(cmd)
    showNextValue();
    public void showNextValue()
    textArea.setText(arr[index]);
    index = (index+1)%arr.length;
    My question is:
    how would I write the code for the method showPreviousValue() without getting an indexoutofbounds exception? It would do the same thing as showNextValue, but show the user the previous string when they hit the previous button.
    Thank you!!!

    how would I write the code for the method showPreviousValue() without getting an indexoutofbounds exception?I'm guessing that you tried something and got an IndexOutOfBounds exception. You might do better to post what you tried.
    Basically you need to figure out why the exception occurs - for instance by printing the value of the expression that you were using as the index value. And then figure out some way of avoiding that problem. (Probably a little bit of arithmetic.)

  • What is the code for a reset button that puts the program to start?

    What is the code?
    reset_btn.addEventListener(MouseEvent.CLICK, reset);
    function reset(event:MouseEvent):void
         //Reset all variables and send the playhead to the appropriate frame
    doesn't work!

    Hi,
    I think you are using the pre-defined keyword (RESET), thats why you are facing the problem, try the other word and your problem will be solved, i have tried it in FLASH CS5.
    reset_btn.addEventListener(MouseEvent.CLICK, resetHandler);
    function resetHandler(e:MouseEvent):void
         //Put code reset logic here.
    It will work, as it is properly working.
    VIPUL

  • Where is the code for html template stored on the server

    I would like to make changes to the html template source code, mainly to update the hard coded server name in it.
    Instead of doing one by one in portal builder, I would like to search for all on the server.
    Can someone tell me where are they stored?
    Thanks.

    wow!
    well, if you wish to do it programmatically, you will have something generic to search and replace (like the hardcoded servername as you said). that will not be sitting in any variable to go and edit. in other words, you wanna edit an uncategorized content value so it will be a job to search and find it in a general text attribute/field value. it will be a pain.
    one method could be to write a script (shell, nt, csh, sh, or simply sed) to make all of those generic changes in any template content. now copy and paste all items out in a temp file, run the script, and paste back the output to the template.
    however, if you're determined to modify uncategorized content using APIs, you might wanna try this:
    Look into wwsbr_api.set_attribute and look for wwsbr_api.ATTRIBUTE_ITEM_TEMPLATE to focus on the template you have. It might work out. more on it is here.
    hope that helps!

  • Streamlining the code for the button group with individual links and rollover imgs

    I am looking for a solution to streamline the code for the array of 20+  buttons located inside the scroll pane.
    I know I can make an array if all the buttons would have a unified code executable change, i.e. they would become larger and brighter.
    My problem is that each button represents an product image in the lights off stage, then of rollover it is a lights on stage so I have to import two images in the on and off stage and play around with the opacity.
    Additional problem is that each button has to ling to a different label.
    My question is: is it possible to unify the code if buttons have that much individuality or I have to make each one of them as in the example below.
    // makes a hand cursor appear over a mc acting as a button for all the buttons inside the scrollpnaeBckgrnd_mc.scrollpaneBckgrnd_btns_mc.
    MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.buttonMode = true;
    MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.useHandCursor = true;
    ///////////////INDIVIDUAL BUTTONS
              MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.FloraLyte _btn.FloraLyte_ON.alpha = 0;
                        var  FloraLyte_btn_Tween:TweenLite = TweenLite.to(MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.F loraLyte_btn.FloraLyte_ON, .5, {alpha:1, paused:true});
                        MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.Flor aLyte_btn.addEventListener(MouseEvent.ROLL_OVER, overHandler_FloraLyte_btn);
                        MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.Flor aLyte_btn.addEventListener(MouseEvent.ROLL_OUT, outHandler_FloraLyte_btn);
            MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.FloraLyte_btn. addEventListener(MouseEvent.CLICK, onClick_floralytePopUp);
                      function onClick_floralytePopUp(event:MouseEvent) :void {
                                            gotoAndPlay("floralytepp");
    function overHandler_FloraLyte_btn(e:MouseEvent):void{
             FloraLyte_btn_Tween.play();
             trace("you rolled over me");
    function outHandler_FloraLyte_btn(e:MouseEvent):void{
             FloraLyte_btn_Tween.reverse();
             trace("you rolled off me");
    MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.FloraLytell_btn .FloraLytell_ON.alpha = 0;
                        var  myTween:TweenLite = TweenLite.to(MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.F loraLytell_btn.FloraLytell_ON, .5, {alpha:1, paused:true});
                        MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.Flor aLytell_btn.addEventListener(MouseEvent.ROLL_OVER, overHandler);
                        MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.Flor aLytell_btn.addEventListener(MouseEvent.ROLL_OUT, outHandler);
            MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.FloraLytell_bt n.addEventListener(MouseEvent.CLICK, onClick_floralytellPopUp);
                      function onClick_floralytellPopUp(event:MouseEvent) :void {
                                            gotoAndPlay("floralyte2pp");
              function overHandler(e:MouseEvent):void{
             myTween.play();
             trace("you rolled over me");
              function outHandler(e:MouseEvent):void{
             myTween.reverse();
             trace("you rolled off me");

    as ned suggested, plan your flow and code into it. here is one example:
    var buttonArray = [someButton, someOtherButton, aDifferentButton];
    for(var i = 0; i < buttonArray.length; i++){
         //get reference to county movieclip
         var mc = buttonArray[i];
         //then add listeners
         mc.addEventListener(MouseEvent.ROLL_OVER, overMe);
    function overMe(e:MouseEvent){
         var mc = e.target;
         switch(mc){
              case: someButton:
                       someOtherButton:   doThis();
                                                     break;
              case: aDifferentButton:     doThat();
                                                     break;
              default:                            //do nothing;
                                                     break;
    function doThis(){
         trace("do this")
    function doThat(){
         trace("do that")

  • How to find where the code for append structures for LIS extractors?

    Hi,
    I found 4 append structures for extractor 2LIS_03_BF,
    Out of 4 append structures, I found code for one, using where-used option. But in vain for other 3. Is it possible they didn't transport the code for remaining structures? how to find that?
    Cheers,
    Kannan N

    Kannan,
    When ever you apply a logic to populate tdata for the appended filed then you will be writing some code in CMOD transaction code where you will find a ZXRSAU01
    program, just double click on that then it will take you to the complete exit. Ther you can find with your data source name.
    Hope it helps...
    ****Assign Points if it helps******
    Gattu

  • I purchased an itunes gift card for my nephew. I received a confirmation that the credit card had been debited, however he never received a code to activate his gift. Where can I find out the code for my gift voucher?

    I purchased an itunes gift card for my nephew. I received a confirmation that the credit card had been debited, however he never received a code to activate his gift. Where can I find out the code for my gift voucher?

    If you purchased your gift using iTunes, you can resend it. Just follow these steps to resend an unredeemed gift to any address:
    http://support.apple.com/kb/HT1541

  • Where to copy the codes for flow logic?

    Hi.
    I know that SE37 is to access the source code for function modules,
    and SE38 is to access the source codes for programs/reports.
    Does anyone know where I could get the codes for the<b> flow logic of the dialog screens</b> called by my programs?
    Thanks.

    Hi,
    SE80 transaction
    Select program in drop down & enter the program name
    Best regards,
    Prashant

  • I have the lengthy code for a PayPal button. I tried to past it in an iWeb welcom page and all I get is the code. No button. Can you help me?

    I have the lengthy code for a PayPal button. I tried to past it in an iWeb welcome page and all I get is the code. No button. Can you help me?

    OT

  • How to customize the code for default scroll buttons provided in the table?

    Hi Everyone,
    I want to customize the code for default 'next page' navigation button provided in a table. If this is possible then how it can be done?
    Thanks,
    Swati

    do you mean 'footer' of table, which used to scroll table contents?
    Table footer button is not editable.
    Instead you can try buttons in the table tool bar and can swap elements in the table.And also table footer can be set to showfootoer: false.
    refer thread: [Table Element Swapping|Re: Table with special requirement]
    nikhil

  • Where is the code for the  contentBackgroundColor  in the spark textArea

    Where is the code for the  contentBackgroundColor  in the spark textArea, I can't seem to locate it anywhere but you can set the contentBackgroundColor in the <s:TextArea tag

    Hi,
    may be it's helpful for you.
    http://blog.flexexamples.com/2010/05/18/changing-the-background-color-of-a-disabled-spark- textarea-control-in-flex-4/
    Regards
    -Bechar

  • Where do I put the code for ePrint mobile?

    I am currently signed in and can't find the area for ePrint mobile.

    Hi MalWill456,
    Which code are you talking about?:
    - The ePrint code that printed off when web services was enabled?
    - The code for the HP ePrint Home and Biz app?
    - The code or server for the HP ePrint Service app?
    Depending on which code you need, you would obtain it different ways.
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • How to write the code for a panel when using treeview?

    Hi,
    We are developing a new plug-in in Indesign as based on treeview. we have completed the design part, but we have some doubts in coding..
    One dialog widget and three panels(General, fitting, Eventsandscripts).
    The .fr file:
    resource GeneralPanelWidget (kGeneralPanelResourceID)
              __FILE__, __LINE__,
              kGeneralPanelWidgetID,      // WidgetId
              kPMRsrcID_None,         // RsrcId
              kBindNone,              // Frame binding
              Frame(0,0,800,500)      // Frame
              kTrue,                  // Visible
              kTrue,                  // Enabled
              kGeneralPanelTitleKey,                    // Panel name
                        StaticTextWidget
                                  kInvalidWidgetID,                                                                                // WidgetId (default=0)
                                  kSysStaticTextPMRsrcId,                    // RsrcId
                                  kBindNone,                                                            // Frame binding
                                  10, 15, 138, 35,                                                  // Frame: left, top, right, bottom.
                                  kTrue, kTrue,                                                  // Visible, Enabled
                                  kAlignLeft, kEllipsizeEnd,kTrue,                    // Alignment, ellipsize style
                                  ksamPrefProjectPathStringKey,                    // Initial text.
                                  ksamPrefProjectPathTextEditBoxWidgetID          // No associated widget
                        // TextEditBox Widget resource
                        TextEditBoxWidget
                        ksamPrefProjectPathTextEditBoxWidgetID, // WidgetId
                        kSysEditBoxPMRsrcId, // RsrcId
                        kBindNone, // Frame binding
                        Frame(140, 15, 420, 35), // Frame (l,t,r,b)
                        kTrue, kTrue // Visible, Enabled
                        0, // Widget id of nudge button (0 so we dont get one)
                        0, 0,// small,large nudge amount
                        0, // max num chars(0 = no limit)
                        kFalse,// is read only
                        kFalse,// should notify each key stroke
                        kFalse,// range checking enabled
                        kFalse,// blank entry allowed
                        0, // Upper bounds
                        0, // Lower bounds
                        "", // Initial text
                        ButtonWidget
                                  ksamChooseProjectButtonWidgetID,
                                  kSysButtonPMRsrcId,
                                  kBindNone,
                                  430, 15, 500, 35,
                                  kTrue, kTrue,
                                  ksamChooseBtnStringKey,
                        StaticTextWidget
                                  0,                                                                                // WidgetId (default=0)
                                  kSysStaticTextPMRsrcId,                    // RsrcId
                                  kBindNone,                                                            // Frame binding
                                  10, 45, 138, 65,                                                  // Frame: left, top, right, bottom.
                                  kTrue, kTrue,                                                  // Visible, Enabled
                                  kAlignLeft, kEllipsizeEnd,kTrue,                    // Alignment, ellipsize style
                                  ksamPrefImagePathStringKey,                    // Initial text.
                                  ksamPrefImagePathTextEditBoxWidgetID                    // No associated widget
                        // TextEditBox Widget resource
                        TextEditBoxWidget
                        ksamPrefImagePathTextEditBoxWidgetID, // WidgetId
                        kSysEditBoxPMRsrcId, // RsrcId
                        kBindNone, // Frame binding
                        Frame(140, 45, 420, 65), // Frame (l,t,r,b)
                        kTrue, kTrue // Visible, Enabled
                        0, // Widget id of nudge button (0 so we dont get one)
                        0, 0,// small,large nudge amount
                        0, // max num chars(0 = no limit)
                        kFalse,// is read only
                        kFalse,// should notify each key stroke
                        kFalse,// range checking enabled
                        kFalse,// blank entry allowed
                        0, // Upper bounds
                        0, // Lower bounds
                        "", // Initial text
                        ButtonWidget
                                  ksamChooseImgpathButtonWidgetID,
                                  kSysButtonPMRsrcId,
                                  kBindNone,
                                  430, 45, 500, 65,
                                  kTrue, kTrue,
                                  ksamChooseBtnStringKey,
                        StaticTextWidget
                                  0,                                                                      // WidgetId (default=0)
                                  kSysStaticTextPMRsrcId,                    // RsrcId
                                  kBindNone,                                                            // Frame binding
                                  10, 75, 138, 95,                                                  // Frame: left, top, right, bottom.
                                  kTrue, kTrue,                                                  // Visible, Enabled
                                  kAlignLeft, kEllipsizeEnd,kTrue,                    // Alignment, ellipsize style
                                  ksamPrefMasterTempPathStringKey,                    // Initial text.
                                  ksamPrefMasterTemplatePathTextEditBoxWidgetID                    // No associated widget
                        // TextEditBox Widget resource
                        TextEditBoxWidget
                        ksamPrefMasterTemplatePathTextEditBoxWidgetID, // WidgetId
                        kSysEditBoxPMRsrcId, // RsrcId
                        kBindNone, // Frame 85
                        Frame(140, 75, 420, 95), // Frame (l,t,r,b)
                        kTrue, kTrue // Visible, Enabled
                        0, // Widget id of nudge button (0 so we dont get one)
                        0, 0,// small,large nudge amount
                        0, // max num chars(0 = no limit)
                        kFalse,// is read only
                        kFalse,// should notify each key stroke
                        kFalse,// range checking enabled
                        kFalse,// blank entry allowed
                        0, // Upper bounds
                        0, // Lower bounds
                        "", // Initial text
                        ButtonWidget
                                  ksamChooseMasterTempButtonWidgetID,
                                  kSysButtonPMRsrcId,
                                  kBindNone,
                                  430, 75, 500, 95,
                                  kTrue, kTrue,
                                  ksamChooseBtnStringKey,
    CheckBoxWidget
                                  ksamShowFrameLabelCheckBoxWidgetID,                              // WidgetId
                                  kSysCheckBoxPMRsrcId,                                                                      // RsrcId
                                  kBindNone,
                                  Frame( 10, 165, 320, 185)                                                            //  left, top, right, bottom
                                  kTrue,                                                                                                              // Visible
                                  kTrue,                                                                                                              // Enabled
                                  kAlignLeft,                                                                                                    // Alignment
                                  ksamShowFrameLabelChkBoxTextKey                                        // Initial text
    DefaultButtonWidget
                                  kOKButtonWidgetID,                    // WidgetID
                                  kSysButtonPMRsrcId,                    // RsrcID
                                  kBindNone,                                        // Binding 
                                  320, 380, 390, 400,                    // Frame (l,t,r,b)  
                                  kTrue, kTrue,                              // Visible, Enabled
                                  ksamPrefSaveStringKey,          // Button text
                        CancelButtonWidget
                                  kCancelButton_WidgetID,          // WidgetID
                                  kSysButtonPMRsrcId,                    // RsrcID
                                  kBindNone,                                        // Binding
                                  400, 380, 470, 400,                    // Frame (l,t,r,b)
                                  kTrue, kTrue,                              // Visible, Enabled
                                  ksamPrefCancelStringKey,          // Button name
                                  kTrue,                                                  // Change to Reset on option-click.
    This is for General panel design and we have written the code for this..but we dont know where to call this functions. we implemented this plug-in based on BasicSelectableDialog sample plug-in. please guide me to complete this code.
    Thanks in Advance..

    Your question is not very clear. Have you gone through the PanelTreeView.sdk example in the sdk?

Maybe you are looking for