How to call the webview url property

Hello again!

How to invoke webview URL and set and new value to redirect the user?

example, if I have this

WebView {
                        objectName: "MainPage"
                        id: webView
                        url: "http://testdomain.com/"
                    }

How to make a button to redirect the Web view to another area when triggered?

Thank you very much for your quick responses!

You can do also something like this, you can open a different page to open and see that. on another page, it will remain same site that viewers watch

Button {
        text: "Click Me"
        attachedObjects: [
// sheet to invoke new page like new tab
            Sheet {
                id: webSheet
                Page {
                    ScrollView {
                        scrollViewProperties.scrollMode: ScrollMode.Vertical
                        scrollViewProperties.initialScalingMethod: ScalingMethod.AspectFill
                        WebView {
                            url: "http://website.com"

                        }

                    }
                    actions: [
 // to close the sheet

                        ActionItem {
                            title: "Close"
                            onTriggered: {
                                webSheet.close()
                            }
                            ActionBar.placement: ActionBarPlacement.OnBar

                        }
                    ]

                }

            }
        ]

        onClicked: {
// sheet open
            webSheet.open()
        }
    }

Reply liked it please mark as solution

Tags: BlackBerry Developers

Similar Questions

  • How to call the page url inside the procedure.

    Hello


    I'm not exhibition in plsql.
    I have some problem in utl_http link.

    I create a procedure. The procedure has been compiled successfully. But the page url does not open...

    I have attached the procedure,

    create or replace procedure p (number of mob)
    IS
    long l_page;
    l_url varchar2 (25000 char);

    Start
    null;
    l_page: = utl_http.request ("http://www.yahoo.com");
    end;


    Please tell me the solution for this problem...


    I await your response.

    Thank you
    Sasi.

    This is a duplicate thread:

    How to open the web page in pl/sql

    the OP doesn't seem to understand the difference between a web browser and a programming language... I can't say I've ever had to explain the difference before...

    Let's say that... the butterflies are not somehow similar to razors electric...

  • How to call the web service?

    Hello

    I want to know how to call the web service from my application HTML5 & javascript.

    Please help me find this detail as what I can access easily. and I want to access web services online (a method of it) I'm not concered with how background Web service takes place.

    I just want that when you call a web service method, I will return the result.

    Please try this out for a WebService call

    var xmlhttp;
    xmlhttp = new XMLHttpRequest();
    xmlhttp.open("get","your url",true);
    xmlhttp.setRequestHeader("Accept","application/json");
    xmlhttp.setRequestHeader("Content-type", "application/json");
    xmlhttp.onreadystatechange=function() {
     if (xmlhttp.readyState==4) {
      if (xmlhttp.status == 200) {
        console.log(xmlhttp.responseText);
      }
     }
    }
    xmlhttp.send();
    

    This will display the result of the invocation of webservice. The url is the application that you deploy and the type can be get/post. If xmlhttp.send (post) takes argument for the display of the data. You can call it by clicking a button in HTML.

  • How to call the setting menu of the BIOS on HP DV4 1540us netbook?

    Hi all

    How to call the setting menu of the BIOS on HP DV4 1540us netbook?

    F2 does NOT an on-screen BIOS setting.

    Is there another trick?  Or, perhaps, defining the procedure step by step to start the BIOS?

    TIA

    Power on the laptop and all logo HP being displayed, press F10.

  • How to call the procedure type table

    Hi I have the below requirement

    Created in the sub table type

    CREATE or REPLACE the TYPE char_type IS the TABLE OF VARCHAR2 (4000);

    create or replace procedure test_proc_type (p_type char_type) is

    Start

    I'm looping 1.p_type.count

    dbms_output.put_line (p_type (i));

    end loop;

    end;

    How to call the procedure with parameter as a type!

    SQL> create or replace type  char_type as table of varchar2(4000)
      2  /
    
    Type created.
    
    SQL> create or replace procedure test_proc_type (p_type char_type)
      2  is
      3  begin
      4    for i in 1..p_type.count loop
      5      dbms_output.put_line (p_type(i) ) ;
      6    end loop;
      7  end;
      8  /
    
    Procedure created.
    
    SQL> set serveroutput on
    SQL>
    SQL> exec test_proc_type(char_type('A','B','C','D','E'))
    A
    B
    C
    D
    E
    
    PL/SQL procedure successfully completed.
    
    SQL>
    
  • How to call the java function with javascript setting in mobile adf?

    How to call the java function with javascript setting in mobile adf?

    The ADF Mobile utility container API can be used from JavaScript or Java.

    Application container API - 11 g Release 2 (11.1.2.4.0)

  • How to get the friendly URL to the web sites of the centre

    Anyone know where I can find good instructions on how to produce the friendly URL to the web sites of the centre

    Hi Ahmed.

    If you are running version 7.6 or 11gR1BP1 or earlier, the GST Site Foundation is a good option for you.    The GSF website is here:

    http://www.GST-Foundation.org/

    and I have recently written a howto for vanity URL using the FMA here:

    http://www.function1.com/2012/11/how-to-use-vanity-URLs-in-the-GSF-with-WebCenter-sites/

    Please let me know if you have any questions!

    Sincerely,

    Tony Field

    Function1

  • How to change the LOGO url

    Hallo,

    Could someone explain how to change the LOGO URL (when I click on redirect logo should go not to the home page, but to any page I want to set manually).

    Thanks for the tips.

    Apex 4.1.

    Hello

    have a look at the page template.

    Home--> Application Builder--> Application XX-->--> models shared components

    According to the Setup, you should find something like

      
    

    He simply change "#HOME_LINK #" to your desired URL/page.

    I hope this helps...

    Thank you
    Sandro

  • How to call the stored procedure when I press the button

    Hello

    I want to know how to call the procedure/SQL statement when I press the button using callable statement.

    can someone give me it please link who knows the steps to do this.

    Thanks in advance,
    SAN

    Hello

    read this good example http://www.baigzeeshan.com/2010/05/calling-plsql-procedure-and-function-in.html

    ~ Abhijit

  • How to call the variables of the scene inside movieClips

    How to call the variables of the scene inside movieClips

    One way would be to use "MovieClip (root)" to target variables in the main timeline... MovieClip (root) .someVariable = someValue;

  • How to call the javascript function in ADF

    I have the javascript function stored in a .js file external (try to reuse in another application). How can call the javascript function for an event of ADF faces component. I need to I am a newbie to ADF, all ideas are appreciated.

    Kind regards
    Surya

    Published by: sgodavar on Sep 24, 2010 11:44

    Include JavaScript to the jsff/jspx as page:

    Call it like:

    Type = "dblClick" / >
    Amit

  • How to call the function (function Build-in user) in Pro * C program

    We have developed the application Pro * C program.
    TimesTen version is "TimesTen release 11.2.1.5.0 (64-bit, Linux/x86_64) (tt112150:53308) 2010-03 - 04 T 20: 39:30Z.

    We would like to develop Pro * C program you are using PL/SQL.

    We have a few questions.
    How to call the function (function Build-in user) in Pro * C program?

    #########
    TEST
    #########

    ttisql:
    Command > create or replace FUNCTION F_SAMPLE (i_str IN VARCHAR2)
    > BACK NUMBER
    > o_number NUMBER;
    > START
    > select i_str
    > in o_number
    > double;
    >
    > O_number RETURN;
    >
    > EXCEPTION
    > Others THEN
    > RETURN 0;
    > END;
    > /.
    display errors
    The function is created.
    Order > show errors
    No errors.
    Command >
    Command > set serveroutput on;
    Command > declare
    > number of num1;
    > start
    > num1: = F_SAMPLE ('A');
    > DBMS_OUTPUT. PUT_LINE ("F_SAMPLE" |) ' ' || NUM1);
    > end;
    > /.
    F_SAMPLE 0

    PL/SQL procedure successfully completed.

    Command >


    Pro * C case:

    EXEC SQL BEGIN DECLARE SECTION;
    number of num1;
    EXEC SQL END DECLARE SECTION;

    EXEC SQL EXECUTE
    Start
    : num1: = F_SAMPLE ('A');
    end;
    END-EXEC;

    Make sure to install:
    Error on line 146, column 3, file plsqlPROC.pc:
    Error on line 146, column 3 in file plsqlPROC.pc
    number of num1;
    .. 1
    PCC-S-02201, encountered the symbol "num1" when expecting one of the following conditions:


    Thank you.

    GooGyum

    There are two problems with your variable declaration:

    1. the name of the variable and type are thew misplacement autour.

    2. you may not use a host variable type.

    If you change this to:

    EXEC SQL BEGIN DECLARE SECTION;
    int num1;
    EXEC SQL END DECLARE SECTION;

    Then it will work very well.

    Chris

  • After deployment got "404 Not Found".  How to find the correct URL?

    For the experienced:

    Preparing to deploy my application, I use JDeveloper 10.1.3.4 to deploy the application on the server standalone oc4j included in JDeveloper. After deployment, I get the error "404 Not Found" when trying to invoke the application in a browser. The deployment seems OK, because the log in JDeveloper window showed no error executing deployment from inside JDeveloper. So I guess the question is how to find the correct URL to invoke the application. Here are the steps I took to make the deployment.

    First, I installed the standalone oc4j by running the .bat < jdev_home > \jdev\bin\start_oc4j file. Installation is OK because I have deployed the application SRTutorial and invoked successfully in a browser.

    The WAR file has been created by right-clicking on the ViewController project and select this option to create a WAR file. At the root of the application its own name, I typed "ZB" in the area of the root of context.

    Then in ViewController-> resources, right_click the deployment file (ZBOV.deploy) and chose ' deploy to "the local_standalone_oc4j. Messages in the Journal of JDeveloper window for deployment are all nice and clean without errors.

    I then used this url to invoke the application deployed in a browser:

    http://localhost:8888/ZB/faces/staff/login.JSPX

    But I got an error "404 Not Found". Immediately, I tried citing the application of SRTutorial, and it works fine.

    Login.JSPX is one of the pages of the application. In the browser of the application, it is with other files in the content of ViewController/Web/personal folder, so I used /staff/login.jspx after ZB/faces.

    What could be wrong? If the deployment is really successful, how to find the correct url to invoke the application?

    Thanks a lot for your help!


    Newman

    Hello

    According to me, there are 2 possibilities (could be more that I'm not aware of if :)).

    1. your deployment profile has been changed to use a different context root.
    2. your request has not been installed correctly.

    To 1, try to create a new deployment profile and leave the values by default as it is the case, run the jspx page, get the root context, deploy the application to a different OC4J instance (using the new deployment profile), and then run the application with the context root, that you received from the embedded OC4J.

    For 2, check the log file and see if you had any error / exception.

    HTH.

    Arun-

  • How to call the functionality of the Pause button to pause the media play a WebView

    Hello

    If I have media that is playing in a WebView and I then manually press the middle button (located between the top and to the bottom of the volume controls) on my phone while the media play breaks, it is great, but how can I take a break and resume a running code... is it possible that I can emit a signal system wide or something to emulate hand pressure on the key break.

    Thank you..

    Media buttons work this way because behind the scenes, the webview has implemented a connection now play for you (https://developer.blackberry.com/native/reference/cascades/bb__multimedia__nowplayingconnection.html)

    You should be able to interact with the native portion of your application using the NowPlayingController (https://developer.blackberry.com/native/reference/cascades/bb__multimedia__nowplayingcontroller.html) which has been added to the point 10.2. Note that you must import - lbbmultimedia and non - lbbpim. Should be fixed the docs in the next version.

  • Insert the text of the control inside the httpservice url property

    I'm trying to insert a DateField.text property in the HTTPService url field in the part of the script. I tested successfully with the definition of the scope of the url with a location and call the. send() results with a button. How to start the url out of a variable? Here is my code that I use to call the HTTPService and it works if I put the complete line.

    public void changeDate (): void {}
    SRV. URL = "" http://mydomain.com/temp/2008-03-21.xml "; "
    SRV. Send();
    }

    I'm going to pull the text property of a DateField with dF id. This doesn't quite work. What I need to fix?
    public void changeDate (): void {}
    SRV. URL = "' http://mydomain.com/temp/' + {dF.text} + '.xml" ";
    SRV. Send();
    }

    OK, thanks for the help. I got it to work!

    That's the final function.
    public void changeDate (): void {}
    SRV. URL = "' http://mydomain.com/temp/ ' + dF.text +".xml";"
    SRV. Send();
    }

