More of a HTML question

Why is it that when clicking on a http://www...../example.ppt return a page of rubbish?
In some sites, i see that it opens the powerpoint presentation nicely, but for mine, it opens a window of binary code.
Any ideas?

Just add a line to the \conf\ web.xml of your server(if it is tomcat)
<extension>ppt</extension>
<mime-type>application/ms-powerpoint</mime-type>
</mime-mapping>
regards,
srikanth

Similar Messages

  • Creating Pages in PeopleSoft with more than one HTML Form

    Hi,
    We've a requirement to create a page in PIA with more than one HTML form.
    As per PBooks - "The page being developed cannot be built using PeopleSoft Application Designer.
    An example of this is a page that requires more than one HTML form.
    PeopleSoft Pure Internet Architecture places the entire page inside of a single form tag, so no other HTML form tags can be added.
    In this case the requirements of the page can't be met by pages created in PeopleSoft Application Designer, so use IScripts instead."
    If someone can share his/her experience, It Would be of great help to me.
    -Thanks!!

    Take a look at my IScript postings. Let me know if you still have questions after reading these blog posts.

  • I have inadvertently infringe copyright on facebook and they have subsequently barred me from uploading any more videos. The question I need answered is ( and not able to find the answer on any of you help pages).....  Do the following have free copyright

    I have inadvertently infringe copyright on facebook and they have subsequently barred me from uploading any more videos.
    The question I need answered is ( and not able to find the answer on any of you help pages).....
    Do the following have free copyright to publish on facebook and U Tube?
    1.Garage band sounds?
    2.Slide show...Sample music and Theme music?
    3.iMovie...iMovie sounds and iLife sounds ie.Medal Ceremony and Memorial etc?
    I note one can publish to shared net places directly from iMovie so one assumes these are copyright free for non-profit making and non-comercial use.
    It is impossible to contact apple direct.No email address.We put our selves at risk without this knowledge and like applemac, facebook will not communicate direct.Will applemac please take responsibility for copyright/the above that they are all too willing to sell to us but not support us with that knowledge.
    I have Mac OS X Snow Leopard version 10.6.2 (2009 bought in 2010)

    Thank you Klaus1.The large font, I copied and pasted from my mail box.I'm visually impaired...not to a huge degree but it helps to use the large font.I believe you are right about the copyright on the imac stuff but if facebook decide otherwise, you have to reply electronically to their challenge.If you can't provide a reference directly from the copyright owner then they remove the video.I believe this is a programmed response and no human is involved which now makes it impossible for me to get my video uploading restored.They detect added soundtrack automatically and then challenge.There are many others in the same boat and facebook will not communicate.They have various discussion sites on which I have left messages including Mark Zuckerbergs own facebook but I don't think anyone from facebook ever reads them.I intend to start a second facebook which I can use purely to get my videos uploaded as a lot of my friends enjoy them BUT don't want fall foul of their programming again.If only iMac would put something on the net to this effect.I think it is so unfair that with modern technology it is impossible to contact these large conglomerates personally and receive an email response.I tried emailing [email protected] but I got a failure notice.If you have any ideas on how to get verification from apple direct, I would be very grateful.Thank You.

  • Re: More specific to two questions

     

    Hi everybody,
    I have been watching this debate with interest. I encountered similar
    situation and realised that even after calling the method
    ReleaseDistReference on DistObjectMgr, the object is live ( Probably
    some time before garbage collection kicks in) and can be binded using
    ObjectLocationManager.BindObject() method. This caused some problems to
    us. This object is not invalidated for further use. Can somebody from
    Forte answer this ?
    Pradnesh Dange
    Indus Consultancy Services
    140, E.Ridgewood Ave.
    Paramus, NJ 07652
    Ph: 201-261-3100 (x-234)
    Fax: 201-261-1399
    From: Shi-Long Yin[SMTP:[email protected]]
    Reply To: Shi-Long Yin
    Sent: Tuesday, December 22, 1998 12:19 PM
    To: Boris Berezetsky; 'Forte Users Mailing list'
    Subject: Re: More specific to two questions
    Hi, Boris
    Your helps are really appreciated!
    I've already read this part and other relevant materials of Forte
    document.
    So far, what I understand is if an object is anchored, the garbage
    collector
    will be not automatically applied to it. You must explicitly add it
    to the
    list of the garbage collection.
    Also, many thanks to all who have helped me in this topic.
    Merry Christmas!
    Shi-Long
    Boris Berezetsky wrote:
    Hi, Shi-Long
    I'm not sure if this has been mentioned already, but just in case...
    Take a look at ReleaseDistReference method of DistObjectMgr class.
    The following is an excert from Forte Help on the topic:
    "This method is needed because the distributed object manager keepsa
    list of all anchored objects that have been handed out asdistributed
    references, or are anchored objects that are being used asdistributed
    references in other partitions. Invoking the ReleaseDistReferencemethod
    lets the distributed object manager remove the object from itsinternal
    list, which can then allow memory management to occur on theobject."
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • More than 10 authentication questions?

    Hi,
    Is there a way to set more than 10 authentication questions on an account policy? E.g. via the API?
    We're using Identity Manager 8.1.
    Thanks,
    Lachlan.

    Ok, good to know it can be done. I tried this, but it didn't seem to work unless the "id" attribute for each question had a valid value. Did you fill in the ids for the questions yourself? If so, how did you determine what they should be?

  • Javascript/HTML question

    I've been teaching myself Java on and off for the past couple years with the help of these forums and other tutorials. Now I've decided to take on a project that requires the use of HTML and Javascript and I can't seem to find the information I need. I was hoping that somebody from these forums could either answer my questions and/or point me in the right direction to find the answers.
    The project is simple. I created an HTML window with an inputTextArea, an outputTextArea, and two buttons (Submit and Reset). When Submit is pressed I need the program to take the text from inputTextArea one line at a time, check the indexOf a string, and add tags at the beginning and end of the string if it meets certain criteria before appending it to outputTextArea.
    I can (and have) written this very easily in Java but I can't seem to find the methods I need in Javascript. In java I use a java.io LineReader to read the inputTextArea.getText() one line at a time and then make the changes as needed. I actually can't even find a tutorial in Javascript that can explain how to take the text from inputTextArea and print it into outputTextArea.
    So the main thing I need to know is how to read one line of text at a time from the inputTextArea. I think I can figure the rest out.

    That was actually my original thought when I started on the Java version of the program but I couldn't figure out how to enter the the carriage return in as a variable to be indexed. So it wasn't until after I found the LineReader that I was able to complete the Java version.
    Is there some way to enter the carriage return in as a searchable variable?

  • Re: More control over html tags needed

    I have trying for a while to find an elegant solution to printing reports in such a way as to have headers and footers repeated on every printed page.
    <BR><BR><BR>
    The two main solutions seem to be either using PDF (using FOP) or controlling the size of the regions anually (by hardcoding heights etc.). I am confident that with more control over the html tags (or the ability to place my own) around certain areas the problem could be solved very simply with CSS.
    <BR><BR><BR>
    What I would like is a way to change the way that Apex treats table headers.
    <BR><BR><BR>
    Presently it places the headers within a tbody tag and the uses th for every column. Ideally I would like to see this changes from tbody to thead. Given that the chances of this happening in the near future are minimal (not something that I am upset about as it would not be logical to change such things every time someone wants things to suite them better), I would like to be able to place a tag either before or after the tbody tag.
    <BR><BR><BR>
    Something like:
    <BR><BR><BR>
    div id="tableheaders"
    <BR><BR><BR>
    If anyone knows how to do this your help will be greatly appreciated. Given that, printing repeated headings can be controlled relatively simply.

    Hello Andrew,
    I believe the following might be of help - placing <thead> and </thead> around headers
    Regards,
    Arie.

  • More specific to two questions

    Hi,
    First of all, many thanks to Rottier, Daniel, Geoff. Your ideas are
    definitely useful.
    Regarding two questions I posted yesterday, I&rsquo;d like to give you more
    background information so that it will make questions more specific.
    Now we have a lot of applications (programs) written in either C, C++,
    Java codes or Forte (maybe other language like VB). Our purpose is to
    integrate all the codes written for the different platforms such as
    Windows NT and UNIX together seamlessly through CORBA or CORBA-IIOP
    (Internet Inter-Object Request Broker Protocol). The most difficulties
    I have met so far are to pass an object by its value. As you know,
    CORBA specifications, version 2, don&rsquo;t support the concept &ldquo;pass object
    by value&rdquo;. But currently, some of CORBA vendors such as Forte and Iona
    (OrbixWeb) do extend the concept &ldquo;pass by reference&rdquo; and support the
    concept &ldquo;pass object by value&rdquo; for Java Mode not for IDL (Interface
    Definition Language) Mode. If we want to integrate all codes together
    without the support of &ldquo;pass object by value&rdquo;, the following question I
    need to answer is the garbage collection in the Forte server side. In
    CORBA IDL mode, I have to set all IsAnchored attributes of all objects
    to TRUE. Can these objects be garbage collected? If yes, how does the
    garbage collection work?
    Please note that the client (C, C++, Java or other language) and the
    server (Forte) are written using different languages (not limited to
    Forte)! The question I posted can be much complicated if the client and
    server are written in the different languages and for the different
    platforms (NT and UNIX) as well as applied to the distributed and
    multithreaded environment.
    To be exact, if one of the multiple remote C++ clients decides not to
    access the objects (not limited to service objects) in the Forte server,
    how does Forte garbage collection know what the client has done
    automatically and garbage collect the object? It is known that CORBA
    does not support garbage collection. Is there any functionality
    provided by Forte to let itself be automatically notified? As we know,
    COM and DCOM do have such kind of functionality. When you integrate
    DCOM with your applications, at both sides (client and server), it is
    DCOM who internally poll the object references periodically. How about
    CORBA and Forte? Forte has integrated IIOP as its own built-in
    component and supported VisiBroker and IONA CORBA products. My guess is
    because Forte has IIOP built in itself (both sides have to run ORB), so
    Forte has the full control over the whole running environment, and can
    monitor the references to the objects, and apply the garbage collection
    to the objects automatically. Is this true? Here are the key words:
    multiple, remote (distributed), different platforms and languages,
    CORBA-IIOP. We should take all of these things into our consideration.
    I did find that there is a big difference between IsAnchored set to TRUE
    and FALSE when I tried to integrate C++ client, Forte server and Java
    client, Forte server. For the C++ client, you have to set IsAnchored
    attributes of all kinds of objects to TRUE. Note that In Forte, the
    service objects and the ordinary objects are treated differently. The
    service objects are created by Compiler or Interpreter. It is
    transparent to the users. The ordinary objects are created at run time,
    garbage collection can be applied to. For Java client, you can either
    set IsAnchored attribute to TRUE or FALSE depending on what you want
    (access the services provided by Forte server side by value or
    reference). This really answers the question: IsAnchored can control
    pass object by value or reference, and really matches what you guys
    talked about in your e-mail. My thoughts are that IsAnchored has
    nothing to do with the garbage collection, otherwise this will disable
    the garbage collection at all! Because I have to set all IsAnchored
    attributes to TRUE at Forte server side for my C++ client, if the
    garbage collection is really based on the IsAnchored attribute, this
    means that the garbage collection is totally disabled for all those
    objects with their IsAnchored attributes set to TRUE! Can anyone
    confirm that? Don&rsquo;t forget that this issue is raised in such
    complicated environment! What I want to clarify is whether Forte does
    provide such a garbage collection mechanism so nice, so smart to
    automatically maintain a persistent object reference table or whatever
    and deal with the garbage collection issue in such complicated
    environment!
    Believe this can make my questions much specific and clear. I&rsquo;d like to
    discuss more details about it.
    Thank you again for your informative ideas.
    Shi-Long, Yin
    US West in Denver
    Tel: 303-624-1305
    e-mail: [email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi,
    First of all, many thanks to Rottier, Daniel, Geoff. Your ideas are
    definitely useful.
    Regarding two questions I posted yesterday, I&rsquo;d like to give you more
    background information so that it will make questions more specific.
    Now we have a lot of applications (programs) written in either C, C++,
    Java codes or Forte (maybe other language like VB). Our purpose is to
    integrate all the codes written for the different platforms such as
    Windows NT and UNIX together seamlessly through CORBA or CORBA-IIOP
    (Internet Inter-Object Request Broker Protocol). The most difficulties
    I have met so far are to pass an object by its value. As you know,
    CORBA specifications, version 2, don&rsquo;t support the concept &ldquo;pass object
    by value&rdquo;. But currently, some of CORBA vendors such as Forte and Iona
    (OrbixWeb) do extend the concept &ldquo;pass by reference&rdquo; and support the
    concept &ldquo;pass object by value&rdquo; for Java Mode not for IDL (Interface
    Definition Language) Mode. If we want to integrate all codes together
    without the support of &ldquo;pass object by value&rdquo;, the following question I
    need to answer is the garbage collection in the Forte server side. In
    CORBA IDL mode, I have to set all IsAnchored attributes of all objects
    to TRUE. Can these objects be garbage collected? If yes, how does the
    garbage collection work?
    Please note that the client (C, C++, Java or other language) and the
    server (Forte) are written using different languages (not limited to
    Forte)! The question I posted can be much complicated if the client and
    server are written in the different languages and for the different
    platforms (NT and UNIX) as well as applied to the distributed and
    multithreaded environment.
    To be exact, if one of the multiple remote C++ clients decides not to
    access the objects (not limited to service objects) in the Forte server,
    how does Forte garbage collection know what the client has done
    automatically and garbage collect the object? It is known that CORBA
    does not support garbage collection. Is there any functionality
    provided by Forte to let itself be automatically notified? As we know,
    COM and DCOM do have such kind of functionality. When you integrate
    DCOM with your applications, at both sides (client and server), it is
    DCOM who internally poll the object references periodically. How about
    CORBA and Forte? Forte has integrated IIOP as its own built-in
    component and supported VisiBroker and IONA CORBA products. My guess is
    because Forte has IIOP built in itself (both sides have to run ORB), so
    Forte has the full control over the whole running environment, and can
    monitor the references to the objects, and apply the garbage collection
    to the objects automatically. Is this true? Here are the key words:
    multiple, remote (distributed), different platforms and languages,
    CORBA-IIOP. We should take all of these things into our consideration.
    I did find that there is a big difference between IsAnchored set to TRUE
    and FALSE when I tried to integrate C++ client, Forte server and Java
    client, Forte server. For the C++ client, you have to set IsAnchored
    attributes of all kinds of objects to TRUE. Note that In Forte, the
    service objects and the ordinary objects are treated differently. The
    service objects are created by Compiler or Interpreter. It is
    transparent to the users. The ordinary objects are created at run time,
    garbage collection can be applied to. For Java client, you can either
    set IsAnchored attribute to TRUE or FALSE depending on what you want
    (access the services provided by Forte server side by value or
    reference). This really answers the question: IsAnchored can control
    pass object by value or reference, and really matches what you guys
    talked about in your e-mail. My thoughts are that IsAnchored has
    nothing to do with the garbage collection, otherwise this will disable
    the garbage collection at all! Because I have to set all IsAnchored
    attributes to TRUE at Forte server side for my C++ client, if the
    garbage collection is really based on the IsAnchored attribute, this
    means that the garbage collection is totally disabled for all those
    objects with their IsAnchored attributes set to TRUE! Can anyone
    confirm that? Don&rsquo;t forget that this issue is raised in such
    complicated environment! What I want to clarify is whether Forte does
    provide such a garbage collection mechanism so nice, so smart to
    automatically maintain a persistent object reference table or whatever
    and deal with the garbage collection issue in such complicated
    environment!
    Believe this can make my questions much specific and clear. I&rsquo;d like to
    discuss more details about it.
    Thank you again for your informative ideas.
    Shi-Long, Yin
    US West in Denver
    Tel: 303-624-1305
    e-mail: [email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • JLabel/html question

    how do you make a tab in html within a JLabel text.
    also how do you get rid of the bold that seems to be on every J label?

    Thanks Kel, I'm not using metal, but maybe that third line should do what I want?
    and Quack, I do whole heartedly agree with you, but this is something that I HAVE to finish by tomorrow. Considering I had quite a good bit more to do, and the way that I have done it seems to work just fine, I decided to leave it as is. If I finish with enough time, I will likely go back and implement that cardLayout like you suggested.
    Although I am curious, what is wrong specifically with how I have done it? (As for how the GUI components are changed)
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.text.*;
    import java.util.*;
    public class Holder extends JFrame implements ActionListener
        static Scanner scan;
        static int returnFileVal;
        static int index;
        static int totalEmployees;
        static double grossPayCalc;
        static double totalGross;
        static double totalFICA;
        static double totalFED;
        static double totalInsur;
        static double totalNet;
        static String data;
        static String totals;
        static File file;
        static ArrayList TermCode = new ArrayList();
        static ArrayList EmpID = new ArrayList();
        static ArrayList FName = new ArrayList();
        static ArrayList MName = new ArrayList();
        static ArrayList LName = new ArrayList();
        static ArrayList Suffix = new ArrayList();
        static ArrayList HourRT = new ArrayList();
        static ArrayList HourWK = new ArrayList();
        static ArrayList Dep = new ArrayList();
        static ArrayList Insur = new ArrayList();
        static ArrayList YTDGR = new ArrayList();
        static ArrayList YTDFICA = new ArrayList();
        static ArrayList YTDFED = new ArrayList();
        static ArrayList grossPay = new ArrayList();
        static ArrayList FICA = new ArrayList();
        static ArrayList FED = new ArrayList();
        static ArrayList netPay = new ArrayList();
        static ArrayList dataList = new ArrayList();
        static Holder f;
        static Container c;
        static JPanel homePanel = new JPanel();
        static JPanel firstRow = new JPanel();
        static JPanel secondRow = new JPanel();
        static JPanel thirdRow = new JPanel();
        static JPanel fourthRow = new JPanel();
        static JPanel fifthRow = new JPanel();
        static JPanel sixthRow = new JPanel();
        static JPanel seventhRow = new JPanel();
        static JPanel eighthRow = new JPanel();
        static JPanel ninthRow = new JPanel();
        static JLabel hoursWorkedLabel = new JLabel("Default hours worked:");
        static JTextField hoursWorkedField = new JTextField("40",2);
        static JButton processButton = new JButton ("Process payroll for all non-terminated employees");  
        static JButton closeButton = new JButton ("End Program");
        static JLabel chooseFileLabel = new JLabel("Select the payroll file");
        static JFileChooser fc = new JFileChooser();
        static JPanel filePanel = new JPanel();
        static JTextField fileChooseField = new JTextField(25);
        static JButton fileChooseButton = new JButton("Find");
        static JButton fileOKButton = new JButton("Process");
        static JButton fileBackButton = new JButton ("Back");
        static JPanel processPanel = new JPanel();
        static JLabel pleaseSelectLabel = new JLabel("Please select an option.");
        static JButton payrollJournalButton = new JButton("View the payroll journal");
        static JButton checkButton = new JButton ("View the checks");
        static JButton checkStubButton = new JButton ("View the check stubs");
        static JLabel payrollJournalTitle = new JLabel("<html><b><u>Payroll Journal</u></b></html>");
        static JButton payrollBack = new JButton("Back");
        static JPanel payrollPanel = new JPanel();
        static JList payrollList = new JList();
        static JLabel payrollEmployeeData = new JLabel();
        static JLabel payrollSubtitles = new JLabel ("EmpID\t\tName\t\tGross Pay\t\tFICA\t\tFED\t\tInsur\t\tNet Pay");
        static JLabel payrollTotals = new JLabel();
        static JScrollPane payrollScroll = new JScrollPane();
        public static void main(String[] args)
            f = new Holder();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.setSize(450,300);
            f.setTitle("Payroll");
            f.setResizable(false);
            f.setLocation(200,200);
            f.setVisible(true);
            createHome();
        public Holder()
            c = getContentPane();
        public void actionPerformed(ActionEvent e)
        public static void createHome()
            firstRow.removeAll();
            secondRow.removeAll();
            thirdRow.removeAll();
            homePanel.removeAll();
            homePanel.setLayout(new GridLayout(3,1));
            FlowLayout rowSetup = new FlowLayout(FlowLayout.CENTER);
                firstRow.setLayout(rowSetup);
                secondRow.setLayout(rowSetup);
                thirdRow.setLayout(rowSetup);
            firstRow.add(hoursWorkedLabel);
            firstRow.add(hoursWorkedField);
            secondRow.add(processButton);
            thirdRow.add(closeButton);
            homePanel.add(firstRow);
            homePanel.add(secondRow);
            homePanel.add(thirdRow);
            closeButton.addActionListener(new endProgram());
            processButton.addActionListener(new processPayroll());
            c.remove(filePanel);
            c.add(homePanel);
            c.validate();
            c.repaint();
        public static void createPayroll()
            filePanel.removeAll();
            filePanel.setLayout(new GridLayout(3,1));
            FlowLayout rowSetup = new FlowLayout(FlowLayout.CENTER);
                firstRow.setLayout(rowSetup);
                secondRow.setLayout(rowSetup);
            firstRow.removeAll();
            secondRow.removeAll();
            thirdRow.removeAll();
            fileChooseButton.addActionListener(new fileChooser());
            fileBackButton.addActionListener(new fileBack());
            fileOKButton.addActionListener(new processFinal());
            firstRow.add(chooseFileLabel);
            secondRow.add(fileChooseField);
            secondRow.add(fileChooseButton);
            thirdRow.add(fileBackButton);
            thirdRow.add(fileOKButton);
            filePanel.add(firstRow);
            filePanel.add(secondRow);
            filePanel.add(thirdRow);
            c.remove(homePanel);
            c.add(filePanel);
            c.validate();
            c.repaint();
        public static void processFinal()
            try
                scan = new Scanner(new BufferedReader(new FileReader(file)));
            catch(IOException io)
                System.out.println("The file cannot be opened");
            scan.useDelimiter(",");
            index = 1;
            totalEmployees = 0;
           while (scan.hasNext())
               int type = index%13;
               switch (type)
                    case 1: TermCode.add(scan.next());
                            totalEmployees++;
                            break;
                    case 2: EmpID.add(new Integer(scan.next()));
                            break;
                    case 3: FName.add(scan.next());
                            break;
                    case 4: MName.add(scan.next());
                            break;
                    case 5: LName.add(scan.next());
                            break;
                    case 6: Suffix.add(scan.next());
                            break;
                    case 7: HourRT.add(new Double(scan.next()));
                            break;
                    case 8: HourWK.add(new Integer(scan.next()));
                            break;
                    case 9: Dep.add(new Integer(scan.next()));
                            break;
                    case 10:Insur.add(new Double(scan.next()));
                            break;
                    case 11:YTDGR.add(new Double(scan.next()));
                            break;
                    case 12:YTDFICA.add(new Double(scan.next()));
                            break;
                    case 0: YTDFED.add(new Double(scan.next()));
                            break;
                index++;
            for (index = 0; index < totalEmployees; index++)
                if ((Integer)HourWK.get(index) > 40)
                    grossPayCalc = (((Integer)HourWK.get(index)-40)*(Double)HourRT.get(index)*1.5);
                    grossPayCalc += (40*(Double)HourRT.get(index));
                else
                    grossPayCalc = ((Integer)HourWK.get(index)*(Double)HourRT.get(index));
                grossPay.add(grossPayCalc);
                FICA.add((Double)grossPay.get(index)*.0765);
                FED.add((290-65*(Integer)Dep.get(index))*.15);
                netPay.add((Double)grossPay.get(index)-((Double)FICA.get(index)+(Double)FED.get(index)+(Double)Insur.get(index)));
            firstRow.removeAll();
            secondRow.removeAll();
            thirdRow.removeAll();
            c.remove(filePanel);
            processPanel.setLayout(new GridLayout(4,1));
            FlowLayout rowSetup = new FlowLayout(FlowLayout.CENTER);
                firstRow.setLayout(rowSetup);
                secondRow.setLayout(rowSetup);
                thirdRow.setLayout(rowSetup);
                fourthRow.setLayout(rowSetup);
            firstRow.add(pleaseSelectLabel);
            secondRow.add(payrollJournalButton);
            thirdRow.add(checkButton);
            fourthRow.add(checkStubButton);
            payrollJournalButton.addActionListener(new viewJournal());
            processPanel.add(firstRow);
            processPanel.add(secondRow);
            processPanel.add(thirdRow);
            processPanel.add(fourthRow);
            c.add(processPanel);
            c.validate();
            c.repaint();
        public static void createFileChooser    ()
            returnFileVal = fc.showOpenDialog(filePanel);
            if (returnFileVal == JFileChooser.APPROVE_OPTION)
                file = fc.getSelectedFile();
            fileChooseField.setText(file.toString());
        public static void createJournal()
            f.setSize(700,500);
            firstRow.removeAll();
            secondRow.removeAll();
            thirdRow.removeAll();
            fourthRow.removeAll();
            c.remove(processPanel);
            payrollPanel.setLayout(new GridLayout(9,1));
            FlowLayout rowSetup = new FlowLayout(FlowLayout.CENTER);
                firstRow.setLayout(rowSetup);
                secondRow.setLayout(rowSetup);
                thirdRow.setLayout(rowSetup);
                fourthRow.setLayout(rowSetup);
                fifthRow.setLayout(rowSetup);
                sixthRow.setLayout(rowSetup);
                seventhRow.setLayout(rowSetup);
                eighthRow.setLayout(rowSetup);
                ninthRow.setLayout(rowSetup);
           data = new String("<html>");
           for (index = 0; index < totalEmployees; index++)
               data += (Integer)EmpID.get(index);
               data += "\t\t";
               data += ((String)FName.get(index) + " ");
               if (((String)MName.get(index)).equals(" ")==false)
                   data += ((String)MName.get(index) + ". ");
               data += ((String)LName.get(index) + " ");
               data += (String)Suffix.get(index);
               data += "\t\t";
               data += (Double)grossPay.get(index);
               data += "\t\t";
               data += (Double)FICA.get(index);
               data += "\t\t";
               data += (Double)FED.get(index);
               data += "\t\t";
               data += (Double)Insur.get(index);
               data += "\t\t";
               data += (Double)netPay.get(index);
               data += "</br>";
           data += "</html>";
           for (index = 0; index < totalEmployees; index++)
               totalGross += (Double)grossPay.get(index);
               totalFICA += (Double)FICA.get(index);
               totalFED += (Double)FED.get(index);
               totalInsur += (Double)Insur.get(index);
               totalNet += (Double)netPay.get(index);
           totals = new String ("Final Totals\t\t\t\t" + totalGross + "\t\t" + totalFICA + "\t\t" + totalFED + "\t\t" + totalInsur + "\t\t" + totalNet);
           payrollTotals.setText(totals);
           payrollEmployeeData.setText(data);
           firstRow.add(payrollBack);
           payrollBack.addActionListener(new processPayroll());
           secondRow.add(payrollJournalTitle);
           fourthRow.add(payrollSubtitles);
           fifthRow.add(payrollEmployeeData);
           eighthRow.add(payrollTotals);
           payrollPanel.add(firstRow);
           payrollPanel.add(secondRow);
           payrollPanel.add(thirdRow);
           payrollPanel.add(fourthRow);
           payrollPanel.add(fifthRow);
           payrollPanel.add(sixthRow);
           payrollPanel.add(seventhRow);
           payrollPanel.add(eighthRow);
           payrollPanel.add(ninthRow);
            c.add(payrollPanel);
            c.validate();
            c.repaint();
    class endProgram implements ActionListener
        public endProgram()
        public void actionPerformed(ActionEvent e)
            int answer = JOptionPane.showConfirmDialog(null,"Are you sure you want to end the program","f",JOptionPane.YES_NO_OPTION);
            if (answer == JOptionPane.YES_OPTION)
            System.exit(0);
    class processPayroll implements ActionListener
        public processPayroll()
        public void actionPerformed(ActionEvent e)
            Holder.createPayroll();
    class fileChooser implements ActionListener
        public fileChooser()
        public void actionPerformed(ActionEvent e)
            Holder.createFileChooser();
    class fileBack implements ActionListener
        public fileBack()
        public void actionPerformed(ActionEvent e)
            Holder.createHome();
    class processFinal implements ActionListener
        public processFinal()
        public void actionPerformed(ActionEvent e)
            Holder.processFinal();
    class viewJournal implements ActionListener
        public viewJournal()
        public void actionPerformed(ActionEvent e)
            Holder.createJournal();

  • Involve more than one HTML data set.

    Hello,
    I am building a website and using spry data sets for it. I need to have opportunity to involve more than one data set. In this sample found exactly what I need - http://livedocs.adobe.com/en_US/Spry/SDG/help.html?content=WSFC985AA5-C5E9-4266-ACE0-62299 A0E0B70.html but in my case I am using HTML data set not the XML. In all browsers except IE all seems to work fine, but I get an Spry debugger error - Spry.Data.HTMLDataSet: 'garden2' is not a valid element ID. 'garden2' is a id for table that I am using as HTML data source. It seems that dreamweaver ain't too supporting this thing with HTML as in that sample, because when i try to open this Data set in bindings panel I get an error -  Invalid URL schema. My idea is that , one HTML data set contains the name list of the products categories and unique url for each product name , and this unique url shows path for other HTML data set for each product, which contains product list for each category. Link to the part of my website where I am trying to do this stuff http://www.varpa.eu/garden.html?row=0  .
    So how can I get rid of the Spry debugger error and make it work in IE ?
    Thank you,
    Richard.

    I found  why page wasn't working on IE,I had not just closed one <tr> tag in HTML data set file. But spry debugger error still occurs in Opera , Safari , Chrome and Dreamweaver live view and I can't still open the second second data set in bindings panel.To hide this <div> with spry debugger error, I just attached style to ir visibility : hidden; . But it's still very weird though that adobe isn't supporting this option for HTML data set, but supports only for XML , isn't it ?
    Richard.

  • IWeb Newbie: Blog HTML Question

    Hi, I'm relatively new to IWeb and have a question relating to blogs created in Iweb. When I create a new entry for my blog, and try to add a video for youtube (as a link) in place of the default picture, the video does not appear on my main page. I have used the html snippet and see the video on my blog entry page, however it does not appear on my main page. How do I go about including video's in a new blog entry page so I can view them directly from my main (intro) page? Any help would be much appreciated.
    Thanks

    I am using the Modern Frame template for my web site. When I add the blog template, a pre-set template shows up. Is there any way to edit or change it?
    no and yes... no, you can't do much of anything while working inside iweb; yes, you can change it by changing the template xml file. Suzanne Boben at 11Mystics.com have done it for years.
    For example, I would like to change the hyperlink color from red to blue. It won't let me do that. I go to the hyperlink inspector and I can't choose anything.
    outside of changing template xml, this can be done in two ways (beside the above method):
    1) post edit the blog CSS file (search my post for blog CSS), this requires post edit and perhaps after every publishing.
    2) build your own widget to change the blog CSS and you only need to add the widget once. see my example here: http://www.cyclosaurus.com/Home/CyclosaurusBlog/CyclosaurusBlog.html
    the example is done with my widget.
    Also, when I view the web site on my computer, it looks fine, however when I view it on my iphone 3GS it shows an old font that I was using, why?
    iweb fontmapping: http://11mystics.com/2008/10/06/faq-managing-the-way-fonts-display-on-a-windows- pc/

  • JEditorPane HTML Question

    Hi,
    I have a JEditorPane that I am using to display various HTML pages that I programatically generate. When the user selects a menu item, the HTML page changes. I change the HTML page by calling the JEditorPane.setText() method. All that works fine, but I am running into some funny behavior. When I show a new HTML page, the JEditorPane seems to jump the scrollbar so that you are looking at the very bottom of the html page. I tried to call scrollRectToVisible() just after setText(), but that doesn't seem to do anything. Does anyone know how I can make the JEditorPane scroll to the top of the page when I change the text? Thanks a lot. Any help is appreciated.
    --Reg                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hey bbritta,
    Thanks, that did it. I guess it helps to read the docs more!!

  • More ACR for elements questions

    After having played around with ACR 4.1 I have a few questions and observations:
    Not all the the features described as being in 4.1 in this article
    http://photoshopnews.com/2007/05/31/about-camera-raw-41/
    seem to be accessible, e.g. holding down the alt key while looking at radius and sharpening values to see the masks applied. Are these features available from CS but not in elements (It's the same plugin) or were they never implemented in 4.1 but only in some beta copy of the SW?
    As noted in different msgs, there is scarcely any documentation for ACR 4.1 except what I can glean from articles like the one above and from trial and error - am I correct in this assessment?
    If I bring the raw file into elements, some of the functions can work on 16 bit files but for most I must permanently convert down to 8 bits. How much print quality am I losing for 11x14 blowups during this process? I guess I'm losing none in resolution (PPI) but a little in gradations of color and luminosity.
    How does this raw pre-processing in ACR compare with the new Nikon Capture 4 ( I have a D40x) ? Is it worth having both sets of SW? I couldn't find a price for Capture4 in the website - only a 30 day download trial. Anybody have any idea how much it costs?
    Now if I would only go out and shoot some more photos instead of nerding out on the tech stuff!! Thanks.
    Chris

    Thanks Barbara - you wrote:
    Your printer will almost certainly downsample your image to 8 bits when you print, so you're not losing there. The loss, such as it is, is in the available gradations of color for editing.
    Is this the case If I get it printed at a photo printing/editing store (we have Mtophoto here in CO which I really like because a couple of the guys there really know their stuff)?

  • "More like this" box - Questions with correct answer symbol

    There is "more like this" box on right hand side of the discussion page. It shows the questions which are approximately same as currect question.
    There are some question which has correct answer symbol but when I open that question, there is no correct answer selected. How is it possible. Please explain.
    Example - https://discussions.apple.com/message/9902420#9902420
    There is correct answer symbol is shown for this question in "more like this" box but when I opened this box, there is no correct answer was selected.
    Even there was no helpful answer was selected. I could not understand this. Please explain.

    pavi --
    Did you read the last reply by the Original Poster?
    I did what you said and it did exactly what I wanted it to do. Thanks!

  • More of a forum question...

    I am wondering why some of my past posts aren't listed in "My Posts." As far as i know, I've haven't said anything inflamatory. Funny, yes, inflammatory, no.
    Anybody have any ideas?

    well
    if it isn't on your list "MY POSTS" and the thread it was in is gone then they are gone
    if you were the "reason" a thread got pulled you would have gotten an email from the Hosts informing you of that. if you weren't the "reason" then there would be no email.
    if you have any more questions about how the discussions work it would be best to ask in the FEEDBACK Section at the top level of the discussions http://discussions.apple.com/forum.jspa?forumID=1076
    DAVE

Maybe you are looking for