Hide button in Embedded View

Hello All,
I have 2 webdynpro applications. In mt first webdynpro application I have a view in that I have used View container UI element and in that I have embedded my 2nd webdynpro application. This view contains the button called "back" to 1st application.
In my 2nd webdynpro applications there are 2 views Main view and details view.
My requirement is that the "Back" button should be invisible when user goes to the details view of 2nd webdynpro applcation.
Please suggest some solution for this.
Thanks,
Bharat

The first webdynpro will need to have a node which is an 'interface' . The context node that you will create ( to turn of the visibility of the button ) will then be accessible in the 2nd dynpro. It is here then that you set the visible property of the button to false. ( and thus invisible )
The node in the first will need the isInputElement  property on to be available in the second. ( to my recollection )
The Internal Web Dynpro component is used by the Embedder Web Dynpro component. The original data is stored in the component controller context of Embedder. To be able to access this data from within a Web Dynpro component of type Internal, the corresponding context elements must first be declared as u201Cmappableu201D in the context of the component interface controller. To do this, the element property isInputElement is set to true
Using External Context Mapping
http://help.sap.com/saphelp_nw2004s/helpdata/en/d7/e551cf896c3a49bb87bb4ce38c99c8/frameset.htm

Similar Messages

  • Creation and Visiblity of Buttons in a View

    Hi,
    I wish to create buttons in a view without the help of HTML coding.
    I implemented the interface IF_BSP_WD_TOOLBAR_CALLBACK and using the methods of it I was able to display the buttons of the view.
    But when I tried inserting the above view in a View Set or Over View page I am unable to see the buttons.
    Is there any chance of displaying the buttons of the view while embeded in a over view page or over view set without the help of HTML Coding.
    Hope I am clear on my question
    Regards
    Edited by: SAP LEARNER on Oct 13, 2011 11:30 AM

    Armin Reichert: see TJA311 WebDynpro Part 1 Unit 10, example optional 1 solution  6-3,6-4 -))
    my new conclusion is that any UI elements should only be access in wdDoModifyView method
    the javadoc discourage from using instance fields not static fields but recommends not to use UIs outside of the method:
    Hook method called to modify a view just before rendering.
    This method conceptually belongs to the view itself, not to the
    controller (cf. MVC pattern).
    It is made static to discourage a way of programming that
    routinely stores references to UI elements in instance fields
    for access by the view controller's event handlers, and so on.
    The Web Dynpro programming model recommends that UI elements can
    only be accessed by code executed within the call to this hook method.

  • GS_CM. How to hide buttons: 'Attachment' and 'URL'

    Hi,
    Business object 'catalog product' use component GS_CM
    We want to hide buttons: Attachment and URL
    We need to use only button Advanced.
    How I can customize it?
    Denis.

    Dear Denis,
    Enhance Component GS_CM and view DocList.
    Redefine method IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS and implement the following code:
    super->IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS( ).
    delete gt_button where id ne 'advanced'.
    Hope this helps.
    Thanks
    Vishal
    Edited by: Vishal Kesar on Aug 9, 2011 2:07 PM

  • HIde button on events

    Hi,
    Can some body elaborate how to hide buttons on events.
    Regards
    Sameer

    Hi,
    You can use PPR.
    Step 1. create a VO which contains one transient attribute of type boolean
    Step 2. Base button rendered property using SPEL
    Step 3. Initialize your VO for PPR(inintialization includes insertion of one row and set the attribute as True)
    Step 4. In the event handler where you want to hide button just set it false.
    Sample code:
    //Code to hide button
    public void handlePoApproveChangeEvent()
    // Get the special, single-row application properties and make the first
    // (only) row current.
    OAViewObject vo = (OAViewObject)findViewObject("SampleBrowserPVO1");
    OARow row = (OARow)vo.first();
    // Get the value of the view object attribute with the PO Approval
    // status.
    OAViewObject poVO = (OAViewObject)findViewObject("PurchaseOrderHeadersVO1");
    OARow poRow = (OARow)poVO.getCurrentRow();
    String status = (String)poRow.getAttribute("StatusCode");
    // Set the application property values based on the PO Approval
    // status value.
    if ("APPROVED".equals(status))
    row.setAttribute("HideButton", Boolean.FLASE);
    //Code to initialize VO
    public void initializePPRExamplePage()
    // Create purchase order header
    OAViewObject appPropsVO =
    (OAViewObject)findViewObject("SampleBrowserPVO1");
    if (appPropsVO != null)
    // If the VO already has a row, skip its initialization. Note that
    // calling getFetchedRowCount() won't perform a DB hit on a VO with
    // no SELECT and only transient attributes.
    if (appPropsVO.getFetchedRowCount() == 0)
    // Setting the match fetch size to 0 for an in-memory VO
    // prevents it from trying to query rows.
    // Calling executeQuery() is a small workaround to a known
    // BC4J issue that ensures that modified rows in this
    // transient view object are not lost after commit. See
    // View Objects in Detail for additional information about
    // both of these calls.
    appPropsVO.setMaxFetchSize(0);
    appPropsVO.executeQuery();
    // You must create and insert a row in the VO before you can start
    // setting properties.
    Row row = appProposVO.createRow();
    appPropsVO.insertRow(row);
    // Set the primary key value for this single-row VO.
    row = (OARow)appPropsVO.first();
    row.setAttribute("RowKey", new Number(1));
    row.setAttribute("HideButton",Boolean.TRUE);
    // Initialize the application properties VO (and the UI) based on the
    // default PO approval value set on the underlying object.
    handlePoApproveChangeEvent();
    else
    // throw exception
    } // end initializePPRExamplePage()
    SPEL Parameter:
    ${oa.myVOName.HideButton}
    Hope this help, Please refer JDeveloper guide for Topic Dynamic User Interface.
    Regards,
    Reetesh Sharma

  • Why is my "hide toolbar" in the View grayed out.  I am not able to show the toolbar.

    I cannot keep the Safari toolbar showing.  The "Hide Toolbar" in the View tab is grayed out.  Also, I cannot get the dock to not hide.

    Press the escape (esc) key to exit full-screen mode.

  • How to Print the whole view content from a button on the View Layout

    Dear All,
    Good Morning All
    I am New to WebDynPro.Solution needed Urgently
    How to take print whole view content(lay out) in
    webdynpro application.i.e whatever it may be tablecontent or label or inputfield .
    Could you send the coded part briefly step by step from the beginning itself i.e
    i put the button in the view lay out below the printed parts(label or inputfield) name like show preview .
    Now my Question is what should i write in show preview function to take the print in label fields in the webdynpro view lay out
    B'cos i am new to webdynpro.Help me
    Thx in advance
    Regards
    Dhinakar

    Web Dynpro by default does not provide the option of printing the view content.
    However still you have a round about way of doing it. Create the an html page similar to the Web Dynpro page. Store the code into a String variable.
    String html="<html> ....<scripts>window.print()</scripts></html>";
    bytes[] source=html.getBytes();
    try{
    byte[] b=new byte[1];
    IWDCachedWebResource res=WDWebResource.getWebResource(b,WDWebResourceType.HTML);
    String url=res.getURL();
    }catch (WDURLException e) {
              // TODO: handle exception
    Now open the url in a new window and that would print the content of the html page.
    Regards,
    Noufal

  • How to Print the whole view content  from a button on the view

    Dear All,
    Good Morning All
    I am New to WebDynPro.Solution  needed Urgently
    How to take print whole view content(lay out) in
    webdynpro application.i.e whatever it may be tablecontent or label or inputfield .
    Could you  send the coded part briefly  step by step from the beginning itself i.e
    i put the button in the view lay out below the printed parts(label or inputfield) name like show preview .
    Now my Question is what should i write in show preview function to take the print in label fields in the webdynpro view lay out
    B'cos i am new to webdynpro.Help me
    Thx in advance
    Regards
    Dhinakar

    Web Dynpro by default does not provide the option of printing the view content.
    However still you have a round about way of doing it. Create the an html page similar to the Web Dynpro page. Store the code into a String variable.
    String html="<html> ....<scripts>window.print()</scripts></html>";
    bytes[] source=html.getBytes();
    try{
    byte[] b=new byte[1];
    IWDCachedWebResource res=WDWebResource.getWebResource(b,WDWebResourceType.HTML);
    String url=res.getURL();
    }catch (WDURLException e) {
              // TODO: handle exception
    Now open the url in a new window and that would print the content of the html page.
    Regards,
    Noufal

  • Launching URL clicking on a button of a view of BSP Component

    Hi  Gurus,
    I have a requirement of opening a webdynpro URL by clicking on a button in a view of a standard BSP component. I have created one transaction launcher and assigned it to a logical link " ZOPP_CRT". In the event handler of the button I have written the following code.
    method EH_ONOPP_NEW.
    Added by wizard: Handler for event 'OPP_NEW'
    data: lv_nav Type ref to if_crm_ui_navigation_service.
    lv_nav = cl_crm_ui_navigation_service=>get_instance( me ).
    lv_nav->navigate( iv_link_id = 'ZOPP_CRT' ).
    endmethod.
    I have also checked the following links:
    Event triggers transaction launch
    Requirements using Transaction Launcher
    Still it is not working. Please suggest.
    Thanks

    Hi Raghunadh,
    You can find the details here:
    [http://wiki.sdn.sap.com/wiki/display/CRM/SAPCRMTransactionLaunchertoSAPERPBORObjects-Debugging|http://wiki.sdn.sap.com/wiki/display/CRM/SAPCRMTransactionLaunchertoSAPERPBORObjects-Debugging]
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3059fb20-987f-2e10-ef82-d147b9b5e8b4?QuickLink=index&overridelayout=true|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3059fb20-987f-2e10-ef82-d147b9b5e8b4?QuickLink=index&overridelayout=true]
    Regards
    Leon

  • How to hide subfolders in Outlook view in iPhone

    Need to hide all subfolders tht comes over from Outlook into my iPhone, takes forever to scroll down when all is showing. Is there a way?

    Humm....... you want to hide it in Design View whilst working on the rest of the site?
    If that is the case set the menu container <div> to display: none; -
    <div id="menu" style="display: none;">This is the content menu</div>
    Then either set it to display: block; when you're ready to view it live or remove the style completely.

  • How to hide content in design view within Dreamweaver?

    How can I hide content in design view within Dreamweaver?
    I have a tabbed content menu that uses some javascript. Everything looks great in Live view, but when I go to design view, all the content goes way beyond the div. How can I make it to where I can hide the content in that div in design view or wrap it completely inside of there? It's really hard to explain which is why I provided some pictures!
    LIVE VIEW
    DESIGN VIEW
    Thank you in advance for all the help!
    Dalton

    Humm....... you want to hide it in Design View whilst working on the rest of the site?
    If that is the case set the menu container <div> to display: none; -
    <div id="menu" style="display: none;">This is the content menu</div>
    Then either set it to display: block; when you're ready to view it live or remove the style completely.

  • Remote Panels not working in embedded viewing mode

    Hello,
    I'm trying to develop a web version of my project using Labview remote panels. I configured the web server properties as it's described here: http://www.ni.com/white-paper/4791/en/
    Currently I'm trying to create the web page on the web publishing tool. However when I select the Embedded viewing mode option I get an "Requested VI is not loaded into memory on the server computer" error on the web page that is created. But if I select Snapshot or Monitor viewing mode option the page is loaded without problems.
    I'm using Labview 2013 and oppening the web page in google chrome. The VI from which I'm trying  to create a remote panel has some subVIs that show the front panel when called. Is there anything I'm forgetting to configure, or do I need to have any plugins instaled on my browser?
    Solved!
    Go to Solution.

    Mateus23 wrote:
    I'm now developing the web version in HTML 5, using web services to comunicate with my labview application.
    There you go, good solution. When doing this remember that you have access to the database on the server. A structure I have found effective is to use the server DB like a dropbox that I write to, and the web server reads from.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Hide Button in Applications WD ABAP Travel Standard

    Dear Experts.
    Please Someone can help me with suggestions for the following issue that I have in this moment:
    I need hide the button "Entrada Nueva" "New Entry" for the component[ fitv_vc_advances|http://img842.imageshack.us/img842/2719/fitvvcadvances.png]
    I found that this is posible using the t.code FITVFELD_WEB that controls the input fields within the portal.
    But I am checking and I don't find this with this t.code for hide this button.
    Thanks in advance,
    Regards
    Carmen G

    Hi,
    are you using ESS in portal?
    you can hide button through iView
    choose iView form Content Management, then preview.
    press "Ctrl" button  (@ button you want to hide) combine with right click of your mouse, then you can set the button invisible.
    hope it helps

  • HT5361 When inserting pictures in a new mail message using the " photo browser" button I can view and select photos but the " choose "  button is gone. What have I done wrong?

    When inserting pictures in a new mail message using the " photo browser" button I can view and select photos but the " choose "  button is gone. What have I done wrong?

    Hi Liz,
    Sorry to hear you are having a similar problem.  Last night I went to the tool bar at the top of iphoto, clicked on "File",  then clicked "Browse Backups" in the drop down menu.    I have an external hard drive that is set up to Time Machine.   The Browse Backups  opened the iphoto pages in the Time Machine.  I selected a date one day ahead of the day I performed the now infamous update, and it showed my iphoto library as it had existed that day.   I then clicked  "Restore Library" at the bottom right corner of the Time Machine screen.   Roughly 2 hours later my iphoto was back to normal.   When I opened iphoto there was a message saying I need to upgrade my program to be compatible with the new version of iphoto(version 9.2.1).  I clicked "Upgrade" and within seconds it had done whatever upgrading it needed to do. 
    The only glitch in the restoration was that it restored the library as it appeared last week, so I no longer had photos I had imported this past weekend.   I simply went back to the Browse Backups in the drop down menu,  when Time Machine opened I selected the page showing my pictures from this weekend and again said to Restore Library.   Roughly 45 minutes later the library was restored including the most recent photos.  
    I am now a happy camper. 
    I don't know if any of this will be of help to you because your email says you are having trouble with photos imported after the upgrade was performed.   Have you had any pop up notices when you first open iphoto,  that tell you you need an upgrade to be compatible with the new iphoto?     If so have you clicked "upgrade"? 
    Good luck Liz,  if you have Time Machine running as a back up to your library, maybe you wil be able to get help there, by following my instructions above.   Otherwise,   good luck with your investigations.   I'd be interested in hearing how you make out.
    Karen

  • CHM buttons are not localized in a French project (shows English Contents, Index, Search, Print, Hide buttons)

    I opened an old WinHelp project into my new RoboHelp 7. When
    I generate the CHM, even with the Project Settings in RoboHelp set
    to French and running in a French Windows operating system (MS
    Windows XP Pro 2002 SP 2), the CHM output is still in English. The
    buttons display in English (Contents, Index, Search, Print, Hide
    buttons). The title bar of the CHM also says &quot;HTML
    Help&quot; even though the project title in the Project
    Settings is &quot;Aide en ligne...&quot;.
    My Windows Regional Settings through the Control Panel -
    Regional Options tab is set French (France). On the Languages tab I
    under Text Services and Input Languages, Details button, I selected
    French (France) French. On the Advanced tab I selected French. Then
    I rebooted.
    On the language bar on my Task pane, I selected FR. The CHM
    still displays in English.
    Please help! I have to produce 4 CHMS in languages other than
    English today.
    Thanks!

    GinaL, would you be able to give us an update? Did the CHM
    files look ok on a PC with a true French OS installed?
    To avoid having to rewrite everything, I've written the
    following info/instructions for my team -- though I'm not yet sure
    they're 100% correct:
    After I reported this issue to Adobe, they worked on the
    problem for several days. They even sent me a new
    HtmSingleSourceHtmlHelp.dll file that was supposed to solve the
    problem. But it didn't work correctly. No matter what contortions
    we put ourselves through, we couldn't get both of these items
    correct in the CHM file at the same time, namely:
    Index compiled in correct alphabetical order accdg to the
    language of the help project.
    Correctly translated help title showing in the caption,
    regardless of the user's Windows regional settings. (For example,
    we wanted "FORMS-Hilfe zu FORMS 5-3" to appear as the caption of
    the German version of FORMS help, even if our regional settings
    were set to English.)
    I think we'd all agree that the index has to be in
    alphabetical order. So from what I've seen, this is what we have to
    do when compiling a non-English version of help using RH7:
    1. Set up the project with the foreign name.
    2. Set the language in the project settings. And in the
    Project Settings dialog, click Advanced and check out the LNG File
    tab to make sure it's using a translated version.
    3. Ensure that the Window Caption setting is correct in each
    window included in the project. (On RoboHelp's Project tab, open
    the Windows folder, double-click each window in turn, and check the
    settings.)
    4. Set the Language setting in the HHP file to Language=[hex
    value for that language]. I found a bunch of them listed on this
    web page. Someone else might be able to find a better source:
    https://svn.origo.ethz.ch/scoop/es_scoop_60/library/i18n/locale/nls/i18n_nls_lcid_tools.e
    5. Change your Windows regional settings to the same language
    as the help project. (Reboot if prompted.)
    6. Recommended, for safety's sake: Delete the CPD file.
    7. Open the project and compile using RH7.
    8. Check the index's sort order -- is it in alphabetical
    order according to the language of the project?
    9. Check the help caption -- make sure it's not "HTML Help".
    Note: Any customized buttons in your CHM should appear
    correctly translated, but other buttons (Contents, Index, Search)
    still appear in English -- at least they do on my PC, even though I
    did step 2 above. We need to check whether those buttons appear
    correctly when the PC is actually running a true foreign version of
    Windows, and not just with temporarily adjusted Windows settings.
    OR -- is anyone else able to get these to appear translated in the
    CHM file?
    Does anyone have anything to add? Other solutions? Easier
    procedures? Better results to report?
    Thank you
    Eileen

  • Has the play button in album view stopped working?

    The play button in album view doesn't work.  Hasn't worked for the last two releases.  I'm on iTunes 11.1.1.  Apple suggested reloading all of my CDs.  (Not a viable solution--there are hundreds of them...)  They thought it might have something to do with recent changes related to AppleID/iCloud.  Also unable to add entire album to up next list.  I am able to play from songs view.

    Never mind.  Found the answer here:  https://discussions.apple.com/message/21484039#21484039
    User error, but I'm not alone...

Maybe you are looking for

  • How do i move music from one tunes to another?

    I've just got a new laptop, and I want to move my music to the new iTunes. How do I do this? Home sharing doesn't seem to work, and I dont have any other way.

  • Open Design Studio app through BI Platform - Unable to find server in CMS FWM 01014

    Hello! I tried to start work with SAP BusinessObjects Design Studio, but there are some bugs with Studio apps & BI Platform: Design Studio add-on was installed to BI platform (4.1 SP2), after that I successfully connected from Studio to BI plaftorm a

  • Keyboard/typing problem

    I was trying out the new MacBooks in the Apple Store last night and encountered a weird problem when typing on any MacBook I auditioned. Periodically when I was typing a sentence the cursor would do one of the following: --- jump up one line and cont

  • Approach of using Bulk Collect

    Hi Experts, how to use bulk collect for uncertain number of columns of select statement. Master table structure: Create table tabmst (id number, cls_input varchar2(2000), price number); insert into tabmst(1,'select product, price from product',500);

  • Iida5415

    Premier Pro CS6が急に起動しなくなり. 電話で問い合わせ.メールで以下の返信をいただいたのですが.アップデート&環境設定フォルダの削除による初期化をしてもダメでした. 立ち上げようとすると.以下の画像のような画面で固まってしまします. タスクマネージャーで強制終了しますが.Premiereは応答なしとでます. もし.対処法がありましたら ●●●までご連絡ください. 以下は.電話で対処法を訪ねた際.メールにて返信いただいた内容です.↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