Help with getting a better understanding on how APEX submits its pages

Hi,
I have implemented jquery with my app and have just applied the jquery UI plugins.
I have the jquery UI dialog function working which gives the users some options. Now as an example, I have a cancel and a continue button. If the user clicks cancel it simply stops the page from submitting. Which works perfectly however, I cannot get the continue button to carry on with the request.
I gather that I will need to determine what the href was of the link/button that was clicked before the dialog box appears.
I know Apex uses a javascript function call doSumit() which simply submits the page but what does it use for other href like links to other pages?

The problem is that you're taking a camcorder format that Premiere Elements is able to work with and converting it to a format that it can NOT work with.
That Canon camcorder produces AVCHD video. You should shoot any video you want to edit in Premiere Elements only in MXP or FXP mode. Then, when you're ready to edit the video in Premiere Elements, you should set up a project for AVCHD 1920x1080 stereo. (Unless you're shooting in 5.1 audio. This cam shoots in a number of formats.)
DO NOT CONVERT YOUR VIDEO BEFORE YOU PUT IT IN PREMIERE ELEMENTS.
You can then use these specs to output high-quality video for YouTube.
http://forums.adobe.com/thread/623549?tstart=0
If you need some basic help with the program, be sure to check out my free 8-part Basic Training tutorial series at Premiere Elements support site Muvipix.com.
http://forums.adobe.com/thread/537685?tstart=0

