Skip to Content
author's profile photo Former Member
Former Member

webdynrpo mobile visibility context

Hi,

I am trying to bind the visibility attribute to context com.sap.ide.webdynpro.uielementdefinitions.Visibility value attribute.

But i am not able to set the same in the implmentation as i dont have access to WDVisibility class and its referenced constants like WDVisibility.NONE,WDVisibility.BLANK, WDVisibility.VISIBLE.

Can someone please tell me how do u solve this problem.

Thanks

Srikumar V

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 08:37 AM

    Hi Srikumar,

    The thread describes about WdVisibility

    dynamical-view---visible--invisible-mode

    Regards,

    Sri

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 15, 2009 at 08:40 AM

    Hi,

    Are you using Mobile Application for Laptops?

    If yes then do the following:

    In the context create an attribute of type :

    com.sap.ide.webdynpro.uielementdefinitions.Visibility

    Then assign this attribute to the Visibility property of the UI element.

    Now when you can say something like this:

    wdContext.currentContextElement().set<attributename>(WDVisibility.NONE);

    Regards,

    Narayani

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 08:50 AM

    Hi,

    Try this code,

    You can create a context attributes of type "WDVISIBILITY" for different tables and on click on the buttons you can make others visible or none by using

    wdContext.currentContextElement().set<TABLE1VISIBLE>(WDVISIBILITY.NONE)

    wdContext.currentContextElement().set<TABLE1VISIBLE1>(WDVISIBILITY.VISIBLE)

    Regards,

    Sunaina Reddy T

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.