f:ajax Tag Lib supports namespace but no tag was defined for name: ajax

We are using 10.3.3 and trying to use JSF 2.0. the war deploys correctly and we cans see it on the server console. Most JSF tags and features work but when we use the <f:ajax> tag it gives the following exception.
com.sun.facelets.tag.TagException: //C:/java/pai/NonGLSWeb/WebContent/pages/discSalesHeader.xhtml @80,112 <f:ajax> Tag Library supports namespace: http://java.sun.com/jsf/core, but no tag was defined for name: ajax
at com.sun.facelets.compiler.CompilationManager.pushTag(CompilationManager.java:193)
Are we missing something?
thanks for your help in advance

Generally, when you use ajax you don't need the <h:commandButton> anymore. The commandButton still does what it does even when you add an ajax tag to it.
Try adding an ajax tag to your <h:inputText> elements with the valueChange event attribute, and render="o1" like you have it. You should see the outputText update the way you expect.

Similar Messages

  • I got a text saying I used all my data but my data was off for a week.

    I recently received a text saying I used 90% of my data already. So I check my settings and my data is off. I kept it off for the whole day. The next morning, I received another text saying I've used all my data and I'm being charged for another 300mg. But my data wasn't on for a few days, I don't understand why I'm "using" data.

    Contact your carrier since they are the ones in charge of your plan.

  • WML help for  Struts-wml tag lib

    I tried using the tag lib of struts but I didn't find wml:card tag..........

    thank you Shay Shmeltzer
    i added the tld to my jdev.
    but now the property inspector of any component of this tag lib is empty.
    i can see all components in the component palette.
    another thing can you help me to use struts-layout libraries?
    i see in the code
    <layout:form action="/login" styleClass="FORM" key="form1.title" reqCode="login" focus="login">
    i can't find were are styleClass (css)?
    i looked for in all the project and in libraries?
    thank you very much..
    Talel...;

  • Where  tag libs related to JavaHelp can be downloaded?

    Where the JSP tag libs related to JavaHelp can be downloaded? .It was not available as part of JH2.0 downloadable.

    Thanks Ingo! I realized (while following your link) that my access profile was not containing enough roles to download the packages from the Marketplace. So, I have downloaded the installation package and installed the BusinessObjects SAP Integration Kit XI3.1. However, during the installation process I received the following error message (sorry if it is alredy the n-th time it is mentioned in this forum): "Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CrystalExtension.dll failed to register. HRESULT -2147024769. Contact your support personnlel." And the buttons - Abort, Retry, Ignore. I have chosen Ignore and the installation has finished "successfully".
    But when I start Crystal Reports now, and I am trying to use the Open command on the SAP menu, Crystal Reports shuts down (and Windows starts looking for a "solution of the problem" - without any result, of course).
    Could this Crystal Reports shutdown be the result of that .dll registration error during the installation, or it is other known issue of the Integration Kit? Thanks a lot for any idea.

  • Upgrade from tomcat to OC4J 10.1.3 jsp parser exception in tag lib

    i have problem in oc4j jsp parser
    but it work ok on tomcat as tomcat using jasper-compiler.jar
    when run on oc4j it give me the exception
    OracleJSP: oracle.jsp.parse.JspParseException: /jsp/layouts/elec/pageheading.jsp: Line # 3, <aa:h1 wrapped="true" labelKey="${heading1BundleKey}"/>
    Error: Errors parsing tag :h1 oracle.jsp.parse.JspParseException: /jsp/layouts/elec/pageheading.jsp: Line # 3, <aa:h1 wrapped="true" labelKey="${heading1BundleKey}"/>
    Error: oracle.jsp.provider.JspCompileException: <H3>Errors compiling:E:\oc4j\j2ee\home\application-deployments\default\sc40\persistence\_tagfiles\_oracle\_jsp\_tag\_aacom\_h1_2e_tag.java</H3><TABLE BORDER=1 WIDTH=100%><TR><TH ALIGN=CENTER>Line #</TH><TH ALIGN=CENTER>Error</TH></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>191</TD><TD> non-static variable _jspFragWriter cannot be referenced from a static context
    _jspFragWriter = null;
    -------------------------------------------------------->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    and i have problem in web.xml
    as i using jsp servlet in jasper-compiler.jar in tomcat package
    <servlet>
    <servlet-name>jsp</servlet-name>
    <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
    <init-param>
    ------------------------------------>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    i try to use this package in oc4j but i can not
    i put this servlet in global-web-application.xml instead of
    <servlet>
         <servlet-name>jsp</servlet-name>
    <servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
    ------------------>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    to make oc4j depend on tomcat parser it give me
    classnotfound mean that (oc4j can not found package) this printed in global-application.log
    i make
    <library path="E:/oc4j/j2ee/home/applib/jasper-compiler.jar"/>
    and still have problem
    any 1 have idea using tomcat parser in oc4j
    or have idea solve this problem
    thanx
    Message was edited by:
    [email protected]
    Message was edited by:
    [email protected]
    Message was edited by:
    [email protected]
    Message was edited by:
    [email protected]

    OC4J 10.1.3 does support JSP 2.0, as well as custom tag libraries (including JSTL 1.1).
    There are two approaches to configuring a custom tag library for use in JSPs served by OC4J:
    1) Package the JSTL or custom tag library with your application:
    i. include the necessary JAR file in your web app's /WEB-INF/lib folder
    ii. include the relevant Tag Library Descriptor (TLD) file(s) in your web app's /WEB-INF folder
    iii. for each TLD, add a <tag-lib> element to web.xml referencing the TLD file's location and taglib URI
    2) Place the JSTL or custom tag library in an Application Server instance-level directory ($ORACLE_HOME/j2ee/home/jsp/lib/taglib) to make them available to multiple applications (in all OC4Js installed in the Oracle Home)
    For example, if you'd like to use the JSTL 1.1 Core and Internationalization Tag Libraries, do one of the following:
    1) Package the JSTL or custom tag library with your application:
    i. Obtain an implementation of JSTL (e.g. Jakarta Taglibs) and include the standard.jar and jstl.jar files in your web module's /WEB-INF/lib directory
    ii. From the JSTL implementation you're using, also copy the c.tld and fmt.tld Tag Library Descriptors to your web module's /WEB-INF/lib directory
    iii. Add the following elements to your web module's web.xml file:
    <jsp-config>
    <taglib>
    <taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
    <taglib-location>/WEB-INF/c.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri>
    <taglib-location>/WEB-INF/fmt.tld</taglib-location>
    </taglib>
    </jsp-config>
    OR
    2) Copy the standard.jar and jstl.jar libraries from the JSTL implementation you're using to $ORACLE_HOME/j2ee/home/jsp/lib/taglib

  • How to use JSP custom tag lib in PAR file?

    Hi All,
    I am trying to customize mastheaderpar file. For that I have downloaded relevant par file and making the changes accordingly.
    As part of the changes I would require to use JSP custom tag library in my par file.
    I have the TLD file and relevant classes in the jar file. I would like to know where and what kind of modifications have to be done to use the jsp custom tag library.
    I tried modifying some things in portalapp.xml but was not successful.
    Please help me on how to proceed with this? It would be great if you can provide the xml entry to use this tag library
    Thanks
    Santhosh

    Hi Johny,
    Thanks for the reply. Actually I am able to change colors etc. with out any problem.
    My requirement is to use XMLTaglib in mastheader par file. This tag lib is from apache tomcat. I have the relevant TLD and class files. I copied TLD file into taglib dir of portal-inf and class file in src api.
    And I have added the following line in portalapp.xml under component-profile section of default
    <property name="tlxtag" value="/SERVICE/Newmastheader/taglib/taglibs-xtags.tld">
    Is this the right way to use tag lib? Actually before adding this line I used to get the error saying "Error parsing taglib", but now the error does not occur and I am getting new error. This is an exception in one of the taglib classes.
    Could any one provide me some inputs on how to check this error?
    Thanks
    Santhosh

  • Namespace in Header tag

    Hi,
    I have just migrated some mappings from XI 2.0 to XI 3.0. There are differents properties depending on the version. In 3.0 the XML have to have the namespace information for being properly mapped. In  2.0 it works just with  the tag, without any namespace information.
    For example in 3.0 you need:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:SDA xmlns:ns0="http://www.sscc.com">
       <Field1></Field1>
       <Field2></Field2>
       <Field3></Field3>
    </ns0:SDA>
    But in 2.0 it worked if you just have:
    <?xml version="1.0" encoding="UTF-8"?>
    <SDA>
       <Field1></Field1>
       <Field2></Field2>
       <Field3></Field3>
    </SDA>
    At the moment I can't use 3.0 adapters( I think that the namespace information is automatically put the namespace in the tag with 3.0 adapters), for configuration problems(I probably put another post because of that ).
    It is curious that migrated mappings of 2.0 work in 3.0 without namespace information, but if you modify something in the mapping it gets the 3.0 properties and it doesn't work with simple tags.
    I'm interested in ideas for solving this problem.
    Regards
        Gonzalo

    hi,
    you can remove it:
    question:
    12. I have a problem with namespaces in XI - Is there a way to remove them?
    on the XI faq link below
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Namespace in a tag

    Hi,
    In an ABAP mapping (thus a class interface), how can I add and manage the namespace in a tag thanks to a prefix?
    Currently, I have an outbound XML message like this:
      <MT00314_WTFR>
           <row>
              <etc......>
    and I would like to have this one:
      <ns:MT00314_WTFR xmlns:ns="http://my_namespace">
           <row>
              <etc......>
    I have already try to use some methods but without success
    Anybody can help me !
    Regards
    Mickael

    Hi!!!
      I suppose you are looking for something like that:
      data: result_document type ref to IF_IXML_DOCUMENT.
      data: result_xml_doc  type ref to CL_XML_DOCUMENT.  
      result_xml_doc->CREATE_EMPTY_DOCUMENT( ).
      result_document = g_ixml->create_document( ).
      parent  = result_document->create_simple_element(
                name = 'ns:MyRootTagName'
                parent = result_document ).
      element = result_document->create_simple_element(
                name = 'name'
                value = firstname
                parent = parent ).
         /// some create_simple_element lines here
      result_xml_doc->CREATE_WITH_DOM( DOCUMENT = result_document ).
      result_xml_doc->SET_ENCODING( 'UTF-8' ).
      result_xml_doc->ADD_NAMESPACE_DEF( ALIAS = 'ns'
         URI = 'http://your_namespace' ).
    Regards,
    Andrzej Filusz

  • Problem in using JSTL tag libs

    Hi there,
    I am trying to use JSTL tag libs in my web app, but i get the following error message:
    org.apache.jasper.JasperException: /index.jsp(22,0) According to TLD or attribute directive in tag file, attribute test does not accept any expressions
    as it might be clear i am using Tomcat and line 22 of the code for index.jsp is:
    <c:if test="${user.role > 0 }">
    Please help my identify whats wrong in there. I suspect that it is because of my web.xml file, but i am not sure.
    thanx in advance,
    Capitan Haddock

    try to use gt instead of >

  • 10 g 9.0.4 ear deploy error : localhome tag not supported

    when i try deploy ear module with OEM i have :
    Deployment failed: Nested exception Root Cause: local/local-home tag not supported in this version. local/local-home tag not supported in this version

    I guess the question is, (I haven't found any documentation on it). What are the restriction to the size of an application that can be deployed in the OAS server.
    I had heard that there was a bug that prevented apps of over 500meg from being deployed, but this is only 159meg.
    Or are parameters to the java command line start up that will allow this app to be loaded?
    Or alternately, where would I find specifications or parameters recommended for OAS standalone server startup?
    Thanks
    ---John Putnam

  • I can't use JSP tags lib in IWS6

    I was trying to use JSP tags lib but the web server doesn't find the *.tld file. Some messages are shown:
    25/Jun/2002:19:40:28] info ( 5604): JSP: JSP1x compiler threw exception
    org.apache.jasper.compiler.CompileException: /local/iplanet/docs/menu_principal.jsp(1,0) Unable to open taglibrary http://apache.org/taglibs/dbtags : Could not locate TLD http://apache.org/taglibs/dbtags
    at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:707)
    at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:110)
    at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:218)
    at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252)
    at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
    at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:416)
    [25/Jun/2002:19:40:28] warning ( 5604): Internal error: Failed to get GenericServlet. (uri=/menu_principal.jsp,SCRIPT_NAME=/menu_principal.jsp)
    I have some doubts about how to work with JSP Tags in iws6. What should I do to get this work?
    The tag lib is gotten from jakarta project and I'd like to know which steps i have to follow.
    Thank you very much

    Hi,
    What you have to do is this:
    - Include the jar file in the WEB-INF/lib
    - Include the tld file in a directory under WEB-INF, for example tlds
    - Create a mapping in the deployment descriptor (web.xml), to make the taglib available, something like this:
    <taglib>
    <taglib-uri>http://jakarta.apache.org/taglibs/io</taglib-uri>
    <taglib-location>/WEB-INF/tlds/io.tld</taglib-location>
    </taglib>
    Then in the jsp, you have to invoke it like this:
    <%@ taglib uri="http://jakarta.apache.org/taglibs/io" prefix="io" %>
    <io:http url="http://mustang:4004/NASApp/fortune/fortune" action="GET"/>
    Hope this helps
    Juan

  • AutoCapitalized in dsp tag lib

    Hi,
    I have a requirement, to make a text field auto capitalization to be disabled using the dsp tag lib, in normal html input type we have autocapitalize attribute. How to do this using dsp tag lib.
    Thanks,

    I think you may check with allcaps="true|false" or autocaps="true|false" in the dsp input tag. Both of these are supported attributes for dsp input and textarea tags. You can find the list of all supported attributes of any dsp tag in dspjspTaglib1_0.tld
    Hope it helps. Thanks.

  • JSP Tag libs with struts Urgent

    Hi
    Has anyone implemanted jsp tag libs with the help of struts-bean.tld,struts-html.tld etc,
    I need to use these , but I am not clear with how the page retrives the key values
    example:
    table width="400" cellpadding="10" cellspacing="0" border="0" bgcolor="#cccccc">
    <tr>
    <td valign="top" colspan="2">
    <bean:message key="logon.welcome"/>
    <html:errors/>
    </td>
    </tr>
    <tr>
    <bean:message key="logon.welcome"/>----?
    I don't no how the"message bean" gets its key value dynamically? how it retrieves from its Application resource file? any idea?
    Also has anyone implemanted jsp templates if so kindly guide me thru these
    thanks!

    Hi..
    I am myself involved in implementing custom taglibs extending struts functionality. This can be done by extending the struts base classes and tag handlers. If you're still working on this topic, please let me know and we might share experiences.
    Best regards,.
    - Bj�rn Syse, [email protected]
    Hi
    Has anyone implemanted jsp tag libs with the help of
    struts-bean.tld,struts-html.tld etc,
    I need to use these , but I am not clear with how the
    page retrives the key values
    example:
    table width="400" cellpadding="10" cellspacing="0"
    border="0" bgcolor="#cccccc">
    <tr>
    <td valign="top" colspan="2">
    <bean:message key="logon.welcome"/>
    <html:errors/>
    </td>
    </tr>
    <tr>
    <bean:message key="logon.welcome"/>----?
    I don't no how the"message bean" gets its key value
    dynamically? how it retrieves from its Application
    resource file? any idea?
    Also has anyone implemanted jsp templates if so
    kindly guide me thru these
    thanks!

  • JPS thread issues and Tag Libs

    I was curious as to the thread issues with using Tag Libs inside of JPS'.
    I realize that many threads can access an individual JSP and that a JSP (at least in tomcat) uses the same instance of its tag over and over again.
    But I have the following questions:
    Are there thread race issues with using tags?
    If there are thread race issues wouldn't it be a bad idea to use the setter methods on a tag or have any instance level variables in a tag?
    Is the access to the tag synchronized in the creation of the JSP/Servlet?
    Thanks for your time,
    Nate

    I actually decompiled the JSP that was created by tomcat and it (the complied JSP) is actually using a factory to get an instance of a tag. When the complied JSP is done with the Tag instance it calls the release() method on the Tag and then the factory is allowed to reuse that Tag.
    So, basically when Tags are used like they are supposed to be, there are no threading/race issues.
    I have downloaded the Tag specs, but haven't been able to read them yet. After I do get the chance to read them, I will try and post my findings.

  • Album artwork imports into iTunes, but artist tags do not

    Hello,
    After importing my music from an external hard drive backup, I have a problem with ~5% of my music. The songs are listed in iTunes as "Unknown Artist" and "Unknown Album". However, if I find the file within my iTunes folder, all of the artist information tags are listed if I use "Get Info" --> "More Info" in the Finder. Back in iTunes, the album artwork is there, but the tags are missing. These are for .m4a, Apple MPEG-4 audio files. How can I get iTunes to recognize the tags that are obviousy still present in the file?
    There are too many songs like this to relabel the, realistically.
    I have tried deleting the songs from my library and re-importing them into iTunes, but this does not fix the problem. I cannot find any logic as to which songs this affects.
    Any ideas?
    Thank you.

    This same thing happened to me, so I plugged my iphone into the computer and I unchecked all the songs so it deleted from my phone and then i rechecked sync music back to the phone and all the album artwork were there.

Maybe you are looking for