HTML Tile loaded dynamically based on user interaction is invisible

When I include an HTML Tile in my application XML file, it shows up fine.  When I load it dynamically, it doesn't throw a runtime error but it's invisible.
Thoughts?
Thanks in advance!

Here's how I'm loading the tile:
private function onDataGridSelectionSignalReceived():void
    trace("onDataGridSelectionSignalReceived");
    //To read HTML tile from Catalog
    var htmlTile:ITile =  mosaicApp.loadedCatalogs[0].tiles[4]; 
    htmlTile.visible = true;
    var shellPanelParent:IShell = mosaicApp.shell;
    //Itegrate main panel
    for each (var mainPanel:IPanel in shellPanelParent.panels)
        //Iterate content panel
        for each (var contentPanel:IPanel in mainPanel.panels)
            //we are reading existing message tile due to panel alignment issue
            //and this will be again added to the panel as last component.
            var messageTile:ITile = contentPanel.removeTile(contentPanel.tiles[1]);
            //To add HTML tile into panel
            contentPanel.addTile(htmlTile as ITile);
            //To add Message tile into panel
            contentPanel.addTile(messageTile);
            //To remove SearchTile from panel
            contentPanel.removeTile(contentPanel.tiles[0]);
            break;

Similar Messages

  • How to configure the schema name dynamically based on user input.

    configure the schema name dynamically based on user input.
    For ex:
    We have two schemas:
    Schema1  - base schema having 15 tables.
    Schema2 -  tables which is specific to modules. Having only 10 tables which is also available in Schema1
    Login to application using Schema 1
    Access a particlular module and select the country. Here country selection is identified.
    Based on the country selection, we need to connect the schema respectively.
    If the user selects France --> It should connect Schema1
    If the user selects Germeny --> It should connect schema2.
    Used: Eclipselink

    You may want to have a different persistence unit for each country, then you just need to switch persistence units, and can put the schema in your orm.xml file.
    You may also want to investigate EclipseLink multi-tenant support,
    http://www.eclipse.org/eclipselink/documentation/2.5/jpa/extensions/a_multitenant.htm
    You can the schema in a persistence unit in code using a SessionCustomizer and the tableQualifier.

  • How to add column dynamically based on user input in oracle?

    **how to add column dynamically based on user input in oracle?**
    I am generating monthly report based on from_date to to_date below is my requirement sample table
    EMPLOYEE_CODE| Name | CL_TAKEN_DATE | CL_BALANCE | 01-OCT-12 | 02-OCT-12 | 03-OCT-12
    100001.............John...........02-OCT-12...............6
    100002.............chris...........01-OCT-12...............4
    Based on user input, that is, if user need the report from 01-OCT-12 TO 03-OCT-12, i need to add that dates as column in my table, like 01-OCT-12 | 02-OCT-12 | 03-OCT-12....
    below is my code
    create or replace
    procedure MONTHLY_LVE_NEW_REPORT_demo
    L_BUSINESS_UNIT IN SSHRMS_LEAVE_REQUEST_TRN.BUSINESS_UNIT%TYPE,
    --L_LEAVE_TYPE_CODE           IN SSHRMS_LEAVE_REQUEST_TRN.LEAVE_TYPE_CODE%TYPE,
    L_DEPARTMENT_CODE IN VARCHAR2,
    --L_MONTH                    IN SSHRMS_LEAVE_REQUEST_TRN.LVE_FROM_DATE%TYPE,
    L_FROM_DATE IN SSHRMS_LEAVE_REQUEST_TRN.LVE_FROM_DATE%TYPE,
    L_TO_DATE in SSHRMS_LEAVE_REQUEST_TRN.LVE_TO_DATE%type,
    MONTHRPT_CURSOR OUT SYS_REFCURSOR
    AS
    O_MONTHRPT_CURSOR_RPT clob;
    v_return_msg clob;
    BEGIN
    IF (L_BUSINESS_UNIT IS NOT NULL
    AND L_FROM_DATE IS NOT NULL
    and L_TO_DATE is not null
    -- AND L_DEPARTMENT_CODE IS NOT NULL
    THEN
    OPEN MONTHRPT_CURSOR FOR
    select EMPLOYEE_CODE, EMPLOYEE_NAME AS NAME, DEPARTMENT_CODE AS DEPARTMENT,DEPARTMENT_DESC, CREATED_DATE,
    NVL(WM_CONCAT(CL_RANGE),'') as CL_TAKEN_DATE,
    case when NVL(SUM(CL2),0)<0 then 0 else (NVL(SUM(CL2),0)) end as CL_BALANCE,
    from
    SELECT DISTINCT a.employee_code,
    a.EMPLOYEE_FIRST_NAME || ' ' || a.EMPLOYEE_LAST_NAME as EMPLOYEE_NAME,
    a.DEPARTMENT_CODE,
    a.DEPARTMENT_DESC,
    B.LEAVE_TYPE_CODE,
    B.LVE_UNITS_APPLIED,
    B.CREATED_DATE as CREATED_DATE,
    DECODE(b.leave_type_code,'CL',SSHRMS_LVE_BUSINESSDAY(L_BUSINESS_UNIT,to_char(b.lve_from_date,'mm/dd/yyyy'), to_char(b.lve_to_date,'mm/dd/yyyy'))) CL_RANGE,
    DECODE(B.LEAVE_TYPE_CODE,'CL',B.LVE_UNITS_APPLIED)CL1,
    b.status
    from SSHRMS_EMPLOYEE_DATA a
    join
    SSHRMS_LEAVE_BALANCE C
    on a.EMPLOYEE_CODE = C.EMPLOYEE_CODE
    and C.STATUS = 'Y'
    left join
    SSHRMS_LEAVE_REQUEST_TRN B
    on
    B.EMPLOYEE_CODE=C.EMPLOYEE_CODE
    and c.EMPLOYEE_CODE = b.EMPLOYEE_CODE
    and B.LEAVE_TYPE_CODE = C.LEAVE_TYPE_CODE
    and B.STATUS in ('A','P','C')
    and (B.LVE_FROM_DATE >= TO_DATE(L_FROM_DATE, 'DD/MON/RRRR')
    and B.LVE_TO_DATE <= TO_DATE(L_TO_DATE, 'DD/MON/RRRR'))
    join
    SSHRMS_LEAVE_REQUEST_TRN D
    on a.EMPLOYEE_CODE = D.EMPLOYEE_CODE
    and D.LEAVE_TYPE_CODE in ('CL')
    AND D.LEAVE_TYPE_CODE IS NOT NULL
    group by EMPLOYEE_CODE, EMPLOYEE_NAME, DEPARTMENT_CODE, DEPARTMENT_DESC, CREATED_DATE
    else
    v_return_msg:='Field should not be empty';
    end if;
    END;
    my code actual output
    EMPLOYEE_CODE| Name | CL_TAKEN_DATE | CL_BALANCE
    100001....................John............02-OCT-12.................6
    100001....................chris...........01-OCT-12.................4
    how to add column dynamically based on from_date to to_date?
    Thanks and Regards,
    Chris Jerome.

    You cannot add columns dynamically. But you can define a maximum number of numbers and then hide unused columns in your form useing SET_ITEM_PROPERTY(..,VISIBLE, PROPERTY_FALSE);

  • Loading XML based on User Decision

    Hello-
    I am working on a Flash project that involves an intro movie,
    which - when done - leads to a "decision" screen where the user
    chooses what kind of "visitor" they are. In other words, an intro
    movie will play and then lead to a screen with three choices: "I am
    this", "I am this", or "I am this".
    No matter what they choose, the area and graphics they are
    taken to is the same (a flash map with rollover content pop-ups).
    But, based on what kind of user they selected in the previous
    screen, the content will vary slightly on this map. I could just
    have three scenes for the three different users using the same
    graphics and map (but with different content in each), but that
    seems to be a waste. Is there a way to have the Flash map appear
    with the correct content based on the user decision from the
    previous screen?
    An example would be this:
    User A watches the intro movie and decides they are "Visitor
    A". They click on that button and are taken to the Flash map with
    their customized content (hopefully loaded via XML). User B watches
    the same intro movie, but this time chooses "User B". They are
    taken to the same map and area (within the same scene or clip), but
    contains slightly different content.
    Any help would be much appreciated. Thanks!

    This sounds perfect... But, I simply don't know how to code
    such a thing. Could anyone offer help with the script or point me
    to a tutorial?
    Thanks again.

  • How to report with different time zone dynamically based on user's account?

    Hello
    I am wondering is there a way to change the report's date & time data based on user's locale setting in OBIEE?
    Let's say the user log in to OBIEE with eastern time zone setting. The data that's in the database is storing a transaction of $400 at 1am Pacific time.
    So when this user run a query which does something like 'select date, transaction, amount from date, transaction, sales where this = that', it should display the $400 amount done at 4am eastern time instead of 1am pst.
    What I have done is to have data stores in date dimension to be UTC time, and I have also changed the data type of the date column to be 'local time zone'. DB is Oracle DB 11G now.
    Now this query works perfectly well in the DB as long as I run the following commend first:
    Alter session set time zone = 'whatever my time zone'
    and then
    Select date, transaction from tables..
    The date displayed will automatically be converted into different time zone..
    Since everything is working nicely from Oracle DB level, I need to know how to make it work when OBIEE sends the same query down to the DB..
    I know that, probably I will have to enter the above alter session commend in the connection pool, however, I can't hardcode the time zone value.
    I also don't want to store user's time zone in the user table because these users travels a lot. So even if his table setting is EST, but at a given day he can be traveling to pst time zone and view reports.
    Is there a way to dynamically set the time zone based on user's account locale setting?
    Let me know if you guys have implemented something similar or not
    Thanks

    garuda wrote:
    Hello Sarvan
    I have already done that part at the DB level and it is working perfectly with alter session commend before the query.
    My question is, how do I configure OBIEE so that before each user runs a report from BI, the alter session commend will be fired with each user's personal locale time zone setting passed through so that each user will be able to view data according to their different time zone?did you tried with Connection scripts(Execute On connect) in Connection pool.write ur Alter commend to Change Time Zone in this script box.

  • Showing/Hiding Dashboard Prompts dynamically based on User logged on

    Hi
    I have query reg a showing/hiding dashboard prompts based on Users logged in.
    What is the best way???
    Please help
    And also anothe quick question
    Is there a way that we can change the Label of Dashboard prompt "ABC" for few users and "DEF" for other users
    Thanks in advance
    Cheers

    Hello,
    Using guided navigation properties for section, we can achieve your first requirement.
    How many prompts to be shown?
    depends on that number, you have to create those many reports in answers like,
    take one column to criteria and change functionaityt to case when 1=0 then Markets. Region else user() end
    apply filter on this equals to UserA (for userA), say ReportA
    for UserB filter has to change to UserB, say ReportB...etc
    Now, add all the prompts to dashboard, but each section (dashboard object) for each prompt.
    Go to section properties of each and select guided navigation property. The section which is holding the PromptA (should be shown to userA) then browse the reportA for guided navigation and click ok
    LIke this do for all prompts.
    Hope you understood...
    if any queries ask me..
    And for 2nd Q, in prompt, you have Select captio option which is the last option for all prompts,
    Write something there and check

  • How to get Logo in report dynamically Based on user login?

    requirement is like this:
    same report format will be used by 3 different users, but the different logo should appear based on their login..

    place all 3 images in the template, then wrap an if statement around each. something like:
    <?if:userLogin='User 1'?>image goes here<?end if?>
    if that doesn't work try sticking each in a table with no border and doing the same with the if statements

  • Is there a way to run an applescript based on user interaction?

    What I am trying to do is run an applescript using automator to run Apple updates. I got the script to work just fine, know how to schedule it through iCal. But, is there a way to prompt the user with an allow or decline before the script runs? Like a pop up saying, This computer needs to check for updates, have 2 selections, "check now" or "check later"? Check now will start the process, check later kills the script until the next scheduled event. Any input would be awesome!
    Thanks!

    mismith223 wrote:
    ...They never even know its happening unless they see the script icon in the dock for the short period of time.
    That's true, but if you want to, you can hide the app from the dock completely by typing
    "defaults write /path/to/YourApp.app/Contents/Info LSUIElement 1" into the terminal.
    The app will still be able to show pop-up's and stuff, but its menu bar and dock icon will be hidden.
    To disable it, simpy use
    "defaults write /path/to/YourApp.app/Contents/Info LSUIElement 0" (in terminal)

  • Adjusting frame size or Border size based on user parameter

    Hi,
    I'm using Oracle 10g developerr suite and working on Oracle reports. I've a requirement to change the frames in the report dynamically based on user parameter value. The same if possible I want to try with report border also.
    If anyone have came across this kind of requirement could you please advise how can I proceed on this or Suggest first of all whether is it possible to achieve this requirement.
    Anyone please suggest your views.
    Thanks,
    Subu

    There is another way to change the frame automatically
    this can be done by horizontally elasticity and vertical elasticity properties to the frame, You can set them as variable or expand to make them elastic due to the data

  • Prevent user interaction using mx:html

    Hi,
    Is there a way to prevent the user interaction when html is loaded inside a panel. The page should not get redirected when the user clicks on any links in the page.

    The easiest way to do this is by loading the content inside an iframe, and putting a fixed positioned div on top of it, like in "<div id="overlay" style="position: fixed; top:0; left:0; width: 600; height:400"></div>" (you can calculate the size dynamically, of course).
    When you want to disable all interactions, you simply set the div's visibility to "visible" (loader.htmlLoader.window.document.getElementById("overlay").style.visibility = "visible";)
    When you want to enable the interactions again, you simply hide the div (loader.htmlLoader.window.document.getElementById("overlay").style.visibility = "hidden";)

  • How to create dynamic ed flash charts based on user selected fields in Orac

    Hi all,
    Can any of the experts please tellme "how to create dynamic ed flash charts based on user selected fields in Oracle apex".
    Thanks
    Manish

    Hello,
    Lots of different ways to do this, I blogged about one way (using a Pipelined function) here -
    http://jes.blogs.shellprompt.net/2006/05/25/generic-charting-in-application-express/
    Other options include using a PL/SQL function returning the string to use as the dynamic query etc.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • Dynamic variation of prompt clause based on user selection

    Hi,
    I would like to know if there is any possibility to change the query to have 'IN' clause or '=' clause based on user prompt selection.
    Say, if user enters single value for a prompt, the query should have = clause and when enters multiple input, the query change to IN clause.
    HummingBird tool has the capability to dynamically change between = and IN based on the prompt selection.
    There seems to be some issue in performance because of the IN clause we’ve used while passing single prompt value when compared to Hummingbird tool.
    Is it possible in BI Publisher???

    Hi ,
    It is not possible to select the IN or = based on Prompt selection directly..
    You can Use IN..that will work as = also..
    Thanks,
    Ananth

  • Button to load dynamic image in interactive form webdynpro for java

    Hi all
    i tried to use image field to load dynamic image as shown in the online interactive form tutorial
    and it worked for test but when try it with view appears inside viewset it doesnt....
    so i think if we could call the image after render by pressing a button inside the form it may work
    but the problem is i have no idea about how to implement such solution ,so if any one has any idea about how to implement such solution i will be thankful if he can share me the solution.
    thanks.....
    Naguib..

    use the following tutorial. it is very easy to follow and it works fine, i have tried that.
    http://www.docstoc.com/docs/2540673/How-To-Integrate-ADOBE-form-on-WebdynPro-for-ABAP-and-Deploy-it-
    in case of some more problems, ask again and point out the part of tutorial where there is a problem.

  • Display interactive report rows based on user role.

    Hello,
    Can anyone please help me out with this issue. i have an interactive report and now i want to make this report as conditional based on user role. Like i want to dispaly all the report rows for an Admin user role and for a developer I want the report to display only his/her rows. Can anyone please help me how can I resolve this issue.
    Do I need to have two separate reports for each role or can we make achieve this with only one report.
    thanks,
    Orton

    Here is a possible answer.. Build your Interactive report off of a collection. And when you build the collection you can build an if statement to either build your select with or without the filtering of user_id..
    See this blog entry for how to build a interactive report from a collection: http://www.oracleapplicationexpress.com/tutorials/71-oracle-apex-interactive-report-based-on-plsql-function
    Thank you,
    Tony Miller
    Webster, TX

  • Load balance based on OS

    Is it possible to load balance incoming requests based on client's operating system on ACE?
    For example, we have different web pages specifically for Blackberry or iPhones.
    Instead of having multiple URL's & VIP's, we'd like to have a single VIP, but load balance traffic to different serverfarms based on client's OS.

    You can loadbalance based on User-Agent header, first you need to quantify what Iphone and blackberry use for user-agent for instance from a regular browser you might see:
    User-AgentT=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)
    from an iphone you will typically see:
    User-Agent=Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en)
    AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1C25 Safari/419.3
    you can go to http://www.user-agents.org to find out what strings are used
    That being the case you can make classes on the header to match for loadbalancing decisions:
    class-map type http loadbalance match-any mobile
    2 match http header User-Agent header-value .*iphone
    4 match http header Uswer-Agent header-value .*blackberry
    then in LB policy say we want to go to farmA for mobile and farmB for pc's
    policy-map type loadbalance first-match L7POLICY
       class mobile
         serverfarm farmA
        class class-default
        serverfarm farmB
    see:
    http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/ace/v3.00_A2/configuration/slb/guide/classlb.html#wp1021388

