Make a Transparent container visible invisible

helllo all,
how can I make a Transparent container visible invisible depending to an attribute,
can anyone lead me to resolve this ?
thank you all?

Hi,
Create a attribute ( LV_VISIBLE ) type of boolean in context, then bind that attribute in the properties of the TC
TC->properties->visble property, bind the attribute in visible property of the TC.
Then when u want to visible that inside of on action write below code.
Declare a node :data:  n_node type ref to if_wd_context_node.
then node assign to that created ( LV_CISIBLE )attribute nade ( E/G : ln_node = wd_context->get_child_node( name = ' node' ) )
ln_node->set_attribute( exporting name = `LV_VISIBLE` value = abap_true ). "for visible of the TC.
ln_node->set_attribute( exporting name = `LV_VISIBLE` value = abap_false ). "for invisible of the TC.
Regards
Srini.

Similar Messages

  • Make region/Task-Flow visible/invisible inside the page created in composer mode.

    Environent_
    JDeveloper 11.1.1.6.0
    Webcenter Sites version : 11g R1.
    Problem statement_
    Below example is to demonstrate the usecase to make region visible/invisible inside the page created in composer mode.
    The problem with this case is the 'Show Component' property does not automatically evaluate its expression even after using the contextual event.
    We want the region to be refreshed at run-time just like it works with design time pages using Refresh, RefreshCondition attributes in pageDef.
    My Usecase_
    I have two task flows dragged in Webcenter Customized Page.
    First contains Employee list and Second  contains selected employee's manager name.
    By default when page loads second task-flow/Dragged-Box  should be hidden.
    When I select employee from first box, then immediately second box should be appeared with manager name.
    In the case when If Employee does not have manager, second box should be disappeared. Whole page should not be refreshed only the second box should be refreshed and hide.
    Regards,
    Niraj

    Hi Jiri,
    Thanks for your prompt reply..
    While referencing the taskflow in any page will create a region and makes entry in pageDef for that page.
    In the PageDef of that page I am using Refresh and RefreshCondition attributes of the taskflow tag in order to refresh the taskflow based on certain condition or parameter change.
    I want to achieve the same in run-time environment using composer mode. where I have the control over page but do not have pageDef (visually where I can go and add the attributes Refresh and RefreshCondition manually)
    I would be obliged if someone can help on this.
    Thanks
    Regards,
    Niraj

  • How to make Transperant container visible , invisble by code

    Dear experts ,
    I want make transaperant container visible or invisible based some boolean value .
    I have gone thr' class    CL_WD_UIELEMENT and CL_WD_TRANSPARENT_CONTAINER. I have found method SET_VISIBLE .
    Let suppose name of my transperant container TC_COSTCENTER .Please let me know what code I have to write . Where should I write ?
    I am writing it code in WD_INIT as this process is based on value that I get on boolean value which tell decide visibility of Transperant container.
    Waiting for reply . Urgetly .
    Points will be given surely .
    Cheers
    Parry

    Hi Parry,
    The dynamic programming way is follows:
    you need to first get a reference to the root element 'ROOTUIELEMENTCONTAINER' from the view reference available within the wddomodifyview method. the variable returned is of type cl_w_uielement_container. you can use the method get_root_element( ) of the interface if_wd_view for this purpose.
    next get a reference to the transparent container by using the method get_child of the class cl_wd_uielement_container( using the variable returned from the prevoius call) and cast it to a variable of the class cl_wd_transparent_container. to this method you need to pass the id of your transparent container.
    Once you have the reference you can use the method set_visible( ) to make the container visible or invisible at runtime.
    However you need to be careful about the placement of this code within the wddomodifyview method because it would get executed every time. Thus the best way is to store the reference to view in a component controller the first time and later on use this attribute anywhere within your component.
    Regards,
    Shweta

  • GUI elements visible/ invisible

    I need various different comboboxes to appear as the user steps through making choices.
    I am new to Swing and unsure whether I can make comboboxes visible, or whether I should have them on different JPanels and make these visible/invisible.
    Am a little confused 'cos I read in a book that only one element can be contained in a specific container region, so can I have several JPanels in the one region of the container at the same time?
    I am using border layout.
    If someone could please explain I'd sure appreciate it!

    There are many layouts availabled in Swing, BorderLayout, BoxLayout, GridBagLayout, CardLayout etc etc. Each of them have their own pros and cons. For instant, BorderLayout can only contain one element in a specific container region, like you said. It has 5 regions, North, West, East, West, and Center. Following link can give you more details about this layout.
    http://java.sun.com/docs/books/tutorial/uiswing/layout/using.html
    Yes, you can make comboboxes visible or invisible.
    JComboBox.setVisible(true) or JComboBox.setVisible(false)
    You can do this to any other components as well, like JTextField, JLabel, JButton etc etc.
    cheers.

  • How can you make movie clips partially visible?

    Okay, so this sounds simple, but I'm tottally lost... I'm a thirteen year old boy that has been using Flash for a little over 3 years. I program video games. I recently embarked on a game where one of the modes is to be split screen, player one gets the top half, player 2 the bottom. The promblem with this is that my game is based off of a moving background, where inorder to keep the main character centered the background moves instead of them. Becsause of this,when setting up split screen, the screen on the upper layer takes over the bottom because there would be more showing then there would be in the game: Parts would be off screen. I was wondering if there was anyway that using hitTest(s) (or some other method) you could make a movie clip partially visible/ invisible. I know the code for making something invisible when touching something else. But I was wondering if there was a way to make only the part of the movie clip touching another movie (it would have its alpha turned off... let's say it's a hitBox) or only the part of the movie clip touching the hitBox visible, invisible. Another way of looking at this is that I want a movie clip to be a small box, but inside I want their to be a huge picture. I want to make it so that when you move the picture different parts are viewable in this little box. And to make this as clear as I can... : I want to make a circle that I'll call the magnifying glass. I want to make an invisible picture that can be moved using code (I know that part). I want it so that when part of the picture is under the magnifying glass it's visible, not the hole thing, jus that circular area. Another reason I'd like to have this promblem solved is for a moving water effect. I want to make a movie clip and tween showing a square of rushing water, but without putting anything over parts of it (other than a hitBox) I want to make only a squiggly line of that water box visible. Thank you so much! =D I really hope you guys know! =D P.S. I also am currently using the trial of CS4, if that helps anything. But if it's only possible in AS3, then it's impossible to me because I use AS2 conservatively.

    Thanks... but I think you've misunderstood my question. I suppose magnifying glass wouldn't be the right word... I just wanted to explain that I want only the part of one mc touching another mc to be visible. I hope this isn't confusing. I have no need to enlarge an image. I want to make a movie clip only partially visible. Check out the fla.

  • How to hide a transparent container and its fields in webdynpro abap

    Hello Friends,
    I am trying to create a view where i want to show some fields based on some other field.
    What i exactly need is When i enter some data in 1 input field .
    Corresponding to that input field few text fields wud be opened automatically in the same view.
    No Pop-ups allowed.
    What i am doing is !!
    i have created another Transparent container for my  text view fields.
    But i  am unable to hide this fields..
    Kindly help..
    At the runtime..
    After entering the value in the input field..
    This transparent container should become visible with the textview fields...
    Gaur Mayank

    Hi,
    Create A Context Attribute (Say  Visible_Hide )of Type WDUI_VISIBILITY with initial value as 01.
    Goto your Container, Bind the Visible Property with Above Created Attribute(Visible_Hide).
    In the Input Field,Use the OnEnter Event and Set the Value to Visible_Hide as 02.
    Then the Container will be Visible.
    Thaks.
    Uma

  • How to make profitability segment pushbutton visible  in FB50 transaction

    Hi All ,
    I want to make  profitability segment pushbutton visible  in FB50 transaction. I tried to change a  transaction variant which is assigned for this transaction code. It was a user created Z transaction variant and i unchecked the invisible checkbox in SHD0 transaction  and saved it.But still in FB50 i am unable to see it. Can anyone tell me why it is still invisible though i unchecked the invisible checkbox . Do i need to reassign the transaction variant again to FB50. I didnt do it because it is already assigned and i had just modified.

    Hi,
    In SPRO there is no Field selection for QA. If you want to maintain QA based MPN( get the material number relevant to MPN). Press F4 and select the search criteria search by MPN, you will get the material relevant to that MPN.
    Malleswari

  • How to make keyfigure columns in-/visible dynamically in a web template

    Hello,
    I want to implement a button into my web template, making a first key figure column invisible, a second key figure column visible. Clicking the button again shall make the first column visible, the second invisible.
    How can I achieve this?
    1) Using the filter_pane_item it is possible to choose the key figure structure and the a key figure for the analysis_item. Can this action be encoded behind a button?
    If this would be clear, create a first button to choose the first key figure, then a second button to choose the second key figure. Finally enhance both buttons making one another visible and we are done.
    2) An idea was to define two query views, one with the first key figure visible, one with the second key figure visible. Then again two buttons assigning the analysis item these two data providers. Finally again the trick, making one another invisible.
    But this has the drawback, that after navigation, drill down, etc. in one view, then switching to the other cleary looses the navigation status.
    Thank you + regards,
    Ingo

    Problem has been solved

  • Programatically hide a transparent container

    Hi Experts,
    i am using select options in my application.
    i have made two block for the selec options (transparent container 1 and transparent container 2) by using add_block method of select option.So i cant do the normal context binding as containers are created programatically.
    Now i have a requirement to hide one of the block on click of an event so that the select options inside is also hidden.
    DATA lo_ui_element      type ref to CL_WD_UIELEMENT.
          DATA lo_container       TYPE REF TO cl_wd_uielement_container.
          DATA lo_transc           TYPE REF TO cl_wd_view_element.
    " get root container
         lo_container ?= view->get_root_element( ).
    *" get button reference
         lo_transc ?= lo_container->get_child() // Get the tray which container the view container of select options.
    then inside this i have the transparent container which has the selec options.
    Please help
    Tashi

    Hi Tashi,
    1. Add your Select-Options screen elements(Your blocks) to UI View Container element and bind the context to WDUI_VISIBILITY. Set the visibility depends on your requirement.
    2. You have REMOVE_SELECTION_SCREEN_ITEM method from Interface IF_WD_SELECT_OPTIONS to remove the fields at runtime.
    Please follow the below link
    Creation and Deletion of selection screen elements based on user action
    Hope it helps you
    BR,
    RAM.

  • ActiveX container visibility problem

    I am having problems with container visibility on a tab when the tab is made invisible. I have made a demo program to change tabs with and see how visibility behavior is affected based on which tab-page is visible at the time. I know there is a work around by programmatically changing to a different tab before setting visibility false.
    Attachments:
    ActiveX_Problem.vi ‏34 KB

    Hi,
    Actually, if you set the visibility of the ActiveX container to be the same as that of the Visibility boolean, the program seems to work correctly.
    Go ahead and take a look at the modified example I've attached. Also, I slightly modified the way the stop button was being handled (I included it as a case in the event structure, which is generally the way NI recommends the use of the Stop button in event structures).
    Hopefully this program will now work as expected. Thanks!
    Kileen C.
    Applications Engineer
    National Instruments
    NI Week 2004 is here!!
    Attachments:
    ActiveX_Problem.vi ‏48 KB

  • Again: Can't make \var, \tmp and \etc invisible

    hello together,
    there is a hint on how to make "\var, \tmp and \etc invisibles" invisible in http://discussions.apple.com/thread.jspa?messageID=676830

    Hi Martin,
       I can't help a lot; my stupid Script Editor and AppleScript have also changed. AppleScript just seems to get flakier and it's more than I want deal with much. However, I'll tell you what I found out, even though it's the opposite of a solution.
       My Script Editor won't let me save a POSIX file reference either. I can tell you that you can change (file "MyHDName:private:var") to (folder "MyHDName:private:var") and you won't get the error. Of course that's not what you want since it's the symbolic link and not the directory to which it points whose visibility you want to change. I now also get the same error with the command that you posted but the following produces no error for me:
    tell application "System Events" to set the visible of (POSIX file "/var" as alias) to false
    Of course you can't save it but you can run it. However, you can save it as a shell script that uses the osascript command:
    osascript -e 'tell application "System Events" to set the visible of (Posix file "/var" as alias) to false'
       However, this is ultimately no help either because you don't have privileges as a regular user to change the properties of this symlink. Since it's not a "do shell script" command, you can't invoke administrator privileges as far as I know. You can't change the ownership or permissions of a symlink from the command line so the only thing of which I can think is to enable the root user and login as root and run the command. It seems that in order to make AppleScript secure, Apple has made it almost useless as an administrative tool. Hopefully someone more knowledgeable and less frustrated with AppleScript will know how to get administrator privileges.
    Gary
    ~~~~
       If all the seas were ink,
       And all the reeds were pens,
       And all the skies were parchment,
       And all the men could write,
       These would not suffice
       To write down all the red tape
       Of this Government.

  • Scroll Container/ scrollable Transparent Container

    Hi,
    I have a table with many columns (14), which can't be shown all on the screen.
    That's why there appears a scrollbar on the bottom of the whole page. But as there
    are also some other elements on the screen, which should be also visible, when scrolling
    to the side to see the last columns of the table, I tried to use a scroll container for the table.
    But when I turn on the scroll mode to "both", the table is not visible anymore... just a very small
    line-like object is shown on the screen...
    Can anybody tell me how to use a scroll container / transparent container to scroll the table horizontally,
    without scrolling the whole screen?
    Thank you very much!

    HI,
    Try to set some columns as fixed and use scorllable col count property in the TABLE UI element.
    Regards
    Lekha.

  • Making Subform Instances Visible/Invisible

    Hello,
          I am trying to loop through the Subform Instances of the form and trying to make them visible/invisible on the click of a Check Box. The script seem to run just fine but the values nothing happens to the subforms. The script is written on the CLICK event of check box and is as below:-
    ----- HAP_DOCUMENT.APR.HAP_DOCUMENT.Positions.DATA.CHECK_BOX::click: - (JavaScript, both) ----------
    var
    nCount = APR.HAP_DOCUMENT.T_ELEMENTS.DATA.instanceManager.count;
    //var plan_value = this.parent.PLANS.rawValue;
    var
    plan_value = this.parent.parent.parent.Storage_Form.PLANS.rawValue;
    for (var nItem = 0; nItem < nCount; nItem++) { // Begin Loop T_ELEMENTS after the Instance is created
    var sub_Tele = "HAP_DOCUMENT.T_ELEMENTS.DATA["+ nItem +"]";
    var tName = "HAP_DOCUMENT.T_ELEMENTS.DATA["+ nItem +"].T_COLL_CELL.DATA";
    var sCount = xfa.resolveNode(tName).instanceManager.count;
    for (var sItem = 0; sItem < sCount; sItem++) { // Second Loop on T_COLL_CELL
    var fName = "HAP_DOCUMENT.T_ELEMENTS.DATA["+ nItem +"].T_COLL_CELL.DATA["+ sItem +"].T_FIELD.DATA";
    var tCount = xfa.resolveNode(fName).instanceManager.count;
    for (aItem = 0; aItem < tCount; aItem++){ // Third Loop on T_FIELD
    var gName = "HAP_DOCUMENT.T_ELEMENTS.DATA["+ nItem +"].T_COLL_CELL.DATA["+ sItem +"].T_FIELD.DATA["+ aItem +"].simpleField.VALUE_STRING";
    var lName = "HAP_DOCUMENT.T_ELEMENTS.DATA["+ nItem +"].T_COLL_CELL.DATA["+ sItem +"].T_FIELD.DATA["+ aItem +"].simpleField.CAPTION";
    var subName = "HAP_DOCUMENT.T_ELEMENTS.DATA["+ nItem +"].T_COLL_CELL.DATA["+ sItem +"].T_FIELD.DATA["+ aItem +"]";
    var aVal = xfa.resolveNode(gName).rawValue;
    var bVal = xfa.resolveNode(lName).rawValue;
    var subVal = xfa.resolveNode(subName).presence;
    if (bVal == "Position Number"){
    if (aVal == plan_value) {
    if ( this.rawValue == 1) {xfa.resolveNode(subName).presence
    = "visible";}
    else {xfa.resolveNode(subName).presence
    = "hidden"; }
    Is there any other way of addressing the properties of the Subform Instances? Could any please help me as to why there is no effect on the subforms?
    Regards,
    Shishir.P

    Is the form saved as dynamic? Are you getting any errors in the javascript console?
    Paul

  • Move transparent container from tab to new view

    Hi
    I have a scenario where I wish to move the whole layout structure from a tab to a new view.
    Essentially I want to move from a tabstrip to a roadmap type of development.  My issue is that if I copy the transparent container that houses the whole structure, when I paste the structure all my elements have _CP. Is there any way to paste without have this suffix?
    Cheers
    Ian

    >
    Thomas Jung wrote:
    > I can't think of any offical way of doing this. 
    >
    > I have one suggestion - but it is totally not supported by SAP and if anyone asks you didn't get it from me.
    > You could use SAPLink to export the component to XML.  Once in XML on your desktop, use a text editor to do a mass find and replace.  Then reimport the same object back into your system via SAPLink.
    > [http://code.google.com/p/saplink/|http://code.google.com/p/saplink/]
    >
    > Just curious however - why worry about the _CP on the UI elements at all?  It is just that you don't like the prefix?  I agree it makes things look messy, but if you are correcting binding UI to your context instead of directly coding against the UI elements (with the rare exception of really dynamic stuff) the IDs of the element shouldn't break anything in your application.
    PS:  Obviously monkeying around with the component using find and replace on the XML and importing via SAPLink could be dangerous. I just thought after I posted I should stress the warning a little more.  You probably want to copy your entire component before attempting this - just incase it completely screws things up.

  • Is there a way to create a button to make an entire page visible or hidden in an Acrobat XI form?

    Is there a way to create a button to make an entire page visible or hidden in an Acrobat XI form?

    Note that Reader (11 or otherwise) cannot show/hide pages that are templates. Reader 11 can spawn new pages from templates and delete any spawned pages, however. It also supports spawning a template by overlaying it on an existing page.
    The UI in Acrobat 11 for making a page a template and setting its visibility is found under: Tools > Document Processing > Page Templates
    Here are some links to the JavaScript documentation: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.1216.html
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_Dev_Templates.80.2.html
    Note that some of this information is outdated with respect to Reader 11.

Maybe you are looking for

  • Error:41453 in log file even when the account data is imported successfully

    Hi, As a beginner, I tried importing 'Accounts' record type with 2 records, by taking below 4 fields: Account Name, Account Type, City, Owner The email received for the account import request completion has below details: Total Records: 2 Successfull

  • The "save as" window keeps popping up randomingly while browsing, WHY?

    Literally every few minutes the pop-up asking to "save as" and it just keeps popping up to save the web page. There is nothing wrong with my ctrl and S button on my key board and I cannot figure out why the save as window keeps popping up. I've done

  • Multipe invoice single GR

    dear sirs, can pass the single GR for multiple Invoices/challan. the actual problem is like this. we procure COAL from single vendor, and in a day there is 40 incoming trailors corresponding to 40 lorry receipt(transporter receipt) and 40 challan ***

  • How to create application/ application link

    Hi All, Since I have raised several queries you all know that I am doing my project on purchasing and inventory system based on oracle. As a part of this project I have creates number of forms (including Login and Menu form) merely I have just saved

  • Will not load yahoo games, says my computer is not supported why?

    ''''''1. I cannot get Yahoo Games to load... says that my computer does not have the proper plug ins... i tried downloading the lasted Java, but that did not resolve the issue'''''''''''''. 2. I have a new b;ackberry smartphone... internet will not a