Refresh the data in a datagrid

I have a pop up that allows you to create a project. How can
I then refesh the parent component to reflect this? I found an
example, but it doesn't seem to work for me and I cannot see how
the code they wrote would invoke this.
parentDocument.sViews.selectedIndex=0;
parentDocument.dgFillView.membersInclude.initApp();
I see that the first line returns it back to the first
viewstack item, but mine is a popup over the main listing. The
second line invokes the component membersInclude and the
creationComplete function of initApp(), but I am not sure where the
dgFillView is coming from
here is the example I found:
http://www.fusionpage.com/flex/demos/bin/demos.html#app=2cb5&b4a1-selectedIndex=0&b8fc-sel ectedIndex=0&31-selectedIndex=0&105f-selectedIndex=0&9ce7-selectedIndex=0

"projectproofing" <[email protected]> wrote
in message
news:g658lr$nme$[email protected]..
>I have a pop up that allows you to create a project. How
can I then refesh
>the
> parent component to reflect this? I found an example,
but it doesn't seem
> to
> work for me and I cannot see how the code they wrote
would invoke this.
>
> parentDocument.sViews.selectedIndex=0;
> parentDocument.dgFillView.membersInclude.initApp();
>
> I see that the first line returns it back to the first
viewstack item, but
> mine is a popup over the main listing. The second line
invokes the
> component
> membersInclude and the creationComplete function of
initApp(), but I am
> not
> sure where the dgFillView is coming from
>
> here is the example I found:
>
>
http://www.fusionpage.com/flex/demos/bin/demos.html#app=2cb5&b4a1-selectedIndex=
>
0&b8fc-selectedIndex=0&31-selectedIndex=0&105f-selectedIndex=0&9ce7-selectedInde
> x=0
>
Your link didn't work for me (went to a blank black page),
and even the
front page of that site is so slow and annoying that I'm
amazed you managed
to find anything there. You're going to have to post more
code if you want
an answer, since there's not enough info in your post to
hazard a guess.
The little you did post suggests the source of the example
file is using
some bad practices, so you might be able to shortcut the
process by looking
for a different example. Instead of looking for an example
that has a
component calling out to its parent, which is bad practice,
you should
probably look for an example that has the component broadcast
an event and
the parent listen for and react to that event.
If you have access to Flex 3 (or 2) Training from the Source,
there's an
example in there where they start out doing what you're
trying to do and
then quickly fix it to reflect best practices.
HTH;
Amy

