Is it possible to insert hyperlinks into Dev Forms Code?

Does anyone know of a way to insert hyperlinks into forms once
it's deployed? For example, if I want the user to click on a
button "when-button-pressed" code that will take them to a
website.
thanks
null

Ares (guest) wrote:
: Does anyone know of a way to insert hyperlinks into forms once
: it's deployed? For example, if I want the user to click on a
: button "when-button-pressed" code that will take them to a
: website.
: thanks
Why don't you use WEB.SHOW_DOCUMENT inside your "when-button-
pressed" trigger?
Yar
null

Similar Messages

  • Is it possible to insert data into a MySQL database with Java?

    Hello everyone!
    I would like to know, if it's possible to insert data into a MySQL database, with a JFrame inside a servlet?
    When the JFrame is first created it calls this method:
         * Connects the servlet with the MySQL database.
        private void connect(){
            try{
                Class.forName("com.mysql.jdbc.Driver");
                connection = DriverManager.getConnection(
                        "jdbc:mysql://localhost:3306/data", "root", "omfg123");
            }catch(ClassNotFoundException cnfe){
                cnfe.printStackTrace();
            }catch(SQLException sqle){
                sqle.printStackTrace();
        }Then, when you click the "Add" button, it executes this code:
                add.addActionListener(new ActionListener(){
                    @Override
                    public void actionPerformed(ActionEvent ae){
                        String employee = employeeName.getText();
                        String[] args = employee.split(" ");
                        firstName = args[0];
                        lastName = args[1];
                        execute();
                });And this is my "execute()" method:
         * Connects the servlet with the MySQL database.
         * - And executes the SQL queries.
        private void execute(){
            try{
                PreparedStatement statement = connection.prepareStatement("insert" +
                        " into employees values(" + firstName + ", " + lastName
                        + ")");
                ResultSet result = statement.executeQuery();
                String fullName = firstName + " " + lastName;
                printer.write("Employee " + fullName + " added.</br>");
            }catch(SQLException sqle){
                sqle.printStackTrace();
        }But when I click the "Add" button, nothing happens.

    This is what I use to insert into mysql. It works on windows.
    try {
                Class.forName("com.mysql.jdbc.Driver");
                String connectionUrl = "jdbc:mysql://" + loadip + "/custsig?" +
                        "user=root&password=";
                Connection con = DriverManager.getConnection(connectionUrl);
                newproc = jTextField1.getText();
                newsoft = jTextField2.getText();
                newdeb = jTextField3.getText();
                newcust = jTextField4.getText();
                if (newcust.equals("")) {
                    errorsig12 = 1;
                    jLabel1.setForeground(new java.awt.Color(255, 0, 0));
                } else if (newsoft.equals("")) {
                    errorsig12 = 1;
                    jLabel2.setForeground(new java.awt.Color(0, 0, 0));
                } else if (newproc.equals("")) {
                    errorsig12 = 1;
                    jLabel3.setForeground(new java.awt.Color(0, 0, 0));
                } else if (newdeb.equals("")) {
                    errorsig12 = 1;
                    jLabel4.setForeground(new java.awt.Color(0, 0, 0));
                if (errorsig12 == 0) {
                    PreparedStatement ps = con.prepareStatement("insert into customer set cust_name = ?,  software = ?, processor = ?, debit = ?");
                    ps.setString(4, newdeb);
                    ps.setString(3, newproc);
                    ps.setString(2, newsoft);
                    ps.setString(1, newcust);
                    int rs = ps.executeUpdate();
            } catch (SQLException eg) {
                System.out.println("SQL Exception: " + eg.toString());
            } catch (ClassNotFoundException cE) {
                System.out.println("Class Not Found Exception: " + cE.toString());
            }

  • Although it is possible to insert podcasts into a playlist on the Mac, these are not in the playlist on the iPod after SYNC

    although it is possible to insert podcasts into a playlist on the Mac, these are not in the playlist on the iPod after SYNC

    Sambino,
    You should be fine. Just make sure that you download and install the P2 drivers for your PB. Also, if possible transfer directly to your external. P2 cards can eat up a lot of space very quickly and you don't want to overburden your system drive.
    K

  • Is it possible to insert data into two Excel worksheets using Report Generation Toolkit?

    I'm using the toolkit to insert data into two separate worksheets in Excel using named cells. The problem is that it tends to favor one sheet or the other. In other words, one sheet will have data and the other no data and vice versa. (Sometimes I get data in both sheets.) Is there something I can do to clear this up or is what I'm trying to do unreasonable? I would like to use two worksheets so one sheet receives text and data. The other sheet is used to format the data into a printable report. (i.e. using Excel's CONCATENATE function) The second (report) sheet is also used to receive plots (JPEG files) from LabVIEW. I'd send the plot images to the first sheet, but I can
    not see a way to automatically transfer images from sheet to sheet. I'm using LV 7.1, Win2000 and Toolkit v.1.0.1

    Hi,
    You can use the "Excel Get Worksheet.vi" under All Functions >> Report Generation >> Excel Specific >> Excel General to specify a particular worksheet as the current worksheet. Then, you can specify which worksheet you want to write to in your VI.
    Let me know if you have any further questions and good luck!
    Kileen C.
    NI

  • Insert hyperlink into Text Item

    I'm looking to create a footer text item for all reports that has a link that will launch an email to the BI team.  I was able to find some javascript that I can use to launch Outlook but I can only get it to work with a button item or link item.  I can't seem to figure out how to insert it into a Text Item.
    What I want is:
    "If you have any question please contact BI Team"
    where BI Team is the link.
    Thanks.

    Hi,
    i hope you want this functionality in WAD report. have u tried "HREF" in HTML code of WAD for that link.
    for example: you want to open the link on clicking on "BI Team" so write a code in WAD like this
    "If you have any question please contact  <a href="http://mail.google.com/" target="_blank" >BI team</a>
    Hope this will solve you query
    Thanks,
    Om Ambulker

  • Is it possible to merge addresses into a formed letter?

    Does anyone know if it is possible to take a mailing list of names and merge them into a formed letter or use on envelopes?

    Yes, most of the existing templates do that already.
    If you want to set it up yourself:
    Menu > Insert > Merge Field
    The source data can come from a Numbers table or better from Contacts/Address Book.
    Look up Personalizing Documents with Address Book and Numbers Data page 246 in the Pages09_UserGuide.pdf downloadable from under the Help menu.
    Peter

  • Possible to insert array into db without looping?

    Hi there,
    I'm working on a Flex project that uses cfc's and MySQL. I
    have an ArrayCollection that I want to store in my db. I was
    thinking that I could store it as a BLOB. I'm taking a stab at it
    now but I thought I'd put the feelers out to see if anyone has any
    ideas of how to do this.
    Maybe a simpler way to put it:
    Is it possible to save an entire array into a database
    without looping through and storing each item in the array
    separately?
    Thanks.
    Novian

    For 1 dimensional arrays, you can either convert the array to
    a list - ArrayToList() or for more complicated structures you can
    serialize your data using XML, WDDX (a type of XML) or JSON. WDDX
    support is native to CF, you can find components online that will
    give you JSON support or you can roll your own XML
    conversion.

  • Is it possible to insert P2 into a PWBK G4?

    dear all, I have already posted this but it was a nested reply in another topic. I think nobody will never find it. So, I post it as indipendent topic.
    I hope someone will solve my problem just saying that my workflow is ok... I hope...
    I will use a AG-HVX200 HD camera and I will use P2 cards for the first time.
    The question is: will my powerbook g4 accept those P2s into its PC slot? The specifiction sheet of the PBg4 by Apple says that my machine can accept Pc card type I and II. And I think P2 cards are type II.
    Then I would transfer from P2 to Internal Hard Drive and then to Ext. Lacie 250 GB HD. Does it sound correct to you?
    I got scared as someone said to me "you will need an adapter for your mac, as you do not own a PC. Macs have different slots than ones required by P2 cards".
    thank'you.
    Alex

    Sambino,
    You should be fine. Just make sure that you download and install the P2 drivers for your PB. Also, if possible transfer directly to your external. P2 cards can eat up a lot of space very quickly and you don't want to overburden your system drive.
    K

  • Is it possible to insert media into Adobe Muse slide show?

    Is someone can help me out my question? Thanks.

    You can use compositions for this as with slideshow we cannot insert any other element.
    Thanks,
    Sanjit

  • Insert Slider into pdf forms

    I am new to building forms using Adobe and have limited programming experience.  I would like to insert several sliders into a pdf form that can be used to quantify things like symptom severity or strength of agreement and have the slider output a value that corresponds to where the slider is on the scale.  Any help would be much appreciated.

    It's possible to approximate this type of control using a button and some more advanced scripting. I will usually include a hidden (or visible) text field to provide a means to include a value. But something that you can do yourself is use multiple radio buttons, to create a 0-10 scale for example.

  • Button to insert pages into a form?

    I'm trying to create a multi-page form for new contacts. What I would like to do is have the PDF with only 1 initial page, for 1 contact. Then if another contact needs to be added in the same PDF, the user would click a button on the form and a blank copy of the 1st page would be appened to the pdf, and so on for a 3rd,4th,5th,..., contact.
    Is this possible? I know how to use the button in forms but I can't find any actions that can achieve this effect.

    With Acrobat forms, not LiveCycle Designer, you can use a hidden template to add new blank pages.
    A Lesson in Templates for Adobe Acrobat by Dave Wright
    http://www.planetpdf.com/developer/article.asp?ContentID=a_lesson_in_templates_for_adob&gi d=6466
    Acrobat PDF Forms: A Step-by-step Introduction by Ted Padova
    http://www.planetpdf.com/developer/article.asp?ContentID=acrobat_pdf_forms_a_step_by_s&gid =6480

  • Need Bapi or IDOC to insert data into FB60 T-Code

    Hi Experts,
    I need Bapi or standard IDOC to insert data in to FB60 T-Code.
    Thanks in advace
    Krishna

    Hi,
    Thanks for the reply i cant find this fileds.
    INVFO-ACCNT
    LFA1-NAME1
    INVFO-XBLNR
    INVFO-XREF1
    INVFO-XREF2
    INVFO-BLDAT
    INVFO-DMBTR
    ACGL_ITEM-HKONT
    ACGL_ITEM-AUFNR
    ACGL_ITEM-KOSTL
    Thanks,
    Krisna

  • Inserting variables into other variables

    I have several objects that have similar names, like slot1, slot2, slot3, etc. I also have a function that is supposed to do something to the first object, then the next, then the next, etc each time a button is pressed. Is it possible to insert variables into other variables? So say I have a variable called n that is increased each time the button is pressed. The function is then applied to slot"n" each time the button is pressed. How would I do this?

    use:
    var n:Number=1;
    function f(){
    // do something to parentmovieclip["slot"+n]
    n++
    p.s.  please mark this thread as answered, if you still can.

  • I can't locate an "advanced" tab in my Keynote to insert hyperlinks - any ideas onwhat might be wrong?

    The instructions said to click on the "wrench" looking tab, and click on "advanced" tools to insert hyperlinks into my presentations - there is no "advanced" tab showing up - any ideas of what might be wrong, or how to get to it?

    The "Wrench" is in the upper right hand side of Keynote for iOS. Advanced is one of the options after you click on the wrench, Interactive Hypelinks is selected from within the Advanced option. You then select an object and assign a link to it.
    Good luck.

  • Insert data into array

    I want to know if its possible to insert data into an array, but I wish to do it as I would in excel, by using the option of insert row.
    Is it possible to insert a value into an array in a specific row, so that all the other values after the one that was inserted are moved one row down?
    Please let me know how to do this, and if you could please provide some sample code, that would be great.
    Thanks!

    I tried using the array subset, but I still can't get the result that I want.
    What I want is to be able to add elements to the array, and that element should be added to a specific category (defined by one of the text rings).
    Example: in the category, I have the first one and in the elements (second text ring) I have the second one. The element that I will add will be in the 3rd position of the category that I selected. So if I have a category of DVDs, and in the items I have 2 brands (TDK, Maxell), and I will add Sony as the 3rd item in the second text ring that is being populated depending on the selection in the first text ring.
    How can I add items to the second text ring, so that they only appear in the category that I selected in the first text ring?
    Thanks in advance!

Maybe you are looking for

  • STO with UB & delivery

    i want to do outbound delivery with refer. to Purchase order and po is created with documen type UB and i am getting an error that shipping data is not maintained . please provide suggestion. material is extended to both the plants with sales views i

  • Can't Upgrade iTunes

    When installing get four errors early in the install: Error1905.Module C:\Program\(path to QuickTime directory here) followed by each of the following in turn QTOCOntrol.dll failed to unregister QTOLibrary failed to unregister QTUIPanelControl.dll fa

  • Which is the  field for   Sold-to-party   and     ship-to-pary   in  BAPI

    i am using   BAPI_SALESORDER_CREATEFROMDAT1  This   BAPI  for sales order creation but i want to pass sold-to-party and  ship-to-party  in   Header Data but i can't find that field in BAPI so please suggest me

  • What is the best way to clean a Macbook anti glare screen

    What is the best way to clean my Macbook Pro anti glare screen

  • Tracks with different aspect ratios

    I have to make a DVD with several tracks on it. Most are 4:3, one is 16:9. The menu is currently 4:3, the tracks are set to the appropriate ratios, but in Preferences, how do I set the ratio in the General, Encoding, and Simulator tabs? (Or am I just