Two MessageArea UI in One View

Hello. !!
My problem is the following one, I have two MessageArea UI (one to the final result, and the other for validacion of input file empty). and I need that these messages  appear in two MessageAreaUI different from different location inside the View ¿How I can establish when a this enable and the other desable) since the message always shows it in the first one that find enable. 
I need a simple solutions...Regards !!!

Hi Antonio,
Error messages are always displayed in the first instance of the Message Area created/loaded in the memory. Even if you disable/hide the message area, it will still show it in the first instance.
A simple solution is to create the message area dynamically at the position you want.
Say you have two Transparent Containers (with id TC4 & TC5)in which you want to these message area depending on your condition.
In your wdDoModifyView do something like this
view.resetView();
if (Condition){
          IWDTransparentContainer tc4 = (IWDTransparentContainer)view.getElement("TC4");
          IWDMessageArea messageArea = (IWDMessageArea)view.createElement(IWDMessageArea.class, "MessageArea");
          tc4.addChild(messageArea);
else{
          IWDTransparentContainer tc5 = (IWDTransparentContainer)view.getElement("TC5");
          IWDMessageArea messageArea = (IWDMessageArea)view.createElement(IWDMessageArea.class, "MessageArea");
          tc5.addChild(messageArea);
You have to make sure that you view is being reloaded otherwise this will not work since the wdDoModifyView is only called when the view is being loaded/refreshed/reloaded again.
Regards,
Shubham

Similar Messages

  • The problem of  view selector  (can two povit in the one view?)

    hi ,
    I used view selector, for example, I have two option in view selector (view1, view2) ,
    I hope when select view1, there are povit 1 and povit 2.
    in view2 , there are povit 1 and povit 2,
    in there are possible to do it , thanks.

    User wrote:
    Hi,
    you are using 10g so we dont have an option to select Compound layout in view selector like 11g..so why dont you create a View selector like functionality using dashboard prompts to select different reports and your reports will contain both pivot1,pivot2..
    http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-selecting-reports-from-dashboard-prompts-and-guided-navigation-sections/
    Mark it if it is helpful
    Hi User,
    Is it possible to include the Compound Layouts in View Selector in 10G version also. I think it is very easy and straight forward solution for the OP to use Compound Layouts in View Selector.
    Just want to add this to the thread, so others who refer this thread will be clear.
    Regards,
    G. SK

  • Can I use one Apple TV device on two different HD televisions to view the same info from a mini Mac?

    Can I use one Apple TV device on two different HD televisions to view the same info from a mini Mac?

    Welcome to the Apple Community Lschaef5318.
    You need one Apple TV for each TV.

  • Two iterators - One view - Same page

    Hi, I have a big question...
    I have two iterator from the same view in one page, but when I re-execute the query from the view, it change both iterators. There's a way to make it without create a new viewObject for the second iterator?
    Here's my code:
    DCIteratorBinding iterator = (DCIteratorBinding)getBindings().get("iteratorOne");
    ViewObject voOne = iterator.getViewObject();
    voOne.setNamedWhereClauseParam("param", paramOne);
    voOne.executeQuery();
    DCIteratorBinding iterator = (DCIteratorBinding)getBindings().get("iteratorTwo");
    ViewObject voTwo = iterator.getViewObject();
    voTwo.setNamedWhereClauseParam("param", paramTwo);
    voTwo.executeQuery();
    Thanks

    This is my case of use, I have two combos of employes from the employeViewObject, but each combo is a diferent iterator from the same view, programmatic I pass a parameter (area) to the view and then I execute the query, but when I do it for one it make the change for the both combos, beacause it came from the same view.
    viewObject: EmpleadoSIRHPorAreaView
    iterator 1: EmpleadoSIRHPorAreaView1Iterator
    iterator 2: EmpleadoSIRHPorAreaView1Iterator1
    programmatc {
    DCIteratorBinding iterator = (DCIteratorBinding)getBindings().get("EmpleadoSIRHPorAreaView1Iterator");
    ViewObject empleadoVo = iterator.getViewObject();
    empleadoVo.setNamedWhereClauseParam("currentArea", valueChangeEvent.getNewValue());
    empleadoVo.executeQuery();
    Theres a way without make another view to execute the query just for one of them without affect the other iterator.
    Thanks

  • Two entities in one view

    hi
    I have got two enitities in one view in bc4j. a master and detail. When I insert a new record in this view I want to insert both entities. The master and the detail entity. Is this possible in bc4j without writing code?
    Gr,
    Erik

    The ordering by default is based on which entity was modified first and placed into the transaction's validation list.
    The framework manages the order if two entities are involved in a composition association and master's validate calls super's validateEntity during the master's validation cycle.
    Otherwise, you may implement such ordering in subclassed validateEntity() method by invoking validate on the related entity.

  • HT204053 iCloud in a business. Do all the computers require the same apple ID to share all the files?? Can i have two apple accounts on one device?

    iCloud in a business.
    Do all the computers require the same apple ID to share all the files?? Can i have two apple accounts on one device

    Neither of those Apps allow you to (easily) add iWork documents created or edited on the device to your online storage, you need to be using a webDAV server to be able to do that. In fact pretty much all you can add from the iOS device is photos and video without resorting to convoluted workarounds, intermediate apps or emailing finished documents to yourself. You can on the other hand view most of the content of dropbox/sugarsync through those apps, which in a lot of circumstances is useful, but without it working in both directions these apps are far from an ideal solution.
    E.g from the sugarsync website
    Yes, this may not be of too much interest to the OP, I was only trying to clarify the situation with iCloud.com/iWork for you.
    However that being said, there may be areas of interest for Computer to Computer syncing, given the recent changes made to iCloud.com/iWork. I wouldn't suggest iCloud sharing for archived documents, but for perhaps up to a couple of dozen documents in progress, iCloud sharing is now quite viable. If there is any chance at all of these documents being accessed on an iOS device then iCloud would become a preferred option to dropbox or sugarsync.

  • How to include one view into another view

    Hi SDN's,
                   Could any please tell me,How to include one view into another view.
    In my requirment.I want to create a 'Z' view for an interface .In that  view i have to take,
    1) Ship-to-email adrr by
                              LIKP-KUNNR -> KNA1-ADRNR
                              KNA1-ADRNR -> ADR6-ADDRESNUMBER.
    2) E-mail addr of person who created the document.i.e
        LIKP-ERNAM -> USR21-BNAME.
        USR21-ADDRESNUMBER ->  ADR6-ADDRESNUMBER 
        USR21-PERSNUMBER -> ADR6-PERSNUMBER.
       In both the case we have to pass ADDRESSNUMBER to ADR6 table.
    If we pass these condition it fails,B'Coz at a time it passes Two ADDRESSNUMBER and a PERSNUMBER.
    So i created two which fetches only the email addr of  person who created the document.and another view fetches Ship-to-email addr.
    Now i want to include the second view into first view . Is it possible?or please
    tell me someother way to get these email addresses in a single view.

    hi
    as per my knowledge, nested views are not possible. However, while creating a new view, selection method will not giv u option to select the already created view(S) except the tables..i think so.
    regards,
    shamim

  • How to move an itab from one view to another??

    Hi,
    Quick. I retrieve a range from select option in one view? How can i move this range table to another view?
    Currently, this is what I am trying,
      ASSIGN RT_CARRID->* TO <FS_CARRID>.
      RANGE = WD_CONTEXT->GET_CHILD_NODE( NAME = 'TEST' ).
      RANGE->BIND_ELEMENTS( <FS_CARRID> ).
    In the contexts of the two view involved and the component controller i have a node 'TEST' with an attribute range that is declared type ref to data.
    No syntax error, but when i read the context node 'TEST' in the other view, the value is initial.
    Thanks for your quick responses and bright ideas!!
    ALI

    Hi Thomas,
    Here's what I did now. Created an assistance class 'ZCL_WD_COMPONENT_ASSISTANCE' derived from 'CL_WD_COMPONENT_ASSISTANCE' with an attribute, 'my_range_table type ref to data'.
    I assign/attach this class 'ZCL_WD_COMPONENT_ASSISTANCE' to the webdynpro component, by inserting it as an attribute in the component controller. As follow:
    <b>ZWD_ASSIST Type Ref To ZCL_WD_COMPONENT_ASSISTANCE</b>
    Now in the view one I insert code.
    <b>  DATA: RT_CARRID TYPE REF TO DATA.
      DATA: ZWD_ASSIST TYPE REF TO ZCL_WD_COMPONENT_ASSISTANCE.
      CREATE OBJECT ZWD_ASSIST.
      ZWD_ASSIST->MY_RANGE_TABLE = RT_CARRID.
    </b>
    In the view 2.
    <b>  DATA: WD_ASSIST TYPE REF TO ZCL_WD_COMPONENT_ASSISTANCE.
      create object wd_assist.
    rt_carrid = wd_assist->my_range_table.
    </b>
    rt_carrid is still initial.
    Please sort out, if I am not doing correctly.
    Thanks.
    Ali

  • HT2486 can I have two contact lists on one mac book pro?  I need one to sync with my iphone, one to sync with my husband's iphone.

    can I have two contact lists on one mac book pro?  I need one to sync with my iphone, one to sync with my husband's iphone.

    I agree with Chris CA that this is the way I would *expect* iTunes to behave.
    When I look at iTunes from my account (my music is in ~/Music/iTunes/ and not available to my spouse's account), I can see in my music library all my rips and my purchases, just as I would expect. I can use Store>View My Account (<myAppleID>) and all is as expected. Home sharing is NOT on.
    Doing the same from the other account is not much different, actually. Nothing in the library yet, of course. Store>View My Account (<herAppleID>) also works. I CAN authorize my computer to play her music. I CAN view her iTunes purchases. When I attempt to download the purchases to HER library, though, I get the following dialog box:
    Now I interpret this to mean that this computer (mine) will not download from a different AppleID (also mine) for 90 days. Is that [interpretation] correct?

  • Linking two fields in a dictionary view to the same field

    My DBA asked me if I knew how to do this without resorting to ABAP code, and I said I'd ask you guys over here.
    A customer wants a view on several tables.  Vendor name from LFA1 is one of the
    columns in the view.
    He has two other columns in the view which can hold two different vendor numbers at the same time.
    He wants the view to automatically bring in the names from LFA1 from both of them.
    My DBA knows how to do this directly in DB2, of course, but can it be done in native SAP dictionary ???
    Reason he's asking is because he suspects the customer wants to use the view directly in SQLQuery, where there's no chance for an ABAP code intercept.
    Or is there?  Are there ABAP exits in dictionary views?  Or in SQLQueries?

    Hi
    We can straight away write a select statement to a database view similar to a TABLE in ABAP
    see the sample views VIAUFKS and VIAUF_AFVC
    and see the select statement below for this view
    CLEAR: i_ord.
      REFRESH: i_ord.
      SELECT aufnr            " PM Order No
             equnr            " Equipment Number
             tplnr            " Functional Location
             auart            " Order Type
             aedat            " Order Date
             swerk            " Maintenance Plant
             werks            " Plant
             ktext            " Order Text
             kokrs            " Controlling Area
             objnr            " Object Id
             kostl            " Cost Center
        INTO TABLE i_ord
        FROM viaufks
        WHERE aufnr IN s_aufnr AND
              equnr IN s_equnr AND
              tplnr IN s_tplnr AND
              swerk IN s_swerk AND
              aedat IN s_date  AND
              auart IN s_auart.
    Reward points for useful Answers
    Regards
    Anji

  • HP Laserjet CP1025nw Color Printer - printer prints two copies when only one is requested.

    pcwizard (HP) requested that I try Foxit Reader 5.1 to see if the printer will print properly.  I used the same previous document and printed it with Foxit Reader 5.1.  The printer printed two copies when only one was requested as it had done in the past.  We still have a problem.
    I am using Windows 7 (64 bit) for OS.  I have experience the issue on two different computers.
    dslledyrt
    This question was solved.
    View Solution.

    Hi dslledyrt,
    Can you install the Basic Driver for the printer on one of the computers, and let me know if you still have this issue?
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=lj-90357-1&cc=us&dlc=en&lc=en&...=
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • HOW TO GET THE SELECTED VALUE IN A ROW FROM ONE VIEW TO ANOTHER VIEW?

    hi all,
    I  have a small issue.
    i have created two views.In the table of the first view i'm selecting a row and pressing the button it will move to next view.
    i am adding some fields manually in the table of the second view and pressing the save button.Here all the values should get updated corresponding to the field which i have selected in the first view.
    I want to know how to get the particular field in the selected row from one view to another view.
    Kindly help me.

    Hi,
            Any data sharing accross views can be achiveved by defining CONTEXT data in COMPONENT CONTROLLER and mapping it to the CONTEXT of all the views. Follow the below steps.
    1. Define a CONTEXT NODE in component controller
    2. Define same CONTEXT NODE in all the views where this has to be accessed & changed.
    3. Go to CONTEXT NODE of each view, right click on the node and choose DEFINE MAPPING.
    This is how you map CONTEXT NODE and same can be accessed/changed from any VIEW or even from COMPONENT CONTROLLER. Any change happens at one VIEW will be automatically available in others.
    Check the below link for more info regarding same.
    [http://help.sap.com/saphelp_nw04s/helpdata/EN/48/444941db42f423e10000000a155106/content.htm]
    Regards,
    Manne.

  • How do I combine two slide shows into one?

    I need to combine two slide shows into one and put the whole thing into a loop for a Kiosque. Can someone help?

    Drag and drop the slides from the Thumbnail viewer (left side of the window) from one Keynote to the other. They should copy with all the Actions and Transitions still in place. Then go to Inspector>Document Tab and check the box that says to Loop slideshow.

  • SQL*Plus two fetches for getting one row.

    Hi all.
    I have tested following script.
    alter session set events '10046 trace name context forever, level 12';
    select * from dual;And achieved such results (extract from .trc file).
    SQL*Plus: Release 11.2.0.1.0; (Oracle Version 10.2.0.4.0, 11.2.0.1.0)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        2      0.00       0.00          0          0          0           1
    total        4      0.00       0.00          0          0          0           1SQL*Plus: Release 8.1.7.0.0; (Oracle Version 8.1.7.0.0)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      2      0.00       0.00          0          0          0           0
    Fetch        2      0.00       0.00          0          1          4           1
    total        5      0.00       0.00          0          1          4           1Allround Automations PL/SQL Developer 8.0.4; (Oracle Version 10.2.0.4.0, 11.2.0.1.0)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      0.00       0.00          0          0          0           1
    total        3      0.00       0.00          0          0          0           1Allround Automations PL/SQL Developer 8.0.4; (Oracle Version 8.1.7.0.0)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      0.00       0.00          0          1          4           1
    total        3      0.00       0.00          0          1          4           11) I can't figure out why sqlplus does TWO fetches for getting ONE row (instead of pl/sql developer).
    8i raw trace
    PARSING IN CURSOR #1 len=31 dep=0 uid=0 oct=3 lid=0 tim=0 hv=3549852361 ad='4a0155c'
    select 'hello world' from dual
    END OF STMT
    PARSE #1:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=0
    BINDS #1:
    EXEC #1:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=0
    WAIT #1: nam='SQL*Net message to client' ela= 0 p1=1111838976 p2=1 p3=0
    FETCH #1:c=0,e=0,p=0,cr=1,cu=4,mis=0,r=1,dep=0,og=4,tim=0
    WAIT #1: nam='SQL*Net message from client' ela= 0 p1=1111838976 p2=1 p3=0
    FETCH #1:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,tim=0
    WAIT #1: nam='SQL*Net message to client' ela= 0 p1=1111838976 p2=1 p3=0
    WAIT #1: nam='SQL*Net message from client' ela= 0 p1=1111838976 p2=1 p3=0
    STAT #1 id=1 cnt=1 pid=0 pos=0 obj=195 op='TABLE ACCESS FULL DUAL '11g raw trace
    PARSING IN CURSOR #3 len=30 dep=0 uid=96 oct=3 lid=96 tim=1581355246985 hv=1158622143 ad='b8a1bcdc' sqlid='5h2yvx92hyaxz'
    select 'hello world' from dual
    END OF STMT
    PARSE #3:c=0,e=130,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=1388734953,tim=1581355246984
    EXEC #3:c=0,e=40,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=1388734953,tim=1581355247154
    WAIT #3: nam='SQL*Net message to client' ela= 7 driver id=1111838976 #bytes=1 p3=0 obj#=-1 tim=1581355247252
    FETCH #3:c=0,e=18,p=0,cr=0,cu=0,mis=0,r=1,dep=0,og=1,plh=1388734953,tim=1581355247324
    STAT #3 id=1 cnt=1 pid=0 pos=1 obj=0 op='FAST DUAL  (cr=0 pr=0 pw=0 time=0 us cost=2 size=0 card=1)'
    WAIT #3: nam='SQL*Net message from client' ela= 193 driver id=1111838976 #bytes=1 p3=0 obj#=-1 tim=1581355247735
    FETCH #3:c=0,e=2,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,plh=1388734953,tim=1581355247800
    WAIT #3: nam='SQL*Net message to client' ela= 5 driver id=1111838976 #bytes=1 p3=0 obj#=-1 tim=15813552478552) Is there any possibility to view data provided by each fetch?
    Thanks in advance!
    P.S.
    SQL> sho arraysize
    arraysize 15

    Thanks.
    I have tested two statements.
    select 'hello world' from dual where 1=1;
    select 'hello world' from dual where 1=0;When query returns no data, there is only one SQL*Net roundtrip (and one fetch)
    SQL> set autot on statistics
    SQL> select 'hello world' from dual where 1=1;
    'HELLOWORLD
    hello world
    Statistics
              0  recursive calls
              0  db block gets
              0  consistent gets
              0  physical reads
              0  redo size
            528  bytes sent via SQL*Net to client
            492  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              1  rows processed
    SQL> select 'hello world' from dual where 1=0;
    no rows selected
    Statistics
              0  recursive calls
              0  db block gets
              0  consistent gets
              0  physical reads
              0  redo size
            329  bytes sent via SQL*Net to client
            481  bytes received via SQL*Net from client
              1  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              0  rows processedBut in both cases i found in client trace this sequence of bytes:
    ] nsprecv: 00 00 36 01 00 00 00 00  |..6.....|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 90 19 43 13 00 00  |....C...|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 19 4F 52 41 2D 30  |...ORA-0|
    ] nsprecv: 31 34 30 33 3A 20 6E 6F  |1403:.no|
    ] nsprecv: 20 64 61 74 61 20 66 6F  |.data.fo|
    ] nsprecv: 75 6E 64 0A              |und.    |In first case - it was in 2nd packet and in second case (query returns no data) - part of 1st packet.

  • I am wanting to exactly match two ID numbers from two differing worksheets within one work book. Once matched I am wanting to retrieve a row value from the second worksheet into the first. Any help much appreciated.

    I am wanting to exactly match two ID numbers from two worksheets within the one work book. ID numbers are non linear. Once exactly matched I wish to retrieve a corresponding row value from worksheet two and have it appear in worksheet one against the correct ID number. I have been looking at IF, VLOOKUP, and MATCH functions and suspect that what I want to do requires a combination of two or more. Any help will be greatly appreciated.
    regards Vaughanh

    Vaughan,
    Data A:D is all cells start at column A thru column D.
    There is built-in help using the menu item "View > Show Function Browser"  in the search field (top right) you can enter vlookup and you will see the detailed description.
    From this we see:
    VLOOKUP
    (search-for, columns-range, return-column, close-match)
    search-for:  The value to find. search-value can contain any value type.
    columns-range:  A range of cells. range is a reference to a single range of cells, which may contain values of any type.
    return-column:  A number that specifies the relative column number of the cell from which to return the value. return-column is a number value. The leftmost column in the range is column 1.
    close-match:  An optional value that determines whether an exact match is required.
    close match (TRUE, 1, or omitted):  If there’s no exact match, select the column with the largest top-row value that is less than the search value. Wildcards can’t be used in search-for.
    exact match (FALSE or 0):  If there’s no exact match, return an error. Wildcards can be used in search-for.
    So... the 2,0 means return the value form the same row as the lookup value but from the 2nd column of the range.  3, 0 means from the 3rd column.  the ", 0" means exact match

