Dynamical View - Visible / Invisible mode

Hi,
I've 5 table in a view of a Web Dynpro and 5 button for any table.
I need to display only a table dipending the button pushed .
I think to put 5 table on a view in invisible mode.
I can't place on all the table each other.
Have you an idea?
Tnx a lot.
Domenico.

Hi,
Adding to what Anil has said
The table has property called Visibile bind this to a context attribute of type WDVisibility.
The property Visible can take three values
blank : The UI element is not visible on the screen but takes up space.
none : The UI element is not visible on the screen and takes up no space.
visible :The UI element is displayed on the screen.
In the init method set all the tables visibility to none like
wdContext.currentContextelement.set"Name of attribute"(WDVisibility.None);
Then as and when you require to see a particular table set the context attribute to visible.
Hope this helps.
Regards,
Vijith

Similar Messages

  • To Make webdynpro ivew in portal from invisible mode to visible mode dynmly

    Hi Guys,
             I have created a webdyn iview and configured in portal under role named 'xxx'. Iview should be in invisible mode initially , when iview encounters the birthday of the current portal user then popup should be displayed where iview should be dynamically in visible mode.
    How to make the iview from invisible to visible dynamically?
    Thanks
    Thirumurugan.A

    Hi,
    I think you can not set the iview property from webdypro application.
    you can pass the parameters from iview based on that functionality of the webdynpro applcation can be maintained.
    For your problem i would suggest you to use view set and put a create navigation between the views base on the condition.
    Regards
    Deepak

  • 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

  • Running in invisible mode

    Hi,
    I have a Java Frame that i want to run in invisible mode. The problem is that i have to set it to visible first, then invisible otherwise it doesn't seem to execute. Also if i set it to ICONIFIED, the program doesn't run until it is maximized.
    How can i make it so i never have to make it visible and have it still run?
    Thanks for any help.

    First explain what you mean by "executing a frame". Hi, this is the first time i have done anything in Java. I am trying to run this java program from a C program, but don't want to see the window pop up at all. But if i don't have the f.setVisible(true) where it is, the viewer modules, which are capturing streaming data and writing to bmp's to not work. The same is true if i set to ICONIFIED.
    Thanks, hope this helps...
    public static void main(String args[])
    ms_standalone = true;
    Frame f = new Frame(AppID.getAppID().getAppName());
    f.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent we)
    System.exit(0);
    f.setSize(352, 320);
    f.setLayout(new BorderLayout());
    int numCams = 0;
    StringBuffer concatURL = new StringBuffer();
    for (int i=0;i< args.length;i++)
    String arg = args;
    if (arg.startsWith("-")) {
    int eqidx = arg.indexOf("=")+1;
    if (arg.startsWith("-num=")) {
    numCams = Character.getNumericValue(arg.charAt(eqidx));
    } else {
    usage();
    System.exit(0);
    } else {
    if (concatURL.length() != 0)
    concatURL.append("|");
    concatURL.append(arg.trim());
    // create multiple viewers
    Viewer cv[] = new Viewer[numCams];
    for (int i = 0;i < numCams; i++) {
    cv[i] = new Viewer();
    cv[i].m_parameters.put(PAR_ACCESSORIES, "none");
    String tmpStr = concatURL.toString() + i + ".a";
    cv[i].m_parameters.put("url", tmpStr);
    cv[i].m_camNum = i;
    f.add(BorderLayout.CENTER, cv[i]);
    cv[i].init();
    f.setVisible(true);
    cv[i].start();
    f.setVisible(false);

  • Condition colum in VA01 is in invisible mode, ie. gray color

    Hi expert,
    When I create VA01, I would like to change my price.
    But I am getting condition tab in gray color.
    If it white color only we can change the price and update any manual condition records. But I am getting only under condition tab in VA01 in gray color. It is look like display mode screen. If I look other tab for example sales, shipping or scheduling agreement screen etc. everything is in visible mode. But if i click condition tab, It is in invisible mode.
    I am maintaining that manual entry has priority in v/06.
    I didnt block anything in vov8.
    how to solve this problem.
    Help me out.
    Thanks in advance

    Hi,
    Please check with Basis team that whether you have authorization to change the pricing in sales order or not...
    And please check whether u have maintianed all condtion types mandatory in pricing or manual in pricing.... also..
    Or All condition types in order migh have been grayed out for not permitting furhter changes by Basis team ....Please check this one also..
    Regards
    sankar

  • Run ifrun60.exe in invisible mode

    Hi,
    I am running a form from a batch file and i want to run it in invisible mode,
    please tell me how it can be acheived.
    Regards,
    Sandeep

    zakaoullah gave a good solution.
    Still, I do not understand why do you have to call/open a form without showing anything, and not rather call some procedures written in the form you are in or in a .pll attached to the form you are in. Because, usually, when you create a form, it is created in order to be visible and to interact with the user somehow.

  • 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

  • IPhone 6 month view in landscape mode??

    hello, was wondering if there is a way to view an entire month in landscape mode on the  regular iPhone 6 just like we can on the iPad?? Couldn't find it and would love this feature if it doesn't exist. I don't schedule things by the hour. I think the screen is plenty big for this and the month view in horizontal mode is useless since the little dots won't show colors.
    Thanks for any info!

    I haven't found a way to display the whole month in landscape view on my iPhone 6. May not exist. You can send feedback to Apple about this here:
    http://www.apple.com/feedback/

  • Select from Query ? / Dynamic view ? Anything else ?

    Hello,
    This could be a bit challenging. (or maybe not, i hope)
    I have to create a report which is based on 3/4 tables with pretty complex SQL.
    Step 1. I have to use views (in the database currently) to select data from these tables.
    Step 2. Then create the next set of views (in the db) based on the previous views.
    Step 3. Then finally join the last set of views in Reports and create the report based on the PARAMETERS entered.
    This was fine, until the client changed the criteria. Now the views have to be created but the PARAMETERS affect the FIRST set of views.
    That is, the views in the FIRST STEP will have a where condition based on the parameters at RUN TIME.
    I was wondering about how to do this ?
    1. Can I use dynamic views (in db) passing the where condition parameter to the where clause ? Alternatively use DDL in Reports.
    OR
    2. Create a query in Reports and create subsequent QUERIES BASED ON THE FIRST QUERY (like MS Access). Can this be done ?
    3. Any other way ?
    If you need any clarification, I can provide that.
    THANKS for taking the time to read it. It would be great if you could give me any ideas.
    Pat.

    hello,
    you might look into REF-CURSOR-QUERIES for this particular case. it might help.
    regards,
    the oracle reports team

  • Unable to open a view in edit mode

    Hi All,
    I have a Notes assignment block in the Account Overview page. It contains a text area and an EDIT button to modify the notes. Corresponding view and context node for this block are  BP_DATA/NOTES and NOTES respectively. Notes context node is bound to Text context node of the component controller.
    The issue is, when agent confirms an account, goes to Overview page and clicks on EDIT button of the Notes block, then, if the block already has some text, then it turns in to EDIT mode. But if Notes section is empty initially, then, on click of EDIT button will not make the view editable.
    During debugging, I can see that if notes section is already filled with some text, then there is an entity in the collection wrapper of the NOTES context node(also in the component controller collection wrapper). But if notes section is initially empty, then collection wrapper is empty(both view and component controller context nodes).
    My requirement is to make the notes section editable even if there is no text present in it initially. It will be very helpful if someone could give me suggestions on this issue.
    Thanks and Regards,
    Naren

    Hi Nitish,
    Thanks for your reply. Infact I only coded the event handler. In the first line, I am reading the entity from the collection wrapper of the context node. If it is bound, only then I can set it in EDIT mode.
    ob_entity ?= me->typed_context->notes->collection_wrapper->get_current( ).
    IF ob_entity IS BOUND.
    Sets the view in EDIT mode
    Now, ob_entity is null if there is initially no data in the notes section of the confirmed account. However, if notes is not empty, then, ob_entity is bound and I can set the view to edit mode. This is the issue.
    Regards,
    Naren

  • Dynamic view creation in Flex

    I am new to  Flex web applications and I am doing research to see if functionality
    contained in an existing web application can be replicated in a Flex web app.
    We currently have a JSP / Struts based web application that creates a data entry
    web view dynamically based on information that describes the different widgets and
    their view locations as recieved from the application backend.  We are looking at
    migrating this application and this functionality to Flex.
    When User X selects 1 of any number of data entry views, the Flex application would
    receive data from the back end that  contains information describing the different widgets
    to display on the dynamic view: what type of widget to display ( text field,combo, line,
    box, etc), the pixel specific positional information as to where each widget exists in the
    view.  These data entry views are not something the Flex developer designs or knows
    what to expect from the backend. Flex has to generate the view on the fly based on the
    information that describes the view.
    The question:  I fully expect there to be coding within the action scripts; before trying to
                         learn how to do this, is this something that Flex support.  
    Thanks,
    Brian

    Yep, we do something similar. We had to build out the infrastructure, but It works fine. E.g.,
    var bDesc:XML = <button x="10" y="5" label="hello world" color="red"/>
    var b:Button = new Button();
    b.label = bDesc.@label;
    b.x = bDesc.@x;
    b.y = bDesc.@y;
    b.setStyle('color', b.@color);
    addChild(b);
    In your app, the actual description (XML or other format) would be coming from the server. Then you just add it to the display list (and wire in any event handlers if necessary). In a real setting, you'll need error checking and a more formalized way of doing this, but it works reasonably well. No major snags.

  • Gif file won't animate in Muse's preview mode or in Muse's view in browser mode

    Created a gif file with Photoshop that's 7.5MB in size.  Placed the gif  file on a Muse page.  But, the gif won't animate in Muse's preview mode or when Muse sends the page to be viewed in browser mode.  I'm using a Mac running OS X 10.9.2 and I'm a creative cloud member using Muse.  Any solutions?

    Step one to enable the community to help debug what you're encountering would be to provide the URL for the page where the GIF is being used. My first guess would be there are effects applied to the image (i.e. inner glow, bevel, etc.) that require Muse to re-encode the image and Muse does not support encoding animated .gif. It only supports passing animated .gif files through unchanged. (And to get an image to pass through unchanged it needs to have no effects that require rasterization applied in Muse.)
    Given you've stated the GIF file is 7.5Mb I have to question your choice of .gif. At 7.5Mb this single file will take ~8 seconds to download on the average US broadband connection and will be much slower for many broadband users and most cellular users. GIF is a reasonable choice for very small short animations used sparingly, but is seldom (if ever) a good choice for larger or longer animations. Better choices for those are to use a video or a tool like Edge Animate to create a HTML5/CSS3 animation. The end result will be vastly more user friendly in terms of page load performance.
    A huge percentage of first time visitors to a webpage will cancel the page load rather than waiting 8+ seconds for the page load to complete.

  • How to create dynamic View Object and Dynamic Table

    Dear ll
    I want to create a dynamic view object and display the output in a dynamic table on the page.
    I am using Jdeveloper 12c "Studio Edition Version 12.1.2.0.0"
    This what I did:
    1- I created a read only view object with this query "Select sysdate from dual"
    2- I added this View object to the application module
    3- I created a new method that change the query of this View object at runtime
        public void changeVoQuery(String dbViewName) {
            String sqlstm = "Select * From " + dbViewName;
            ViewObject dynamicVo = this.findViewObject("DynamicVo");
            if (dynamicVo != null) {
                dynamicVo.remove();
            dynamicVo = this.createViewObjectFromQueryStmt("DynamicVo", sqlstm);
            dynamicVo.executeQuery();
    4- I run the application module for testing the method and I passed "Scott.Emp" as a parameter and the result was Success
    5- Now I want to show the result of the view on the page, so I draged and dropped the method from the data control as a parameter form
    6- I dragged and dropped the view Object "DynamicVo" as a table and I choose "generate Column Dynamically at runtime". This is the page source
    <af:panelHeader text="#{viewcontrollerBundle.SELECT_DOCUMTN_TYPE}" id="ph1">
            <af:panelFormLayout id="pfl1">
                <af:inputText value="#{bindings.dbViewName.inputValue}" label="#{bindings.dbViewName.hints.label}"
                              required="#{bindings.dbViewName.hints.mandatory}"
                              columns="#{bindings.dbViewName.hints.displayWidth}"
                              maximumLength="#{bindings.dbViewName.hints.precision}"
                              shortDesc="#{bindings.dbViewName.hints.tooltip}" id="it1">
                    <f:validator binding="#{bindings.dbViewName.validator}"/>
                </af:inputText>
                <af:button actionListener="#{bindings.changeVoQuery.execute}" text="changeVoQuery"
                           disabled="#{!bindings.changeVoQuery.enabled}" id="b1"/>
            </af:panelFormLayout>
        </af:panelHeader>
        <af:table value="#{bindings.DynamicVo.collectionModel}" var="row" rows="#{bindings.DynamicVo.rangeSize}"
                  emptyText="#{bindings.DynamicVo.viewable ? 'No data to display.' : 'Access Denied.'}"
                  rowBandingInterval="0" selectedRowKeys="#{bindings.DynamicVo.collectionModel.selectedRow}"
                  selectionListener="#{bindings.DynamicVo.collectionModel.makeCurrent}" rowSelection="single"
                  fetchSize="#{bindings.DynamicVo.rangeSize}" filterModel="#{bindings.DynamicVoQuery.queryDescriptor}"
                  queryListener="#{bindings.DynamicVoQuery.processQuery}" filterVisible="true" varStatus="vs" id="t1"
                  partialTriggers="::b1">
            <af:iterator id="i1" value="#{bindings.DynamicVo.attributesModel.attributes}" var="column">
                <af:column headerText="#{column.label}" sortProperty="#{column.name}" sortable="true" filterable="true"
                           id="c1">
                    <af:dynamicComponent id="d1" attributeModel="#{column}"
                                         value="#{row.bindings[column.name].inputValue}"/>
                </af:column>
            </af:iterator>
        </af:table>
    when I run the page this error is occured
    <Nov 13, 2013 2:51:58 PM AST> <Error> <oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter> <BEA-000000> <ADF_FACES-60096:Server Exception during PPR, #1
    javax.el.ELException: java.lang.NullPointerException
    Caused By: java.lang.NullPointerException
    Can any body help me please
    thanks

    Have you seen Shay's video https://blogs.oracle.com/shay/entry/adf_faces_dynamic_tags_-_for_a
    All you have to do is to use the dynamic table to get your result.
    Timo

  • Updatable , Dynamic VIEW OBJECT ??

    Hi ,
    I want to create a dynamic VO which is updatable.
    I dont have any information about the table on which my View Object is based on, at DESIGN TIME. At run time I create query for the view and create dynamic view using AM.createViewObjectFromQueryStmt(String, String) but this kind of view will not be an updatable view.
    I think if I use createViewObjectFromQueryClauses() from entity, it will be updatable,,,but in that I will have to create entities for all the table in my schema ..which sounds BAD...
    is there any thing as DYnamic Entities ??
    or any other trick to do this.....
    BC4J should support something like changing QUERY_DATA_SOURCE_NAME at runtime in oracle forms.. which allow you to update record.
    Thanx,
    Prasoon

    Hi Prasoon,
    Steve Muench's "Dive Into BC4J" page has the following example: http://radio.weblogs.com/0118231/stories/2003/07/15/creatingUpdateableMultientityViewObjectDefinitionsDynamically.html
    But this is based on pre-defined Entity Objects. It might give you some ideas, though.
    Good luck!
    Chris

  • Dynamic view object loses bind variables after passivation

    I am creating a view object definition/view object programmatically in Jdev 11.1.1.2.0. The query requires a named bind parameter. All was working fine but now I am testing with app module pooling disabled and the bind variable is not being restored after passivation -- it's like the definition has disappeared or something.
    Here is my VO creation code:
    ViewObject vo = findViewObject("FinalistsWithEvalDataVO");
    if (vo != null){
    vo.remove();
    ViewDefImpl voDef = new ViewDefImpl("FinalistsWithEvalDataVODef");
         // I add a bunch of viewAttrs here...
    voDef.setQuery(fullQuery);
    voDef.setFullSql(true);
    voDef.setBindingStyle(SQLBuilder.BINDING_STYLE_ORACLE_NAME);
    voDef.resolveDefObject();
    voDef.registerDefObject();
    vo = createViewObject("FinalistsWithEvalDataVO", voDef);
    vo.defineNamedWhereClauseParam("Bind_SchlrAyId", null, new int[] {0});
    vo.setNamedWhereClauseParam("Bind_SchlrAyId", new Number(1)); //For testing
    vo.executeQuery();
    The query executes fine right there and then the VO seems to passivate fine. I even see the bind var in passivation:
    <exArgs count="1">
    <arg name="Bind_SchlrAyId" type="oracle.jbo.domain.Number">
    <![CDATA[1]]>
    </arg>
    </exArgs>
    But then when it reactivates prior to rendering the page, it invariably throws a missing parameter exception and this in the log:
    <ViewUsageHelper><createViewAttributeDefImpls> [7409] *** createViewAttributeDefImpls: oracle.jdbc.driver.OraclePreparedStatementWrapper@1af78e1
    <ViewUsageHelper><createViewAttributeDefImpls> [7410] Bind params for ViewObject: [FinalistsWithEvalDataVO]AwardViewingServiceAM.FinalistsWithEvalDataVO
    <ViewUsageHelper><createViewAttributeDefImpls> [7411] ViewUsageHelper.createViewAttributeDefImpls failed...
    <ViewUsageHelper><createViewAttributeDefImpls> [7412] java.sql.SQLException: Missing IN or OUT parameter at index:: 1
    I have worked on this for hours and can't see anything wrong. Like I said, it works fine when not forcing passivation...
    Any help would be appreciated.
    Thanks.
    -Ed

    @Jobinesh - Thanks for the suggestions. I have read all the documentation I can find. Everything works fine without passivation. Everything still breaks with passivation. I have given up on trying to get the bind variable to restore after passivation and am currently just building the query with all values embedded in the query rather than bind variables. This is bad practice but avoids the problem. However, now that I avoided that obstacle, I'm on to the next issue with passivation of this dynamic view object, which is that the current row primary key apparently cannot be reset after activation. I get the following error:
    <Key><parseBytes> [7244] Key(String, AttributeDef[]): Invalid Key String found. AttributeCount:1 does not match Key attributes
    <DCBindingContainer><reportException> [7254] oracle.jbo.InvalidParamException: JBO-25006: Value 00010000000A30303033383133343734 passed as parameter String to method Constructor:Key is invalid: {3}.
         at oracle.jbo.Key.parseBytes(Key.java:537)
         at oracle.jbo.Key.<init>(Key.java:179)
         at oracle.jbo.server.IteratorStateHolder.getCurrentRowKey(IteratorStateHolder.java:34)
         at oracle.jbo.server.ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:3877)
    I've been trying various workarounds for over a day now with no luck. Very frustrating.
    Thanks for trying to help.
    -Ed

Maybe you are looking for

  • How to get f4 help in alv grid in container-urgent

    hi, how to get f4 help in alv grid in container using abap objects ganesh

  • Error when run adobe livecycle trial windows server 2012

    hi i got this error when i try to install adobe livecycle : invocation of this java application has caused an invocationtargetexception when i click more details it show this : ZeroGu2: Windows DLL failed to load           at ZeroGa2.b(DashoA10*..)  

  • Mackbook pro vs air help!

    So basically I have been having a choice between the Macbook air 13inch, with upgraded i7 core prosesser, 8gbs of ram and I think it's 256gbs of flash storage?  And the Macbook pro with retina display 13 inch also with 8gbs of ram, and 256gbs of flas

  • Purchase value + tax details

    hi gurus Through which t code i will get purchasing value + applicable tax ammount. Reg. Roc

  • GET Command

    Dear SDN, In order to create a custom Report, I need to understand a Standard program, which at a certain point has a "GET objec" command. The structure objec, in this case, is related to the OBJEC table, which is related to the PCH database that was