Similar Messages

  • Welcome. At the outset, I'm sorry for my English :) Please help with configuration Photoshop CS6 appearance. How to disable the background of the program so you can see the desktop. (same menus and tools) Chiałbym to be the same effect as CS5.

    Welcome.
    At the outset, I'm sorry for my English
    Please help with configuration Photoshop CS6 appearance.
    How to disable the background of the program so you can see the desktop. (same menus and tools)
    i wantto be the same effect as CS5.

    Please try turning off
    Window > Application Frame

  • HT4199 I need help with getting my printer to print, PLEASE.

    I need help with getting my printer to print, Please.

    What have you done so far?
    I suggest you connect it via a usb  cable first.  Once you get the printer working, move to wifi.  You will have to use an existing printer usb cable or purchase a cable.  Be sure to get the correct cable.  Ask for help.
    The warrenty indicates there is phone support.  Give HP a call.
    Warranty
    One-year limited hardware warranty; 24-hour, 7 days a week phone support
    Robert

  • Help with get-aduser -filter command

    Hi! I'm having problems with getting user info from displayname
    function searchuzv {
    $uzvinfo=$InputBoxuzv.text;
    $uzvcheck = Get-ADUser -filter "DisplayName -like '*$uzvinfo*'"
    If i run Get-ADUser -filter "DisplayName -like '*$uzvinfo*'" line separately, everything is ok, and working, but when I run function, I m getting error "Get-ADUser : The search filter cannot be recognized"
    My objective is get user info when only part of displayname is provided.
    I suppose there is problem with syntax, but I can't find anything about this.
    Any suggestions?
    Bert regards,
    Ronald

    Hi Ronald,
    Try this.
    function searchuzv
    $uzvinfo=$InputBoxuzv.text
    $uzvDisp = "*"+$uzvinfo+"*"
    $uzvcheck = Get-ADUser -filter "DisplayName -like $uzvDisp"
    Regards,
    Satyajit
    Please “Vote As Helpful”
    if you find my contribution useful or “Mark As Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.

  • Need help with "get info" dialog box

    Hi Everyone!
    I need some help with trying to figure out what some of the options are in the "Get Info" dialog box. I've searched the iTunes help and these forums, but can't find anything.
    So, in the options tab,
    1. What does "Part of compilation" Y/N, do for me?
    2. Same for "Remember Position"
    3. And finally, "Gapless album"
    Thanks, Vince.

    1. when you import a compilation album (like an 80's compilation or something), itunes will import it as
    song 1, artist 1, 80's greatest hits
    song 2, artist 2, 80's greatest hits etc
    Click part of a compliation means that, it means that it would keep them altogether rather than having lots of songs everywhere
    2. If you start playing a song, then stop, part way through, when you next come to the song, itunes will remember where you left off
    3. Albums like jean michel jarre, classical, mike oldfield, etc, have many songs which merge into each other. Having gapless album ticked will ensure that, when playing the album, there are no gaps between songs

  • Help with Adobe Muse Beta

    Hello!
    I know that there are already a few posts on this subject and my question is only slightly different from the other users who are having a difficult time becoming a beta user.
    I have followed these instructions:
    http://www.adobekb.com/participating_in_muse_beta.html
    Here's my question:
    When I opt in to become a beta user, I don't get the final screen that says "You will now be notified by email when you have been accepted into the program"
    When I get to that last notification, muse tells me that a beta version is not available for download. Since this is obviously not the case, I was wondering if there was something I was doing wrong when installing muse.
    Thanks in advance!

    It may take a couple of days to be accepted into the beta program. Once you get your beta program welcome email, you'll be able to download beta builds from prerelease.adobe.com.

  • Need help with getting images to look smooth (without the bitmap squares) around the edges. When I transfer the image from pictures, it sets itself into the InDesign layout, but with square edges. I need to find out how to get it to look smooth?

    Need to find out how to get my images transferred into an InDesign layout without the rough edges, as with a bit map image, but to appear with smooth edges in the layout. I can notice it more when I enlarge the file (pic). How can I get it to appear smooth in the finished layout. Another thing too that I noticed; it seems to have effected the other photos in the layout. They seem to be
    pixelated too after I import the illustration (hand drawn artwork...)? Any assistance with this issue will be greatly appreciated. Thanks in advance.

    No Clipboard, no copy & paste, as you would not get the full information of the image.
    When you paste you can't get the image info from the Links panel, but you can get resolution and color info either via the Preflight panel or by exporting to PDF and checking the image in Acrobat.
    Here I've pasted a 300ppi image, scaled it, and made a Preflight rule that catches any image under 1200ppi. The panel gives me the effective resolution of the pasted image as 556ppi. There are other workflow reasons not to paste—you loose the ability to easily edit the original and large file sizes—but pasting wouldn't cause a loss in effective resolution or change in color mode.

  • I just purchased a Lapdoc for the Motorola Bionic and need to know where I can get a better manual on how to operate with this device.

    One thing I need to know about the Lapdoc is how I can get the page to move up and down.  The Arrows seem to kick you out of the email and into another email.

    The lapdock is AMAZING. I guess they dont give you a good user manual because they assume we all know how to use it. LOL I havent had any issues. I LOVE texing on the big keyboard. Its like if it was a chat session. I LOVE IT. If you have any more questions post em here.
    In case they havent told you, use two fingers to slide up and down between pages. Enjoy!

  • Help with getting values from request. Very Strange!!

    Hello,
    My very strange problem is the following.
    I have created three dynamic list boxes. When the user select
    the first list box, the second becomes populated with stuff
    from a database. The third becomes populated when the second
    is selected. Now, I have used hidden values in order for
    me to get the selected value from the first listbox. The
    following code is my first listbox:
    <SELECT NAME="resources" onChange="document.hiddenform.hiddenObject.value = this.option [this.selectedIndex].value; document.hiddenform.submit();">
    <OPTION VALUE =""> Resource</OPTION>
    <OPTION VALUE ="soil"> Soil </OPTION>
    <OPTION VALUE ="water"> Water </OPTION>
    <OPTION VALUE ="air"> Air </OPTION>
    <OPTION VALUE ="plants"> Plants </OPTION>
    <OPTION VALUE ="animals"> Animals </OPTION>
    </SELECT>
    I use the getRequest method to get the value of hiddenObject.
    At this time I am able to get the value of hiddenObject to populate
    the second list box.
    But, when the user selects an item from the second list box
    and the second form is also submitted,
    I lose the value of hiddenObject. Why is this??
    The code to populate my second listbox is the following:
    <SELECT NAME ="res_categories" onChange="document.hiddenform2.hiddenObject2.value = this.options[this.selectedIndex].value; document.hiddenform2.submit(); ">
    <OPTION VALUE ="" SELECTED> Category</OPTION>
    Here I access a result set to populate the list box.
    Please help!!

    Form parameters are request-scoped, hence the request.getParameter("hiddenObject"); call after the submission of the second form returns a null value because the hiddenObject parameter does not exist within the second request.
    A solution would be to add a hiddenObject field to your second form and alter the onChange event for res_categories to read
    document.hiddenform2.hiddenObject.value=document.1stvisibleformname.resources.option[document.1stvisibleformname.resources.selectedIndex].value;
    document.hiddenform2.hiddenObject2.value = this.options[this.selectedIndex].value;
    document.hiddenform2.submit();You will then come across a similar problem with your third drop-down if indeed you need to resubmit the form...
    A far better approach would be to create a session scoped bean, and a servlet to handle these requests. Then when the servlet is called, it would set the value of the bean property, thus making it available for this request, and all subsequent requests within the current session. This approach would eliminate the need for the clunky javascript, making your application far more stable.

  • Help with getting this to work!

    Hi,
    I am trying to get this Java application to work - but nothing seems to happen! Basically, its a chemical formulae analyser, e.g. in CaC03, C is the symbol for Carbon and there is 1 atom of this element, Ca for Calcium (1 atom), O for Oxygen (3 atoms). The application should ask the user for input (chemical formulae) and then analyse the formula and identify the symbols present together and the number of atoms of the corresponding element.
    The elements should then be identified and a table displayed showing the elements present together with the corresponding number of atoms. Appropriate error messages should be displayed for any invalid data.
    Now the code I have seems fine to me, but when you run the application, nothing happens! There are no error messages, but just nothing happens! I have two files, InNeedOfHelp.java and InNeedOfHelp.class, and the InNeedOfHelp.java file contains the following code (but nothin happens when run as I have stated!): -
    import java.util.regex.*;
    public class InNeedOfHelp {
    /* names should be loaded dynamically from that file */
    private String[] names = {"H", "C", "Ca", "O"};
    private Matcher matcher = null;
    private Pattern pattern = null;
    public static void main(String[] args) {
    InNeedOfHelp inoh = new InNeedOfHelp();
    for (int i = 0; i < args.length; i++) {
    if (inoh.isValid(args[ i])) {
    inoh.check(args[ i]);
    } else {
    System.out.println("Illegal formula: " + args[ i]);
    public InNeedOfHelp() {
    String regex = "([A-Z][a-z]?+)([0-9]*+)";
    pattern = Pattern.compile(regex);
    matcher = pattern.matcher("");
    /* Element name needs real solution, current implementation is too static ;) */
    private String getElementName(String s) {
    if ("H".equals(s)) {
    return "Hydrogen";
    } else if ("O".equals(s)) {
    return "Oxygen";
    } else {
    return s;
    private String getElementCount(String s) {
    if ("".equals(s)) {
    return "1";
    } else {
    return s;
    public boolean isValid(String formula) {
    String regex = "((";
    for (int i = 0; i < names.length; i++) {
    regex += (i == 0 ? "(" : "|(") + names[ i] + ")";
    regex += "){1}[0-9]*)+";
    return formula.matches(regex);
    /* check needs better name and should be redesigned to just collect data */
    public void check(String formula) {
    int end = 0;
    matcher = matcher.reset(formula);
    while (matcher.find(end)) {
    end = matcher.end();
    System.out.println("Element " + getElementName(matcher.group(1))
    + " occured " + getElementCount(matcher.group(2)) + " time(s)");
    So, if anyone could help me with this application I would be very grateful! Thanks guys.

    If nothing happens, as a first step I suggest putting in some System.out.println statements in the main method to find out what happens with isValid(). It usually makes sense to look for easy problems first. May be your command line arguments are not valid, or your isValid methods thinks they aren't anyway.

  • Help with getting GB to recognise Yamaha NP30 via Tascam US-122MKII?

    I am using a midi OUT connection from my Yamaha NP30 keyboard to the midi IN of a Tascam
    US-122mkII interface. The Tascam is connected to my Mac via USB (port 1). Tascam software is installed correctly. When I open GB and select 'Piano' in 'New Project' a new track appears as usual. Under GB AUDIO/MIDI preferences the 'Audio output/Audio input' both correctly read the name of the Tascam interface, and 'Status' reads '1 midi input detected'. So, I should be getting action when I press a keyboard key, but there's absolutely nothing. GB is registering the MIDI input but not reading the keyboard connected to the interface. How do I get GB to recognise the keyboard so I can FINALLY start fully utilising GB? I went online and researched this question and one answer seemed to be installing a Yamaha driver. Yamaha doesn't list a driver for the NP30. The interface is compatible. What's the problem? Help very much appreciated, thanks:)

    Hello johnnyboy_175, thanks for the reply. Not entirely sure I understand what you mean and going to edirol is even more confusing since I am using a Tascam interface? I have read the included manual backwards - no help there, as yet. The Tascam shows up in the midi window but I don't know how to link my 'outs and ins of the keyboard to the interface'. I am assuming you mean some kind of link in the software, as opposed to the actual physical connections? Could you clarify, please? Also, there is a 'Test setup' icon which does absolutely nothing when I click on it, already tried:) If you have the time and inclination, I would seriously appreciate help, thanks:)

  • Help with getting a g3 ready for university.

    I am from a ridiculously poor family and my first computer is a mac that I found in the attic of my aunts new house.
    It starts up and runs fairly okay but it looks like someone deleted alot of the system files and it often refers to a missing alias. I only have access to a pc in university with windows xp and have never owned a mac before.
    I have the some system information.
    it has a slot cd-rom drive,
    runs on a mac os z1-8.6,
    capacity is 6.3gb available is 5gb.
    processor- powerpc g3
    machine speed- 350 mhz
    virtual memory 150mb
    built memory 64mb
    backside cache 512k.
    No disks with it no idea if I can create back ups and web showed to be very little help think due to age of the machine.
    it has a matching keyboard and what I have found out to be called a puck mouse?
    to the point!
    I want to update the operating system and connect to the web. I also have a friend that has windows student teacher edition office with word excel and all that will this handle it.
    Need as much advice as possible as the entire machine is very alien to me but as it is all I have for home use and not really wanting a pc as I love the mac adverts I want to keep this cool looking machine.

    The slot loading iMac is still a very useful computer. It will run even the current OS (10.4.x).
    The most important problem you face is lack of RAM; 64 mb is insufficient even for basic functions. My recommendations, in order of priority:
    1. Upgrade the RAM. The absolute minimum would be two 128 mb sticks. More would be better. (There are two RAM slots, and you can install as much as 512 mb in each slot.)
    2. Get a more current OS than the installed 8.6. OS X 10.3 was shipped on CDs, which your computer can use. If you want OS X 10.4, you will have to special order since they are otherwise available only on DVD. (I have found 10.3 on eBay for as little as $30.00.)
    3. Upgrade the hard drive. You can find good inexpensive hard drives at many pc shops in North America. (Don't know anything about availability in Wales.) You need a standard IDE drive - widely used in many computers, including pc's.
    If you decide to do all of the above, get the hard drive first so you will only have to install the OS once.
    And a warning. Windows software does not run on this iMac. You will need mac versions of any programs you plan to use.
    Good luck.

  • Help with getting high quality DVDs from AVCHD footage

    Hello,
    I know enough about video editing with PE7 to be dangerous, and was hoping someone could help me out.
    My question is regarding getting the highest quality standard DVD from AVCHD footage. I have a Sony HDR-SR12 camcorder recording in AVCHD. I am editing footage natively in AVCHD with PE7 on a quad core system. No problem with that. However, when I export to standard DVD the quality of the video goes down drastically. (Yes, I know burning to Blu-ray would give me higher quality, but I am giving this DVD to a friend who doesn't have Blu-ray).
    So far I have tried starting my project in both HD 1080i 30 5.1 channel:
    General
    Editing mode: HDV 1080i
    Timebase: 29.97 fps
    Video Settings
    Frame size: 1440h 1080v (1.333)
    Frame rate: 29.97 frames/second
    Pixel Aspect Ratio: HD Anamorphic 1080 (1.333)
    and Full HD 1080i 30 5.1 channel:
    General
    Editing mode: HD 1080i
    Timebase: 29.97 fps
    Video Settings
    Frame size: 1920h 1080v (1.000)
    Frame rate: 29.97 frames/second
    Pixel Aspect Ratio: Square Pixels (1.0)
    But I see no discernable difference in the quality of my output onto DVD.
    This is where my knowledge is lacking...how can I get the best quality output from my AVCHD onto a standard DVD? Is there some format I can convert to first, and then burn to DVD? Also, I am willing to break the footage into a couple of DVDs to improve the quality, but I don't know how or what to do for that.
    My footage looks REALLY great when viewing from the HDR-SR12 direct to HD TV with HDMI cable, but not very good on the DVD. My footage is of a ballet recital, and I lose definition in the faces, costumes, etc on the DVD output.
    Any help is appreciated! Thanks!
    Gina

    Hey Gina,
    This may be a year late, but as I have been pulling my hair out trying to solve this problem for the last 48 hours I finally did find somewhat of a work around, but it requires Adobe PP CS4.2.
    There is a plug-in here:
    http://www.mainconcept.com/site/prosumer-products-4/mpeg-pro-hd-7850/features-7861.html
    Which will actually output your edit as an AVCHD file. You can then burn this straight to an AVCHD using Nero 9 and keep the highquality level of your clips and not need Blu-Ray. The DVD player will need to be AVCHD capable, but I just bought one of those for $40 as compared to the $200+ of most Blu-Ray players.
    Hope that helps.
    Regards,
    DSW

  • Help with getting Images to show in a Rock, Paper, Scissors game

    Hi
    I am working on this Rock, paper, scissors java game and the program works, but I can not figure out how to get the images to load onto the program. So my question is how do I get the images to load up with the program? I am using JCreator for this project. I have created the Basic Java Application project, and then added in the 3 .java files that I need to run the program, but I just can not figure out how or where I need to upload the files. The game works without the images, but I would really like them to show up.
    This is the .java file that calls up the images:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class pss extends JPanel implements ActionListener, ItemListener
    private final Color clrBackground = new Color(163,243,255);
    private final Color clrForeground = new Color(0,0,0);
    private JComboBox cboxWeapon;
    private JTextField txtCPUWeapon, txtWins, txtLoses, txtDraws;
    private JLabel lblPlayerWeapon, lblCPUWeapon, lblWins, lblLoses, lblDraws, lblStatus, lblPlayerWeaponIcon, lblCPUWeaponIcon;
    private JButton cmdPlay, cmdReset;
    private ImageIcon[] imgWeapon;
    private JPanel panRoot, panPlayerArea, panPlayerWeapon, panCPUArea, panCPUWeapon, panStatusArea, panGo, panCounters, panWins, panLoses, panDraws;
    private pssEngine engine = new pssEngine();
    private objCreateAppletImage createImage = new objCreateAppletImage();
    private boolean errorWithImages = false;
    public static void main(String[] args) //With applications, you have to specify a main method (not with applets)
    JFrame.setDefaultLookAndFeelDecorated(true); //Make it look nice
    JFrame frame = new JFrame("Paper Stone Scissors"); //Title
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setResizable(false); //Stops the user resizing the window
    JComponent paneMain = new pss();
    paneMain.setOpaque(true);
    paneMain.setPreferredSize(new Dimension(420,350));
    frame.setContentPane(paneMain);
    frame.pack();
    frame.setVisible(true);
    public pss ()
    cboxWeapon = new JComboBox(engine.getWeapon());
    cboxWeapon.addItemListener(this);
    txtCPUWeapon = new JTextField(engine.getStrCPUWeapon(), 5);
    txtWins = new JTextField("0", 5);
    txtLoses = new JTextField("0", 5);
    txtDraws = new JTextField("0", 5);
    txtCPUWeapon.setEditable(false);
    txtWins.setEditable(false);
    txtLoses.setEditable(false);
    txtDraws.setEditable(false);
    lblPlayerWeapon = new JLabel("Choose your weapon", JLabel.CENTER);
    lblCPUWeapon = new JLabel("The CPU's weapon", JLabel.CENTER);
    lblWins = new JLabel("Amount of wins:", JLabel.RIGHT);
    lblLoses = new JLabel("Amount of loses:", JLabel.RIGHT);
    lblDraws = new JLabel("Amount of Drawss:", JLabel.RIGHT);
    lblStatus = new JLabel("", JLabel.CENTER);
    lblPlayerWeaponIcon = new JLabel("", JLabel.CENTER);
    lblCPUWeaponIcon = new JLabel("", JLabel.CENTER);
    lblPlayerWeaponIcon.setPreferredSize(new Dimension(150,150));
    lblCPUWeaponIcon.setPreferredSize(new Dimension(150,150));
    cmdPlay = new JButton("Go!");
    cmdReset = new JButton("Restart");
    cmdPlay.addActionListener(this);
    cmdReset.addActionListener(this);
    try
    imgWeapon = new ImageIcon[3];
    for (int i = 0; i < 3; i++)
    imgWeapon[i] = createImage.getImageIcon(this, ".src/images/" + engine.getWeapon(i) + ".gif", "Icon for " + engine.getWeapon(i), 13000);
    lblPlayerWeaponIcon.setIcon(imgWeapon[0]);
    lblCPUWeaponIcon.setIcon(imgWeapon[0]);
    catch (Exception ex) //The game works without the images, so carry on
    errorWithImages = true;
    setLayout(new BorderLayout());
    panRoot = new JPanel(new BorderLayout());
    panPlayerArea = new JPanel(new BorderLayout());
    panPlayerWeapon = new JPanel(new BorderLayout());
    panCPUArea = new JPanel(new BorderLayout());
    panCPUWeapon = new JPanel(new BorderLayout());
    panStatusArea = new JPanel(new BorderLayout());
    panGo = new JPanel();
    panCounters = new JPanel(new GridLayout(3,1,2,2));
    panWins = new JPanel();
    panLoses = new JPanel();
    panDraws = new JPanel();
    add(panRoot, BorderLayout.CENTER);
    panRoot.add(panPlayerArea, BorderLayout.WEST);
    panPlayerArea.add(panPlayerWeapon, BorderLayout.NORTH);
    panPlayerWeapon.add(lblPlayerWeapon, BorderLayout.NORTH);
    panPlayerWeapon.add(cboxWeapon, BorderLayout.SOUTH);
    panPlayerArea.add(lblPlayerWeaponIcon, BorderLayout.SOUTH);
    panRoot.add(panCPUArea, BorderLayout.EAST);
    panCPUArea.add(panCPUWeapon, BorderLayout.NORTH);
    panCPUWeapon.add(lblCPUWeapon, BorderLayout.NORTH);
    panCPUWeapon.add(txtCPUWeapon, BorderLayout.SOUTH);
    panCPUArea.add(lblCPUWeaponIcon, BorderLayout.SOUTH);
    panRoot.add(panStatusArea, BorderLayout.SOUTH);
    panStatusArea.add(panGo, BorderLayout.NORTH);
    panGo.add(cmdPlay);
    panGo.add(cmdReset);
    panGo.add(lblStatus);
    panStatusArea.add(panCounters, BorderLayout.SOUTH);
    panCounters.add(panWins);
    panWins.add(lblWins);
    panWins.add(txtWins);
    panCounters.add(panLoses);
    panLoses.add(lblLoses);
    panLoses.add(txtLoses);
    panCounters.add(panDraws);
    panDraws.add(lblDraws);
    panDraws.add(txtDraws);
    panRoot.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
    setBackground(clrBackground);
    panRoot.setBackground(clrBackground);
    panPlayerArea.setBackground(clrBackground);
    panPlayerWeapon.setBackground(clrBackground);
    panCPUArea.setBackground(clrBackground);
    panCPUWeapon.setBackground(clrBackground);
    panStatusArea.setBackground(clrBackground);
    panGo.setBackground(clrBackground);
    panCounters.setBackground(clrBackground);
    panWins.setBackground(clrBackground);
    panLoses.setBackground(clrBackground);
    panDraws.setBackground(clrBackground);
    lblPlayerWeapon.setForeground(clrForeground);
    lblCPUWeapon.setForeground(clrForeground);
    lblWins.setForeground(clrForeground);
    lblLoses.setForeground(clrForeground);
    lblDraws.setForeground(clrForeground);
    txtWins.setForeground(clrForeground);
    txtLoses.setForeground(clrForeground);
    txtDraws.setForeground(clrForeground);
    txtCPUWeapon.setForeground(clrForeground);
    public void reset ()
    cboxWeapon.setSelectedIndex(0);
    lblStatus.setText("");
    engine.reset();
    public void actionPerformed (ActionEvent e)
    if (e.getSource() == cmdReset)
    reset();
    else
    lblStatus.setText(engine.play(cboxWeapon.getSelectedIndex()));
    txtCPUWeapon.setText(engine.getStrCPUWeapon());
    txtWins.setText(Integer.toString(engine.getWins()));
    txtLoses.setText(Integer.toString(engine.getLoses()));
    txtDraws.setText(Integer.toString(engine.getDraws()));
    if (!errorWithImages)
    lblCPUWeaponIcon.setIcon(imgWeapon[engine.getCPUWeapon()]);
    public void itemStateChanged (ItemEvent e)
    if (!errorWithImages)
    lblPlayerWeaponIcon.setIcon(imgWeapon[cboxWeapon.getSelectedIndex()]);
    }Here is the other .java file that calls on the Images:
    import java.awt.*;
    import java.io.*;
    import javax.swing.ImageIcon;
    public class objCreateAppletImage
    public void objCreateAppletImage ()
    //If an error occurs (or is thrown by me) it will be thrown to the next level up, and either caught or thrown
    public ImageIcon getImageIcon (Object parentClass, String path, String description, int fileSize) throws Exception
    int count = 0;
    BufferedInputStream imgStream = new BufferedInputStream(parentClass.getClass().getResourceAsStream(path));
    byte buff[] = new byte[fileSize];
    if (imgStream == null) //If doesn't exist
    throw new Exception("File not Found");
    try
    count = imgStream.read(buff);
    imgStream.close(); //Closes the stream
    catch (IOException ex)
    throw new Exception("Corrupt file");
    return new ImageIcon(Toolkit.getDefaultToolkit().createImage(buff), description); //Creates the image from the byte array
    }Could someone please help me? I really have no idea and I would like this to work.
    Thank you
    Frank

    Oh, thank you. I will not do that in the future.
    I am not entirely sure how I would use the getImage method in an Applet. I would prefer to just use the code that I have currently, unless the addition of making the program an Applet only adds a small amount of code. But then even still, I am not entirely sure what I would write in the .class file to make the images load. And then I would not really know how to properly incorporate the pss.java file and the .class file together so they read off of each other.

  • Help with getting a node xpath from within the rules engine

    I'm new here and to BizTalk.  In the rule composer I've setup my vocabularies and have started implementing rules. 
    When a rule is evaluated to false I have a custom function called AddValidationError which is attached to the Action section.  This method accepts three parameters, a TTypedXmlDocument containing
    the validation errors node, an xpath to the node that was validated and an error code.  AddValidationErrors will append a new ValidationError node to the validation errors node containing the error code, error message, severity, and the xpath of the node
    that was validated.
    The issue is that I can't figure out how to get the xpath to the node being validated so that I can pass it to the AddValidationError function.  I have tried defining the xpath parameter as
    a TTypedXmlDocument which allows me to pass nodes of type TTypedXmlDocument, from there i can working the xpath but this doesn't allow me to pass nodes of other types, such as String, Int, DateTime, etc.
    Basically I want to be able to add the xpath to the node being validated into the validation errors.  I noticed that the Predicate function Exists cal accepts any node from which it resolves
    the xpath however I can't figure out how it does this.
    Anyway I was hoping that someone could point me in the right direction.  How can I pass a node of any type to a function, or get the xpath to node being validated which I can then simply pass
    as a string.
    Note that I am aware that I can simply type the xpath or copy it from the node properties window but the rule will be managed by people who are not developers, e.g. BA's or system administrators.
     I don't really want to expect them to write an xpath query or piece one together from the node properties.  I also thought that I could add two definition's for each node, one of the value type (String, decimal, DateTime) and another of type TTypedXmlDocument
    and pass the TTypedXmlDocument one to the AddValidationError method, which works but its not really ideal. 

    Can you post the exact issue and what you really need ?
    Do you want to create a Vocabulary or Rule with the predicate functions?
    Regards, Aboorva Raja R Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Maybe you are looking for