Getting xml dataprovider to reload information on page load... not compilation.

Hey everyone,
I've got an app that grabs information from a XML file on my server.  After the user has used the app, they'll have the option to save their input.  I've got the application to edit the xml file and store the users' information.  After saving the information, however, the XML datasource doesn't update the combobox that allows users to see passed saved saves.  Here's how it's being done now:
This is the code to grab the XML file while I compile:
<mx:XML id="applicantsXML" xmlns="" source="http://www.hr.fsu.edu/SubSites/HRAPPS/salaryconsideration/applicants.xml"/>
Here's the combobox being populated with the XML information:
<mx:ComboBox id="applicant_combobox" y="35" x="135" dataProvider="{applicantsXML.app.appid}"></mx:ComboBox>
Is there any way to get the XML to repopulate using applicationComplete or something like that?
Thanks a bunch,
Brds

By "Store the users' information" i mean that the application uses sliders, checkboxes, and textboxes.  After clicking the save button, these items will be saved into my DB and also put into an XML file.  I've gotten all that part working... the problem is updating the XML as the dataprovider.
When you say "You can create a new dataprovider and reload the new XML file.  Then point the combox to the new data provider" I'm not sure exactly what you're saying.  Can you explain a little please?

Similar Messages

  • My ipod touch is connected to the wifi but when I get on safari it says "cannot open page because not connected to internet." SOMEONE PLEASE HELP!!!!

    My ipod touch is connected to the wifi but when I get on safari it says "cannot open page because not connected to internet." SOMEONE PLEASE HELP!!!!

    - Reset the iPod:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Power off and then back on your router.
    - Reset network settings on the iPod: Settings>General>Reset>Reset Network settings
    - The troubleshjooting here:
    iPhone and iPod touch: Troubleshooting Wi-Fi networks and connections

  • While trying to access my local network I get the message..."The page could not be opened because server cannot be found."  This, after updating to Yosemite and paying (again) for the server app.

    while trying to access my local network I get the message..."The page could not be opened because server cannot be found."  This, after updating to Yosemite and paying (again) for the server app.

    It's absolutley scandalous that a company with Apple's resources can let this happen.  They should have staggered the release by region rather than opening the flood gates.  The upgrade itself took me about 10 attempts to download it, and then I thought I was home free.  That was until it rebooted and won't activate.  It's over 2 hours now.
    Scandalous!

  • JSP Pages are not compiling in JBoss5.1.0GA

    Hi Folks,
    We have developed an webapplication and we deployed in JBoss4.0.1sp1 application is running fine.
    One week back we downloaded JBoss5.1.0GA and we deployed the same application in JBoss5.1.0GA, but we are getting this eaception "org.apache.jasper.JasperException: Unable to compile class for JSP: "
    please find the exception details below
    ====================================================================================================
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 56 in the generated java file
    The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory
    An error occurred at line: 17 in the jsp file: /pages/configset/createconfigset.jsp
    The method setJspId(String) is undefined for the type ViewTag
    14: <%@page import="com.cisco.wo.configui.beans.backing.configset.CreateBackingBean"%>
    15: <%@page import="com.cisco.wo.configui.utils.ConfigUIConst"%>
    16:
    17: <f:view>
    18:
    19:
    20: <%
    An error occurred at line: 45 in the jsp file: /pages/configset/create.jsp
    The method setJspId(String) is undefined for the type SubviewTag
    42:
    43: <!-- Start header -->
    44:
    45: <f:subview id="configsetHeader">
    46: <c:import url="configsetheader.jsp" />
    47: </f:subview>
    48:
    An error occurred at line: 45 in the jsp file: /pages/configset/createt.jsp
    The method setBodyContent(BodyContent) is undefined for the type SubviewTag
    42:
    43: <!-- Start header -->
    44:
    45: <f:subview id="configsetHeader">
    46: <c:import url="setheader.jsp" />
    47: </f:subview>
    48:
    An error occurred at line: 45 in the jsp file: /pages/configset/create.jsp
    The method doInitBody() is undefined for the type SubviewTag
    42:
    43: <!-- Start header -->
    44:
    45: <f:subview id="configsetHeader">
    46: <c:import url="configsetheader.jsp" />
    47: </f:subview>
    48:
    Thanks in Advance...!

    Hi All,
    We developed the JSF web application in JBoss4.0.1SP1 the application running fine.
    The same application we deployed in JBoss5.1.0GA some of the pages are compiling and some of the pages are not compiling.
    the exception log:
    =======================================================================================================================================
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 16 in the jsp file: /pages/configset/itemstab.jsp
    The method setJspId(String) is undefined for the type ViewTag
    13: <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>
    14:
    15: <%@page errorPage="configseterrorpage.jsp"%>
    16: <f:view>
    17:      <head>
    18:      <title>Configuration Set - Items</title>
    19:      <!-- Include Global Meta Data -->
    An error occurred at line: 46 in the jsp file: /pages/configset/itemstab.jsp
    The method setJspId(String) is undefined for the type SubviewTag
    43:
    44:      <!--googleoff: index-->
    45:
    46:      <f:subview id="configsetheader">
    47:           <c:import url="configsetheader.jsp" />
    48:      </f:subview>
    49:
    An error occurred at line: 46 in the jsp file: /pages/configset/itemstab.jsp
    The method setBodyContent(BodyContent) is undefined for the type SubviewTag
    43:
    44:      <!--googleoff: index-->
    45:
    46:      <f:subview id="configsetheader">
    47:           <c:import url="configsetheader.jsp" />
    48:      </f:subview>
    49:
    An error occurred at line: 46 in the jsp file: /pages/configset/itemstab.jsp
    The method doInitBody() is undefined for the type SubviewTag
    43:
    44:      <!--googleoff: index-->
    45:
    46:      <f:subview id="configsetheader">
    47:           <c:import url="configsetheader.jsp" />
    48:      </f:subview>
    49:
    An error occurred at line: 413 in the generated java file
    The method doAfterBody() is undefined for the type SubviewTag
    An error occurred at line: 61 in the jsp file: /pages/configset/itemstab.jsp
    The method setJspId(String) is undefined for the type SubviewTag
    58:
    59:      <!-- Begin Main Content -->
    60:      <div class="icw">
    61:      <div class="icwWrapper icwOrder" style="width: 921px"><f:subview
    62:           id="configsetsummary">
    63:           <c:import url="configsetsummary.jsp" />
    64:      </f:subview></div>
    An error occurred at line: 61 in the jsp file: /pages/configset/itemstab.jsp
    The method setBodyContent(BodyContent) is undefined for the type SubviewTag
    58:
    59:      <!-- Begin Main Content -->
    60:      <div class="icw">
    61:      <div class="icwWrapper icwOrder" style="width: 921px"><f:subview
    62:           id="configsetsummary">
    63:           <c:import url="configsetsummary.jsp" />
    64:      </f:subview></div>
    note The full stack trace of the root cause is available in the JBoss Web/2.1.3.GA logs.
    ============================================================================
    Thanks in Advance...!

  • I cant copy/paste from an article to my web site, get a Mozilla Rich Text Editing demo page will not work.HELP

    Tried to copy/paste from an article to my web site and got a "cannot copy /paste " warning and was directed to a security perferences site that said that Mozilla Rich Text Editing demo page will not work.
    Tried to find my Firefox profile directory using the start menu and was directed to hit enter to go to web. Feel like i am getting run around.

    Let's start with something very basic, and that is, you do not need to use the paste button on most websites. The button just reads what is on your clipboard and sticks it into the form. You can do that yourself using Ctrl+v or right-click>Paste.
    For your security, I suggest using those standard Windows keyboard shortcuts (Ctrl+x cut, Ctrl+c copy, Ctrl+v paste) or the context menu.
    Occasionally you will find a paste button that runs a clean-up script or otherwise does something useful. That is where the (admittedly a bit complicated) instructions come in handy.
    To open your active profile folder, you can use:
    Help > Troubleshooting Information > "Show Folder" button
    Which help article are you using for the modifications?
    Finally, please be cautious in opening up your clipboard to sites. You may have stuff you copied from other pages or other programs that you do not want to share with most sites.

  • How can I get back my Word docs now that Pages will not open them?

    How can I retrieve my Word docs now that Pages will not open them in Mavericks.  I have a brand new iMac with my evolving manuscript for a book transsferred from my now defunct MacBook Pro by external drive.  Pages tells me that "PowerPC apps are "no longer supported" and Mavericks will not open Microsoft Office, though it is still in Applications.  Would really appreciate ANY help!

    You will have to have an app that will open them first, you can upgrade to Office for Mac 2011 which is an Intel based app then open the docs and retry. Your docs were created with extremely old version of Office for Mac, version 2004!
    Another possiblity is  using a web based compatible MS Office for Mac app and see if it will open your doc and then save it, then attempt to re-open in Pages.

  • If the site item doesn't have the production URL, then page is not compiled in ATG 10.1.2

    Hi,
    we are using ATG10.1.2 with Endeca 3.1. I have created a page in Experience Manager as "browse". If i don't populate the siteBase/productionURL in the site item of the siteRepository, the page is not getting compiled and displays JSP code as text.
    If I add productionURL, then the page renders properly.
    Please help me to resolve this issue.
    Regards,
    Ravinder P

    Kess,
    This is not fixed, because it is not really a JHeadstart bug, but more a "design" problem.
    ADF will simply remove the row from the detail set when you change its master. JHeadstart cannot interfere with this behavior.
    Did you apply the work around to remove the parent-referencing attribute alltogether?
    Steven Davelaar,
    JHeadstart Team.

  • Javascript in 'Execute when page loads', not working when paging results grid

    I have some Javascript in an Apex page, running in 'Execute when page loads'. It does some stuff to a results grid. It works fine on page load, but then doesn't run when I page through, or sort the grid. I presume this is because the grid is being sorted / paged using Ajax, which means the page isn't being fully loaded.
    Is there anywhere else I can put the code so it gets applied to the grid on sorts and paging?

    Thanks, works perfectly! I used the After Refresh and just selected the region I wanted to trigger the Javascript, and it works great. As you say the scope needs to be Dynamic.
    For anyone else reading this, something which caught me out was that my reports region was using the No Template setting, and the Dynamic Action didn't work, as it requires you to use a template which contains #REGION_STATIC_ID# - which is used by the dynamic action to identify the region. Once I switched to using a template, it worked fine.

  • My mcbook is not conecting to internet. I have some conection in Utorrent but pages are not being displayed in my browsers (chrome and firefox). If I reset the SMC i can get results from google but no other page loads. i get ERR_NAME_NOT_RESOLVED.

    My Mcbook cant find the host. I get some conection because my Utorrent has some donwload activity, but when I attempt to open any page i just get a time out and  ERR_NAME_NOT_RESOLVED. If i reset the SMC by removing the battery, google loads perfectly and it gives me search results without any problem. But when I click on any link, or attempt to enter a direct URL it gives me the error mentioned before.
    I restarted the modem, changed the DNS, deactivate the firewall, conect the macbook via ethernet, change the IP, and nothing seems to work. This issue happened the first time i tried to conect to internet in a different country. Internet works fine in any other laptop or mobile device.
    When using the assistant to run a diagnosis on the network, i get the first 4 items (wifi, wifi adjustments, network adjustments and internet provider) with a green light, and the other two (internet and server) with yelow lights (sometmes red light).
    When i tried to connect the first time, i had a OS X 6.8 but i upgraded it to Maverick 10.9, since i had already donwnloaded it, and the result was the same.
    anyone could help me please?

    We usually advice first to Reload web page(s) and bypass the cache in case of such problem and then do a check for extensions to see if any are causing the problem.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    Other possible causes can be zooming a page or having increased the minimum font size.
    *http://kb.mozillazine.org/Websites_look_wrong

  • How can I get Firefox to go directly to home page and not to how to syn page as I do not want to syn anything

    whenever I now go to mozilla firefox, it opens the whats new, or how to syn ? I don't have anything to sync, just want to go to the Home page I selected

    Open a new window or tab. In the address bar, type '''''about:config'''''.
    If a warning screen comes up, press the '''''Be Careful''''' button.
    This is where Firefox finds information it needs to run.
    At the top of the screen is a search bar. Enter '''''browser.newtab.url'''''
    and press enter. '''''browser.newtab.url'''''
    tells Firefox what to show when a new tab is opened.
    If you want, right click and select '''''Modify'''''. You can change the
    setting to;<BR><BR>about:home (Firefox default home page),<BR>
    about:newtab (shows the sites most visited),<BR>
    about:blank (a blank page),<BR>
    or you can enter any web page you want.<BR><BR>
    The same instructions are used for the new window setting, listed as
    '''''browser.startup.homepage'''''.

  • How do I get an edit box to appear on my "Mailboxes" page so that I can add new mailboxes?  I get edit boxes on the specific mailbox pages but not the general page.

    My wife has an edit page on her iPad, however, I do not.  If there is a setting, I have been unable to find it.  When I hit move on an "Inbox" message, my only choices are Trash and Sent.

    You can only get the mailboxes within the specific email accounts and only if the accounts are IMAP. Do you both have the same email provider and both have accounts that are setup as IMAP?
    If you go to your email account in the Mail app and look at the window where your inbox, trash folder and sent folder are - if there is an Edit button at the top of the window - tap that and then tap Add Mailbox at the bottom.
    If the Edit button is not there - you cannot create folders on the iPad. Your email account is not IMAP. Only IMAP email accounts can create folders on the iPad. Any folders that you would already have in an IMAP account would sync to the device as well.

  • JSF 2.0 pages are not compiled.

    Eventually I managed to define a shared library of JSF 2.0 in Websphere 7.0.0.0 and make it loaded when my application starts. But I was that the JSF code has not been compiled to html so that it can be viewed on a browser. This the code on my page
    <?xml version="1.0" encoding="UTF-8" ?>
    <!-- jsf:pagecode language="java" location="/src/pagecode/Login.java" --><!-- /jsf:pagecode -->
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
         xmlns:ui="http://java.sun.com/jsf/facelets"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
         <title>login</title>
         <meta http-equiv="Content-Type"
              content="application/xhtml+xml; charset=UTF-8" />
         <link rel="stylesheet" type="text/css" title="Style"
              href="theme/stylesheet.css" />
    </h:head>
    <h:body>
         <h:form styleClass="form" id="form1">
              <h:outputText value="hello"/>
         </h:form>
    </h:body>
    </html>even though the response has to be like
    hello
    it shows the entire code of the page on the browser as
    <?xml version="1.0" encoding="UTF-8" ?>
    <!-- jsf:pagecode language="java" location="/src/pagecode/Login.java" --><!-- /jsf:pagecode -->
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
         xmlns:ui="http://java.sun.com/jsf/facelets"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
         <title>login</title>
         <meta http-equiv="Content-Type"
              content="application/xhtml+xml; charset=UTF-8" />
         <link rel="stylesheet" type="text/css" title="Style"
              href="theme/stylesheet.css" />
    </h:head>
    <h:body>
         <h:form styleClass="form" id="form1">
              <h:commandButton type="submit" value="Submit"
                   styleClass="commandButton" id="button1"/>
         </h:form>
    </h:body>
    </html>
    What can I do to shake this issue off. Unfortunately in our organization we have to use RAD 8 and WAS 7.0.0.0. If we used netbeans with Glassfish, we don't face these problems.

    If there is no way to map a schema uri to a physical resource in netbeans, then I'm not sure what can be done.
    We won't be posing the schema to the website until later in the spec development cycle.

  • SAP BPC 5.1 SP2 Http 500 internal server error - page can not be displayed

    When our Sysadmin service account are restricted to the app server and the database server ( as they should be in a secured environment) no client
    could reach the web site to even use the Osoft directory . We get a Http 500 internal server error - page can not be displayed . This is for a new multiserver install. Is there a problem on the website security or .net configuration?

    Yes the install was done by the SAP install consultant but now we are getting an error when we restrict the Sysadmin ID. Server diagnostics and other tests on Appshell passed as well.

  • Sample Applications - Page does not exists

    Hi,
    I am attempting to access the link for Sample Applications - Oracle Internet File Systems but get the following error:
    Sorry. This page does not exist.
    The URL you requested could not be found on this server. Please check the spelling in the URL or use our search to find what your are looking for. Thank you.
    This happens for ALL the links on this page.
    I am using Linux SuSe 8.2 Proffessional and have tried all the Web Browsers (KDE Konqueror 3.1.1, Mozilla 1.2.1, Netscape 7.0)

    Do you mean this page: http://otn.oracle.com/sample_code/products/ifs/content.html
    It is working for me. If you mean another page, please reply with the URL.
    Thanks. Robert (OTN)

  • Disable input on page load depending on page level item

    Hi All,
    I am trying to set the disabled property of a HTML input button when an APEX page is loaded. This can be achieved easily by using getElementById and setting the *"disabled"* property in the onLoad event of the body.
    However, I need to keep the state of the button as disabled if the page is refreshed by the user or through a submit. I've stored this state in a page item, however using +$x(PAGE_ITEM_NAME)+ in the onLoad body event does not return me the value stored in the page item. Calling the same code using an onClick of a dummy button returns me the value.
    1. What is the appropriate way of getting the value of page_item during a page load?
    2. If doing it on a page load is not feasible, is there a way of setting the state of a html input button to disabled using a page process for e.g?
    Thanks heaps,
    Raihaan

    Hi Raihaan,
    Let's do this a little bit different, as this approach gets you into trouble.
    Create an application process called "GETLOCK" (Shared Components > Application Processes > Create), make sure the "point" is set to "onDemand". Paste in the following source:
    DECLARE
      result NUMBER;
    BEGIN
      FOR c IN (select count(flag) lock_status from c_locking where rownum = 1) LOOP
        result := c.lock_status;
      END LOOP;
      HTP.P(result);
    END;Next go back to your page, and go to the page definition, paste the following code in the HTML Header:
    <script type="text/javascript">
    function checkButtons(){
      ajaxRequest = new htmldb_Get(null, &APP_ID., 'APPLICATION_PROCESS=GETLOCK', 0);
      ajaxResponse = ajaxRequest.get();
      if (ajaxResponse == 1){
        $x('Button_1').disabled = true;
        $x('Button_2').disabled = false;
      }else{
        $x('Button_2').disabled = true;
        $x('Button_1').disabled = false;
    </script>Change the Button_1 and Button_2 to the button names accordingly (make sure it is the "id" attribute).
    Next paste the following javascript in the Page "Footer Text":
    <script type="text/javascript">
      disableButtons();
    </script>What you just did, is create an Application Process, that is called upon by an AJAX call in the javascript header, that is fired by the javascript in the page footer.
    I think you allready have your DML taken care of, with the submit of your buttons. Now every times the page loads, it checks which button to disable.
    Hope it helps,
    Greetings,
    Rutger

Maybe you are looking for

  • Throws Run time error at runtime.

    Hi freinds, I've downloaded special jar file and placed in "C:\j2sdk1.4.2_11\jre\lib\ext". I've used one of the IO class from this jar file in my Candies.java class. When i going to compile it from command prompt it compiles dine but at run time whil

  • Problem with Office 2007 whenever I install the iCloud Control Panel for Windows

    Sadly I have a Win7 laptop as my work hack and am using Office 2007.  Outside of work I use iCloud to sync calenders between various iOS/OS X devices however whenever I install the iCloud Control Panel for Windows Plugin my email no longer loads. Out

  • Bapi for GL/AR/AP posting

    Hi all, Is there any one bapi or F.M for GL,AR and AP posting. thanx in advance. rekha

  • CO-PA for good issue documents are not created

    Dear All We are using both account & cost based CO-PA , actually the problem is this that when we are doing the sales cycle, after billing my CO-PA document created  but the same when I do delivery COGS document not created  ,actually for sales I am

  • Ghost in the machine (Flash Player 9)

    I have a strange problem on my Windows 7 machine that I can't seem to resolve. There is a version of Flash Player 9 r124 that exists on my computer that I cannot remove. While this might not normally be a problem, the real issue is that any time I op