Making a view invisible

Hi,
I had a view with three parts say part-1, part-2 and part-3.
During the start of the view initially, I need to display only part-1. Later on some action I need to display the whole view. So can anyone help me in displaying the part of a view? How can I do this?
Regards
MQ

You can devide the three parts of View into three Transparent Containers.
TransparentContainter1,TransparentContainter2,TransparentContainter3
Create three context attributes of type "com.sap.ide.webdynpro.uielementdefinitions.Visibility".
Part1Visibility,Part2Visibility,Part3Visibility
Now assign these context attributes to the transaparent container visibility property.
Now add these three context attributes to the three Transparent Containers.
In the code in the wdDoModify method within the "firstTime" if block initially make visibile of first transparent container as below.
wdContext.currentContextElement().setPart1Visibility(WDVisibility.VISIBILE);
wdContext.currentContextElement().setPart2Visibility(WDVisibility.NONE);
wdContext.currentContextElement().setPart3Visibility(WDVisibility.NONE);
In the button action write this code:
wdContext.currentContextElement().setPart1Visibility(WDVisibility.VISIBLE);
wdContext.currentContextElement().setPart2Visibility(WDVisibility.VISIBLE);
wdContext.currentContextElement().setPart3Visibility(WDVisibility.VISIBLE);
Hope this will help to solve your problem.
Thanks
Ritushree

