Help needed: Creating web link in JDialog Box

I'm in need of this urgently, any help would be much appreciated. I'm currently display some information in a JDialog box when an item is clicked in a JApplet.
I need to display a weblink within the dialog box.
Thanks anyone

I am using JDeveloper 10.1.3.3.0. Thanks Heaps

Similar Messages

  • Help needed creating a linked list program

    I have been trying to create a linked list program that takes in a word and its definition and adds the word to a link list followed by the definition. i.e. java - a simple platform-independent object-oriented programming language.
    the thing is that of course words must be added and removed from the list. so i am going to use the compareTo method. Basically there a 2 problems
    1: some syntax problem which is causing my add and remove method not to be seen from the WordList class
    2: Do I HAVE to use the iterator class to go thru the list? I understand how the iterator works but i see no need for it.
    I just need to be pointed in the right direction im a little lost.................
    your help would be greatly appreciated i've been working on this over a week i dont like linked list..........
    Here are my 4 classes of code........
    * Dictionary.java
    * Created on November 4, 2007, 10:53 PM
    * A class Dictionary that implements the other classes.
    * @author Denis
    import javax.swing.JOptionPane;
    /* testWordList.java
    * Created on November 10, 2007, 11:50 AM
    * @author Denis
    public class Dictionary {
        /** Creates a new instance of testWordList */
        public Dictionary() {
            boolean done=false;
    String in="";
    while(done!=true)
    in = JOptionPane.showInputDialog("Type 1 to add to Dictionary, 2 to remove from Dictionary, 3 to Print Dictionary, and 4 to Quit");
    int num = Integer.parseInt(in);
    switch (num){
    case 1:
    String toAdd = JOptionPane.showInputDialog("Please Key in the Word a dash and the definition.");
    add(toAdd);
    break;
    case 2:
    String toDelete = JOptionPane.showInputDialog("What would you like to remove?");
    remove(toDelete);
    break;
    case 3:
    for(Word e: list)
    System.out.println(e);
    break;
    case 4:
    System.out.println("Transaction complete.");
    done = true;
    break;
    default:
    done = true;
    break;
       }//end switch
      }//end while
    }//end Dictionary
    }//end main
    import java.util.Iterator;
    /* WordList.java
    * Created on November 4, 2007, 10:40 PM
    *A class WordList that creates and maintains a linked list of words and their meanings in lexicographical order.
    * @author Denis*/
    public class WordList{
        WordNode list;
        //Iterator<WordList> i = list.iterator();
        /*public void main(String [] args)
        while(i.hasNext())
        WordNode w = i.next();
        String s = w.word.getWord();
        void WordList() {
          list = null;
        void add(Word b)
            WordNode temp = new WordNode(b);
            WordNode current,previous = null;
            boolean found = false;
            try{
            if(list == null)
                list=temp;
            else{
                current = list;
                while(current != null && !found)
                    if(temp.object.getWord().compareTo(current.object.getWord())<0)
                        found = true;
                    else{
                    previous=current;
                    current=current.next;
                temp.next=current;
                if(previous==null)
                    list=temp;
                else
                    previous.next=temp;
                }//end else
            }//end try
            catch (NullPointerException e)
                System.out.println("Catch at line 46");
        }//end add
    /*WordNode.java
    * Created on November 4, 2007, 10:40 PM
    *A class WordNode that contains a Word object of information and a link field that will contain the address of the next WordNode.
    * @author Denis
    public class WordNode {
        Word object;//Word object of information
        WordNode next;//link field that will contain the address of the next WordNode.
        WordNode object2;
        public WordNode (WordNode wrd)
             object2 = wrd;
             next = null;
        WordNode(Word x)
            object = x;
            next = null;
        WordNode list = null;
        //WordNode list = new WordNode("z");
        Word getWord()
            return object;
        WordNode getNode()
            return next;
    import javax.swing.JOptionPane;
    /* Word.java
    * Created on November 4, 2007, 10:39 PM
    * A class Word that holds the name of a word and its meaning.
    * @author Denis
    public class Word {
        private String word = " ";
        /** Creates a new instance of Word with the definition*/
        public Word(String w) {
            word = w;
        String getWord(){
            return word;
    }

    zoemayne wrote:
    java:26: cannot find symbol
    symbol  : method add(java.lang.String)
    location: class Dictionary
    add(toAdd);this is in the dictionary class
    generic messageThat's because there is no add(...) method in your Dictionary class: the add(...) method is in your WordList class.
    To answer your next question "+how do I add things to my list then?+": Well, you need to create an instance of your WordList class and call the add(...) method on that instance.
    Here's an example of instantiating an object and invoking a method on that instance:
    Integer i = new Integer(6); // create an instance of Integer
    System.out.println(i.toString()); // call it's toString() method and display it on the "stdout"

  • Help needed creating Web Service Proxy with SSL

    Hi All, I really need your help. I need to create a Web Service proxy for a web service which is SSL enabled and developed in Netbeans. I have been given keystore as well as certificates files and I have copied "keystore.jks" in my c:\Documents and Settings\<user> and the certifcates to <JAVA_HOME>\jre\lib\security\cacerts. Now when I run the Proxy creation wizard and give the location of the WSDL file, JDeveloper gives an error "Error importing schemas: Default SSL Context init failed: Invalid keystore format". Can anyone please guide me what I am doing wrong here. I will appreciate your help.
    Thanks in advance.
    John

    I am using JDeveloper 10.1.3.3.0. Thanks Heaps

  • Create Web Links

    In Acrobat 8.0, there is a menu /Advanced/Docuemnt Processing/Create Links from URL ..., that can help to create URL link on specified pages. My question is how to do that through programming way by LifeCycle SDK?
    As I know we can import a link XFDF file and import into the PDF file. But the problem is that in XFDF file, we need to specify the link element with attribute "rect" at particular page instead of text string. But what the program know is the some URL text String in PDF file, hwo could we get the "rect" information just based on the Text String? Is there is any search API in LiveCycle that can help search some text String and return the page and "rect" information?
    Thanks for your help.

    Take a look at using the DocumentText element
    <DDX ...>
    <DocumentText mode="WithQuads" result="text.xml">
    <PDF source="inDoc"/>
    </DocumentText>
    </DDX>
    It returns text.xml as an XML which conforms to the DocText schema (doctext.xsd, which should be found alongside the ddx.xsd in your install location).
    It can output words per page (the default) or it can output the location for each word by setting the mode to "WithQuads". As you can imagine, this is potentially large output.
    Processing this into an XFDF would be up to you.

  • Need help in creating WEB application....

    Hi
    I Created WEB application using jsp,java classes.
    I kept All jsp files and classes in web-inf classes folder and created a war file and deployed that one in WEBLOGIC 7.0. I need to start a class while starting the server. I configured the startup classes using weblogic console.Now i am getting classnotfound exception while running the server saying that the startup class is not found. Is it necessay to set classpath to the classes which are under war file.If yes please give me an idea how to set classpath to a file which is under war/web-inf/classes/..
    Any help will be appreciated.
    Regards
    Anand Mohan

    Not sure about Weblogic, but in general you add the entire path to your classpath. For Windows 2000 servers -> Control Panel -> System -> Advanced Tab -> Env Variables
    Example from simle Tomcat install:
    CLASSPATH
    C:\Jakarta\jakarta-tomcat-4.1.18\common\lib\servlet.jar;C:\Jakarta\jakarta-tomcat-4.1.18\webapps\myApp\WEB-INF\lib\classes12.jar;C:\Jakarta\jakarta-tomcat-4.1.18\webapps\myApp\WEB-INF\classes\com\brainysoftware\java\StringUtil.jar

  • Need help with creating a linked list

    I need to create a linked list that i can put numbers or an operator into
    class Number_or_op
    boolean flag;
    double number;
    char operator;
    Number_or_op(boolean flag1,double number1,char operator1)
    flag = flag1;
    number = number1;
    operator = operator1;
    class Expr {
    Number_or_op first;
    Expr rest;
    Expr(Number_or_op first1,Expr rest1)
    first = first1;
    rest = rest1;
    how do i make a linked list out of this? im trying
    Expr list1 = new Expr(3, new Expr('*' , new Expr(4 , null)));
    but keep getting an error D:\Documentation\expr.java:14: internal error; cannot instantiate Expr.<init> at Expr to ()
    how do i fix the number_or_op so it can make it into a list?

    Let me reitterate my problem because i am so lost...
    I am used to making linked list using an integers only.. and now my teacher wants me to use both integers and chars, the chars being operators..
    I have no idea how to do that using hte code he provided because it makes no sense at all to me
    class Number_or_op
    boolean flag;
    double number;
    char operator;
    Number_or_op(boolean flag1,double number1,char operator1)
    flag = flag1;
    number = number1;
    operator = operator1;
    class Expr {
    Number_or_op first;
    Expr rest;
    Expr(Number_or_op first1,Expr rest1)
    first = first1;
    rest = rest1;
    I need to make a list that looks like 1 + 3 / 4 each operator or number needs a different node.. i just cant think of how to do it and keep getting an error message everytime i do saying:
    File: D:\Documentation\expr.java [line: 14]
    Error: D:\Documentation\expr.java:14: internal error; cannot instantiate Expr.<init> at Expr to ()
    I just dont know what to do

  • Need help on creating a linked list with array...

    I want to create a linked listed using array method. Any suggestion on how would I start it.
    thanks

    That means I want to implement linked list using an
    array.I believe you mean you want to implement list using an array. Linked list is a very different implementation of a list, which can be combined with arrays for a niche implementation of list, but I don't think this is what you're talking about.
    Do you mind if we ask why you don't want to use ArrayList? It does exactly what you specify, plus it will increase the size of the internal array as necessary to ensure it can store the required elements.
    If you really want to make your own, have a look at the source for ArrayList (in src.jar in your JDK installation folder) - it will answer any questions you have. If you don't understand any of the code, feel free to post the relevant code here and ask for clarification.

  • Need help in creating webas abap system

    hi
    new to create jco and techinical system need help
    experts  i have few faqs on creating techinical system plz help me
    i have 4.7ee r/3  and portal 2004s  sp9
    wer can i find these values plz give me navigation
    SID ==  ?
    MESG SEVER PORT ===?
    to add application server
    application host name ==?
    application instance number ==?
    client number ==?
    logical client name ==?
    it is asking to select a software component wat we have to select to finish
    wen i gave some dummy values
    i get an error
    CIM_ERR_ALREADY_EXISTS: Instance already exists: SAP_BCApplicationServer.CreationClassName="SAP_BCApplicationServer",Name="C11.Number.00.HostName.rama"
    is it necessary to have WAS in r/3 to connect to portal plz explain

    i want to use jco
    but for that we need to create a techinical system
    i followed these steps for techinical system
    1 Step
    selected web as abap
    2nd step
    sid = PRD
    installation number== INITIAL
    database host name== super
    3rd step
    message server name = 3600+instance
    i took system number from sap gui(21)
    so i gave 3600+21=3621
    central application sever
    instance number ==21
    next pressed button -->add new logon group
    entered longon group == entered value
    which i found in t-code -smlg
    4th Step
    Add application server
    host == gave r/3 ip 198.168.0.2
    instance==21
    client number = 800
    logical client = left it empty
    5 th step
    selected one componenet and finished
    after this i created the jco
    1st Step general data
    name =test1
    client=800
    2nd step  j2ee cluster
    checked the box
    use local j2ee engine
    3rd step
    selected dictionary meta data
    4 th
    selected the techinical system
    5th
    user name -->sapuser
    pasww-->india
    pressed finish
    now i found the jco in green color
    but i pinged it 
    i got mesg
    ping failed

  • Help Needed Created Standalone Network for iTunes DJ

    I use my MBP to manage backing tracks for a band. I would like to use iTunes DJ for requests from the audience via wireless connection via *iPhone/iPod Touch Remote app*. I would use this option in conjunction with a printed song list and small request cards (for those who don't have iPhones).
    I can't connect to an existing network as most venues do not have wireless. I would like to set up my MBP as a wireless base station that can be accessed via an iPhone/iPod Remote app. Besides, I would prefer to have a network that echo's the band's name.
    I know I have to use the "*Create computer-to-computer Networks*", but I am unsure of what settings I need to get the network working.
    I will use Locations to quickly activate the MBP as the base station.
    Any help or suggestion setting up my MBP as a wireless base station would be greatly appreciated.
    TIA

    TSG wrote:
    yep, tried changing cables....even upto cat6!!! no joy.
    starting to do my head in now.....might call in a network person/tech but i hate the idea of being charged to see him repeat all i have already done!
    Agreed. I'd keep at it yourself. I guarantee it will be something simple.
    what are the benefits of a switcher? (never used one before) any recomends?
    A switch is just like a hub, except that instead of always sending packets to your entire network, it only sends them where they need to go. The benefits grow with the size and speed of your network. Switches used to be much more expensive than hubs but not any more. Normally I'd recommend almost any Linksys device, but in this case dlink seems to have a better one:
    http://www.amazon.com/D-Link-DGS-2205-5-port-Desktop-Switch/dp/B000FIVDIA
    Again, I don't think your dlink hub is responsible for this dramatic bottleneck though.

  • Help needed, Createing Dynamic User input

    Hello,
    I am attempting to create some dynamic user input by "predicting" what the user requires in a text box.
    For example if the user enters "Smi" I have a select list pop up which gives the user all options that begin with "Smi".
    I am able to achieve the popups but the interface is quite jerky and not terribly responsive I am trying to solve this by using a thread which starts and stops when new input is received but it is still not quite right.
    The program uses a Sorted TreeSet to hold the data (I thought this would give me a quick search time) and a simple interface at this stage.
    Any help would be fantastic
    Thanks in advance :P
    import java.io.*;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import java.text.*;
    import java.util.*;
       /** This program represents part of a larger user interface for allowing the
       user to select data from a file or database.
       <p>
       When the program starts up, it will read in data from a given file, and hold
       it in some type of container allowing rapid access.
       <p>
       The user may then type in the first few letters of the surname of a person,
       and this program should immediately present in a popup dialog the names which
       match.  The user will be able to click on one of the names in the popup and
       that will cause all data about that person to be displayed in the JTextArea
       at the bottom of the window.
       <p>
       This program requires the FormLayout.class, FormLayout$Placement.class, and
       FormLayout$Constraint.class files in the same directory
       (folder) or in its classpath.  These is provided separately.
    class PartMatch extends JFrame implements Runnable
                        /** Close down the program. */
       JButton quitbtn;
                        /** Field for the surname. */
       JTextField namefld;
                        /** Full details of the person(s). */
       JTextArea  results;
                        /** Popup dialog to display the names and addresses which
                        match the leading characters given in namefld. */
       Chooser matches;
                      /** Default background color for a window. */
       final static  Color            defBackground = new Color(0xD0C0C0);
                      /** Default foreground color for a window. */
       final static  Color            defForeground = new Color(0x000000);
                      /** Default background color for a field */
       final static  Color            fldBackground = new Color(0xFFFFFF);
                      /** Default background color for a button */
       final static  Color            btnBackground = new Color(0xF0E0E0);
       final static  Color            dkBackground = new Color(0xB0A0A0);
                      /** Larger font */
       final static  Font bold = new Font("Helvetica", Font.BOLD, 30);
       TreeSet members;
       String input;
       String[] found;
       public static void main(String arg[])
          UIManager.put("TextField.background",fldBackground);
          UIManager.put("TextField.foreground",defForeground);
          UIManager.put("TextField.selectionBackground",btnBackground);
          UIManager.put("TextArea.background",fldBackground);
          UIManager.put("TextArea.foreground",defForeground);
          UIManager.put("TextArea.selectionBackground",btnBackground);
          UIManager.put("Panel.background",defBackground);
          UIManager.put("Label.background",defBackground);
          UIManager.put("Label.foreground",defForeground);
          UIManager.put("Button.background",btnBackground);
          UIManager.put("Button.foreground",defForeground);
          UIManager.put("CheckBox.background",defBackground);
          UIManager.put("ScrollBar.background",defBackground);
          UIManager.put("ScrollBar.thumb",btnBackground);
          UIManager.put("ComboBox.background",btnBackground);
          UIManager.put("ComboBox.selectionBackground",dkBackground);
          PartMatch trial = new PartMatch(arg);
       public PartMatch( String [] arg )
          super("Part Match");
          setDefaultCloseOperation(EXIT_ON_CLOSE);
          Container cpane = getContentPane();
          FormLayout form = new FormLayout(cpane);
          JLabel lab1 = new JLabel("Fetch details") ;
          lab1.setFont( bold );
          form.setTopAnchor( lab1, 4 );
          form.setLeftAnchor( lab1, 4 );
          JLabel lab2 = new JLabel("Surname: ") ;
          form.setTopRelative( lab2, lab1, 4 );
          form.setLeftAlign( lab2, lab1 );
          namefld = new JTextField( 30 );
          form.setBottomAlign( namefld, lab2 );
          form.setLeftRelative( namefld, lab2, 4 );
          namefld.addCaretListener( new CaretListener()
             public void caretUpdate(CaretEvent e)
                 showMatches();
          quitbtn = new JButton( "Quit" );
          quitbtn.addActionListener( new ActionListener()
             public void actionPerformed(ActionEvent e)
                quitProcessing();
          form.setBottomAlign( quitbtn, namefld );
          form.setLeftRelative( quitbtn, namefld, 15 );
          results = new JTextArea( 10,50 );
          results.setEditable(false);
          JScrollPane jsp = new JScrollPane( results,
                                     JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
                                     JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED );
          form.setTopRelative( jsp, lab2, 6 );
          form.setLeftAlign( jsp, lab2 );
          form.setBottomAnchor( jsp, 5 );
          form.setRightAnchor( jsp, 5 );
          form.setRightAnchor( quitbtn, 5 );
          matches = new Chooser( this );
          //matches.setUndecorated(true);
          pack();
          setVisible(true);
          namefld.requestFocus();
          if (arg.length > 0) init(arg[0]);
          else init("triathlon.txt"); //<<<<<<<<<<<<<<<< Place the default filename here
          /** Called once only, at the end of the constructor, to read the data
            * from the membership file.
       public void init( String fname )
          members = new TreeSet();
           try {
               FileReader fr = new FileReader(new File (fname));
               Scanner scan = new Scanner(fr);
               trimember cmem;
               String cLine, eTag, memberNo, first, last, gender, yob, tel ,addr,
                       club;
               while(scan.hasNextLine())
                   cLine = scan.nextLine();
                   Scanner scan2 = new Scanner(cLine);
                   scan2.useDelimiter(";");
                   eTag = scan2.next().trim();
                   memberNo = scan2.next().trim();
                   first = scan2.next().trim();
                   last = scan2.next().trim();
                   gender = scan2.next().trim();
                   yob = scan2.next().trim();
                   tel = scan2.next().trim();
                   addr = scan2.next().trim();
                   club = scan2.next().trim();
                   cmem = new trimember(eTag, memberNo, first, last, gender, yob,
                           tel, addr, club);
                   members.add(cmem);
           catch (FileNotFoundException ex)
               results.append("Sorry can't find the input file\n");
               results.append("Please check file name and location and try again");
               ex.printStackTrace();
          /** Called every time there is a change in the contents of the text field
            * namefld.  It will first clear the text area.  It then needs to search
            * through the container of data to find all records where the surname
            * starts with the characters that have been typed.  The names and
            * addresses need to be set up as strings and placed in
            * an array of Strings.  This can be placed in the "matches" window and
            * displayed for the user, inviting one to be selected.
            * <p>
            * The performance of this is very important.  If necessary, it may be
            * necessary to run as a separate thread so that the user interface is
            * not delayed.  It is essential that the user be able to type letters at a
            * reasonable speed and not have the keystroke processing held up by
            * previous text.
       public void showMatches( )
           run();
                // First clear the text area
          //results.setText("");
                // Determine the leading characters of the surname that is wanted
                input = namefld.getText();
                // Locate the data for this name, and display each matching item
                //  in the JTextArea ...
                // Example of how to set the data in the popup dialog
          matches.list.setListData(found);
          matches.pack();   // resize the popup
                // set the location of the popup if it is not currently visible
          if ( ! matches.isVisible())
             Dimension sz = matches.getSize();
             Point mouse = getMousePosition();
             Point framepos = getLocation();
             int x=0, y=0;
             if (mouse == null)
                Point pt = results.getLocation();
                x = pt.x + 20 + framepos.x;
                y = pt.y + 20 + framepos.y;
             else
                x = mouse.x - 2 + framepos.x;
                y = mouse.y - 2 + framepos.y;
             matches.setLocation(x,y);
          matches.setVisible(true);
          namefld.requestFocus();
          /** Perform any final processing before closing down.
       public void quitProcessing( )
          // Any closing work.  Then
          System.exit(0);
        public void run()
            ArrayList<String> foundit = new ArrayList<String>();
            System.out.println(input);
            if(input != null)
            Iterator it = members.iterator();
            while(it.hasNext())
               trimember test = (trimember) it.next();
               if (test.last.startsWith(input))
                   foundit.add(test.last +", "+ test.first);
            found = new String[foundit.size()];
            for(int i=0; i<foundit.size();i++)
                found[i] = foundit.get(i);
         /** A window for displaying names and addresses from the data set which
          match the leading characters in namefld.
          <p>
          This will automatically pop down if the user moves the mouse out of the
          window.
          <p>
          It needs code added to it to respond to the user clicking on an item in
          the displayed list. */
       class Chooser extends JWindow
                /** To display a set of names and addresses that match the leading
                characters of the namefld text field. */
          public JList list = new JList();
          Chooser( JFrame parent )
             super( parent );
             Container cpane = getContentPane();
             cpane.addMouseListener( new MouseAdapter()
                public void mouseExited(MouseEvent e)
                   Chooser.this.setVisible(false);
             cpane.add("Center",list);
             list.addListSelectionListener( new ListSelectionListener()
                public void valueChanged(ListSelectionEvent e)
                   Chooser.this.setVisible(false);
                   System.out.println("ValueChanged");
                   // First clear the text area
                   results.setText("");
                   String in = (String) list.getSelectedValue();
                   System.out.println("Selected Value was : "+in);
                   String[] inlf = in.split(", ");
                   System.out.println("inlf[0]:"+inlf[0]+" inlf[1]:"+inlf[1]);
                   results.append("Surname \tFirst \teTag \tMemberNo \tSex \tYOB " +
                           "\tTel \tAddress \t\t\tClub\n");
                   Iterator it = members.iterator();
                   while(it.hasNext())
                       trimember test = (trimember) it.next();
                       if (test.last.equals(inlf[0])&&test.first.equals(inlf[1]))
                           results.append(test.toString()+"\n");
                   namefld.requestFocus();
          public class trimember implements Comparable
           String eTag;
           public String memberNo;
           public String first;
           public String last;
           String gender;
           String yob;
           String tel;
           String addr;
           String club;
           public trimember(String eT, String me, String fi, String la,
                   String ge, String yo, String te, String ad, String cl)
               eTag = eT;
               memberNo = me;
               first = fi;
               last = la;
               gender = ge;
               yob = yo;
               tel = te;
               addr = ad;
               club = cl;         
           //To String method to output string of details
           public String toString()
               return last + "\t" + first + "\t" + eTag + "\t" +
                       memberNo + "\t" + gender + "\t" + yob + "\t"+ tel + "\t" +
                       addr + "\t" + club;
           //Compare and sort on Last name
           public int compareTo(Object o)
               trimember com = (trimember) o;
               int lastCmp = last.compareTo(com.last);
               int firstCmp = first.compareTo(com.first);
               int memCmp = memberNo.compareTo(com.memberNo);
               if (lastCmp == 0 && firstCmp !=0)return firstCmp;
               else if (lastCmp==0&&firstCmp==0)return memCmp;
               else return lastCmp;
    }

    Please don't cross-post. It is considered very rude to do that here:
    http://forum.java.sun.com/thread.jspa?messageID=9953193

  • Help asap - creating Web page with templates

    Hi,
    I need help asap, im using BPC Web (my system BPC 75 SP04, MS version and there is not a lot of info on the web).
    How can I create a web page using one of my Excel templates (the ones created for the application, to upload data)...
    I've tried searching the templates inside Web ready Files but doesnt work for me... the only files available that appear are Temp.txt
    I read about reports... but these are supposed to be created via "build a dynamic report"  and i already created all my templates in a certain way. Also, Web ready Book  only works with REPORTS right?
    Thanx in advance.
    Velázquez

    Hi Sorin,
    Thank you so much for the response, just want to clear this out:
    You wrote:
    1. Excel reports can be used just with BPC Excel client.  -  do you mean the "BPC dynamic reports"?
    2. You can not use these reports into Web. - my excel reports?
    Regards
    Velázquez

  • HELP! Creating symbolic link to home folder for installer DMG

    Guys,
    I'm in a bit of a bind. I need to create a symbolic link for an installer DMG to distribute a communal Bookmarks.plist to all the computers in my department. Unfortunately 'ln -s ~/Library/Safari /Volumes/Bookmarks/.' doesn't do the trick! While it creates an alias that functions on my machine, when that DMG is compiled and distributed from the original sparse image, the alias fails to link to that location on whoever attempts to mount the DMG. Any ideas?? Thanks!

    Symbolic links break when you change the machine on which they were created. Use an standard Mac alias instead as I believe they will work as expected.

  • Help needed creating export file from a file layout with Application Engine

    The following is what I would like to do:
    - Read a record from a PS view
    - Manipulate the data as needed
    - Write the fields out to a file as defined by a File Layout
    - Repeat until no more records are found
    I have created the PeopleSoft Application Engine action listed below. It receives an error "BCUNIT is not a property of class File".
    Local Record &rec1;
    Local File &myFile;
    Local SQL &sQL1;
    /* Create instance of Record */
    &rec1 = CreateRecord(Record.W9M_MBSCRSE_VW);
    /* Instantiate the Output File */
    &myFile = GetFile("c:\temp\help_me.txt";, "A", %FilePath_Absolute);
    If &myFile.IsOpen Then
    If &myFile.SetFileLayout(FileLayout.TACOURIN) Then
    /* Create SQL object to populate rowset */
    &sQL1 = CreateSQL("%Selectall(:1) Where INSTITUTION = :2", &rec1, W9M_MBSCRSE_AET.INSTITUTION);
    /* Cycle through the records */
    While &sQL1.Fetch(&rec1)
    /* I know this section is not coded correctly but I'm not sure how to fix it */
    &myFile.BCUNIT = "1";
    &myFile.BCTCD = &rec.W9M_MBS_TERM_CODE;
    &myFile.BCTYR = &rec.W9M_MBS_TERM_YEAR;
    &myFile.BCDPTN = &rec.ACAD_GROUP;
    &myFile.BCCOUR = substring(&rec.CATALOG_NBR,2,5);
    &myFile.BCSEC = &rec.CLASS_SECTION;
    &myFile.WriteRecord();
    End-While;
    Else
    /* Process FileLayout Error here */
    End-If;
    Else
    /* Process File Open Error here */
    End-If;
    &myFile.Close();
    There are probably a lot of things wrong with this approach and if you could provide some guidance and/or  corrections to the above logic I would greatly appreciate it.
    Another approach?
    After doing a bunch of reading on Application Engine maybe my approach is incorrect. Perhaps I should be doing something like the following:
    - Read a record from a PS view
    - Populate a temporary table manipulating data as it is inserted (Temp table is named according to the file layout fields?)
    - Fetch the records from the temp table and write the record to the file layout.
    - Repeat until no more records are found
    Is this approach better and designed correctly? If not, could you recommend how it should be done? Would the population and reading of the Temp table be done in separate actions or within the same action? Do you know of an Application Engine program that can be used as an example with "like" processing?
    As you can probably tell I haven't used Application Engine before and my goal is to start out on the right path. Thank you for any direction and input that you can provide.
    Steve

    I did and my initial logic was based upon them. I don't see where it shows how to manipulate the data before writing it to the file layout fields. Maybe you can send me a link to that section?
    I was hoping that I would be able to reference the file layout fields directly to allow for manipulating the field values. Re-reading the file layout section and the application engine PeopleBooks I believe I need to create a temporary record which matches the file layout fields; i.e., the second alternative that I listed. Then, make my updates to the temp record fields as I load them. Then, load them to the file layout as a row.
    I'm not sure how this would break down in Application Engine; would the insert into the temp table and the writerecord be different steps/actions, etc.

  • Help need in Web Browser Project

    Hai,
    I am doing a java Web browser project which was fully java code. I want some information ragarding to that project. First I used JEditorPane for displaying HTML Content. But it was not executing JavaScript. My friend told that JEditorPAne was rendering HTML pages of HTML3.2 version. It wont render Javascript. So try for other things.
    I used IECanvas but it just embedding the component of Internet Explorer or Mozilla. I don't want to embed those things. I need java components only. After that I have to do Charecter Encoding on that one. Pls anybody help me regarding to this matter. Its Urgent

    Dear hiwa,
    I saw the JDIC API. They told that it embeds some predefined browsers called INTERNET EXPLORER. But I don't want to embed these things. Is there any solution other than this? U saw ICE Browser. it was implemented in fully java having many functionalities.It is third party API. I tried to use that API but they gave 30 days trail period. So I am afried of that. I just want to display the HTML page that supports JavaScript. I saw rhino which is an Interpreter for javascript.
    Is there any possibility to embed this interpreter to JEditorPane or any java component. Pls give me details if Possible.
    thanks for your kind information.

  • Help needed in web service example. Thank!!!

    Hi,
    I tested WebLogic 6.1 message-style web service example. For the
    ProducerClient.java example, I tested successfully. But for
    the ConsumerClient.java example, I kept getting error messages.
    Can any expert offers some explanation or advice? Need to
    show my boss the cool thing. Any help is highly appreciated.
    Thanks.
    David
    The server-side message is:
    Servlet failed with Exception
    java.lang.NullPointerException
    at weblogic.soap.server.servlet.QueueReceiveAdapter.doPost(QueueReceiveA
    dapter.java:124)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:263)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:2390)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:1959)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    The client-side message:
    Server returned HTTP response code: 500 for URL: http://localhost:70
    01/msg/receiveMsg
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
    nection.java:674)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURL
    Connection.java:1163)
    at weblogic.soap.WebServiceProxy.getSessionCookie(WebServiceProxy.java:5
    09)
    at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:477)
    at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:431)
    at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
    at ConsumerClient.main(ConsumerClient.java:52)

    Hi,
    I tested WebLogic 6.1 message-style web service example. For the
    ProducerClient.java example, I tested successfully. But for
    the ConsumerClient.java example, I kept getting error messages.
    Can any expert offers some explanation or advice? Need to
    show my boss the cool thing. Any help is highly appreciated.
    Thanks.
    David
    The server-side message is:
    Servlet failed with Exception
    java.lang.NullPointerException
    at weblogic.soap.server.servlet.QueueReceiveAdapter.doPost(QueueReceiveA
    dapter.java:124)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:263)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:2390)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:1959)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    The client-side message:
    Server returned HTTP response code: 500 for URL: http://localhost:70
    01/msg/receiveMsg
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
    nection.java:674)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURL
    Connection.java:1163)
    at weblogic.soap.WebServiceProxy.getSessionCookie(WebServiceProxy.java:5
    09)
    at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:477)
    at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:431)
    at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
    at ConsumerClient.main(ConsumerClient.java:52)

Maybe you are looking for

  • Itunes crashes on start up

    SInce I did the last software upgrade, I cannot open ITUNES and also SKYPE. The softwares crash when trying to open them, I've also tried downloading again both softwares but do not work. Please, advise on solving this problem.

  • Extract Title + Decription from HTML

    I'm looking for a Efficient way to extract the Title and Desription from a Webpage. I guess it will need to parse the HTML for the tags and extract whatever is between them. Any ideas? Thanks.

  • Can you print a calendar from the iPad?

    I use my calendar as if my life depended on it, oh wait...it does! Is there anyway I can print it to my airprint printer?

  • Button swap image in holder movieclip

    Hello I know this might seem like a silly question, but I'm struggling to find any help in tutorials already. what I'm trying to do is have a row of buttons that when clicked change the image held within a holder movieclip. I have a button with insta

  • Traffic generator where we can configure the packets

    Hi Can you please let me know any traffic genertor which generates TCP UDP and IP packets and also where we can configure the Packet before generating the packets..For example I want to cnfigure the content of the packet..Other requirements are I wan