Link button to local html page using AS3

I am using AS3 and having trouble linking a button to a local html page

Okay, I tried both of the codes and it is still now working.
navigateToURL(new URLRequest("file:///fishcom/Home.html"));
I get a Windows dialog box that states that the path can not be found.
navigateToURL(new URLRequest("./fishcom/Home.html"));
This goes to http://./fishcom/Home.html  but not my page.
The Flash file and the HTML page are in the fishcom folder on my desktop. Very frustrating because this was so easy in AS2. 

Similar Messages

  • Cant link access database to html page

    <html>
    <head>
    <title>ASCAM Winery Customers Database Application</title>
    <Img height="350" width="175" style="float:left;" SRC="https://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-xap1/v/t1.0-9/1538743_739414219404453_295536607_n.jpg?oh=44ac8ad664ec4c955320953ecc897abf&oe=546C928C&__gda__=1416231439_9f7ec10eb3a492796ca997745cd36163">
    <Img height="350" width="175" style="float:right;" SRC="https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-xpf1/v/t1.0-9/10418140_272292502973344_2392827848855223574_n.jpg?oh=31ea8cfd238262ea38791e54fd894927&oe=5461E223&__gda__=1416653129_a039fc9ac8f3adcb4f4d220274565fad">
    <SCRIPT Language="VBSCRIPT">
    dim strCon
    dim conn
    dim rs
    sub    Edit_OnClick()
    rs.fields("ID") = SCAM.Name1.value
    rs.Update
    end sub
    sub del_OnClick()
    if not rs.eof and not rs.bof then
    rs.Delete
    rs.MoveNext
    if not rs.eof then
    SCAM.Name1.value=rs.fields("CustomerID")
    SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
    SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
    SCAM.BillingAddress.value=rs.fields("BillingAddress")
           SCAM.EmailAddress.value=rs.fields("EmailAddress")
    SCAM.City.value=rs.fields("City")
    SCAM.State.value=rs.fields("State")
    else
    rs.MoveFirst
    SCAM.Name1.value=rs.fields("CustomerID")
    SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
    SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
    SCAM.BillingAddress.value=rs.fields("BillingAddress")
    SCAM.EmailAddress.value=rs.fields("EmailAddress")
    SCAM.City.value=rs.fields("City")
    SCAM.State.value=rs.fields("State")
    end if
    end if
    end sub
    sub dbConn()
    strCon="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Winery.mdb;
    Persist Security Info=False"
    Set Conn=CreateObject("ADODB.Connection")
    Set rs=CreateObject("ADODB.recordset")
    Conn.Open strCon
    rs.ActiveConnection = conn
    'rs.CursorLocation = adUseClient
    'rs.CursorType = adOpenKeyset
    rs.LockType = 2
    rs.Source = "customer"
    rs.Open
    rs.MoveFirst
    SCAM.Name1.value=rs.fields("CustomerID")
    SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
    SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
    SCAM.BillingAddress.value=rs.fields("BillingAddress")
    SCAM.EmailAddress.value=rs.fields("EmailAddress")
    SCAM.City.value=rs.fields("City")
    SCAM.State.value=rs.fields("State")
    end sub
    sub MoveNext_Onclick()
    if not rs.eof then
    rs.MoveNext
    if not rs.eof then
    SCAM.Name1.value=rs.fields("CustomerID")
    SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
    SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
    SCAM.BillingAddress.value=rs.fields("BillingAddress")
    SCAM.EmailAddress.value=rs.fields("EmailAddress")
    SCAM.City.value=rs.fields("City")
    SCAM.State.value=rs.fields("State")
    end if
    end if
    end sub
    sub MovePrev_Onclick()
    if not rs.bof then
    rs.MovePrevious
    if not rs.bof then
    SCAM.Name1.value=rs.fields("CustomerID")
    SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
    SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
    SCAM.BillingAddress.value=rs.fields("BillingAddress")
    SCAM.EmailAddress.value=rs.fields("EmailAddress")
    SCAM.City.value=rs.fields("City")
    SCAM.State.value=rs.fields("State")
    end if
    end if
    end sub
    sub AddNew_Onclick()
    rs.AddNew
    rs.fields("CustomerID")=SCAM.Name1.value
    rs.fields("CustomerFirstName")=SCAM.CustomerFirstName.value
    rs.fields("CustomerLastName")=SCAM.CustomerLastName.value
    rs.fields("BillingAddress")=SCAM.BillingAddress.value
    rs.fields("EmailAddress")=SCAM.EmailAddress.value
    rs.fields("City")=SCAM.City.value
    rs.fields("State")=SCAM.State.value
    rs.Update
    end sub
    sub Search()
    SCAM.CustomerFirstName.value=""
    SCAM.CustomerLastName.value=""
    SCAM.BillingAddress.value=""
    SCAM.EmailAddress.value=""
    SCAM.City.value=""
    SCAM.State.value=""
    rs.MoveFirst()
    do while not rs.eof
    if rs.fields("CustomerID") = int(SCAM.Name1.value) then
    SCAM.Name1.value=rs.fields("CustomerID")
    SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
    SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
    SCAM.BillingAddress.value=rs.fields("BillingAddress")
    SCAM.EmailAddress.value=rs.fields("EmailAddress")
    SCAM.City.value=rs.fields("City")
    SCAM.State.value=rs.fields("State")
    end if
    rs.MoveNext()
    loop
    end sub
    </script>
    <BODY onLoad="dbConn()">
    <FORM NAME="SCAM" Method="Post">
    <Center><h3>ASCAM Winery Customers Database Connection</h3>
    <TABLE border="0" cellpadding="2" cellspacing="2">
    <tr>
    <td>
    Customer ID
    </td>
    <td>
    <INPUT TYPE="TEXT" NAME="Name1">
    </td>
    </tr>
    <TR>
        <TD>
       First Name
        </TD>
        <TD>
       <INPUT type="text" name="CustomerFirstName">
        </TD>
    </TR>
    <TR>
        <TD>
       Last Name
        </TD>
        <TD>
       <INPUT type="text" name="CustomerLastName">
        </TD>
    </TR>
    <TR>
        <TD>
       Email
        </TD>
        <TD>
       <INPUT type="text" name="EmailAddress">
        </TD>
    </TR>
    <TR>
        <TD>
       Phone
        </TD>
        <TD>
       <INPUT type="text" name="Phone">
        </TD>
    </TR>
    <TR>
        <TD>
       Fax
        </TD>
        <TD>
       <INPUT type="text" name="FaxNumber">
        </TD>
    </TR>
    <TR>
        <TD>
        Address
        </TD>
        <TD>
       <INPUT type="text" name="BillingAddress">
        </TD>
    </TR>
    <TR>
        <TD>
       City
        </TD>
        <TD>
       <INPUT type="text" name="City">
        </TD>
    </TR>
    <TR>
        <TD>
       State
        </TD>
        <TD>
       <INPUT type="text" name="State">
        </TD>
    </TR>
    <TR>
        <TD>
       Zip Code
        </TD>
        <TD>
       <INPUT type="text" name="ZipCode">
        </TD>
    </TR>
       </TD>
    </TR>
    <tr>
    <table>
    <td>
    <INPUT TYPE=BUTTON name="AddNew" value="Add">
    <INPUT TYPE=BUTTON name="MoveNext" value="Move Next">
    <INPUT TYPE=BUTTON name="MovePrev" value="Move Previous">
    <input type="button" value="Search" onClick="Search()">
    <input type="reset" value="Reset" onClick = "location.reload();">
    <INPUT TYPE=BUTTON name="del" value="Delete"><br>
    </tr></td></table>
    </form>
    <SCRIPT LANGUAGE="JavaScript">
    var mydate=new Date()
    var year=mydate.getYear()
    if (year < 1000)
    year+=1900
    var day=mydate.getDay()
    var month=mydate.getMonth()
    var daym=mydate.getDate()
    if (daym<10)
    daym="0"+daym
    var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
    var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
    document.write("<large><font color='000000' face='Chiller'><b>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+"</b></font></small>")
    </SCRIPT>
    </head>
    </body></html>
    What am i doing wrong?

    Here is a restructure and removal of some crap.
    Local HTML pages are not allowed to access files.  Use an HTA extension to allow the HTML to access your files.
    Here is  fixer.  Spnd some time learning HTNL and DHTML.  Go to W3Schools.com
    <html>
    <head>
    <title>ASCAM Winery Customers Database Application</title>
    <script Language="VBSCRIPT">
    dim strCon
    dim conn
    dim rs
    Sub window_onload()
    dbConn
    End Sub
    sub Edit_OnClick()
    rs.fields("ID") = SCAM.Name1.value
    rs.Update
    end Sub
    sub del_OnClick()
    if not rs.eof and not rs.bof then
    rs.Delete
    rs.MoveNext
    if not rs.eof then
    SCAM.Name1.value=rs.fields("CustomerID")
    SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
    SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
    SCAM.BillingAddress.value=rs.fields("BillingAddress")
    SCAM.EmailAddress.value=rs.fields("EmailAddress")
    SCAM.City.value=rs.fields("City")
    SCAM.State.value=rs.fields("State")
    else
    rs.MoveFirst
    SCAM.Name1.value=rs.fields("CustomerID")
    SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
    SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
    SCAM.BillingAddress.value=rs.fields("BillingAddress")
    SCAM.EmailAddress.value=rs.fields("EmailAddress")
    SCAM.City.value=rs.fields("City")
    SCAM.State.value=rs.fields("State")
    end if
    end If
    end Sub
    sub dbConn()
    strCon="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Winery.mdb; Persist Security Info=False"
    Set Conn=CreateObject("ADODB.Connection")
    Set rs=CreateObject("ADODB.recordset")
    Conn.Open strCon
    rs.ActiveConnection = conn
    rs.LockType = 2
    rs.Source = "customer"
    rs.Open
    rs.MoveFirst
    SCAM.Name1.value=rs.fields("CustomerID")
    SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
    SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
    SCAM.BillingAddress.value=rs.fields("BillingAddress")
    SCAM.EmailAddress.value=rs.fields("EmailAddress")
    SCAM.City.value=rs.fields("City")
    SCAM.State.value=rs.fields("State")
    end Sub
    sub MoveNext_Onclick()
    if not rs.eof then
    rs.MoveNext
    if not rs.eof then
    SCAM.Name1.value=rs.fields("CustomerID")
    SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
    SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
    SCAM.BillingAddress.value=rs.fields("BillingAddress")
    SCAM.EmailAddress.value=rs.fields("EmailAddress")
    SCAM.City.value=rs.fields("City")
    SCAM.State.value=rs.fields("State")
    end if
    end if
    end sub
    sub MovePrev_Onclick()
    if not rs.bof then
    rs.MovePrevious
    if not rs.bof then
    SCAM.Name1.value=rs.fields("CustomerID")
    SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
    SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
    SCAM.BillingAddress.value=rs.fields("BillingAddress")
    SCAM.EmailAddress.value=rs.fields("EmailAddress")
    SCAM.City.value=rs.fields("City")
    SCAM.State.value=rs.fields("State")
    end if
    end if
    end sub
    sub AddNew_Onclick()
    rs.AddNew
    rs.fields("CustomerID")=SCAM.Name1.value
    rs.fields("CustomerFirstName")=SCAM.CustomerFirstName.value
    rs.fields("CustomerLastName")=SCAM.CustomerLastName.value
    rs.fields("BillingAddress")=SCAM.BillingAddress.value
    rs.fields("EmailAddress")=SCAM.EmailAddress.value
    rs.fields("City")=SCAM.City.value
    rs.fields("State")=SCAM.State.value
    rs.Update
    end Sub
    sub Search()
    SCAM.CustomerFirstName.value=""
    SCAM.CustomerLastName.value=""
    SCAM.BillingAddress.value=""
    SCAM.EmailAddress.value=""
    SCAM.City.value=""
    SCAM.State.value=""
    rs.MoveFirst()
    do while not rs.eof
    if rs.fields("CustomerID") = int(SCAM.Name1.value) then
    SCAM.Name1.value=rs.fields("CustomerID")
    SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
    SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
    SCAM.BillingAddress.value=rs.fields("BillingAddress")
    SCAM.EmailAddress.value=rs.fields("EmailAddress")
    SCAM.City.value=rs.fields("City")
    SCAM.State.value=rs.fields("State")
    end if
    rs.MoveNext()
    loop
    end Sub
    </script>
    </head>
    <body>
    <center><h3>ASCAM Winery Customers Database Connection</h3></center>
    <form NAME="SCAM" Method="Post">
    <Img height="350" width="175" style="float:left;" SRC="https://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-xap1/v/t1.0-9/1538743_739414219404453_295536607_n.jpg?oh=44ac8ad664ec4c955320953ecc897abf&oe=546C928C&__gda__=1416231439_9f7ec10eb3a492796ca997745cd36163">
    <Img height="350" width="175" style="float:right;" SRC="https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-xpf1/v/t1.0-9/10418140_272292502973344_2392827848855223574_n.jpg?oh=31ea8cfd238262ea38791e54fd894927&oe=5461E223&__gda__=1416653129_a039fc9ac8f3adcb4f4d220274565fad">
    <table border="0" cellpadding="2" cellspacing="2">
    <tr><td>Customer ID</td><td><input TYPE="TEXT" NAME="Name1"></td></tr>
    <tr><td>First Name</td><td><input type="text" name="CustomerFirstName"></td></tr>
    <tr><td>Last Name</td><td><input type="text" name="CustomerLastName"></td></tr>
    <tr><td>Email</td><td><input type="text" name="EmailAddress"></td></tr>
    <tr><td>Phone</td><td><input type="text" name="Phone"></td></tr>
    <tr><td>Fax</td><td><input type="text" name="FaxNumber"></td></tr>
    <tr><td>Address</td><td><input type="text" name="BillingAddress"></td></tr>
    <tr><td>City</td><td><input type="text" name="City"></td></tr>
    <tr><td>State</td><td><input type="text" name="State"></td></tr>
    <tr><td>Zip Code</td> <td><input type="text" name="ZipCode"></td></tr>
    </td>
    </tr>
    <tr>
    <table>
    <tr>
    <td>
    <input TYPE="button" name="AddNew" value="Add">
    <input TYPE="button" name="MoveNext" value="Move Next">
    <input TYPE="button" name="MovePrev" value="Move Previous">
    <input type="button" value="Search" onClick="Search">
    <input type="reset" value="Reset" onClick="">
    <input TYPE="button" name="del" value="Delete"><br>
    </td>
    </tr>
    </table>
    </form>
    </body>
    </html>
    ¯\_(ツ)_/¯

  • How to create hyperlink in Html page using Java

    Hello every one
    I want to know that how can I create a hyperlink in Html page using java ?
    Let for example
    I have code like this and i want to give hyperlink to it using java.
    rember that i am creating node using this id="name" which give me multiple value. and i want to assign diff link to each name..?
    <tr>
    <td ><span id="name"></span>
    </tr>

    but i m using this code to create node in html file
    HTMLLIElement li = (HTMLLIElement)appHTML.createElement("LI");
    Text txt = appHTML.createTextNode(name);
    li.appendChild(txt);
    appHTML.getElementById("name").appendChild(li);
    this will display all name value which is coming from database,
    and i want to assign a hyperlink to it,
    I have id with name also so I thought that using id i will
    create javascript like
    function popup(id)
         if(id==1)
              var n1 = window.open("../list/name1.html");
         if(id==2)
              var n1 = window.open("../list/name2.html");
    this way i want to popup particular file if i can pass id value in this function
    so want hyperlink like
    name

  • Cookies from local HTML pages?

    I have an HTML application that is intended to be run locally from a user's machine. However, Safari does not appear to allow cookies to be stored by a local HTML page. Does anyone know of any way to work around or fix this issue?
    My test environment is OS 10.3 and Safari 1.2.4.
    Thanks in advance.

    Nah, no use posting code, I'm pretty sure it is just a limitation of the browser, for whatever reason.
    I didn't have that much persistant stuff, so I just moved to the dashboard for development and that worked out okay.
    Here's my final product, if you're interested:
    http://www.apple.com/downloads/dashboard/games/widgzee.html

  • How to embed jnlp file into html page using object tag

    hi everyone,
    i have written one jnlp file like this.
    <?xml version="1.0" encoding="utf-8" ?>
    <!-- JNLP file for Demo applicaion -->
    <jnlp spec="1.0+" codebase="http://localhost:9080/base/" href="SampleExample.jnlp">
         <information>
              <title>Demo Application</title>
              <vendor> </vendor>
              <description>Sample Demo Application</description>
              <offline-allowed/>
         </information>
         <security/>
         <resources>
              <j2se version="1.3+" />
              <jar href="common.jar" main="true" download="eager" />
              <jar href="classes12.jar" download="eager" />
              <jar href="toplink.jar" download="eager"/>
              <package name="com.applet.*" part="applet" recursive="true"/>
         </resources>
         <applet-desc name="grid" main-class="com.applet.PriceGrid" width="1000" height="300"/>
    </jnlp>
    i am trying embed that jnlp file using object tag like
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">     
    <PARAM NAME="jnlp" VALUE="http://localhost:9080/base/SampleExample.jnlp">
    </OBJECT>
    but i am not able to load the applet using Web Start.
    Can anyone please help me. This is very Urgent for me.
    Thanks & Regards,
    Shiva.

    thanks.
    i am giving my problem clearly. i have one applet. Previously i am loading the applet in my html page using object tag like this...
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">
    <PARAM NAME="CODE" VALUE="com.adp.base.applet.PriceGrid.class" >
         <PARAM NAME="ARCHIVE" VALUE="common.jar,classes12.jar,toplink.jar" >
         <PARAM NAME="NAME" VALUE="grid" >
    <PARAM NAME="type" VALUE="application/x-java-applet">
    <PARAM NAME= "cache_option" VALUE ="no">
    </OBJECT>
    now what i need to do is
    i need load the applet only first time using web start and when ever the applet code changes in the server i need to reload the applet.
    for that i kept all the applet resources in .jnlp file.i want to cache all the resources which are in .jnlp file and applet must be displayed within a web page within a browser.
    Webstart always open a new application windows.
    I need to run an Applet embedded within a web page within a browser.
    Is there a way to still use Webstart?

  • To know the Status code of a HTML page using Javascript

    To know the Status code of a HTML page using Javascript

    Hello,
    I am not sure to understand, which status are you talking about? The HTTP Status?
    If your javscript is executed it is more or less sure that the HTTP Status is 200 since the request is back to the browser.
    or are you talking about this is in the context of a XMLHTTPRequest call ?
    Regards
    Tugdual Grall

  • Trying to assemble a HTML page using 3 servlets.

    I am trying to assemble a HTML page using 3 servlets.
    1 servlet for generating a standard header for the page, 1 for generating a standard footer for the page and 1 for generating the content for the page.
    I know how to generate a page with only one servlet, but how do you do it with 3 servlets, with each generating part of the page.

    Use the include method of the RequestDispatcher to include the output of the header and footer servlets.

  • Use Buttons to switch HTML Pages

    I have Dreamweaver 8 (as part of Studio 8 Mac). I use OSX.3.9
    on a G4-500, and OSX.4.7 on a PB17 !.67GB.
    I would like to have a home page with buttons some where
    acros the top or down one side. Maybe using a Tables, I would like
    to click a given button and the desired page would either come up
    replacing the previos page. Or if using a table, the top table part
    remains the same and either the right lower Table section or lower
    table section (depending upon where the button are) would change to
    contents of html page linked to. I've tried using an extension. But
    its my understanding I can actually do this from with Dreameaver
    without need of a Button designer extension.

    Create a graphic button. Place it on a page in the desired
    location.
    Select the button. Use the Property inspector to browse to
    and select a new
    page (the link field).
    Is that what you are asking?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "PJones, CET" <[email protected]> wrote in
    message
    news:e9do1o$5bs$[email protected]..
    >I have Dreamweaver 8 (as part of Studio 8 Mac). I use
    OSX.3.9 on a G4-500,
    >and
    > OSX.4.7 on a PB17 !.67GB.
    >
    > I would like to have a home page with buttons some where
    acros the top or
    > down
    > one side. Maybe using a Tables, I would like to click a
    given button and
    > the
    > desired page would either come up replacing the previos
    page. Or if using
    > a
    > table, the top table part remains the same and either
    the right lower
    > Table
    > section or lower table section (depending upon where the
    button are) would
    > change to contents of html page linked to. I've tried
    using an extension.
    > But
    > its my understanding I can actually do this from with
    Dreameaver without
    > need
    > of a Button designer extension.
    >

  • Trying to link a html page in AS3

    I made a flash site with a button I want to link to a html page I made. But I don't know what I'm doing. I tried this:
    _root.cele1.on(release);{
    getURL("celebrities.html");
    where cele1 is the button name, but that don't work.  I know what I need to do to navigateToURL but I want to link a HTML page I created.
    Any help would be great. Thanks.

    THis is likely a literal case of helping yourself... See your other posting and leave out the part where you try to size the window...
    I'm trying to make the window size smaller in flash actionscript 3.0

  • Linking a flash button to a html page

    Hi, I was wondering if anyone knew the best way to link a
    flash button to a page in DW?
    Thanks

    Place this actionscript into the hit area of your flash
    button, then export the flash as a .swf and place onto the
    dreamweaver page...
    on(release){
    getURL("YOUR_DESIRED_PAGE.html","_self");
    This will open the new html page in the same window. Hope
    that helps.
    You can get a cheap but awesome tutorial on Flash buttons
    here...
    http://www.cartoonsmart.com/smooth_buttons.html
    No, I don't know the guy and I don't get a commission. The
    tutorials really helped me, that's all.

  • Problem in refreshing html page using LinkToURL API

    Hi all,
    I use LinkToURL in order to open a html page in a new window. My problem is that this html file is changed (the name is the same but the contents is diff) dynamically. I click on the link and the window is open, but later on when the html file is changed and I reopen the window it shows the old html file. Is it possible to refresh this window automatically every time when it is opened? Otherwise the user has to press Refresh button in order to see the new html file.
    10x for your help.
    Svetlomira

    Hi Svetlomira,
    Do you have access to html file? Can you changed it?
    Or you can use following approach: if html is static (not jsp or asp or similar)
    you can append System.currentTimeMillis() to the html file name after '?' sign:
    final String nonCachedURL = "http://www.domain.com/index.html?" + System.currentTimeMillis();
    You can achieve this by using calculated context attribute and bind it with LinkToUrl`s reference proprty.
    Best regards, Maksim Rashchynski.

  • Passing parameters in a html page using xwd_tmppg.create

    We are in the initial stage of Developing a OLAP Web Application using
    Oracle Express Web Agent 6.3.2,Oracle Express Administrator6.3.2.
    Flow of our screens are:-
    We have a login screen that authenticates user entry to access his assigned role screen.Based on the role the user selects we will be listing out the analysis in a screen that the user could access.
    Express Programs are used to create Role and Analysis screen.
    User logged information is passed from login to role screen and to
    analysis screen using XWD_APPPG.CREATE that accepts parameters.
    Moreover this function can only be used to create html page with out
    data views.
    Now let us come to our problem-
    We need to take the user from analysis screen to detailed data view screen that shows the OLAP cube with a back & exit button.As explained earlier you need to use the function XWD_TMPPG.CREATE to create dataview.It is not possible to pass parameters through this function.This function accepts .html as the only parameter.But we need to pass the userid info to get back to analysis screen for the user to select the next analysis.I need the user logged info available in the template file.
    Is there any solution for this problem or any other approach to capture the user logged info in the template file???

    Hi Aneel,
    Thanks for your informative suggestion on how to receive data from
    previous page on to the template page using LOCATION.SEARCH.SUBSTRING
    function.
    I could very successfully get the userid information by implementing
    this method within the SCRIPT boundary.
    I also want to pass this value to a express program embedded
    within the <!--EXPRESS call foot(userid)--> so that it will enable the
    user to go back to List of analysis page.her my footer program will
    inturn call the Analysis Page with the userid information.That's my
    whole idea.
    I tried the following methods to acieve my end result-
    1)Tried to store the value in a local variable in the template & passed
    it to the express program -- Error thrown was "userid is not attached in
    the database"
    2)Directly specifed location.search.sunstring in the express program..
    Still the same error was thrown
    3)Thought of storing the value in the name of hidden object .Still this
    will not work out because i need to declare the object in the FORM..
    Moreover the value is avialable wihin the JAVA SCRIPT range.Out of this
    range template is not able to identify this value.
    Any idea Aneel form your end.
    Can you let me know how to use hidden object in achieving the result.
    I have been working very hard for quite sometime.
    Advance thanks.
    Nanda Kishore

  • How to generate dynamic HTML pages using Swing Application?

    Hello,
    I am writing a Java application to connect to a local light-weight java database. I would like to generate and present a HTML on the fly after selecting records from a database. At server side, I could easily use JSP/Servlet to do this. How can I do this on a desktop client machine using Java application? I do not want to install Apache web server on the desktop machine. Any help will be greatly appreciated. Thanks in advance.
    Dominic

    The way u need to generate your html pages depened on what u want to generate,
    anyway what i can help with, is how to display a generated page.
    u have to use JEditorPane with HTMLEditorKit and HTMLDocument to display any HTML.
    also u can use the methods provided with the above objects to generate your html format.
    I hope I helped.

  • Flash linking button to a .html in frame

    is this possible?
    say i have 2 frames,
    frame1 = flash file (.swf)
    frame2 = homepage.html
    and in flash, i make a button that opens up bla.html in
    frame2?
    if so what is the code to link a flash button to a frame,
    html page?
    thanks

    thanks for that now i got 1 part working. i can open up the
    web page but not in the right frame... im working on trying to get
    the correct frame open cause no matter what i type it always opens
    up in a new window :(
    but yer, the url you type in is relative to where the flash
    file is on the site. i can put up with that for my site but if you
    find out how to make the address 'absolute' it would be helpful for
    the future :)
    lets see if i can figure out how to get this opening in the
    correct frame
    edit: i just realized i forgot to type in '
    http://'... so if you type that it gets the
    absolute address :P

  • How to create dynamic HTML page using PL/SQL code in APEX.

    hello,
    I am woking on one APEX application in which i want to create one dynamic HTML page on button press using PL/SQL code.
    Thanks

    It is possible to create HTML page with dynamic content. One way would be creating hidden field (e.g. P1_HTML on page 1) with dynamic HTML and on button click you redirect to page 2 and pass P1_HTML item value to item P2_HTML on page 2. On page you must have PL/SQL region. You can then render your dynamic HTML with code:
    htp.p(:P2_HTML);
    Don use APEX URL for passing HTML value. Problem and solution is described here: http://blog.trent-schafer.com/2011/04/03/dont-pass-string-parameters-in-the-url-in-apex-its-a-bad-idea/
    Edited by: MiroMas on 3.2.2012 3:20

Maybe you are looking for

  • I can't reply on the official 7.0 topic so I'll ju...

    Your forums suck as much as your new client. Nothing works as it's supposed to. When you need help, it's nowhere to be found. Was looking for an email address or live chat to ask help with my problem but right now I can't even remember what the probl

  • Link in Word to Excel chart stored in SharePoint

    I want to embed chart from Excel in Word document. Both Excel and Word documents are saved in SharePoint library. What I did, was to paste chart from Excel with "link data" option enabled. I also went to Links window and set "Update method for seecte

  • Firefox 4.ob10 Mac: The "Save Tabs?" does not appear when quitting FF

    I have disabled all extentions, add-ons, started up in Safe Mode or tried any other suggestions placed on the forum, but still, tabs are not saved. I don't find a "enable" or "disable Save Tabs" in the preferences As suggested, in the profile folder

  • Verizon signal booster

    Hi. I came across your post and can REALLY use some help. I have a lake house in zip code 36401 which is down in a low spot. I can't get ANY signal from Verizon. I'm prepared to spend what I have to to fix this problem. I can't use my phone or connec

  • Printing to a shared mac printer from xp please help

    Hi, I'm having real trouble printing from my girlfriends xp laptop to a printer connected to my imac running OS 10.6.2 I believe I've tried everything and there was a point where it was working beautifully then it just stopped. I think i need just a