Maybe you are looking for

  • Question about BADI FI_AUTHORITY_ITEM in ECC 6.0

    Dear all, To control the authorizations of users to display the document line items, I have created a Business Add-In Implementation "Z_FI_AUTHORITY_ITEM" with BADI FI_AUTHORITY_ITEM in SAP R/3 4.7. The BADI worked correctly in SAP R/3 4.7. Recently,

  • Error: Java trying to grab DTD and I don't want it to

    I have a problem. For my class we are writing a SAX application that reads in an Amazon.com XML file and tries to find the lowest price. The Amazon file is the result of a query to Amazon's database which has been saved to the hard drive (so it's not

  • PSE 12 Blending Modes

    Sometimes blending modes don't work when I apply them to a photo.  Why would this happen.  I tried restarting PSE 12 but that didn't help.

  • Partner number of organizational unit

    Hello CRM gurus. Is possible to create partner number of organizational unit retrospectively? We have crated organizational unit hierarchy manualy, but the units do not have partner number. Thank you for you help! Regard, Petr Syka

  • WINDOWS 7-NEED HP COLORLASERJET 2840 SERIES PCL6 DRIVER-LOT OF $$$ IN 2840

    My 2840 worked with XP but won't print in windows 7.  I tried all the HP fixs and the driver in windows 7 to no avail.  Any help?