Similar Messages

  • View Invisibles as default setting?

    Is it possible to set the default for new Pages documents to "View Invisibles"
    using a terminal command line like "defaults write com.apple.iWork.Pages..."?
    Thanks!

    We may get this behavior if we create a custom template with this feature set.
    I looked in such a document ad found that the setting is stored in the property
    SFWPShowInvisiblesProperty
    Alas, when I installed such property in the preferences file, the newly created documents didn't reflect it.
    I searched in the inthebox templates, there is no such property so, I assume that this one is introduced by the application code itself.
    I guessed a way to force it by default thru the inthebox templates.
    Navigate to reach :
    Macintosh HD:Applications:iWork '09:Pages.app:Contents:Resources:Templates:Blank.template:index-iso.xml.gz
    or Macintosh HD:Applications:iWork '09:Pages.app:Contents:Resources:Templates:Blank.template:index-trad.xml.gz
    if you use American paper size.
    Double click to expand it
    rename the original ,file as
    backup_index-iso.xml.gz
    or
    backup_index-trad.xml.gz
    In the expanded file, search for the string
    "</sl:SFWPCTShowDeletedTextProperty>"
    Just after it, insert the string:
    "<sl:SFWPShowInvisiblesProperty><sl:number sfa:number="1" sfa:type="c"/></sl:SFWPShowInvisiblesProperty>
    Save the file.
    After that, every document created from this template will default to "Show Hidden Characters".
    If you are interested, I may write a script able to apply the trick to every inthebox templates.
    Yvan KOENIG (VALLAURIS, France) mardi 15 décembre 2009 16:50:23

  • Numbers: how to view invisibles

    Using an iMac, Mavericks, Numbers v. 3.2.2.
    I have a table with many cells (created by another user). How can I view invisibles?

    Hi Angela,
    Select the contents of a cell. The contents take on a coloured background and any invisibles show with a darker shade of the colour. This works only for one cell at a time.
    To see the invisibles in a set of cells, select them all by dragging (they won't take on a background colour. Insert a text box and click on it to place the cursor into the text box. Paste. Now drag to select the text within the box. Coloured background again with darker invisibles.
    The only invisibles I can see with this method are returns (option enter, newline within a cell). Tabs and spaces don't show.
    Regards,
    Ian.

  • Making UI Elements invisible dynamically

    Hi,
    I have requirement where in i need to display selection parameters first and based on these get the data in the table.User has the option to  select one record and edit it.
    Please help me in accomplishing this.
    Regards,
    Kedar

    Create a view container for the select - options.
    Create a table under the select options and bind it to the search result node in the context.
    Create a context, say, UI_RENDER with 1..1 cardinality.
    Create an attribute, say, TBL_VISIBLE of type WDUI_VISIBLITY
    Bind this attribute to the VISIBLE property of the Search output table.
    onClick of search , check if result is returned, set TBL_VISIBLE = cl_wd_uielement=>e_visible-visible otherwise, set it to cl_wd_uielement=>e_visible-none.
    this will dynamically set the table invisible if the search didnot produce any result.
    Also in the do_init method of the view, set TBL_VISIBLE = cl_wd_uielement=>e_visible-none. so that initially only the selection nscreen can be seen.
    Hope this helps you.
    Regards,
    Reema.

  • How to resize JDialog after making some fields invisible?

    Hi,
    I have many fields in a JDialog box. And I am making some of them invisible (based on some logic).
    Even though I am using invisible, the dialog size is not resized automatically.
    I can see so much space and it is not good.
    Is there any way so that I can resize this dialog?
    Regards,
    Praveen

    Praveen_Kumar_Jayaram_1985 wrote:
    But I am not using any layout manager. It is free design. Is there any way to achieve my requirement without using layout manager?But this is what layout managers are made for. Why not use the correct tool for the job? Also, please do not cross-post questions in multiple forums. This will frustrate anyone who tries to help you only to find out later that the same answer was given hours ago in a cross-posted thread. For this reason, many volunteers here and at the other sites refuse to help repeat offenders.

  • Making a table invisible

    hi all hw can i make a table invisible when the view is displayed initially..only on clicking an event the table must get displayd...
    Thanks

    hi urbashi........
                  so now you have bound that attribute to teh visibility property of the table.
                  now in your wddoinit method,
                  read the attribute.
                  say attribute name is att1.
               now set the attribute value by
                  nodename->set_attribute( name = <attribute name>
                                                         value = CL_WD_MESSAGE_AREA=>E_VISIBLE-NONE).
                    the same coding with different value must be written on the on action method of the show table event.
    ---regards,
       alex b justin

  • Blank space while making UI elements invisible.

    Hi All,
    I need some urgent help on a project that we are working for a customer. This has got to do with Webdynpro views. Our window contains almost 8 views one below the other all show at one time. However there is a requirement based on which the visibility of view 2-8 will depend on events in View 1. I know we can tweak the visibility of the RootContainerUIelement or the Visibility of the View Container to hide/unhide views. But I see that when we hide the views this way ,its leaving a huge empty space. I don’t want this huge empty space but want the views to just adapt so that if View 2 is not needed View3 moves up and takes it place. I almost tried all options on the visibility - BLANK,NONE on RootUIContainer, Viewcontainer etc before coming over to you. Do you have any ideas how this huge space occupied can be made invisible in deed.
    Regards,
    Arun

    Hi Arun,
    2 points:
    1. Check out if the Layout of the View, where you are displaying the Views is Grid Layout. If so,
        make use of Matrix  Layout.
    2. While setting the Visibility of the views, set them to NONE instead of BLANK.
    Hope it helps.
    Regards,
    Alka.

  • Conditionally making a field invisible.....

    XMLP Gurus,
    Some of the values in a column has dots(.). Conditionally i have to make it invisible.
    I tried replacing null value for a dot using decode function, but in this case the other column values are shifting themselves up by taking place of null values thus losing sync with other columns.
    After the decode statement i want the null value to remain null in sync with the other columns instead of replacing the null value with a value below it (shifting up)
    Thanks in advance.

    Hi venkat,
    Thanks for the reply.
    Originally the problem persisted with the null values in the column and it is getting shrinked when the statement goes to the second page.
    This template is already created and I need to modify it. There are six different columns in the template and each column has its own for each and END for each (similar grouping for all say G_XYZ).
    Say in the 5th column if the first row in the second page(continuation from first page) is null then it is shiftng itself up losing sync with the other columns.
    To over come this I used decode in the 5th column field. I replaced the null value with a dot. It is working fine now(shrinking problem is nailed) but the users dont like the dot in place of null value.
    I tried to make the dot invisble using:
    <?if:AMOUNT_DUE=''?><xsl:attribute xdofo:ctx="block" name="background-color">white</xsl:attribute><?end if?>
    But it is throwing error: " XML-22047: (Error) Invalid instantiation of 'Attribute' in 'Element' context." .
    It does not like ctx="block" and if I replace block with line or inline, it is working as expected.
    The solution I am looking for now is to avoid shrinking of null values at first place. If not then substitute this null with some value that is invisible (say invisible dot) and avoid shrinking.
    Any help is highly appreciated.
    Thanks.......

  • Making the request invisible in CUP 5.3

    Hello Everyone,
    we are using GRC 5.3 on SP 8.1 , We would like to make the Request type field unavilable in Request access Screen
    I cannot make invisble in End user Personlization  coz as Visiblie field (to be ste to YES or NO is greyed out) I presume as this was used in several  requests processed
    the request type is being used in intiators and CAD's .
    Any thoughts how to make this invisible form the request screen , any imput would be much appreciated
    Regards

    thanks you guys Julius , simona nd venky
    I cannot make it defualt quite yet because the fields are greyed out ! but howeer the issue is fixed in SP9
    Request reason and Request type in End user personalization shows as "NO" in field mandatory but when click on change, it shows "YES" in the mandatory field
    I will apply SP9  and hopefully i make it to default .
    thanks & Regards

  • Making the fields invisible or etc. at the item overview screen

    At the header data of the sales documents, there exist incoterms and payment terms. I want to make those invisible at the item overview screen (under Billing Document tab). I just want those data root from the header data, not from the item data. I don't want to enter data (about payment terms or incoterms) on the item overview screen.

    Thank you for your consideration but can you please explain step by step.
    Also to be more clear; the incoterm datas of the sales document's items come from the customer master data. Person can change or enter data about incoterms although there may exist different incoterm data at the header. That's why I want to hide or make unchangeable the incoterm field at the billing document tab of item data.
    Thanks in advance.

  • Making a button invisible with ActionSctript 3?

    I have one button instance that stretches across many frames, and I would like to make it invisible in some of the frames and visible in others. How do I do this with ActionScript 3?
    thanks

    Couldn't wait, eh!... kidding... btnName.visible = true;  btnName.visible = false;

  • Making a component invisible...

    Hi,
    I'm trying to make a component in my movie invisible using
    the instance._visible = false ActionScript command. It's a button
    that was converted to a symbol from a series of filled rectangles
    and ovals. It will not go invisible although I can use the same
    script on a simple, independent text-box and it works fine. Am I
    missing something?
    Thanks in advance - Jim.

    Thanks for responding. It's working. But I still have some
    minor questions.
    1) When I put the code within the onMotionFinished function,
    it doesn't work. But when I place it at the very beginning (before
    the tweening), it works. Why is this?
    2) Also, what is the difference between using:
    this._visible = false; versus
    this.red_mc.triggerBox_red_btn._visible = false; or just
    red_mc.triggerBox_red_btn._visible = false;? The latter 2 do
    not work. Why is this?
    thanks you very much for your help.
    Here's the modified snippet with the new code:

  • Dashboard Settings - making one view available to all

    For the different dashboards our user wants to update the settings once and make this view available to many people in his organization.  How may I do this?
    Here are steps to follow to clarify what I am asking.
    1)  View project dashboard.
    2)  Click Settings link.
    3)  Add and Remove columns.
    4)  Click Save as... button.
    5)  Enter a description.
    6)  In the assignment drop down, I only have user 00 should there be another option?
    7)  Click OK
    8)  Now user can select the view in their dashboard.  (Or they could have set it to their intial view.)
    Is there a way that I can do this once and share my view with others?
    Thank you,
    Wendy

    Hi Wendy,
    Could you share where this answer was posted? I was following your thread very closely too.
    Best Regards,
    Fernando

  • Making a control invisible at runtime

    Hello,
    I wnat to write a control that is invisible at runtime - like the history component.
    How can a control recognize if it is in a design- or a runtimeenvironment?
    Regards,
    Nico

    Hi Nico,
    This is in the SDK release notes, you create a helper function like this in your component:
    * Returns true if this SWF is running in Xcelsius at design time, false if not.
    public static function isInCanvas():Boolean
         // TODO: remove this function when this gets exposed in the Xcelsius 2008 Component SDK API.
         var globalStyle:CSSStyleDeclaration = StyleManager.getStyleDeclaration("global");
         if (Boolean(globalStyle.getStyle("inCanvas")) == true)
              return true;
         return false;
    Then you can use isInCanvas() to find out if the component is in Xcelsius at design-time or not.
    So in your case in the constructor you could do something like this:
    visible = ! isInCanvas();
    Regards
    Matt

  • Making .ds files invisible on windows server

    Is there a way to make the .ds files invisible to windows users on a ms windows server?
    Mixed Mac and PC environment - can't get through to PC users that they should not try to open these files!

    Sounds like malware or a OS X glitch that keeps placing the hidden OS X files on Windows volumes
    Remove the user data, delete the account and re-establish it and the data.
    If it's contained in the user account that should clear it, if not, wipe the machine and reinstall OS X from a clone or reinstall by hand.
    There is software that will prevent OS X from placing it's hidden files on Windows volumes, however interaction with OS X is wonky afterwards.
    http://www.zeroonetwenty.com/blueharvest4/

Maybe you are looking for

  • How to restrict values in one prompt based on value from another prompt

    Hi        I have a requirement as follows. I have two fields (objects) program code contract number one program code can have several contract numbers. I need to provide prompts on Program code and contract number. when user selects one program from

  • Problem migrate zones solaris 10

    Hi, i'm trying to migrate one non-global zone from one machine to another machine. The steps I have followed are: 1) On the machine where I have the zone that I want to migrate: # zonecfg -z myzone export -f /myzone.cfg # cd /export # find zones/myzo

  • Almost there, still need email php help!

    Hey there everyone, I posted my issue earlier but the thread seems to be dead.  I have been researching php syntax and looked at some other examples online, and I think I almost have it.  I just need a little extra assistance to get there. I had my p

  • How do i delete a named network?

    I have a guest network that i joined by mistake instead of the base network.  i can join the one i want but it goes back to the guest network when the computer is shut down.  how can i change this?

  • Will not update N95

    Ok so the light will not turn off at all and It wont let me update !.......Its slow and now I cant us it beacuse of the light draining the batt. When I try to update I get the message "Low Batt" so it aborts the job even though its plugged in to the