Does JSF like XML?

It seems that actually using XML as a source file for my JavaServer Faces JSP files is severely limiting my ability to create even simple functionality.
Let's say that I want to put in a simple stylesheet link, but I want it to be relative to the context. (Otherwise, I couldn't include the JSP file in other JSP files in different directories, because the link is relative to the enclosing JSP's base URI.)
In old, outdated, non-XML source code, that's easy, if not pretty:
<html>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="jsf" %>
<jsf:view>
     <head>
          <link rel="stylesheet" type="text/css" href="<%= request.getContextPath()%>/style/sheet.css"/>
But I want to use XML for my source JSP file. So I start with this:
<?xml version="1.0"?>
<jsp:root version="2.0"
     xmlns:jsp="http://java.sun.com/JSP/Page"
     xmlns:jsf="http://java.sun.com/jsf/core"
<jsf:view>
<jsp:output omit-xml-declaration="false" doctype-root-element="html" doctype-public="-//W3C//DTD XHTML 1.1//EN" doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"/>
     <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
Now what? I can't use <%=...> in the <link> href attribute value, because that attribute (according to Tomcat 5.5.2) can't contain the "<" character.
Using ${pageContext.request.contextPath}/style/sheet.css results in the entire literal string being sent to the browser---no replacement. The same goes for #{facesContext.externalContext.request.contextPath}.
Are those who use XML-compliant source files limited in JSF functionality?
Starting to be disillusioned,
Garret

This is easily solved using JSTL:
<c:url value="/styles.css" var="styles"/>
<link rel="stylesheet" type="text/css"
href="${styles}" />I beg to differ! I have:
<?xml version="1.0"?>
<jsp:root version="2.0"
     xmlns:jstl="http://java.sun.com/jstl/core"
     xmlns:jsp="http://java.sun.com/JSP/Page"
     xmlns:jsf="http://java.sun.com/jsf/core"
     xmlns:html="http://java.sun.com/jsf/html">
<jsf:view>
     <jsp:output omit-xml-declaration="false" doctype-root-element="html" doctype-public="-//W3C//DTD XHTML 1.1//EN" doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"/>
     <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
          <title>Test</title>
          <jstl:url value="/styles.css" var="styles"/>
          <link rel="stylesheet" type="text/css" href="${styles}" />
     </head>
     <body>
     </body>
     </html>
</jsf:view>
</jsp:root>This sends the following stylesheet link back to my browser:
<link href="${styles}" type="text/css" rel="stylesheet"/>(Try it yourself.)
I'm using JSF 1.1_01 on Tomcat 5.5.2. I cannot get a ${} expression to be substituted.
Garret

