How would you launch an applet using xsl and some xml data?

Is is possible?

Thanks for your input but I got it working with the correct CDATA syntax. The concept is to launch a database driven system using xml instead, so the applet piece is completely modular and can be added to any other application that can call a url. No databases need to be created. Its not crazy if the amount of info int he database is managebable.

Similar Messages

  • How would you do this? - Using a laptop as a capture device?

    I have noticed that most camcorders can only record 2 independent audio tracks. I have a situation where I need to recored 4 separate audio tracks. I have noticed in the Log an Capture window that it is possible to record more than 2 tracks at once... How do you route this (What interface works best?)
    My second question is I have seen there is a huge move to go tapeless (Which I would love to do)... I have played around with hooking up my MacBook Pro, External Hard Drive, and my camera... and then launching FCP and capturing ... (The quality is outstanding) and it really saves time because you don't have to import from a tape.... So here is my question... How could I route 4 independent mics, AND would this work if I recorded for over an hour? (I often record musicals that run at least an hour)...
    Thanks to anyone that can help!!!
    Gary

    First, I believe there is a 4 hour limit on LIVE captures. We've done up to 2.5 hours, in the past. I don't know how a long live capture with 4 channels of audio might affect this.
    RE: "Live capture quality is outstanding"...I'd advise that you roll tape as a backup. Should 'ANYTHING' happen to the live capture, you'll be hosed...(Mr. Murphy guarantees it)
    I've not captured 4 channels, but Andy Mees posted this bit of advice awhile back...
    "use a DV deck like the DSR-1500 together with a capture card, like the Decklink or Kona or Pipe cards. then using the SDI output from the deck you can happily capture 4 channels. likewise for your live input."
    ...from this thread:
    http://discussions.apple.com/thread.jspa?messageID=2953885&#2953885
    Straight FW capture is limited to 2 channels of audio. Most often people simply capture in two passes (as discussed in aforementioned thread).
    There are probably other solutions...I just wanted to ask if Duran's Pharmacy is still serving awesome New Mexican cuisine?
    K

  • How Do You Render a Component using styleClass and CSS?

    To create a special rendering for a component like a RadioButton how do you build and apply a CSS style to it? I tried using "styleClass" for a component and inserting a CSS command like "P.two{font-size:small}" but nothing happened. There were no warnings or errors in the "source view". Do I have to write a java bean with methods that have the CSS commands in them and somehow reference them from the XML "styleClass" attribute? If so does anyone have an example or can you point me to one?
    Any help appreciated!
    Thanks,
    newsjsc

    usually you put that in an external stylesheet (*.css) and import it at the top of the page...
    <html><head>
    <link rel="stylesheet" href="css/default_developer.css" />
    </head><body></body></html>
    that's the one for this page...
    or you can put the style tags right within the <head> tags
    <html><head>
    <style type="text/css">
    <!--
    .two {
    font-size: 23px;
    -->
    </style>
    </head><body></body></html>
    The better practice is to put stylesheets in an external file and include that one file across multiple pages or for your whole application. For some real cool CSS stuff, check out www.cssvault.com or css zen garden.

  • How to create a slide show using Flash and some pictures

    I looked at many books but I can't find how I can make a slide show using flash. Can anyone give me some idea how I might go with this?

    What you should do is search Google for things like "Flash slideshow tutorial" or if you know what version of actionscript you want to use, try using that in place of "Flash" in the search terms.

  • How would you determine the total ram used by applets?

    hi guys;
    I have 2 applets.
    One applet runs in a browswer. - in the microsoft jvm.
    Another applet on another browser (or another page) - in the sun plugin.
    How would you guys determine the total RAM (not just heap memory) used by these applets.
    my strategy would be to open up the browser. and look at the memory next to that internet explorer process. Then I would open up another browser with applet and see total memory taken. Then I would subtract to determine the difference.
    Does this sound correct?
    Each applet has multiple jar files associated with it.
    Stev

    What you really should do is test your applet on a bunch of machines, like a 32 meg ram win 98, 64 meg ram win NT, and a 256 meg ram win 2000, and then give them a performance report under the different configurations. That's really what they're after (probably)

  • How would YOU retype these old XM08 types for use in an ABAP OO method?

    The XM08 function group has the following type declarations:
    TYPES: BEGIN OF mmcr_drseg_co.
            INCLUDE STRUCTURE cobl_mrm_d.
    TYPES: cr LIKE drseg_cr    OCCURS 0,
           unpl_refwr TYPE refwr,
           END OF mmcr_drseg_co.
    TYPES: mmcr_tdrseg TYPE mmcr_drseg OCCURS 0,
    TYPES: BEGIN OF mmcr_drseg.
            INCLUDE STRUCTURE drseg.
    TYPES: cr LIKE drseg_cr OCCURS 0,
           co TYPE mmcr_drseg_co OCCURS 0,
           sm LIKE drseg_sm OCCURS 0,
           charact TYPE rbcharact_instance OCCURS 3,
                                           "instances of characteristics
           uebgmat  TYPE matnr,
           uebrblgp TYPE rblgp,
           selkz_db TYPE selkz,
           rblgp_old TYPE rblgp,           "rblgp before aggregation
           END OF mmcr_drseg.
    How would YOU redeclare these types so that they work in an ABAP Objects class?  
    Some of the "fixes" are easy, like replacing "LIKE" with "TYPE:".
    But what about the "INCLUDE STRUCTURE" and the "occurs 0" specifications?
    The reason I'm asking this is that I have to call a method from ZXM08U16 and I'd like to be able to pass this method exactly what XXM08U16 gets from SAP, i.e. the table E_TDRSEG of type  MMCR_TDRSEG

    David,
    I wonder it can be directly in ABAP (I would like to hear opinions from others as well!), I needed to use Data Dictionary as well:
    TYPES: BEGIN OF mmcr_drseg_co.
            INCLUDE STRUCTURE cobl_mrm_d.
    TYPES: cr TYPE z_tt_drseg_cr,
           unpl_refwr TYPE refwr,
           END OF mmcr_drseg_co.
    z_tt_drseg_cr is a table type created in SE11, based on structure drseg_cr.
    the way to create internal table and work area, based on the above:
    DATA : gt_... TYPE TABLE OF mmcr_drseg_co.
    DATA : gw_... TYPE mmcr_drseg_co.
    hope this helps some
    ec
    UPDATE : Rich is right, it is possible to do it only in ABAP with the DEFAULT KEY addition.

  • I have a 2009 13"MacBook pro running on OS X 10.6.8.  How do I know whether this is leopard or mountain? What would you advise that I use as I need to be running OS X 10.7?  All help appreciated.  Thank you.

    I have a 2009 13"MacBook pro running on OS X 10.6.8. 
    How do I know whether this is leopard or mountain?
    What would you advise that I use as I need to be running OS X 10.7? 
    Also can you advise how I upgrade please?
    All help appreciated.  Thank you.

    Thank you for your response Niel.
    I do run Microsoft Office 2011 - will Snow Leopard support this?
    Finally why snow leopard and not mountain lion?

  • How would you use Aperture 3 Labels & Flags in your workflow?

    Now that A3 has the ability to use Labels & Flags, I'm trying to incorporate their use into my workflow but am struggling to find the most effective way.
    I've used the star rating for selections & refining the selections. In A2 I used keywords on images to indicate actions on the images, however I never thought this was an elegant solution because unless I forget to remove them they stay with the images as I export them. Fundamentally though I think of Keywords as attributes of the image, so using keywords to describe actions was always strange.
    One thing I liked with this workflow though was I could place multiple "actions" on an image since there can be any number of keywords. In A3 you can only assign one labe at a time. So this made me think of how I'd use Labels.
    So thus my question: how would you incorporate labels & flags into your existing workflows consisting of star ratings & keywords?

    I've wanted flags for a long time just to be able to mark where I left off on a project. My inelegant solution has been to give a terrible picture 5 stars. Other uses are to quickly get back to certain images.
    I don't yet know how exactly I'll use labels or what other uses I'll have for flags, but I'm happy to have the added versatility. Between flags and labels, I have 8 new ways to mark and filter images. (10 if you count no flag and no label.) Sure one can do a lot with stars, stacks and keywords, but now one can do more.
    DLS

  • VI Analyzer - How Would You Configure It for This Use Case?

    My group has different people working on different LVPROJs for each software deliverable we have. Each LVPROJ uses our user.libs and instr.libs, as well as an overall "framework" that is the same for most LVPROJs.
    I really think the VI Analyzer toolkit would be powerful for code reviews, but only if I can configure it in a way where which tests I run and what the criteria are can be saved and used on any project. I can't seem to get this to work for me. I want to save all those configurations, and use it on new LVPROJs easily - the easier I can make this process, the more inclined others will be to use this for code review. How would you do it? (if it's even feasible)
    Solved!
    Go to Solution.

    I suggest creating a .cfg file without a project linkage, but with all the tests selected and configured as you want...so a .cfg file with no "Items to Analyze" specified. Then, when working on an individual project, open that CFG file, add the project's top-level folder to the analysis, then save that CFG file with that project. This means you can't have the project linkage in your CFG file, but assuming your project is all within some top-level folder, that shouldn't be much of an issue, since the CFG file will be "linked" at that point to the top-level folder containing your project.
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • How do you launch an app from a shell?

    how do you launch an app from a shell?  how about an example... say, launch the texteditor app.

    To open an app from the terminal use the command open followed by the fullpath pf the command.
    So for TextEdit you would enter
    open /Applications/TextEdit.app

  • How would you realize a "blinking"-Effect

    The question narrows down to : Which is the best solution to trigger each 0,5 seconds an event (on the JavaFX thread) ?
    I could do this with a TimelineAnimation or with a Task<Void>, the problem withthe Task is that I have to update the UI with Platform.runLater() each time which is an impact on the overall perfomance. On the otherhand the TimerLineAnimation is useful to update a property and I do not think that it is the approriate method to realize a blink effect.
    How would you do this ?
    E.G. I have a circle. This shape is supposed to change its Color every 0,5 seconds (And there can be many of this circles..)

    I would use some kind of Transition, not because of any performance consideration but merely because it will keep your code cleaner. Used properly, a Task with Platform.runLater(...) to update the UI will be as efficient as anything else, but it can be a bit tricky to get it right (and using Transitions, you delegate the job of getting the code right to the JavaFX team, who are probably better at this kind of thing than either you or I).
    The Timeline will actually animate the transition between property values. Almost anything you want to do can be expressed as a change in property; your example of changing the color of a Circle simply involves changing the value of the fillProperty. So using a Timeline will fade one color into another.
    If you want a "traditional" blink, you could two PauseTransitions with the onFinished event set to change the color.
    This compares the two approaches:
    import javafx.animation.Animation;
    import javafx.animation.KeyFrame;
    import javafx.animation.KeyValue;
    import javafx.animation.PauseTransition;
    import javafx.animation.SequentialTransition;
    import javafx.animation.Timeline;
    import javafx.application.Application;
    import javafx.beans.property.ObjectProperty;
    import javafx.beans.property.SimpleObjectProperty;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.layout.HBox;
    import javafx.scene.paint.Color;
    import javafx.scene.paint.Paint;
    import javafx.scene.shape.Circle;
    import javafx.stage.Stage;
    import javafx.util.Duration;
    public class BlinkingCircles extends Application {
         @Override
         public void start(Stage primaryStage) {
           final HBox root = new HBox();
              final Group faders = new Group();
              final Color blue = new Color(0, 0, 1.0, 0.3);
              final Color red = new Color(1.0, 0, 0, 0.3);
              final ObjectProperty<Paint> colorFader = new SimpleObjectProperty<Paint>(blue);
              for (int i=0; i<20; i++) {
                faders.getChildren().add(createCircle(colorFader));
              KeyValue blueKV = new KeyValue(colorFader, blue);
              KeyValue redKV = new KeyValue(colorFader, red);
              KeyFrame blueKF = new KeyFrame(new Duration(1000), blueKV);
              KeyFrame redKF = new KeyFrame(new Duration(500), redKV);
              Timeline fadeTimeline = new Timeline(redKF, blueKF);
              fadeTimeline.setCycleCount(Animation.INDEFINITE);
              fadeTimeline.play();
              final Group blinkers = new Group();
              final ObjectProperty<Paint> colorBlinker = new SimpleObjectProperty<Paint>(blue);
              for (int i=0; i<20; i++) {
                blinkers.getChildren().add(createCircle(colorBlinker));
              PauseTransition changeToRed = createPauseTransition(colorBlinker, red);
              PauseTransition changeToBlue = createPauseTransition(colorBlinker, blue);
              SequentialTransition blinkTransition = new SequentialTransition(changeToRed, changeToBlue);
              blinkTransition.setCycleCount(Animation.INDEFINITE);
              blinkTransition.play();
              root.getChildren().addAll(faders, blinkers);
              Scene scene = new Scene(root, 640, 400);
              primaryStage.setScene(scene);
              primaryStage.show();
         private Circle createCircle(ObjectProperty<Paint> color) {
           Circle c = new Circle(Math.random()*300, Math.random()*300, 20);
           c.fillProperty().bind(color);
           c.setStroke(Color.BLACK);
           return c ;
         private PauseTransition createPauseTransition(final ObjectProperty<Paint> colorBlinker, final Color color) {
           PauseTransition changeColor = new PauseTransition(new Duration(500));
              changeColor.setOnFinished(new EventHandler<ActionEvent>() {
                @Override
                public void handle(ActionEvent evt) {
                  colorBlinker.set(color);
              return changeColor ;
         public static void main(String[] args) {
              launch(args);
    }

  • In Security, clicking on the "Saved Password" button displays your current saved password for each site. It does not allow you to change a password. How would you do that?

    In Security, clicking on the "Saved Password" button displays your current saved password for each site. It only allows you to view and delete site passwords. It does not allow you to change a password. How would you do that?

    If you enter a new password Firefox should offer to change the password.
    *You may not need to delete the old password. Try "Refreshing" the page, entering the site again, you may need to let Firefox fill in the old password, then enter the new password, and Firefox should ask to save the new password. See:
    **http://kb.mozillazine.org/Deleting_autocomplete_entries
    *If you delete the old password, you may need to "Refresh" the site after deleting the old password.
    If you want to delete the password that has been saved do the following:
    #In the Tools menu select Options to open the options window
    #Go to the Security panel
    #Click the "Saved Passwords" button to open the passwords manager
    #Select the site in the list, then click Remove
    <br />
    <br />
    '''You need to update the following.''' The Plugin version(s) shown below was/were submitted with your question and is/are out of date. You should update to avoid known security issues with the version(s) you have installed. Click on "More system info..." to the right of your question to see what was included with your question.
    *Adobe PDF Plug-In For Firefox and Netscape 8.3.0 (''Note: this is a very old version and installing the current version may not delete it or overwrite it. To avoid possible problems with having 2 versions installed on your system, you may want to remove the old version in Windows Control Panel > Add or Remove Programs before installing the new version'').
    *Shockwave Flash 10.3 r181 (''this may be current but a new version was released on 2011-06-14 with a ".26" after the "181". You can use the Plugin Check below and/or look in Add-ons > Plugins for the version of Shockwave Flash that you have installed. The newest version will be shown in Add-ons > Plugins as "Shockwave Flash 10.3.181.26"'').
    *Next Generation Java Plug-in 1.6.0_24 for Mozilla browsers
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #*There are plugin specific testing links available from this page:
    #**http://kb.mozillazine.org/Testing_plugins
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**SAVE the installer to your hard drive (save to your Desktop so that you can find it after the download). Exit/Close Firefox. Run the installer you just downloaded.
    #**Use either of the links below:
    #***https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox ''(click on "Installing and updating Adobe Reader")''
    #***''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • TS3999 How do you get info entered into iCal and Contacts on an equipped iPhone to push back to an equipped MacPro? so far it's only a one way street Macpro to phone, and that's not what I was told it would be.

    Hi, all.
    How do you get information entered into iCal and Contacts on an equipped iPhone to push to an equipped MacPro? So far it's been a one way street Macpro to phone, and that's not what I was told it would be. I've been through all settings on both devices and see no way to do this. Help! If I synch the old fashioned way, what's going to happen?

    First check that all your settings are correct, that contact syncing is checked on all devices (system preferences > iCloud on a mac and settings > iCloud on a iPhone, iPad or iPod).
    Make sure the contacts you are adding are added to your 'iCloud' group and not an 'On My Mac', 'On My Phone' or other non iCloud group (you can do this by checking in groups), non iCloud contacts will not sync.
    If you are sure that everything is set up correctly and your contacts are in the iCloud group, you might try unchecking contact syncing in the iCloud settings, restarting your device and then re-enabling contact syncing.
    First check that all your settings are correct, that calendar syncing is checked on all devices (system preferences > iCloud on a mac and settings > iCloud on a iPhone, iPad or iPod).
    Make sure the calendars you are using are in your 'iCloud' account and not an 'On My Mac', 'On My Phone' or other non iCloud account (you can do this by clicking/tapping the calendar button in the top left corner of the application ), non iCloud calendars will not sync.
    If you are sure that everything is set up correctly and your calendars are in the iCloud account, you might try unchecking calendar syncing in the iCloud settings, restarting your device and then re-enabling calendar syncing settings.

  • How would you pass more than 255 args?

    I have an SFTP program that currently is only passed a single file. I am modifying it so that it will loop though an array of files to simulate an mput command. Originally I was just going to call the program with each file to be transferred as an argument but noticed the 255 argument limit. I am looking at potentially having 1500 - 2000 files to transfer at one time. I am just looking for advice on how this should be designed. One idea that was forwarded to me was to just create a listing of the files on the server and use that list file as my argument. Would this be the best approach for this issue?

    sdhalepaska wrote:
    georgemc wrote:
    sdhalepaska wrote:
    georgemc wrote:
    sdhalepaska wrote:
    georgemc wrote:
    I see no reason why you need an argument for every file.I would not necessarily need one for every file. Prior to our needing to use this for multiple files, it was easy enough to pass in one file as an argument. That is my question, how would you try to pass in a long list of files?Let's establish what you are concerned about. The 255 argument limit is on method signatures. From what you're saying here, you're talking about arguments being passed into your application from, say, the shell. Am I right?Correct, please see my clarified post. From what I have tested, the 255 argument limit appears to exist even for arguments passed to main.Ah, but arguments passed to main from the command line are passed into main as a single array of Strings, no matter how many of them there are. I have no idea what the limit on those is, but an array can hold millions of elements. I expect your shell will moan about that many, though.
    As I see it, you have a few choices. Unless these files are all in different, arbitrary directories, you can specify a list of directories for your app to search. Or you can pass them all in one at a time, and see how you go. Or you can list them in a text file, pass that to your app and have it work them out. Or write a script that invokes your app multiple times. What you don't need, is a method that takes each file as an argument.Thank you for walking me through this. Would you mind telling me which way you would lean if you were designing this? The files will all be in a single directory on the server and I would not like to invoke the app multiple times as it creates a connection during each invocation. They're all in the single directory. Ok, are all the files in that directory to be transferred? If so, I'd just pass the directory name to the app, and have it iterate over all the files. If it's only to be certain ones, how do you know which ones? Is there some regex or filtering you can do on the command line?
    If you are interested, the 255 argument limit for main that I tested was from this article:
    [http://www.javaspecialists.eu/archive/Issue059.html|http://www.javaspecialists.eu/archive/Issue059.html]
    It does die at 255 using Java 1.5.Like I said, arguments to a method are thus limited. But the args passed to an app are passed to main as one argument - an array. In short, that article is not relevant to your problem.

  • How would you go about saving an online image locally?

    Say if you knew the url such as http://www.yahoo.com/img.jpg
    How would you save this locally?

    Read the answer in your previous posting:
    http://forum.java.sun.com/thread.jspa?threadID=772451
    Use the file as an InputStream to read the data and then use an OutputStream to write the file.
    The logic is the same as reading and writing a file from disk once you have the InputStream.

Maybe you are looking for

  • Multiple instances of Weblogic on NT

    Is is possible to run two instances of WebLogic on an NT server as services? Specifically, I want to set up web server clustering on two machines, but I am also going to be running another custom Weblogic app that will access a backend database. I ne

  • External Hard Drive won't play music after upgrade

    I have all my music and iTunes on an external hard drive and it worked great unitl I upgraded to iTunes 10. Now it says it can't play the music because it is from an earlier version of iTunes. PLEASE HELP!!

  • Can't scan Acrobat Pro 9.5.5 crashes when on Windows 8 PC

    I have Acrobat Pro 9.5.5 on a Windows 8 PC. When I try to use scan features, acrobat crashes. I select custom scan it crashes. I select configure presets it crashes. Because Pro crahses I am unable to choose what scanner to use for scanning. No idea

  • FM of reverse PGI..

    Dear Friend's,                    Is there any FM available for Revers Post Goods Issue, its too urgent, i am trying it from yesterday oneards, please suggest  me.

  • Is it possible that we generate material requirement in MRP at company code level?

    We want to generate material requirement in MRP at company code level, what is the possibility or any work around. Thanx in Advance.