Maybe you are looking for

  • Avoid Printer selection Dialogue box when printing Crystal report in JAVA

    Hi i am calling crystal report in my servlet using Report Client Document SDK, now i want to print the report directly to the default printer set without selecting the printer from the select printer dialogue box. In other words want to avoid the sel

  • "Mail cannot update your mailboxes because your home directory is full"

    I have a 250 GB hard disk, 4.34 GB of which is in my "Home" folder. (Total HD usage is about 27 GB.) This happened suddenly after Mail had been working fine for eons. I deleted a bunch of files (107 MB) in a "Drafts" folder (none show up in the Mail

  • Error Message - PLEASE HELP!

    I've always been able to use my iPod with my computer since I got it. Just yesterday it was working fine but when I just plugged it in now an error message popped up: iTunes has detected an iPod that appears to be corrupted. You may need to restore t

  • ST-PI upgrade issue in IS_SELECT

    I am running PREPARE on a 4.6C (Linux/DB2)  > ECC 6.0 upgrade and have recieved the warning that 'Add-on ST-PI is toohigh for this upgrade".  I have downloaded the 'ST-PI 2008_1_710' patches (SAPKITLRE1, SAPKITLRE2, SAPKITLRE3) into /usr/sap/put and

  • Printing wide ABAP in PDF form leads to very small fonts

    Hi all, Our solution uses EP (NW2004s) as well as SAPGUI for HTML (ECC6), and printing is only through Front-end printing. Hence, we are only able to open the output in Adobe Reader and then print using the OS defined printers. This works fine for mo