Similar Messages

  • JSF, tiles, xml and xsl

    Good days people, I am employed at an app that wants to integrate JSF, tiles, xml and xsl.
    Basically the app receives information of the user's interfaz, builds an url with the above mentioned information and invokes to a service web that a xml returns with the information. The idea is to generate the exit in format html or wml with an insole(staff) xsl and to send the result in this format to every jsp that is going to form a part of the page that it will generate tiles. at first I understand that it is feasible, i�d like to know if someone already has done it and since it has done it.
    Just now what I have is a managed bean that receives the parameters of the altar frontal and invokes a method of a service, like this:
    public String encuentra(){
    //deja los atributos privados rellenos.
    String mensaje ;
    crearYRellenarBusquedaVO();
    try {
    setResultado(this.getServicio().obtenerResultadosWML(this.getBusquedaVO()));
    mensaje="succesNoJS";
    }catch(java.lang.IllegalArgumentException e){
    mensaje="error";
    }catch(es.yell.frontlite.exceptions.SrvBusquedaNoxtrumServiceException e1){
    mensaje="error";
    }catch(Exception e2){
    mensaje="error";
    return mensaje;
    public String obtenerResultadosWML(es.yell.frontlite.service.impl.BusquedaVO busquedaVO){
    if (busquedaVO == null){
    throw new IllegalArgumentException(
    "obtenerResultadosJSdesactivado(es.yell.frontlite.service.impl.BusquedaVO busquedaVO) - 'busquedaVO' no puede ser nulo.");
    try{
    return this.manejarObtenerResultadosWML(busquedaVO);
    }catch(es.yell.frontlite.exceptions.SrvBusquedaNoxtrumServiceException e1){
    throw new es.yell.frontlite.exceptions.SrvBusquedaNoxtrumServiceException(
    "Error ejecutando el servicio String obtenerResultadosJSdesactivado(es.yell.frontlite.service.impl.BusquedaVO busquedaVO). " + e1.getCause(),e1);
    }catch(Exception e){
    throw new es.yell.frontlite.exceptions.SrvBusquedaNoxtrumServiceException(
    "Error ejecutando el servicio String obtenerResultadosJSdesactivado(es.yell.frontlite.service.impl.BusquedaVO busquedaVO). " + e.getCause(),e);
    //it returns html code!
    protected String manejarObtenerResultadosWML(es.yell.frontlite.service.impl.BusquedaVO busquedaVO)
    throws java.lang.Exception{
    try{
    // xmlOrigen has full xml response from server
    String xmlOrigen = manejarObtenerResultadosJSActivado(busquedaVO);
    Source xmlSource = new StreamSource(new StringBufferInputStream(xmlOrigen));
    Source xsltSource = new StreamSource(SrvBusquedaNoxtrumServiceImpl.class.getResourceAsStream(Constantes.XSL_FILE));
    StringWriter cadenaSalida = new StringWriter();
    Result bufferResultado = new StreamResult(cadenaSalida);
    TransformerFactory factoriaTrans = TransformerFactory.newInstance();
    Transformer transformador = factoriaTrans.newTransformer(xsltSource);
    transformador.transform(xmlSource, bufferResultado);
    System.out.println(cadenaSalida.toString());
    return cadenaSalida.toString();
    }catch(Exception e2){
    throw new es.yell.frontlite.exceptions.SrvBusquedaNoxtrumServiceException (e2.getMessage());
    With this exit in html, since(as,like) how could i forward it towards a jsp especially?
    faces-config.xml
    <navigation-rule>
    <from-view-id>/index.jsp</from-view-id>
    <navigation-case>
    <from-outcome>succesNoJS</from-outcome>
    <to-view-id>/jsDesactivado.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>error</from-outcome>
    <to-view-id>/error.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    index.jsp
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <f:view>
    <f:loadBundle basename="MessageResources" var="msg"/>
    <head>
    <title>
    ${msg.titulo}
    </title>
    </head>
    <body>
    <h:form id="formulario">
    Que:
    <h:inputText id="campoQue" value="#{yellProxy.campoQue}" />
    Donde
    <h:inputText id="campoDonde" value="#{ yellProxy.campoDonde}" />
    <h:commandButton id="boton" value="Encuentra" action="#{yellProxy.encuentra}"/>
    </h:form>
    </f:view>
    </body>
    </html>
    jsDesactivado.jsp
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%--
    The taglib directive below imports the JSTL library. If you uncomment it,
    you must also add the JSTL library to the project. The Add Library... action
    on Libraries node in Projects view can be used to add the JSTL 1.1 library.
    --%>
    <%--
    <%@taglib uri=" http://java.sun.com/jsp/jstl/core" prefix="c"%>
    --%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    " http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
    </head>
    <body>
    <h1>JSP Page</h1>
    jsDesactivado!!
    <%--
    This example uses JSTL, uncomment the taglib directive above.
    To test, display the page like this: index.jsp?sayHello=true&name=Murphy
    --%>
    <%--
    <c:if test="${param.sayHello}">
    <!-- Let's welcome the user ${param.name} -->
    Hello ${param.name}!
    </c:if>
    --%>
    <jsp:getProperty name="yellProxy" property="resultado"/>
    </body>
    </html>
    If you could pass me a simple example of use of an app that uses JSF, tiles, xml and xsl, i�be grateful
    regards a lot!

    We too (at Viking Freight) would also be very interested to see if anybody
    has produced such a useful series of classes...
    Frank Lees, Developer
    -----Original Message-----
    From: Amin, Kamran [mailto:kamran.aminframeworkinc.com]
    Sent: Wednesday, January 19, 2000 12:11 PM
    To: 'Forte User'
    Subject: (forte-users) XML and XSL in Forte
    Has anybody integrated an XSL parser with Forte. I know Forte provides us
    with an XML parser but that does not help with parsing XSL. There a lot of
    parsers written in JAVA but that will not integrate well with Forte. We
    need something that will be easy to integrate with Forte. This parser will
    take our XML and XSL to give us a result set. If anybody can comment on the
    subject or share some information I would appreciate it.
    thanks in advance.
    ka
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com

  • Does JSF work on Websphere Application Server?

    Hi,
    I know that Websphere Studio 5.1.2 is JSF 1.0 ready. Is Websphere Application Server JSF ready? If yes, then which version of application server supports JSF 1.0?
    Thanks in advance
    -Nimmi

    yeah, jsf works on websphere.
    I have a query.
    i am trying to use faces component File Upload on a jsp page . When i drag and drop this component on the jsp page and try to run the faces portlet on the test server, the page comes up but many errors are displayed on the console .
    the errors are like :
    OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /.scr/.ibmjsfres/img/1x1.gif has not been defined
    [12/17/04 17:03:01:641 IST] 1e4b062b OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /.scr/.ibmjsfres/img/hinkies_lg.gif has not been defined
    [12/17/04 17:03:01:656 IST] 1e4b062b OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /.scr/.ibmjsfres/img/hinkies_vlg.gif has not been defined
    [12/17/04 17:03:01:656 IST] 50fd0629 OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /.scr/.ibmjsfres/img/HinkiesC.gif has not been defined
    [12/17/04 17:03:01:734 IST] 50fd0629 OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /.scr/.ibmjsfres/img/hinkies.gif has not been defined
    I am not able to figure out whats wrong with this.
    the portlet that i have developed works fine except this File upload.
    i.e the other jsp pages display data from the database and other stuff.
    my first query is: does jsf support File upload on websphere?
    i think it should as it provides File Upload component in the palette.
    How to get rid of the above mentioned errors?
    i think it has to do something with server settings as the error is "virtual host/web group not found".
    has anyone come across this problem?
    plz help.
    Thanx in advance.

  • How does *.jsf extension map to *.jsp extension and where it is mapped

    Hi ,
    How does *.jsf extension map to *.jsp extension and where it is mapped ?
    Thanks

    How does *.jsf extension map to *.jsp extension and where it is mapped ?It is mapped in the web.xml.
    If you add the following in your web.xml:
    <context-param>
    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
    <param-value>.xhtml</param-value>
    </context-param>
    The *.jsf will be mapped to the file with the same name, but xhtml as extention.
    if you the javax.faces.DEFAULT_SUFFIX is not defined in the web.xml, the default suffix comes from the one of the constant of javax.faces.application.ViewHandler . This constant names DEFAULT_SUFFIX and equals to ".jsp"
    Look at:
    http://java.sun.com/j2ee/javaserverfaces/1.1/docs/api/constant-values.html
    Sergey : http://jsfTutorials.net

  • JSF and XML

    Does anybody know if instead of using the JSF Tag library, I can use XML to describe my JSP page (similar to the concept used by Oracle's UIX)?
    The concept is that I write an XML page, which is then parsed to a JSP (runtime or compile time, I don't care). Anybody know about support for this feature?

    Does anybody know if instead of using the JSF Tag library
    I can use XML to describe my JSP page (similar to the concept
    used by Oracle's UIX)?Ed has already answered your immediate question about the JSF EA 3 capability, but I wanted to add that UIX will also support JSF via XML once JSF is released, just as we support our current XML model today.
    Brian Albers
    UIX Development Manager - Oracle Corp.
    http://otn.oracle.com/products/ids/uix/content.html

  • My MacBook Pro gets very slow while doing  work like watching movies and using net .. video gets lag very often

    My MacBook Pro gets very slow while doing  work like watching movies and using net .. video gets lag very often and while surffing on net it gets very slow ...

    First, back up all data immediately, as your boot drive might be failing.
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Reset the System Management Controller.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Check your keychains in Keychain Access for excessively duplicated items.
    Boot into Recovery mode, launch Disk Utility, and run Repair Disk.
    Otherwise, take the steps below when you notice the problem.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Activity Monitor in the icon grid.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Next, select the Disk Activity tab. Post the approximate values shown for Reads in/sec and Writes out/sec (not Reads in and Writes out.)
    Step 2
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

  • Does JMS parse xml content in TextMessages

              Hi
              I am working on WLS 6.1sp2 and I am using jms TextMessage type of message to
              send XML messages from one subsystem to another. I have added an XML registry
              for my version of XML parser. Now I do not have any entries for the entity declarations
              nor for the parser entries in the registry.
              When I send in an XML message in a TextMessage envelope I find the following
              errors in the log.
              <Jun 9, 2003 3:56:57 PM PDT> <Error> <XML> <Failed to parse given XML document.
              Failed to retrieve PUBLIC id. The root element is required in a well-formed docu
              ment.>
              <Jun 9, 2003 3:56:57 PM PDT> <Error> <XML> <Failed to open XML document. Failed
              to retrieve PUBLIC id or SYSTEM id from the document. Decrease the number of cha
              r between the beginning of the document and its root element.>
              <Jun 9, 2003 3:56:57 PM PDT> <Error> <XML> <Failed to parse given XML document.
              Failed to retrieve SYSTEM id. The root element is required in a well-formed docu
              ment.>
              <Jun 9, 2003 3:56:57 PM PDT> <Error> <XML> <Failed to open XML document. Failed
              to retrieve PUBLIC id or SYSTEM id from the document. Decrease the number of cha
              r between the beginning of the document and its root element.>
              <Jun 9, 2003 3:56:57 PM PDT> <Error> <XML> <Failed to parse given XML document.
              Failed to retrieve root tag. The root element is required in a well-formed docum
              ent.>
              <Jun 9, 2003 3:56:57 PM PDT> <Error> <XML> <Could not instantiate factory class
              specified in the Server console. Invalid parameters: at least one of publicId,
              s
              ystemId, rootTag must be non-null>
              [ChangeAwareClassLoader] : Name is : META-INF/services/org.apache.xerces.xni.par
              ser.XMLParserConfiguration
              <Jun 9, 2003 3:56:57 PM PDT> <Error> <XML> <Failed to open XML document. Failed
              to retrieve PUBLIC id or SYSTEM id from the document. Decrease the number of cha
              r between the beginning of the document and its root element.>
              <Jun 9, 2003 3:56:57 PM PDT> <Error> <XML> <Failed to parse given XML document.
              Failed to retrieve PUBLIC id. The root element is required in a well-formed docu
              ment.>
              Now from the logs I understand that the message is being parsed and since the
              parser does not find any PUBLIC ID or SYSTEM id it dumps the error, since I am
              using schemas there is none of the PUBLIC and SYSTEM ids in my xml, also this
              is not logged by any component of my subsystems, this is a weblogic XML Service
              log and when I trace through the code I find that it comes up after the first
              subsystem sends the message and before the second subsystem receives it.
              The question then is does JMS parse XML content in TextMessages and if so how
              can I disable that parsing?
              Thanks
              Sandeep
              

    JMS does not automatically parse TextMessages. Check the XML declaration in
              your application's deployment descriptors. That's often the source of this
              error.
              FYI, you can use XMLMessage for xml payloads. As far as I can remember, the
              XMLMessage is an extension of the TextMessage with xml parsing built in.
              Adarsh
              "Sandeep Nayak" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Hi
              >
              > I am working on WLS 6.1sp2 and I am using jms TextMessage type of message
              to
              > send XML messages from one subsystem to another. I have added an XML
              registry
              > for my version of XML parser. Now I do not have any entries for the entity
              declarations
              > nor for the parser entries in the registry.
              >
              > When I send in an XML message in a TextMessage envelope I find the
              following
              > errors in the log.
              >
              > <Jun 9, 2003 3:56:57 PM PDT> <Error> <XML> <Failed to parse given XML
              document.
              > Failed to retrieve PUBLIC id. The root element is required in a
              well-formed docu
              > ment.>
              > <Jun 9, 2003 3:56:57 PM PDT> <Error> <XML> <Failed to open XML document.
              Failed
              > to retrieve PUBLIC id or SYSTEM id from the document. Decrease the number
              of cha
              > r between the beginning of the document and its root element.>
              > <Jun 9, 2003 3:56:57 PM PDT> <Error> <XML> <Failed to parse given XML
              document.
              > Failed to retrieve SYSTEM id. The root element is required in a
              well-formed docu
              > ment.>
              > <Jun 9, 2003 3:56:57 PM PDT> <Error> <XML> <Failed to open XML document.
              Failed
              > to retrieve PUBLIC id or SYSTEM id from the document. Decrease the number
              of cha
              > r between the beginning of the document and its root element.>
              > <Jun 9, 2003 3:56:57 PM PDT> <Error> <XML> <Failed to parse given XML
              document.
              > Failed to retrieve root tag. The root element is required in a well-formed
              docum
              > ent.>
              > <Jun 9, 2003 3:56:57 PM PDT> <Error> <XML> <Could not instantiate factory
              class
              > specified in the Server console. Invalid parameters: at least one of
              publicId,
              > s
              > ystemId, rootTag must be non-null>
              > [ChangeAwareClassLoader] : Name is :
              META-INF/services/org.apache.xerces.xni.par
              > ser.XMLParserConfiguration
              > <Jun 9, 2003 3:56:57 PM PDT> <Error> <XML> <Failed to open XML document.
              Failed
              > to retrieve PUBLIC id or SYSTEM id from the document. Decrease the number
              of cha
              > r between the beginning of the document and its root element.>
              > <Jun 9, 2003 3:56:57 PM PDT> <Error> <XML> <Failed to parse given XML
              document.
              > Failed to retrieve PUBLIC id. The root element is required in a
              well-formed docu
              > ment.>
              >
              > Now from the logs I understand that the message is being parsed and since
              the
              > parser does not find any PUBLIC ID or SYSTEM id it dumps the error, since
              I am
              > using schemas there is none of the PUBLIC and SYSTEM ids in my xml, also
              this
              > is not logged by any component of my subsystems, this is a weblogic XML
              Service
              > log and when I trace through the code I find that it comes up after the
              first
              > subsystem sends the message and before the second subsystem receives it.
              >
              > The question then is does JMS parse XML content in TextMessages and if so
              how
              > can I disable that parsing?
              >
              > Thanks
              >
              > Sandeep
              

  • I used to use SpeedBit Video Downloader with Mozilla Firefox, but suddenly a problem happened, I can not download with it now at all as there is an code error appears in the bar of SpeedBit like "XML Parsing Error: unclosed token Location: chrome://browse

    I used to use SpeedBit Video Downloader with Mozilla Firefox, but suddenly a problem happened, I can not download with it now at all as there is an code error appears in the bar of SpeedBit like "XML Parsing Error: unclosed token Location: chrome://browser/content/browser.xul Line Number 1, column 8702:....................."
    I did evrey thing, but the same problem
    reinstall SpeedBit, reinstall Mozilla Firefox.
    So what can I do!
    == This happened ==
    Every time Firefox opened
    == 4 days ago

    look people, i may have a solution for this. This happened to me a few times before and resolved alone, but last time it happened was when i turned off my router and back on while my comp was running and appeared when i tried opening firefox after that. so wat i did was i shutdown the computer and the router and tried turning both on again, and it resolved.
    Therefore, Summary: Shutdown computer then turnoff router then turn both back on
    Hope this helps anyone.

  • I have ripped cds on to windows and i am trying to transfer them over to itunes except it does not like wma files is there anything i can do

    i have ripped cds on to windows media player but i am trying to transfer them over to itunes except it does not like wma files is there anything i can do

    It should work... when I got my first iPod I transferred my entire library over and it was all .wma files. What specific steps have you tried?

  • Windows 7 does not like my Audigy Card at all

    Hey guys,
    Got too excited and went out and bought Windows 7 Ultimate x64 - fantastic. Problem is, I have no sound - my Asus Rampage Formula motherboard has no onboard sound as it comes with a seperate sound card which won't work and neither will the cheapy Audigy standard one I bought today to try...
    7 automatically installs some drivers when it detects I have a sound card installed and sticks it in the Device Manager under 'System Devices' and calls it a 'High Definition Audio Controller'
    Now I found the new Win 7 drivers on here and downloaded in the hope of installing and overwriting this 'Hi Def Audio Controller' but when i'm in setup I get the error message "Setup is unable to detect a supported product on your system. Please ensure that your product is properly installed before running this Setup Program. Setup will exit" which is completely baffling me as Win7 can detect and install this 'audio controller' - when I hover over the volume icon in the taskbar (which incidentally has a red cross over it) it says 'No audio output is installed"
    I'm probably going wrong somewhere, but I don't know if its Win7 or these "Windows 7" drivers don't actually work?
    Please can anyone help?!!

    Re: Windows 7 does not like my Audigy Card at all^ Perhaps you can try this:
    <a rel="nofollow" href="http://support.creative.com/downloads/download.aspx?nDownloadId=0960"]http://support.creative.com/downloads/download.aspx?nDownloadId=0960[/url]
    Yes I know that that is a standard driver from Creative. But try to download the driver. Then right click it, and extract it. You can extract it like this if you have WINRAR, WINACE, or WINZIP on your system. Even the free 7-zip will work great.
    Then go to device manager, and then to your unknown device, and then update driver, and then choose "have disk....." and browse to the folder where you unzipped the driver. Then install the driver, allowing it to copy the files over to your system. Reboot. Sound may still not be working at this point. Then try windows update or the Daniel K. pack again. Using this method may seem weird but I am trying to "trick" your system into picking up your Audigy.
    This worked for me before with my x-fi Titanim and my Extreme gamer when I switched to Vista 64.

  • To format string like xml

    Hi,
    i have a string which has a xml content:
    String myXML = "<xml><test>Test</test></xml>";
    With log4j i produce a trace file with the output of String a: Log.info(myXML);
    Unfortunately the content of xml data is verly long and its difficult to read it.
    I would like to have the string to be xml formatted like:
    <xml>
    <test>Test</test>
    </xml>
    how to manage it?
    Thanks

    Your best bet might to be getting a 'tidy' program for xml. Most xml editors can very cleanly re-structure xml to collapsible nodes.
    Also you could try some proactive logging logic;
    after a closing tag, add a \n to return a new line, this will help most editors make it display nicely.

  • Bitcoin-QT does not like UTC

    Hey Archers! This is my first post on here, but I've been using Arch on and off since 2011... just goes to show how good the wiki is lol
    Anyway, I'm dual booting Windows 8 (work reasons, unfortunatley) and Arch, so as the wiki suggested, I set both operating systems to use UTC. I originally thought it worked like a charm, but after firing up my Bitcoin wallet (in Arch) I soon discovered it isn't syncing with the network in UTC. If I switch back to America/New_York, everything still works great again. How would I make the bitcoin-qt client work with UTC?
    Here is what I did to set UTC:
    ln -sf /usr/share/zoneinfo/UTC /etc/localtime
    And then I tried reindexing the blocks like so:
    bitcoin-qt -reindex
    But I haven't had any luck

    That's odd, we must be reading different wiki pages then, on both the Installation Guide and Time wiki pages, it says the timezone can be set by making a symlink at /etc/localtime that points to the desired zone. Regardless, I checked the hardware clock, and it seems to be set correctly...
    timedatectl status | grep local
    outputs
    RTC in local TZ: no
    And this
    hwclock
    outputs
    Fri 11 Oct 2013 04:41:05 AM UTC -0.797325 seconds
    So it is definately set in UTC at the correct time. I'm thinking Bitcoin-QT does not like UTC for some reason. The time itself seems to be fine because Windows and Arch both have the same time after either windows or Arch syncs time over the internet.
    Thanks for the help cfr, much appreciated.

  • Why does Firefox, like others, feel it's so important that their updated browser have a "brand new look"? I don't want a "brand new look." I'm happy with the look as it is. So I will NEVER go to Firefox4.

    Why does Firefox, like others, feel it's so important that their updated browser have a "brand new look"? I don't want a "brand new look." I'm happy with the look as it is. So I will NEVER go to Firefox4.

    Firefox is highly customizable and you can customize Firefox 4 to look like Firefox 3.6, for details see http://www.computertechtips.net/64/make-firefox-4-look-like-ff-3-6

  • PCI-GPIB does not like returning from computer power-save mode. I need to restart the application. Uggh! Customer not happy.

    It seems volatile memory is lost on the PCI GPIB Card. When the system returns from power-save, I cannot get to my GPIB instruments. I have to close the application and restart it. I've tried unregistering and reregistering the gpib globals and resetting the device interfaces (reissuing the ibdev command) without luck. I am using Visual Basic 6, but I also get the Measurement and Automation Explorer to fail in the same way, so I don't think it is my development environment.

    On Sat, 15 May 2004 20:23:58 -0500 (CDT), SQP Products wrote:
    >PCI-GPIB does not like returning from computer power-save mode. I
    >need to restart the application. Uggh! Customer not happy.
    >
    >It seems volatile memory is lost on the PCI GPIB Card. When the
    >system returns from power-save, I cannot get to my GPIB instruments.
    >I have to close the application and restart it. I've tried
    >unregistering and reregistering the gpib globals and resetting the
    >device interfaces (reissuing the ibdev command) without luck. I am
    >using Visual Basic 6, but I also get the Measurement and Automation
    >Explorer to fail in the same way, so I don't think it is my
    >development environment.
    Can you change your power save settings? What operating system
    are you running?
    Also, some BIOS's have options for power save. For example, recent
    IBM's can be set to maintain power to all peripherals, or only to main
    memory. Of course, you would want it to maintain power.
    I suspect the GPIB board and its driver are completely unable to
    handle power save operation. It probably was never considered while
    it was being designed.
    Aidan Grey

  • MY WIRELESS ROUTER DOES NOT LIKE WINDOWS 7

    OK FIRST I'M NOT YELLING. CAPS ARE MUCH EASIER FOR ME TO SEE AS I HAVE MS. ANYWAY I AM A NOVICE USUER WHEN IT COMES TO ROUTERS BUT MY ROUTER  Wireless-N Broadband Router (WRT300N) DOES NOT LIKE MY NETBOOK WHICH HAS WINDOWS 7 HOME PREMIUM. DOES ANYONE KNOW HOW I CAN EASILY FIX THIS.
    THANKS IN ADVANCE,

    Are you able to see the wireless network name on your computer ?
    If yes, then what's the error message are you getting while connecting to the network ?

Maybe you are looking for

  • How many Communication Channels required for File--Bpm(SAP R/3)--File

    Hi     Pl..help me on this     I am doing the following scenario File 2BPM 2 File     i.e File - BPM(ASync)         BPM - SAP R/3(Sync)         SAP R/3 ---BPM (Sync)         BPM ---File (Async)     For me it looks three CC's  but still i am not confi

  • Billing posting for intercompany delivery process

    Hi all we configured a new process for intercompany billing to use a standard PO for delivery between a warehouse and a store both in different co codes. Process is based on vendor and customer defined in retail sites both WH and store. Eg. WH site c

  • Virtual Catalogs in 10g database

    I have heard that you need an 11g catalog to use virtual catalogs. I have also heard that it's possible to run an 11g catalog from a 10g database. Is there a way to create the 11g catalog on a 10g database directly, or do I need to make it in an 11g

  • Attach text from SODIS into the email body

    Hello Experts, I am working on a requirement wherein I am sending the output of a smartform in PDF format via email to the users.Also , the disclosure from SODIS is also required to be attached as a body of the email. Unfortunately , I was not able t

  • Is there any way to remove the explicit warning (the red "E") from podcasts (in the app)?

    I could really use some help with the Podcasts app. Whenever I try to use a subscription for a podcast directly on my iPhone, every episode of that podcast (loaded through iTunes) gets the explicit tag. That red "E" is eating up valuable space in the