How to Show/hide the UI Elements in a WD Application

Hi,
I need to show/hide and control other properties such as required, readonly etc from UI.
Can somebody please tell me how I can do that as I am able to save and retrieve the fields from another UI, now the need is to apply them once the Application starts.
Thanks,
Rachit

Hi,
To show/hide UI elements follow below procedure.
1) define a attribute(VISIBLE in this case) element in the context of type WDUI_VISIBILITY
2) in the UI element properties(Visible) bind the above attribute with the element you want to make visible/Hide.
3) call below method to hide the UI element
    wd_context->set_attribute(
     EXPORTING
       name = 'VISIBLE'
       value = cl_wd_uielement=>e_visible-none ).
4)     wd_context->set_attribute(
     EXPORTING
       name = 'VISIBLE'
       value = cl_wd_uielement=>e_visible-visible ).  for display.
You have to call these method at the right spot.
Thanks,
Sree.
Edited by: t sree on Oct 16, 2008 3:36 AM

Similar Messages

  • I updated the default task.eddmod edd doc to add new elements to my catalog. How do I have the new element appear on FM application?

    After updating the default task.eddmod.edd document, I have:
    Created a dtd from the updated edd.
    Opened Structure Tools > Structure Application Designer. Selected existing application (dita_1.2_task), selected my updated edd, dtd, and task.template, and saved it.
    The new elements I created in the edd appear in my application now.
    Do I need to create a dtd and update the structure application designer every time I update my edds?

    It looks like you've got two posts with the same question (in the structured forum) .. I'm just replying to this one.
    When you update an EDD you must always import that EDD into the associated template. The structured application only references the template, so changing the EDD will have no effect until you import that into the template.
    I have no idea how the Structure Application Designer works, so can't speak to that, but I'm sure the fundamental relationship of EDD to template still applies. If your EDD changes affect the model itself (adding/removing elements or attributes), you'll need to modify the associated DTD as well. Keep in mind that you can't just change the DITA DTDs and expect the result to be DITA compliant. There are rules about how to make these changes by "specializing" the model. If you change the model it may work for you in FM, but it may not work when you try to process or edit with other DITA-compliant tools.
    One other thing to keep in mind is that if your change is something that you'd expect to be available in other topic types (other than "task"), you'll need to make the same edits to the other topic structure applications.
    Cheers,
    ...scott

  • Can we show / hide the minor grid in a graph programatically?

    I know how to do it statically and I know how to show / hide the major grid programatically. I am using labview 6.0.
    thanks

    thierry_d,
    This feature is not available in LabVIEW 6.0.x, but there is a minor grid color property in LabVIEW 6.1. If you really need this property, then I would suggest upgrading to LabVIEW 6.1.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • How do I Hide the text printed from a standard Text Element in SAP Script?

    Hi,
    I have created one SAP Script which gets printed from IW33 using a standard print program.
    In config the standrad SAP script is replaced by the zsap script.
    Since the Zscript is printed from a Standard print program, I had to keep all the text elements used by the original(standard) SAP script.
    I only kept the text elemets and commented out the printing part.
    But still some values are printing. How do I hide these text element values?
    I want to delete whatever its printing from these text element. Icant delete the standard text elemetns , otherwise the standard print program will give error.

    Hi,
    I am not printing any text under these text element in my zscript.
    I had to include these standard text elemets as they are called from the standard print program using which my zscript is getting printed.
    for example:
    /E OPERATION
    Under operation i didnot print anything. Still some values which are passed in text element Operation by the print program is being printed in the form. i want to hide/delete these values.
    how do I do that?

  • How can I hide the version of ColdFusion showing in COldFusion Administrator

    How can I hide the version of coldfusion being shown from the coldfusion administrator login page? Right now I have the Version: 6,1,0,83762 showing.

    For security reasons.
    If there are known vulnerabilities with a specific version of a software release, you don't want to have someone who is scanning to be able to pull that information and then be able to try known attacks that will increase their chances of compromising your site/application.

  • How can i hide the menu bar at the bottom of the app in itunes

    how can I hid the bar at the bottom of the App screen in itunes. Where it shows how much audio, app etc space you have left on your device

    Unforrtunately the status bar doesn't make any difference, however I have worked out that the bar does show when I go into full screen. 
    I would have thought it should also work when not in full screen - it certianly used to.

  • How to show/hide build in search box in javascript for LightSwitch html clients?

    Hi
    For each collection on content item, there is built-in showSearch button we can add, once the user clicks on the search, a pre-built-in-search-box shows up above the collection so user can search items in the list. How can I show/hide the pre-built-in-search-box
    in javascript?
    Any help will be appreciated
    The built-in showSearch on content item
    The user clicks the search button, and the pre-built-in-search-box shows up to allow user to enter search terms
    jl

    Hi Joe,
    Welcome to Lightswitch forum.
    If you want to show/hide showSearch button, you can execute this line to show the button,
    this.FindControl("showSearch").IsVisible = true;
    Or execute the line below:
    this.FindControl("showSearch").IsVisible = false;
    Please let me know if there is anything that I can do to help.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How I can hide the iCloud music library in iTunes?

    How I can hide the iCloud music library in iTunes? I want to see only my local music library.

    If you go into edit and click preferences there is a checkbox in the "store" tab that says "Show iTunes in the Cloud purchases" if you uncheck that it will show only the local content.

  • How can I hide the scroll bar in TextArea?

    How can I hide the scroll bar in TextArea?

    Hi. To remove the horizontal scrollbar you can do this:
    textArea.setWrapText(true);
    To remove the vertical scrollbar you can do this:
    ScrollBar scrollBarv = (ScrollBar)ta.lookup(".scroll-bar:vertical");
    scrollBarv.setDisable(true);  and set the opacity to 0 in the css file:
    //css file
    .text-area .scroll-bar:vertical:disabled {
        -fx-opacity: 0;
    }Here is an example:
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Node;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.ContextMenu;
    import javafx.scene.control.MenuItem;
    import javafx.scene.control.ScrollBar;
    import javafx.scene.control.TextArea;
    import javafx.scene.input.ContextMenuEvent;
    import javafx.scene.layout.StackPane;
    import javafx.stage.Stage;
    public class TextAreaSample extends Application {
        @Override
        public void start(Stage primaryStage) {
        final TextArea textArea = new TextArea();
            textArea.setWrapText(true);
            StackPane root = new StackPane();
            root.getChildren().add(textArea);
            Scene scene = new Scene(root, 300, 250);
            primaryStage.setScene(scene);
            primaryStage.show();
            scene.getStylesheets().add(getClass().getResource("style.css").toExternalForm());
            ScrollBar scrollBarv = (ScrollBar)textArea.lookup(".scroll-bar:vertical");
            scrollBarv.setDisable(true);
        public static void main(String[] args) {
            launch(args);
    }

  • How can I hide the por:8080 on the broswer

    http://www.mydotcom.com:8080/examples/.....jsp
    How can I hide the port 8080, cause this is what shows on the URL.
    thanks

    I have no problem running with tomcat that contain chinese, but when I run the apache which is the same code as the tomcat are running, it cause error 500. I debug it , and found out that it was the chinese that cause the problem. once I took out the chinese, then it works find. Can any one tell me why?
    thanks

  • How to show all the user entry variables in a workbook.

    Hi,
    My user need to see in the workbook all variables he had entered in the variable entry popup at the openning of the workbook.
    I know how to show all the variables, included the hardcoded variable in the query (with a text element, select the checkbox "Display All Statics Filters"), but I need only the user entry variables.
    There is a way to print only these variables?
    Thank you

    Thanks, but the problem is that this workbook is my Global default workbook used for all the queries. So I only want the user entry variables visible automaticly.
    There is a way to do that ?
    For information, i'm using Netweaver 7.
    Thank you

  • How to show/hide passwords in outlook

    I can show/hide passwords in yahoo but not in outlook. How do I show in outlook

    I'm guessing you can press the little icon to the right of the password field to see the password. I'm using Ubuntu so I don't know what the icon looks like. It should be like a black WiFi signal or something. You should be able to click/hold that to see the password.
    Were you able to show that password before or is this the first time you've tried? You can try to clear the cookies for outlook.com to see if that helps but as far as I know, Windows 8 should be able to show/hide the password.

  • How to show/hide invisible characters in Mac Keynote 6?

    How can I show/hide the invisible characters in Mac Keynote 6?

    we call them non printing characters
    this cant be displayed in Keynote, Keynote is a video based presentation application and does not have many typographic tools.
    The sister application to Keynote is Pages which can show non printing characters so you should use that;
    View > show > invisibles

  • How do I hide the sidebar altogether and get a clutter-free space to write

    How do I hide the sidebar altogether and get a clutter-free space to write
    In the likes of scrivener you can have a page with only what you are writing showing and the same goes for Ulysses.
    Is it possible to get rid of the sidebar in ibooks author which I basically almost never need, as I am a novelist....

    You can hide the glossary, format, and tool bars but you will always have the book outline on the left side. If that's not sufficient, I recommend that you create your content in a writing tool and import (copy/paste) the content in IBA when you are ready to format and layout you book.

  • How to show/hide total based on selected column in column selector

    Hello,
    Is there a way to show/hide the total based on what column is selected in the column selector? Or alternatively to hide the total based on the column selected? I'm using OBIEE 10g.
    Basically, I have a pivot table with a handful of row variables and one measure. Then I allow the user to select the column variable. The default is to have nothing, which I have achieved using the hidden/dummy column trick (Re: How to add new columns by using Multiselect However, if my pivot table is set to have a total, I now get 2 columns that are the same. When the user selects any other choice (e.g. gender), I would want to see Male, Female and the total. Something like this:
    Default:
    Count
    East 10
    West 20
    Total 30
    Gender:
    Male Female Total
    Count Count Count
    East 6 4 10
    West 14 6 20
    Total 20 10 30
    Any thoughts?
    Thanks!

    I recommend using view selector instead of column selector

Maybe you are looking for