My ajax appliction only not working in http mode

My testing page works in local mode such as
C:\Inetpub\wwwroot\ajax_test\mypage.html
but if I try in
http://machinename/ajax_test/mypage.html,
it doesn't show any records.
Any clue?
Thanks
Riverboat
Here is the code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>My First AJAX Application</title>
<script type="text/javascript"
src="includes/xpath.js"></script>
<script type="text/javascript"
src="includes/SpryData.js"></script>
<script type="text/javascript">
var dsEmployees = new
Spry.Data.XMLDataSet("data/xmlQueryResults4.xml",
"Dataset1/TaxParcels[position() >= 2 and position() <= 4]");
function myPageFunction(rowNumber)
if(rowNumber>0 && rowNumber<=10){ return
rowNumber;}
</script>
</head>
<body>
<div spryregion="dsEmployees">
<table border="1">
<tr>
<th scope="col"
onclick="dsEmployees.sort('OBJECTID');">ObjectID </th>
<th scope="col"
onclick="dsEmployees.sort('BLKID');">BLOCK ID</th>
<th scope="col"
onclick="dsEmployees.sort('PARC');">PARCEL NUMBER</th>
<th scope="col"
onclick="dsEmployees.sort('PIN');">PIN</th>
</tr>
<tr spryrepeat="dsEmployees"
sprytest="myPageFunction({ds_RowNumber})">
<td>{OBJECTID}</td>
<td>{BLKID}</td>
<td>{PARC}</td>
<td>{PIN}</td>
</tr>
</table>
</div>
</body>
</html>

Hmmm, so when you say it doesn't show any records, is the
whole region not rendering? Or do you actually see the data
references rendering on the page?
I ask because if you see the data references, that means the
page failed to load the JavaScript files.
If your region doesn't show up at all, it means the data set
failed to load any rows of data. The XML file is on your server
right?
--== Kin ==--