Similar Messages

  • Refreshing the Data Source View in Analysis Services

    I have added columns to the SQL Database table that is used as a dimension in an Analysis Services Cube.  The new columns will be used as additional Property Fields for the dimension.  When I attempted to refresh the Data Source view so that the additional columns are present, I am given the following error:
    System.Data
    Property not accessible because 'Parent Columns and Child Columns don't have type-matching columns'
    I have done nothing to the columns used for the parent of child and the error message provides nothing to gon on. Does anyone have any ideas on this?
    Gary

    Olga,
    Thanks for your response.  I will try and answer your questions
    1) I have not tried removing the columns yet.  I will try that this afternoon but have limited hope.  The two columns I added are simple text columns that will be used as attributes in the dimension.  I have made no change to the parent or child columns.
    2) The table I modified is the source table for a parent-child dimension.
    3) The reference to the "check list" does not take me to any kind of check list.
    4) The parent-child dimensions I am trying to modify have been in use for months and the parent and child columns do have the dame data types.
    5) I have also check the data types between the dimension table and the fact table.  they use the same data types (small int).
    6) I have not made a collection for the parent key, it is a single column. The remainder of your last paragraph is not clear to me. Can you give me an example.
    I am fairly inexperienced with Analysis Services, please talk slow and use small words  :-)
    Thanks again for your help!
    Gary

  • How to refresh the data in published HTML?

    Hi All,
    I have created a Process Engineering diagram, whcih represents flow of material from Equipment to another equipment.
    I have binded the diagram to data from the data base and saved/published as HTML to view it in browser. So far it is fine.
    But the next step is: What happens when the data changes in the data base? The generated HTML became just a static diagram which is of not much use. If i want to refresh the data, then I need to publish again !!
    Is there a way to make service calls from HTML and update the data dynamically in HTML display?
    Note: I am using VISIO 2013 Professional edition
    Venkat

    Hi,
    If we had saved/published Visiso drawing as HTML file, we could not refresh the data source to control the HTML data directly. We need to re-publish, I think you do not want to do it.
    Thus, I recommend you use JavaScript or coding to invoke and refresh the background database when you modified it.
    The following artile may also help you:
    http://www.mathworks.com/help/matlab/ref/refreshdata.html
    If you have any question related to Programming/Code, post in HTML forums for further assistance.
    Regards,
    George Zhao
    TechNet Community Support

  • Problem in refreshing the data in Xcelsius

    Hi,
    I have added a refresh button in my dashboard  to refresh the data from the BOE , but ones i click that button it ask for user authentication and ones i enter that and click ok nothing happens , the data is not getting refreshed.
    In second case i made my data connection as refresh on load  so as soon i launch my dashboard it ask for user authentication and after entering that details nothing happens and i am not able to see the data and even if i enter wrong details in the pop up window it does not gives any error message for wrong credentials.
    Earlier i was getting the error like #2032 , #2017 so i maintained the crossdomail.xml file in web server it was resolved.
    But i am not able to refresh the data nor i am getting any error message kindly suggest !!
    Regards,
    Mishra,Vibhav

    Dear Ingo,
    Thanks for replying.
    Step 1 : I have used a excel sheet using the live office connection and using the existing CR report from the BOE.
    Step 2 : Then i have published that excel sheet in BOE
    Step 3 : I have imported that spreadsheet in the Xcelsius and created a dashboard on top of that.
    Step 4 : I have added a refresh button on the dashboard which is used to refresh the live office connection and the session URL   that i have maintained is  http://XXXC043A:8080/dswsbobje/services/session . i am not using the refresh on load option.
    Step 4 : When i preview the dashboard with the preview button  available in the Xcelsius i can see the dashboard with the existing data but ones i click the Connection refresh button a user authentication window pop up which ask for the system name user id and pwd and Authentication type . I used the Enterprise authentication for that but ones i submit the credential nothing happens even if i enter the wrong information no error  message is prompted.
    Thanks in advance .
    Regards,
    Mishra,Vibhav

  • Problem in refreshing the data in OBIEE answers?

    Hi,
    My report doesn't show the latest data in the database. I tried restarting my BI server and Presentation server also. But it is still showing the old data only. But in Admin tool im able to view the latest data. What could be the reason for this? Wont the refresh button given at the bottom of the report refresh the data?
    Thanks,
    Karthick

    Hi,
    If you want to use the cache and you have a regular load of data into your source for OBIEE, then you just need to ensure that the cache is cleared after your load. There is an ODBC command which will clear it:
    Call SAPurgeAllCache();
    You can put this in a sql file and then call it from a .cmd file:
    nqcmd -d "AnalyticsWeb" -u Administrator -p <password> -s D:\OracleBI\server\Scripts\Common\purge_cache.sql -o D:\OracleBI\server\Scripts\Common\purge_cache.out
    When you run this .cmd file it will clear the cache, this could then be caled from another tool, i.e. an Informatica workflow. All above is based on using a windows machine to connect and run the command.
    If your data is changing all the time and you just don't want caching on then just turn it off in nqsconfig.ini, change:
    ENABLE     =     YES;
    To
    ENABLE     =     No;
    in the cache section.
    Regards,
    Matt

  • Need to refresh the data

    Hi
    I am using Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
    I need to refresh the data in test box with the production database.
    I dont have the dblink. Please advise me the fastest method to refresh the data in test server.
    Regards,
    Ravi

    What do you mean by "I dont have the dblink" ? That you do not have access to the database ? OR that you do not have access to documentation on how to refresh a database ?
    If you need to refresh a schema alone, you could use Export-Import. If you need to refresh the whole database, I would advice using Backup and Restore -- either using scripted backups or RMAN.
    Note : If the application has setup tables that store database name, node name, port number etc, you will need to update those tables in the refreshed database (else they will still point to the production database !).
    You can access the 8.1.7 documentation from http://tahiti.oracle.com

  • Refreshing the Data from a embed view in a view container

    Hi everybody
    I would like to know how can I do to refresh all data from a View with a view container the problem is:
    that I have a window that has a view at the same time this has a view container.  The Main view brings the data of editable elements when I select one element of the main view the view container brings a list for that element (dependencies) but only the first time a choose an element loads the correct data, when I choose another one it brings the same old data and doesn't make the call for the wdDoInit() method.
    The question is:
    How do I force the view to refresh all the data or call again the wdDoInit() method?
    Thank you for your help

    Aida,
    Lets say you have two components C1 and C2 and you want method from C1 to be available in C2 then follow these steps:-
    1) Goto the Interface Controller of C1 and create a method there lets say doSomething
    2) Then goto C2. There you can see Used Web Dynpro Components --> Right click Add Used Component --> Give some name say C1Comp --> Click browse and select C1 --> Click Finish.
    3) Next goto Component Controller of C2 --> Properties --> Click Add and check if C1 is added. If not then select the checkbox and select OK.
    4) Now goto Implementation tab of C2 and lets say wdDoInit you can write following code:-
    wdThis.wdGetC1CompInterface().doSomething();
    Chintan

  • Not having to refresh the data in the main report but only in the subreport

    Hi SAP,
    I have a report that uses a stored procedure in the main report and uses regular database tables in the subreport.  The data returned from the stored procedure reports information from the month-end database (a cutoff point from the previous month's numbers) while the subreport reports information from the live database.  This report gets run everyday to show the changes in numbers from the live database.  Obviously the numbers from the month-end database remainds static until the next month's cutoff database is created. 
    My problem is that everyday when I run the report, the data needs to refresh from both the stored procedure in the main report and the live database tables in the subreport.  How can I leave the data returned from the stored procedure static or as is without refreshing the stored procedure returned data and just have the subreport data refresh itself?  The stored procedure really puts a strain on the database and I would like to cut-out the time to process the report as well.  Does anyone have any ideas?
    Zack

    Hi Zack,
    Try the following under Report options.
    1. Clear the check box of "Verify Stored Procedures on First Refresh" in the Main report.
    2. Select the check box of "Verify on First Refresh" in  the sub report.
    Hope this helps.

  • Refreshing the data in a flat file

    Hi
    I am working on data integration.
    I need to fetch data from Oracle data base and then write it to a flat file.
    It is working fine now,but for the next fetch I don't need the old data to remain there in the file.The data should get refreshed and only the newly fetched data should be present.
    After the data is written to the flat file can i rename the file?
    I need the format of the file to be 'File_yyyyMMDDHHmmss.txt'.
    My final question is how should I FTP this to the target?
    Please help me on this as soon as possible since this is needed in an urgent part of the delivery.

    All you ask is achievable:
    1) The IKM SQL to file has a TRUNCATE option, which will if set to YES, will start from a clean file.
    2) You could rename the file after writing it, but why not just write it with that name? If you set the resource name to be a variable, (e.g. #MyProj.MyFilename), and be sure to set the variable in the package before executing your interface, you should be able to get the file you want. Otherwise, you can use the OdiFileMove tool in your package to rename the file.
    To set the name of the variable you can use a query on the database (if you are using Oracle, something like SELECT 'File_'||TOCHAR(SYSDATE) from DUAL.)
    3) ODI has ftp classes built in- you can find the doc under doc\webhelp\en\ref_jython\jyt_ex_ftp.htm
    Hope this helps
    Message was edited by:
    CTS

  • Visio Diagram is not refreshing the data from list

    Hi,
    I made a pivot diagram in visio 2013 and linked it with SharePoint 2013 list. I configured the Visio services, uploaded it document library. I can view the diagram in browser but it is not automatically refreshing not even by pressing the "Refresh"
    button.
    Instead i have to open it in visio, refresh the diagram manually and the save it in SP document library to refresh the diagram.
    I am using visio web access to view the diagram and also the auto-refresh is enable. 

    Hi Rizwan,
    Following url's might help you.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/79476e70-51cf-412a-aac9-ebb10e82572f/2010-visio-services-data-refresh-issue
    http://social.technet.microsoft.com/Forums/en-US/06d53cb3-2593-4dd0-a524-356bd9720231/visio-service-data-refresh-help
    Regards  Roy Joyson
    Please remember to mark your question as "answered"/"Vote helpful" if this solves/helps your problem.
    Roy Joyson

  • How can i access a mysql table without putting the data in a datagrid

    I developed my air app with a datagrid which uses a php service to display all data from a table of strings in MySql.
    I now do not need the datagrid, how can i get the data from my database without putting it into a dataGrid? Do i need an array? how do i do this? anyone got any example code?

    Balakrishnan V wrote:
    var resultArrayCollection:ArrayCollection=new ArrayCollection()
    protected function resultHandler(event:ResultEvent)
         result=event.result as ArrayCollection
    You can use the result array collection now inside your program for any further changes / manipulations.
    Hope this helps; If you have further doubts, do ask...
    Balakrishnan V
    Hi, yeah this helps,
    however, how would i generate a result handler for a service that has not been called yet? Sorry my knowledge of services is very limited.
    This is a php service, get_all service that returns all the rows from a mysql table.
    I can see the service box with the service i want to use:
    but how do i pass that to a result handler?

  • How to update ADF VO object to refresh the data in ADF Pivot table

    I need to know how to update the View object so that the date in pivot table is refreshed/updated/filtered.
    here are the steps I performed to create ADF pivot table application using VO at design time.
    1) created a collection in a Data Control (ViewObject in an ApplicationModule) that provides the values I wanted to use for row and column labels as well the cell values (Used the SQL query)
    2) Dragged this collection to the page in which wanted to create the pivot table
    3) In the pivot table data binding editor specified the characteristics of the rows (which attribute(s) should be displayed in header), the columns (likewise) and the cells.
    Now, I have a requirement to update/filter the data in pivot table on click of check box and my question is how to I update the View object so that the date in pivot table is refreshed/updated/filtered.
    I have got this solution from one of the contact in which a WHERE clause on an underlying VO is updated based upon input from a Slider control. In essence, the value of the control is sent to a backing bean, and then the backing bean uses this input to call the "filterVO" method on the corresponding AppModule:
    but, I'm getting "operationBinding" object as NULL in following code. Please let me know what's wrong.
    here is the code
    Our slider component will look like
    <af:selectBooleanCheckbox label="Unit" value="#{PivotTableBean.dataValue}"
    autoSubmit="true" />
    The setDataValue() method in the backing bean will get a handle to AM and will execute the "filterVO" method in that, which takes the NumberRange as the input parameter.
    public void setDataValue(boolean value) {
    DataValue = value;
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = (OperationBinding)bindings.getOperationBinding("filterVO");
    Object result = operationBinding.execute();
    The filterVO method in the AMImpl.java will get the true or false and set the where Clause for the VO query to show values.
    public void filterVO(boolean value) {
    if (value != null) {
    ViewObjectImpl ibVO = getVO1();
    ibVO.setWhereClause("PRODUCT_TOTAL_REVENUE(+) where rownum < 10");
    ibVO.executeQuery();
    }

    Did you define a filterVO action in your pagedef.xml file?
    You might want to read on how to access service method from a JSF Web Application in the ADF Developer Guide for 10.1.3 chapter 8.5

  • How to refresh the data in sharepoint online

    Hi,
    I have an Office365 PowerBI Preview site and I have uploaded a excel sheet with a using power query connecting the
    azure data source. I then setup the "Data Management Gateway" and "Data Source" in the Manage Data settings within PowerBI and the Excel spreadsheet now refreshed data within the Excel web app. 
    Here I won't refresh my data but no error shown.  
    But Selected "Edit the Excel" option and refresh the connection on workbook Queries in power query within excel.
    Tts works fine. I can able to see my modified data.
    Anyone how to resolve this issues?
    Thanks,
    Ramu

    Is this still an issue, Ramu?
    Thanks!
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • How to refresh the data in Adobe forms

    Hi,
    I have created an Adobe form through SFP transaction and a print program which passes data to the form through an internal table. The probelm is, first time the data is getting printed perfectly as per the internal table, but next time when I again run the program for new set of data, the form doesn't display the current data. It still has previous data in it, though the internal table contains the correct data. Can any one tell me why this is happening? Is there any way to refresh the adobe form data?
    Thanks in advance,
    Kiran

    Hi,
    Your Try and check this statement program level...
    FREE <itab>
    Regards,
    Ansari.

  • Do we have option not to refresh the data in AP invoice while copying from GRN and change the date of the invoice in SAP 9 PL 0

    Hi
    I have update tax details in GRPO but while copy to AP invoice system pick posting date/ document date as system date and if i change the date the screen refresh and the tax details i have updated it change. that i do not want.
    Is there any option so that GRPO date will copy in ap invoice so that i need not to refresh the screen
    regards
    Ashish Garg 

    Hi,
    Please provide an example for tax details. Make note on these,
    1. Whenever copy GRPO to AP invoice, posting and document date is system date. This is default design system
    2. If you change these dates in AP invoice, your payment to vendor leads to confusion.
    For example:
    You have received items on 25-03-2014. But vendor raised invoice on 03/04/2014.
    Thanks & Regards,
    Nagarajan

Maybe you are looking for

  • How can I Insert a BLOB into a Table from Java?

    I have a Java class that creates an xml file from data in a non-sql data source. After it successfully creates and saves the file it inserts a record into an Oracle table to log the fact that an xml file was created. Now the guy in the warehouse want

  • How to give a user rights to create tables etc

    I have 2 users for my database 'pmi' First user is 'sys' which connects as 'SYSDBA' Second user is 'user1' which connects as 'Normal' I see that with the user 'sys' I am able to create a table in the database. Also insert row, read it, delete it and

  • Cannot uninstall/re install Oracle 8.1.7

    On a W2K Pro SP3, I started the installation of 8.1.7 I had a power outage, so I uninstalled and tried to re install Oracle. After uninstallation, I noticed that a lot of files / registry entries persisted During the following install, I get several

  • Does anyone use RH7 for online help on their websites?

    Hi, I'm finding that this product isn't usable for online help within a website. Using the RH_ShowHelp() JavaScript calling convestions triggers popup blockers on most of the major platforms (Windows/IE, FF, Mac/FF). I don't understand why this is ha

  • How to add Table element in PDF form in Webdynpro

    Hello Everybody, I am developing one application in Webdynpro using PDF form in it. I wantable control in PDF form. I read somewhere that we can add table control in PDF form. But i didnt find how to add the same. So if anybody knows then please help