In desperate need of some output :-)

Hi,
How do I do something equivalent to System.out.println(“Something”); when trying to test what the effect of something using JSF2.0 and backing beans, remember something something about Loggers years ago when trying out JSP, which was very confusing, and was never really able to grasp it, is the Logger Class still the way to test with JSF2.0 or is there an easier way.
Many Thanks
Pat Nevin

Nothing in JSF prevents you from using System.out.println().
If you want to use a logging system, there is one built into the JRE since 1.4 or so. Or you could use log4j, slf4j, commons-logging, etc., etc.

Similar Messages

  • Does anyone know if Apple has any plans to create an electronic medical records (EMR) program? And if not, who do I email to suggest just that as a new market in desperate need of some new innovation?

    Does anyone know if Apple has any plans to create an electronic medical records (EMR) program? And if not, who do I email to suggest just that as a new market in desperate need of some new innovation?

    There already are some tools in the App Store (eg. My Medical - https://itunes.apple.com/us/app/my-medical/id347860026?mt=8).
    If you mean something that would interact directly with a Hospitals main system or such, I don't know of any.  There are numerous companies now selling and setting up central records systems around the country, but I don't know of any that are working on companion patient tools yet.
    Some charity and non-profit companies, like MedicAlert Foundation are working on such things and may have mobile apps on their radar, as funds allow them to develop such thing.  MedicAlert already offers an EMIR service online, but no standalone mobile app for it yet (you manage it via their web portal).
    Epocrates (owned by Athena Health) might also have something in the works, or at least an interest in such a thing.

  • In desperate need of some wisdom!

    Hello,
    I wonder if anyone can help me, it seems everywhere i search for a solution to this problem, im faced with brick walls!
    A friend gave me his PowerMac G4 many years ago, its running OSX 10.3, but i recently bought snow leopard to upgrade it. The DVD drive works fine to open and reads the DVD in 'finder', but will not install the CD, and also I cannot choose the boot from the CD/DVD drive in startup disk. I have tried holding the option key, and/or c upon reboot, but there I am only given the option to boot to OSX or the previously installed OS9.
    Anyone got any bright ideas? I really would appreciate some clarity on this matter! Many thanks!

    Note there are limitations in upgrading to Tiger & Leopard you should be aware of too.
    If Mac OS 9 by booting into Mac OS 9 itself is needed, Leopard still supports that.
    However, you need at minimum an 867 Mhz G4 built-in (not upgraded) to install Leopard.
    If Mac OS 9 under Classic is needed, you can't use Leopard, as it does not support Classic.
    See my FAQ* on migrating to Mac OS 9 here:
    http://www.macmaps.com/macosxnative.html
    - * Links to my pages may give me compensation.

  • Beginner in desperate need of some expert advise

    In adobe premier elements 7 do i have to drag every transition separately to each clip on the timeline or can I select and drag bulk loads of transitions?  I am dealing with about 120 video clips of anything from 15 secs - 45 secs so there is a lot of transitions needed between clips. Would appreciate your help guys.

    (you might do better on the premiere forum.)

  • Iterate over some output text in a panel Grid

    Hello folks
    Are any of you doing something like this in JSC
    <code>
    <%
    for (int i = 0; i<4; i++)
    %>
    <h:panelGrid bgcolor="gray" binding="#{Page1.gridPanel1}" id="gridPanel1" style="height: 73px; left: 0px; top: 120px; position: absolute" width="216">
    <h:outputText binding="#{Page1.outputText1}" id="outputText1" value="Author"/>
    <h:outputText binding="#{Page1.outputText2}" id="outputText2" value="Summary"/>
    <h:outputText binding="#{Page1.outputText3}" id="outputText3" value="Article link"/>
    </h:panelGrid>
    <%
    %>
    </code>
    What I'm trying to do is something like data table, except that I want to have control over where the output text goes, and how it is presented.
    In data table all I get is a predefined table (I�m unable to format it the way I would like) so lets do it the old way - link some output text to a database or maybe an array which holds the "data" then loop over it x number of times to display the content kind of like this
    For (less than x times) do
    Author name
    Date article written
    Summary article
    Link to more of the article
    This would be the way I used to this, now I�m curios how this is done using JSF
    <% loop here %> does not mix well in Creator, error not well formed
    I�m unable to format a data table in any respect except number of rows and stuff
    So Any suggestion on how to really do this effectively in JSC/JSF
    Thanks Bjorn

    Hi,
    Actually, you have quite a bit of flexibility with the Data Table component.
    You can add more than one component to a column,
    and you can use an outputText component to hold
    HTML formatting tags, such as <br>.
    Note: you must uncheck the escape attribute.
    And since the data table component produces an HTML <table> tag,
    you can also control style with additional style sheet classes (see Tor's blog).
    For an example of using the Data Table component
    to display the resuts of the Google search web services,
    See Beyond the Book at this URL:
    http://www.asgteach.com/download/beyond.pdf
    The relevant description is section A.5 beginning on page 24.
    Hope this helps.
    --Gail A.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Help me i am in desperate need of Help!!!

    I am trying to start Puzzlepirates and i believe its somethings to do with java, when i go to download it i just see a red X in the corner and this is the java console message,
    Java Plug-in 1.5.0_06
    Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Jon Goodwin
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.net.UnknownHostException: www.puzzlepirates.com
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)
         at sun.plugin.cache.CachedJarLoader.isUpToDate(Unknown Source)
         at sun.plugin.cache.CachedJarLoader.loadFromCache(Unknown Source)
         at sun.plugin.cache.CachedJarLoader.load(Unknown Source)
         at sun.plugin.cache.JarCache.get(Unknown Source)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
         at sun.misc.URLClassPath$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getResource(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    load: class Downloadlet not found.
    java.lang.ClassNotFoundException: Downloadlet
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    Exception in thread "Thread-4" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    load: class Downloadlet not found.
    java.lang.ClassNotFoundException: Downloadlet
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    Exception in thread "Thread-9" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception in thread "thread applet-Downloadlet" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Please help as much as you can or as little i desperatly need help.

    Oi mate there's no need to be nasty, i was asking why
    and you just throw it in my face,Nobody is throwing anything in your face. You threw a stack trace at us and said Java is broken help me.
    Well Java is not broken.
    The Java program you are running is broken.
    But we don't know what it is doing and where it is broken. Only the people with the source for the program (puzzlepirates) can help you.
    It is not my fault if they won't help you or told you Java is broken.
    and it seems that the java is not working or
    something else is wrong on my computerAs a wild guess there is something wrong with the DNS on your machine or proxy or something like that. This is a guess based on the UnknownHostException. But again that is only a guess and the best guess one can make based on the information present.
    The problem I think is that their applet tries to do something but doesn't account for connections like yours and is blowing up because of that.
    Again only a guess and in the end really does nothing to solve your problem. If you want to solve this problem email the stack trace and perhaps my comments in this post about the UnknownHostException to puzzlepirates and ask them for help.
    Nobody else can help you but them.

  • Need to configure output type for adobe form

    Hello All,
    I need to configure output type for Adobe Form thru NACE. What would be print program and how do I call my form from that program? and, what would be the FORM routine for that form in NACE?
    I'm little confused, Pls I need your help.
    Thanks in advance,
    Chandra

    Hi,
    Just before few weeks we did this task.
    Say for example if you want to print PO details through ADOBE form instead of normal sapscript layout or standard MEDRUCK, you can follow the following steps.
    1. Design the form in SFP tcode, by passing the necessary inputs through form interface.
    2. Then use tcode tcode NACE and select EF as application and click output types button on the          application tool bar. Select NEU output type and double click processing routines on left side.
    3. Then, in the right side of the screen we can see the calling program and the form (may be sapscript or smartform) whatever used.
    4. For form names we have two options in NACE tcode.
    One is Form and the otherone is PDF/Smartform Form. If you are using adobe form give your form name under PDF/Smartform and also select PDF under the type option in the same screen.
    This worked perfectly for us. But pass the required parameters to the form from the routine used in standard program.
    If any queries please post it.

  • In need of some help!! my iphone 4s is not letting me take pictures or videos or even use the flashlight, does anyone know what to do??

    In need of some help!! my iphone 4s is not letting me take pictures or videos or even use the flashlight, does anyone know what to do??

    Hello Albert3232,
    It sounds like you cannot use either camera, nor the LED as a camera. I want to recommend a couple of things here.
    First, close all the open and running apps on the phone:
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    When you have done that restart the phone:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    If the issue persists, I would next backup your device to iTunes, and restore it:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • Preview disappeared after disabling some output tracks

    I have generated preview for the entire project. In order to grab some still shots, I disabled some output tracks. After grabbing the still shots, I exited the program.
    When I launch the program again, my preview has disappeared!
    I found that the preview files are still at the same file location in my computer, so they are still "there" but it's not showing in Premier.
    Is there a correct way to get them back without having to regenerate the entire preview?
    I don't want to just do something becasue at the moment, I know the files are still there, it's just how to get them to show in Premier again.
    Thanks for any help.

    Try enabling the output tracks that you disabled and see if it comes back.
    Regards
    Dave.

  • My iPod is up to a 4.1 ios, and it won't update to a 5.1 which I need for some of my apps for school. It keeps saying that my internet connection is bad; but, it works just fine. What do I need to do?

    My iPod is up to a 4.1 ios, and it won't update to a 5.1 which I need for some of my apps for school. It keeps saying that my internet connection is bad; but, it works just fine. What do I need to do?

    If you get a network timeout error, then disabling the computer's security software duirng the download and update usually resovles that error.
    If that is not the error what is the wording of the error message.
    Note that only a 3G or 4G iPod can go to iOS 5.  A 2G iPod can only go to iOS 4.2.1

  • I have the latest Pages  5.2 and get a sign saying "INDEX.pages" can't be opened. I have need of some of the documents. What can i do?

                            I have the latest Pages  5.2 and get a sign saying "INDEX.pages" can't be opened. I have need of some of the documents. What can i do?

    Probably you have 2 versions of Pages on your Mac.
    Pages 5 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Older versions of Pages 5 can not open Pages 5.2 files and you will get the warning that you need a newer version.
    Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Once opened and saved in Pages 5.2 files can not be opened in Pages 5.
    Anything that is saved to iCloud and opened by newer Pages versions anywhere, is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed over 95 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
    Peter

  • I am thinking of buying a iPad but my main desktop machine uses Windows 7 and MS Office.  How easy or difficult is it to transfer data files between the iPad and Windows?  Are there obvious problems or the need for some form of conversion programs?

    I am thinking of buying a iPad but my main desktop machine uses Windows 7 and MS Office.  How easy or difficult is it to transfer data files between the iPad and Windows?  Are there obvious problems or the need for some form of conversion programs?
    Many thanks for any advice.
    David

    You don't need conversion programs, iTunes can copy most of your content over to the iPad via the file sharing section, and some apps also support Dropbox, email attachments, transfer via your wifi network. There are a number of apps that you can get that support Microsoft office file (microsoft don't make an app versions of their software) e.g. from Apple there are Pages (word support), Numbers (excel) and Keynote (powerpoint), and from third-parties there are apps such as Documents To Go and QuickOffice HD

  • Some output types are adding in messages when the changes are done

    Hi Friends,
    In PO, some output types(which are already there in display mode in messages) are adding in EDIT mode in messages when I change any thing in Purchase order(ME22N). Some outputs are not adding.
    Example, i have created two output types (AAA and BBB) successfully in ME22n. Now i am changing some thing in PO and going to MESSAGES. Now I am seeing one extra output type AAA is added in MESSAGES with EDIT mode,  But i am seeing output type BBB is in display mode and also not added extra.
    Could you please tell me, what is the reason for this?
    Thanks
    Kumar

    Hi Kumar,
    Looks like your Question is not pertaining to SAP-MDM.
    This forum is for SAP Master data management queries .
    Kindly post your question in the right forum to get quick replies.
    Hope It Helped
    Thanks & Regards
    Simona

  • HT1212 i have done all of these steps more than once and my iphone is continuing to be disabled. my computer shows "the iphone server could not be contacted." what do i do? i am in desperate need of my iphone to no longer be disabled!

    I have completed the steps given to me to have my iphone 5 no longer be disabled. I have completed the steps multiple times but my computer continues to say "The Iphone spftware update server could not be contacted." I have officially ran out of patience and I am in need of some assistance. I have never disabled my Iphone before and i am having some difficulties trying to get it restored. Please give me any helpful tips possible!!!!
                                                                                                                                               Thanks, Iphone 5 lover

    Temporarily disable any security software on the computer.

  • Desperate needing help with HP Pavilion DV7-1450us HDMI audio output

    I have tried a lot of different things to get audio output to my tv with no luck. I get video output fine. I notice when right-clicking the speaker on my taskbar there is no option to enable HDMI audio output any help is greatly appreciated as we are waiting to watch a movie <_< thanks.

    Hi Sez,
    Try using Recovery Manager to reinstall your AMD Graphics Driver package as this will also reinstall the AMD HDMI Audio driver- the procedure for using recovery manager to reinstall Software and Drivers is detailed in the relevant document on the link below.
    Recovery Manager - Windows 8.
    Recovery Manager - Windows 7
    Recovery Manager - Windows Vista
    After the reinstallation has completed, restart the notebook.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

Maybe you are looking for

  • Goods Receipt with respect to sales order

    hi,     goods receipt with respect to sales order ,that sales order is prepared with reference to quotation erroer is Account assignment cannot be carried out because of different origin no. Message no. V1134 Diagnosis The sales document to which you

  • How to specify Attribute ID in OPC Server DevicenetExplicit

    I'm trying to set up an Allen Bradley 842D Devicenet Absolute Encoder using the OPC server.  The manuals for the device mention that the data can be retrieved from the various Attribute ID's in each class.  From the OPC Server Help example below,  it

  • EPub Reader Recommendation

    I'm looking for an ePub reader with fairly specific requirements. It must be capable of: reading both PDF and ePub opening multiple documents in tabs store documents locally in folders (and sub-folders) highlighting passages of text Can anyone make a

  • ERROR MESSAGE~~itunes library will not save!

    got an update message to upgrade to the latest itunes edition. downloaded it. after restart and itunes opening error message continuosly pops up. all pre-downloaded music and podcast are still in library but itunes won't keep any new material. help p

  • Crash upon opening Log and Capture

    I'm working with a friend to solve her FCP problem. Everytime she opens the log and capture window FCP crashes. When she starts up FCP they are greeted with the DV NTSC Device is not connected message even if the camera is conected and on. Doing a re