Similar Messages

  • Forms 6i not working in HTTPS mode

    We have installed OAS 4.0.8.0
    We have downloaded the required certificates and installed them using the default Oracle documentation.
    We cannot display a form using the secure port (8881).
    Everything thing work with only the HTTP mode.
    Can anybody help please.
    null

    Assuming you connected to the running form successfully, it sounds like your breakpoint is not being called. In other words, if you put a breakpoint in a trigger that isn't firing then the break will never occur. A simple test would be to add a break in the WHEN-NEW-FORM-INSTANCE trigger. Since this trigger cannot be avoided, control will quickly be passed to the debugger at startup. If this works then you can assume what I mentioned, which is that your other breakpoints are not being reached.
    Just to be sure, I just tested the Debugger in Forms 11.1.2.1 on Windows and it appears to work correctly.

  • Urgent--custom servlet not working with https/gateway of the portal server

    We have created the custom servlet to add some more authentication to the login screen. I have explained detaildely below.
    We have set if password reset change password screen should come by using identity server.
    First screen comes which asks �user id� and �password�.
    after this next screen comes with �old password�, �New Password� and �Confirm Password� (as we have forcefully asked user to change password after reset by using identity server ).
    On this page we have added two new filed �Date of Birth� and �Date of Joining�.
    And we are forcefully transferring request to our Custom Servlet which will validate the �Date of Birth� and �Date of Joining� from the database and submit the same a form as required by Login Servlet to validate the default parameters �old Password�, �New Password� and �Confirm Password� (which is the default validation without adding custom Servlet).
    This whole process is working with �http� protocol and giving �unable to connect� host with �https� protocol.
    Without custom Servlet process is like this, which is working
    Login (usrid, password) � Login (Old Password, New Password, Confirm Password) � Portal home Page
    With custom Servlet , Which is not working with �https� Protocol. we are getting the message "Authentication Failed" screen.
    Login (usrid, password) --> Login (Old Password, New Password, Confirm Password , Date of Birth, Date of Joinig) --> Custom Servlet validate Date of Birth, Date of Joining --> Login (Old password, new Password, Confirm Password) --> Protal Home Page
    This one works with http, whereas this one gives the "Authentication Failed" screen with the https.
    Please let me know if anybody have implemented this and help me to resolve the issue.
    Best Regards
    Ramkumar

    Hi,
    I am also getting this error message in the sun ONE webserver error log file....
    [20/Nov/2004:13:42:39] failure ( 6162): for host 172.16.5.21 trying to GET /amserver/UI/Login, service-j2ee reports:
    StandardWrapperValve[LoginServlet]: WEB2792: Servlet.service() for servlet LoginServlet threw exception
    com.iplanet.jato.CompleteRequestException
    at com.sun.identity.authentication.UI.AuthenticationServletBase.onUncaughtException(AuthenticationServletBase
    .java:141)
    at com.iplanet.jato.ApplicationServletBase.fireUncaughtException(ApplicationServletBase.java:1023)
    at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:469)
    at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:324)
    at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:294)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:787)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)
    Regards
    Ramkumar R

  • Input Textfields not working in fullscreen mode

    Input Textfields not working in fullscreen mode any one help me.

    Quotes from Adobe:
    "Users cannot enter text in text input fields while in full-screen mode. All keyboard input and key-related ActionScript is disabled while in full-screen mode, with the exception of the keyboard shortcuts that take the viewer out of full-screen mode."
    Check with this article to know more: http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html

  • NTFS is not working in 64bit-mode

    NTFS is not working in 64bit-mode but in 32bit-mode all right !!! ***?!

    dont work int volume with XP and ext volume just sample NTFS file server ! I do not understand ! (((

  • My iPhone will not work in landscape mode anymore, how do i get to work again

    my iPhone will not work in landscape mode anymore, how do i get to work again??

    Double click round home button then slide icon on the bottom of screen to so you go all the way to left.  There you will see a square icon with a circle arrow .  That is the screen rotation control button.  Tap on that to lock/unlock screen rotatio

  • Visible (Screen Only) not working properly

    This seems like it should be such and easy thing to figure out, yet I cannot understand why, when I print the form, it still prints. Can someone troubleshoot this one for me please? Here's my form:
    https://acrobat.com/#d=Bktug5D4t0vBOcim5z2AQA
    The field that is set to Visible (Screen Only) is the dropdown field "Reason". But it still prints.
    Thanks!
    Jo

    I was having this same issue, and after reading this post, tried the following...
    1) Changing the version of my document to v8.
    Result: this didn't work.  Objects marked "visible: screen only" still print.
    2) Creating a NEW form in v8.  Copying and pasting the objects from my previous form in this form.
    Result:  this works.  Objects marked "visible: screen only" still print.
    So based on this little experiment, and the previous posts here, I think it is safe to say that the document must be created as v8 right from the start.   Simply changing the version of a pre-v8 form will not work.

  • Parameter is not working in HTTP( XML FEED) dataset in bi publisher 11g

    Hi,
    I have used parameter in BI Publisher 10g for HTTP(XML Feed) dataset to have dynamic url which worked by using ${p_url} where p_url is the parameter.
    The same procedure when I use in BI Publisher 11g is not working.It does not consider the parameter ${p_url} and throws the following exception
    *oracle.xdo.dataengine.datasource.plugin.DataAccessException: java.lang.Exception: java.net.MalformedURLException: no protocol: ${p_url}*
    Has anyone faced this issue?
    Please let me know if am doing something incorrect here.
    Thanks &Regards,
    Balaji

    Thanks for your reply.
    In BI Publisher 10 g we are using it this way ${p_url}.
    p_url is the parameter which gives us the entire URL for the XML feed.
    e.g. p_url=http://rss.news.yahoo.com/rss/topstories
    The p_url takes the entire url.
    Please let me know if this can be done the same way in 11g.
    Thanks,
    Balaji

  • Acrobat X - Read this Page Only not working

    Hello,
    I have Acrobat Pro X, and need to make accessible PDFs from InDesign. Before I upgraded to Acrobat X, I used to have Acrobat read the text to me to help check the reading order. But in Acrobat X, the "Read this page only" selection does not work. If I click on some text, it will read that line, but that doesn't help me to see what order it will actually read since it doesn't read the next line to the end of the page unless I manually click on it.
    My problem is that we tag things in InDesign and set up the proper reading order (we've tried using the structure and using the Articles panel...), but in the Reading Order panel, it often shows a different order. Even two text frames that are threaded, it will show the 2nd text frame as being 1st in the reading order rather than the 1st text frame where the text originated. That makes no sense. The tag structure in the PDF looks correct but the reading order does not (if viewing from the TouchUp Reading Order view.
    So we want to make sure we check the reading order, and having it read the page to us is one of the easiest ways to do this.
    Anyone have this kind of problem? Any suggestions to get it to actually read the entire page?

    It is often a good idea use a screen reader to check the accessibility of  files -- even if you check the Tag Structure, content and order panels. Sometimes a file can be corrupt and will not read, even though the tags are perfect and the file passes the Accessibility checker.  This does not happen very often, but I have had it happen several times.
    And many people recommend using a screen reader to check pages with figures or tables.  Read Aloud will NOT do a very good job of checking tables. I don't think it can identify row and column headers or identify cells associated with them.  There are a number of screen readers available for download that are more sophisticated and much better suited for checking file accessibility.  For exampe, Freedom Scientific's Jaws runs in demo mode. You may want to try that.
    Regardless, while the Read Outloud feature was not designed to validate and is not the best tool for the job, it should be working for you. 
    You could try using Read Outloud on different files, or on a different machine and see if that makes any difference.  Sometimes system updates and/or software conflicts may effect things. Check and see if the shortcuts below have any effect --
    Ctrl Shift
    B
    Read out loud from the current page to the end of the document
    Ctrl Shift
    C
    Pause reading out loud
    Ctrl Shift
    E
    Stop reading out loud
    Ctrl Shift
    V
    Read only the current page out loud
    Ctrl Shift
    Y
    Activate and deactivate read out loud
    Good luck and let us know if you have resolved the issue.

  • Ajax cascading lov not work

    Dear Pakar
    i follow instruction in
    http://apexlib.svn.sourceforge.net/viewvc/*checkout*/apexlib/trunc/Documentation/HowToInstall.html
    i'm using Application Express 3.0 & 10g express edition
    in debug form show
    0.16: Computation point: BEFORE_FOOTER
    0.16: Processing point: BEFORE_FOOTER
    0.16: ...Process "Test": PLSQL (BEFORE_FOOTER) ApexLib_Lov.generateBrowserData;ApexLib_Browser.flushJsBuffer;
    Analysing page(ApexLib_Lov.generateBrowserData)
    ...detected P4_COUNTRY_ID as cascading lov.
    ......references P4_REGION_ID
    ...detected P4_LOCATION_ID as cascading lov.
    ......references P4_COUNTRY_ID
    0.17: Show page tempate footer
    but cascading lov not work, give me the clue
    regards
    thanks

    Dear Pakar
    i follow instruction in
    http://apexlib.svn.sourceforge.net/viewvc/*checkout*/apexlib/trunc/Documentation/HowToInstall.html
    i'm using Application Express 3.0 & 10g express edition
    in debug form show
    0.16: Computation point: BEFORE_FOOTER
    0.16: Processing point: BEFORE_FOOTER
    0.16: ...Process "Test": PLSQL (BEFORE_FOOTER) ApexLib_Lov.generateBrowserData;ApexLib_Browser.flushJsBuffer;
    Analysing page(ApexLib_Lov.generateBrowserData)
    ...detected P4_COUNTRY_ID as cascading lov.
    ......references P4_REGION_ID
    ...detected P4_LOCATION_ID as cascading lov.
    ......references P4_COUNTRY_ID
    0.17: Show page tempate footer
    but cascading lov not work, give me the clue
    regards
    thanks

  • Copy expression only not working

    I'm working on AE CC 2014.
    Copy expression only is not working, I'm not sure if it's not copying anything or not pasting what it copied. But no expression is being applied to the other layers as it used to be the case before.

    Hey Tim,
    I filed a bug report with Adobe as you asked.
    When you said the problem went away are you positive the only thing you did was switch applications? What's happening now is that I select Copy expression only and then try and paste and nothing happens, but then the entire menu is grayed out (see attached) until I purge everything, at what point the issue starts all over.
    I also tried switching to other applications and copying something random there to see if I can unclog the clipboard, but nothing seems to work.
    I haven't been able to make the problem go away.
    Best,
    David.

  • Livecycle visible(screen only) not working

    I am working on a form in Livecycle es2. I have a number of text boxes and drop down menus which I
    dont want to be printed hence I have set their visibility to Screen Only. However, when i print them, they
    still show up. Any help will be much appreciated. thanks.

    Hi mys449,
    I've take look to your form and haven't found out how to put relevant "-print" to be working. I've noticed that your form is a static form which could be the reason why it is not working.
    To work around this issue, I suggest you to use the prePrint and postPrint events of the objects and make them invisible for when it is printing and the set it back to visible.
    topmostSubform.Page1.TP-1::prePrint - (JavaScript, client)
    this.presence = "invisible";
    topmostSubform.Page1.TP-1::postPrint - (JavaScript, client)
    this.presence = "visible";
    This should do the trick for a static form.

  • UWL Issue not working with HTTPS

    Hi,
       The UWL is implemented and are in live for long long time in our company. Recently, we changed the Portal to be accessible via HTTPS as well and after chaging realized, none of the UWL worklist links are working. Worklist Items are Displayed with hyperlink. But when clicked on it, nothing happenes and no javascript error thrown as well.
    Is there are Dependencies for UWL with HTTP Protocoal. And if not, can you please suggest on how to make it work with HTTPs protocol.
    Thanks.

    Thanks (again!)
    Before making any changes, I am assuming you are referring to the protocol of the ERP system in the System Landscape?  I don't actually see that parameter name (Protocol of target system) in the list of values.  I do see a few other protocol options (CVIEWS, FSCM, DRS, though).
    I have not changed any of these values as part of trying to support SSL for the portal via terminating it on a load balancer (but keeping HTTP on the backend portal/erp systems) - I was assuming that these settings were related to the portal itself establishing connections to ERP, but if they are somehow used with URL generation to the browser.......my confusion!  It seems there are a number of values that could be changed (I've often wondered why there are multiple places where the hostname shows up for one R3 system connection!)
    Application Host
    ITS hostname
    ITS Protocol
    Web AS Host Name
    Web AS Protocol
    My theory would be to change all of the hosts to be external FQDN on the load balancer and the protocol to HTTPS.  Again, I have not configured the Portal OR the ERP system to support HTTPS.
    I've also observed the logoff link comes back as HTTP, so maybe that is the DSM trying to hit the backend system via HTTP due to this as well
    Thanks a million for your time.

  • Sd card reader & USB port (right side only) not working

    I recently purchased a Macbook Pro 15" retina display with OS Moutain Lion. The SD card reader and USB port on the right side of the computer do not work. I've restarted the computer numerous times, tried to reimage the computer with the Control+R during restart (didn't allow for update because Mountain Lion was loaded on the system), and downloaded with the latest updates but they still do not work. I am currently deployed to Afghanistan so Apple Support calling me back isn't going to work. Any help would be appreciated.

    Hello :
    TNX for your reply.
    Unfortunately, I do not own a 2 gig mem card to test with. What perplexes me is that when I watch device manager and open properties boxes for the USB dev, SMSC-2228 dev,  and the newly created disks, the Win XP drivers do indeed load, but watching it do so is sloooooooowwwwwww. Slow as in 3 - 5 minutes for the win drivers to load in place. Funny thing is, an xD mem card or Memory stick initialize, set up properly in a matter of at most 5 - 10 seconds or so. The only card type I have a problem with is THE MOST COMMON ONE, the SD card. Maybe a Micro/Mickey soft thing? Some info I found on the SMSC controller claims it supports the larger sd card sizes, so I think this is a Micro / Mickey soft thing. I guess I need to search for some better drivers somewhere.
    TNX for now

  • HTTP is not working but HTTPS is working (( PROBLEM))

    Hello!! SDN people,
         My JAVA stand alone server is not connecting to HTTP port but connecting to HTTPS. It was worknig fine untill yesterday. We did not do any changes. Can someone help in this regards?
    Your answer is really importand and really appreciated!!
    Thanks,

    Hi Afnan,
    This Could be a browser issue. If so you could try the following to see it helps.
    1 delete the IE cookies (IE-tool-internet option-delete cookies)
    2 delete the IE history record (IE-tool-internet option-IE history record)
    3 unclick the proxy server (IE-tool-internet option-connection-LAN setting)
    4 unclick the pop up block.(IE-pop up block.
    In IE "Tools > Internet Options > Securityu201D, click on Internet (the small globe icon).
    Click "Custom Level..." button below, u201CSecurity Settingsu201D window will pop up.
    Under u201CMiscellaneousu201D category, change u201CNavigate sub-frames across different domainsu201D to enabled.
    Refresh the page
    Thanks & Regards,
    Jude Nazareth

Maybe you are looking for

  • Think my email has been hacked need help??

    i use outlook web page to check my emails but yester day i had delivery failures which was unusual as i didnt send anything.. i went to log in today and it said there is somebody trying to use my email aswell does anybody know how this has happened??

  • Annoying "Recovered Files" folder in Trash

    At first, I saw recovered files for growl in the trash. So I deleted growl because adium insant messenger works fine without it anyway. But now, I'm getting a folder called plugtmp, which contains a file called 's', in the Recovered Files folder. I g

  • I for got my password and now i cant get into my ipad

    hello, i have a ipad 32g, my boyfriend has changed my password and now i cant get in it. can you please help me.

  • Document Printing

    Hello A user has noted that when listing Sales Invoices for printing via the (Document Printing > Print AR invoice) screen it no longer sorts in the order it use to. Before it sorted in the order the Invoices were Inputted. Now it sorts in a random o

  • Help me about exporting a project in eclipse???

    I have a really basic Java question - I'm building an application using Eclipse that makes use of a couple of libraries that are located in external JAR files. I've added them as external JARs( I use the quaqua.jar to set look and feel for my applica