Maybe you are looking for

  • Cannot find the memory of the satellite 1900 203

    My satellite 1900 203 has a memory problem and I want to replace it.The manual says there is no memory which is really internal and fixed to the motherboard. The memory would be on 2 slots extension, available for the upgrade to 1 GB.On the place ind

  • One of my Office of mysteriously missing folder? !!

    A folder that I had on my desk (with a number of photoshop and jpg files), has apparently disappeared in the air! (SOMEONE ELSE HAD FOLDERS DISAPPEAR ON THEM BEFORE?!) I tried to search the names of missing files via the Finder and Spotlight, but not

  • CB5-571 broken charger can not find replacement

    Hello, I have a white 15.6 "CB5-571 acer and I purchased several Chargers spare for the model already, but none of them are suitable. Two didn't quite fit and a bery loosely fit, requirely band to keep it in the port to load. All the Chargers I purch

  • BlackBerry Smartphones Can the LED to Flash more

    Hello I recently converted to a BlackBerry Curve to a Palm Treo 755 p (Sprint brand). So far, I really like the curve. I have a question that I have not been able to solve. The red LED flashes when a new message arrives as I want, but it stops flashe

  • Option of Smartphones blackBerry DO not synchronize any mail through Desktop Manager

    Is there a way to synchronize NOT mail/calender...etc with the Desktop Manager software? What happens if I want to just any other content EXCEPT mail/calendar sync? It doesn't seem to be an option for this during installation - had to choose install