Navigation Tag library : lyt:container

hi,
  From my basic research, I found that                                               <lyt:container id="navPanelContainer" /> uses the default iview tray for displaying its iviews in the container using Navigation Tag Library.
It is mentioned that this one calls the default iview tray.. if so..could you please let me know where can i find the code for the default iview Tray..
So that I can create a "containerwithtraydesign"..and use that default code and add a line at the bottom of iview tray.
Please help me in this regard.
Thank you

Hi Daniel,
  Thanks for the reply.. I found a workaround...luckily the code was in light_Waandnavpanel.jsp.
1. I downloaded com.sap.portal.layouts.framework.par
2. Just took out the following code from light_WAandNavPanel.jsp and put that in WAandNavPanel.jsp
                                                   <table cols="1" cellspacing="0" cellpadding="0" border="0" style="width:100%" class="urTrcWhlHdr" id="DTNTray">
                                                   <tbody>
                                                        <tr>
                                                             <td class="urTrcHdNotchTrn"><img width="1" src='<%=op%>'></td>
                                                             <td class="urTrcSpcVertLftMidTrn"><img width="1" src='<%=op%>'></td>
                                                             <td style="width:100%"><table cellspacing="0" cellpadding="0" border="0" class="urTrcHdTrn" id="Tray-hd"><tbody><tr>
                                                             <td nowrap><div class="urTrcTitHdr"><lyt:IViewTitle/></div></td>
                                                             <td style="width:100%"></td>
                                                             <td nowrap width="100%" oncontextmenu="return false" class="urTrcHdIco">
                                                                  <lyt:IViewToggleOpen><img style="border: medium none" src='<%=top%>'></lyt:IViewToggleOpen>
                                                                  <lyt:IViewToggleClose><img style="border: medium none" src='<%=tcl%>'></lyt:IViewToggleClose>
                                                             </td>
                                                             </tbody>
                                                             </table></td>
                                                             <td class="urTrcSpcVertMidRghtTrn"><img width="1" src='<%=op%>'></td>
                                                             <td class="urTrcHdRightTrn"><img width="1" src='<%=op%>'></td>
                                                        </tr>
                                                   </tbody>
                                                   <tbody>
                                                        <tr class="urTrcSpcRowHdContTrn">
                                                             <td class="urTrcSpcHorLftTrn"><img width="1" src='<%=op%>'></td>
                                                             <td class="urTrcSpcHorLftMidTrn"><img width="1" src='<%=op%>'></td>
                                                             <td class="urTrcSpcHorMidTrn"><img width="1" src='<%=op%>'></td>
                                                             <td class="urTrcSpcHorMidRghtTrn"><img width="1" src='<%=op%>'></td>
                                                             <td class="urTrcSpcHorRghtTrn"><img width="1" src='<%=op%>'></td>
                                                        </tr>
                                                        <tr>
                                                             <td class="urTrcBdyNotchTrn"><img width="1" src='<%=op%>'></td>
                                                             <td class="urTrcSpcVertLftMidTrn"><img width="1" src='<%=op%>'></td>
                                                             <td class="urTrcBodyHdr urTrcBodyBdrHdr"><div class="urTrcBodyHdr urTrcBodyBdrHdr urTrcBodyHdrPd"><lyt:IViewContent/></div></td>
                                                             <td class="urTrcSpcVertMidRghtTrn"><img width="1" src='<%=op%>'></td>
                                                             <td class="urTrcBdyRightTrn"><img width="1" src='<%=op%>'></td>
                                                        </tr>
                                                   </tbody>
                                                   <tbody>
                                                        <tr class="urTrcSpcRowContFtTrn">
                                                             <td class="urTrcSpcHorLftTrn"><img width="1" src='<%=op%>'></td>
                                                             <td class="urTrcSpcHorLftMidTrn"><img width="1" src='<%=op%>'></td>
                                                             <td class="urTrcSpcHorMidTrn"><img width="1" src='<%=op%>'></td>
                                                             <td class="urTrcSpcHorMidRghtTrn"><img width="1" src='<%=op%>'></td>
                                                             <td class="urTrcSpcHorRghtTrn"><img width="1" src='<%=op%>'></td>                                                        
                                                        </tr>
                                                   </tbody>
                                                   </table>
so the tray looks fine now without collapse icon(as i commented it in the above code)..
but i have a small problem..I hope that you can help me in this regard. The problem is
I am not able to see the "options" icon that is on the left of "collapse"  icon..could you please let me know how can i get that options menu... would be great if you could include in the above snippet of code..
Thank you

Similar Messages

  • Navigation Tag Library in Consumer Portal of Federated Portal Network

    In a FPN scenario, is it possible to use the Navigation Tag Library in the consumer portal for the top level navigation? I have developed a custom top level navigation based on the navigation tag library, but when navigating to the role of the producer and back again I can no longer view the roles in the consumer portal.

    Hi,
    I know this was posted a long time ago, but I'm currently experiencing a similar issue in the TLN between a federated CE and EP portal. Did you manage to resolve your problem? In my case it looks like when you access the CE content from EP it cannot find its way back to EP when clicking on another link on the EP side. Looking at the logs it seems as if it's looking for the content on the CE system even though it's obviously not there.
    Cheers,
    Dion

  • Navigation Tag Library JSP Example?

    Hi All,
    I am trying to follow "Top-Level Navigation iView" example from "SAP NetWeaver Developer's Guide".
    In help they have given JSPCode but have not mentioned in which directory I have to make JSP file and in "portalapp.xml" what type of entry I have to write in it. i.e. "<component>, <property>".
    I need to know which entry I have to make in "Portalapp.xml" for JSP component and under which directory(PORTAL-INF) I have to made JSP file.
    Please let me know where I can find step by step instruction for Navigation iView example.
    I will award full points to useful answer.
    Thanks in Advance
    Ashish.

    Hi Mr.Chowdary,
    Thanks for your reply and step by step instruction. I followed steps as you describe.  I have one question about "portalapp.xml"
    Your answer is really helped me.
    I go through "portalapp.xml" my question is regarding <components> element. As describe in <component-config> <property name="ClassName" value="com.sap.portal.navigation.LightTopLevelNavigation"/>
    There is no "LightTopLevelNavigation.java" file. As per my under standing there should be a java file with name "LightTopLevelNavigation.java" extended from "AbstractPortalComponent" class and keep it under "src.core" or "src.api" folder.
    To define a component you should have related java file. please correct me if I am wrong or explain me what is the significant of <component> element when you do not have any "JAVA" file with LightTopLevelNavigation.java
    Please guide me as I am new to EP.
    <components>
        <component name="LightTopLevelNavigation">
          <component-config>
            <property name="ClassName" value="com.sap.portal.navigation.LightTopLevelNavigation"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="NavigationTagLibrary" value="/SERVICE/com.sap.portal.navigation.navigationtaglibrary/taglib/TagLibrary.tld"/>
            <property name="EPCFLevel" value="0"/>
            <property name="com.sap.portal.iview.ShowTray" value="false"/>
            <property name="com.sap.portal.reserved.iview.IsolationMode" value="EMBEDDED"/>
            <property name="NumOfDisplayLevels" value="2">
              <property name="category" value="Navigation"/>
              <property name="plainDescription" value="Number of Display Levels"/>
              <property name="longDescription" value="Specifies the number of levels displayed in the light top-level navigation"/>
            </property>
          </component-profile>
        </component>
      </components>
    Thanks for your help and guidence. Full points will be awarded once my doubts are cleared.
    Thanks.
    Ashish

  • Navigation tag Library - launchedNavNode

    Hi
       I would like to know how to control launchedNavNode exceptions.
      I am using this expression to get the current page in the node hierchy, but if the current node has no default entry point assignment, the library causes a javascript error
    PS - i have tried it with JSP try and catch but nothing seems to work
            SelectedNavNode is not an option aswell because i wanna know the current page and not the selectedNavNode
    thanks

    Hi phantinox,
                        Please give me your system info so that I ll be able to help you on this.
    Regards
    Sharanya.R

  • Use of  nav:navNodeAnchor tag library

    Hi folks,
    I am trying to display the breadcrumb feature of portal navigation using navigation tag library <nav:navNodeAnchor> in my custom header iview.
    The code goes something like this.
                                  <nav:iterateNavNodesInSelectedPath>
                                  <nav:navNodeAnchor navigationMethod="byURL"
                                            anchorAttributes="class='textstyle2'"/>
                                                                <nav:ifHasMoreIterations>></nav:ifHasMoreIterations>
                                  </nav:iterateNavNodesInSelectedPath>
    But here, when I try to apply the css class as part of anchor attributes, it is not getting reflected in the output. Basically, it always displays the breadcrumbs in the standard colors defined.
    Can somebody please help me on this.
    Regards
    Srinidhi

    Hi Srinidhi,
    As the expected behaviour is what is also documented (for example under http://help.sap.com/saphelp_nw04s/helpdata/en/43/0029d0e7371aa2e10000000a422035/frameset.htm ), it <i>should</i> work. Check the HTML code which is generated on the created page; if the "textstyle2" string is also missing or at the wrong place, check if you are able to correct the entry maually (in the latter case), otherwise open an OSS message...
    Hope it helps
    Detlev
    PS: @Prem - See the linke above, it's not really a CSS attribute but a generic possibility to inject anything (for example: CSS class references) into the generated html anchor. Anyhow, I also expect that the text gets rendered in the created HTML page but the resolution does not work, for example as the CSS itself is not referenced or something like that...

  • Adding image in hovermenu built by navigation tag lib

    Hi ,
    I have created top level navigation using navigation tag library.It is hover menu.
    Now in the dropdown menu I need to add an image and then the 2nd lecvel navigation with method as URL.
    The code is as follows :
    <li class="Level2">
         <Table border=0 cellpadding="0">
         <Tr>
         <Td>
          <img align=center src="<%=componentRequest.getWebResourcePath() + "/images/dot_w.gif" %>">
          </TD>
           <TD>
           <nav:navNodeAnchor navigationMethod="byURL" hashURL="true" />
         </Td>
         </Tr>     
         </Table>
         </li>
    Now I want that when i move the cursor ,the entie thing i.e the image +the text should get highlighted to some color.In css I placed code for  .Level2 a and .Level2 a:hover
    But the highlight works only for the text in the navnodeanchor.I tried placing anchor tag for img also but it does not work.
    Can someone please guide me thru this.
    Thanks ,
    Preeti

    Hai Preeti,
    Did you added the images seperately?. Try this one.
    you can add images to the each node  through "nav Node Pictogram tag" .Go through this thread <a href="https://forums.sdn.sap.com/thread.jspa?threadID=469660&tstart=0">Addiding  Custom images</a>.
    Put your custom images in the folder which is  specified in above thread.
    Go to content Administration->Portal content->open property editor of iviews ,pages and , workset->select the property workset pictogram->set images for each iviews,pages and worsets
    Regards,
    Malini.V

  • Connection Pooling and JSP Custom Tag Library - is code (inside) the best way/correc?

    Hi, can anyone advise as to whether my tag library code (based
    on Apache Jakarta Project) will actually achieve connection
    pooling functionality across my entire JSP based application? I
    am slightly concerned that my OracleConnectionCacheImpl object
    may exist multiple times, hence rendering my conection pooling
    attempt useless.
    package com.solved.tag.dbtags.connection;
    import java.io.IOException;
    import java.sql.Connection;
    import java.sql.SQLException;
    import javax.servlet.jsp.tagext.TagSupport;
    import javax.servlet.jsp.JspTagException;
    import javax.sql.DataSource;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import oracle.jdbc.pool.OracleConnectionCacheImpl;
    * <p>JSP tag connection, used to get a
    * java.sql.Connection object.</p>
    * <p>JSP Tag Lib Descriptor
    * <pre>
    * &lt;name>connection&lt;/name>
    &lt;tagclass>com.solved.tag.dbtags.connection.ConnectionTag&lt;/t
    agclass>
    * &lt;bodycontent>JSP&lt;/bodycontent>
    &lt;teiclass>com.solved.tag.dbtags.connection.ConnectionTEI&lt;/t
    eiclass>
    * &lt;info>Opens a connection based on a jndiName.&lt;/info>
    * &lt;attribute>
    * &lt;name>id&lt;/name>
    * &lt;required>true&lt;/required>
    * &lt;rtexprvalue>false&lt;/rtexprvalue>
    * &lt;/attribute>
    * </pre>
    * @author Matt Shannon
    public class ConnectionTag extends TagSupport {
    static private OracleConnectionCacheImpl cache = null;
    public int doStartTag() throws JspTagException {
    try {
    Connection conn = null;
    if (cache == null) {
    try {
    InitialContext ic = new InitialContext();
    DataSource ds = (DataSource) ic.lookup
    ("jdbc/pool/OracleCache");
    cache = (OracleConnectionCacheImpl)ds;
    catch (NamingException ne) {
    throw new JspTagException(ne.toString());
    conn = cache.getConnection();
    pageContext.setAttribute(getId(),conn);
    catch (SQLException e) {
    throw new JspTagException(e.toString());
    return EVAL_BODY_INCLUDE;
    package com.solved.tag.dbtags.connection;
    import java.sql.Connection;
    import java.sql.SQLException;
    import javax.servlet.jsp.tagext.TagSupport;
    * <p>JSP tag closeconnection, used to close the
    * specified java.sql.Connection.<p>
    * <p>JSP Tag Lib Descriptor
    * <pre>
    * &lt;name>closeConnection&lt;/name>
    &lt;tagclass>com.solved.tag.dbtags.connection.CloseConnectionTag&
    lt;/tagclass>
    * &lt;bodycontent>empty&lt;/bodycontent>
    * &lt;info>Close the specified connection. The "conn"
    attribute is the name of a
    * connection object in the page context.&lt;/info>
    * &lt;attribute>
    * &lt;name>conn&lt;/name>
    * &lt;required>true&lt;/required>
    * &lt;rtexprvalue>false&lt;/rtexprvalue>
    * &lt;/attribute>
    * </pre>
    * @author Matt Shannon
    * @see ConnectionTag
    public class CloseConnectionTag extends TagSupport {
    private String _connId = null;
    * The "conn" attribute is the name of a
    * page context object containing a
    * java.sql.Connection.
    * @param connectionId
    * attribute name of the java.sql.Connection to
    close.
    * @see ConnectionTag
    public void setConn(String connectionId) {
    _connId = connectionId;
    public int doStartTag() {
    try {
    Connection conn = (Connection)pageContext.getAttribute
    (_connId);
    conn.close();
    } catch (SQLException e) {
    // failing to close a connection is not fatal
    e.printStackTrace();
    return EVAL_BODY_INCLUDE;
    public void release() {
    _connId = null;
    package com.solved.tag.dbtags.connection;
    import javax.servlet.jsp.tagext.TagData;
    import javax.servlet.jsp.tagext.TagExtraInfo;
    import javax.servlet.jsp.tagext.VariableInfo;
    * TagExtraInfo for the connection tag. This
    * TagExtraInfo specifies that the ConnectionTag
    * assigns a java.sql.Connection object to the
    * "id" attribute at the end tag.
    * @author Matt Shannon
    * @see ConnectionTag
    public class ConnectionTEI extends TagExtraInfo {
    public final VariableInfo[] getVariableInfo(TagData data)
    return new VariableInfo[]
    new VariableInfo(
    data.getAttributeString("id"),
    "java.sql.Connection",
    true,
    VariableInfo.AT_END
    data-sources.xml:
    <?xml version="1.0"?>
    <!DOCTYPE data-sources PUBLIC "Orion data-
    sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
    <data-sources>
    <data-source
    class="oracle.jdbc.pool.OracleConnectionCacheImpl"
    name="jdbc/pool/OracleCache"
    location="jdbc/pool/OracleCache"
    url="jdbc:oracle:thin:@oracle1:1521:pdev"
    >
    <property name="maxLimit" value="15" />
    <property name="cacheScheme" value="2" />
    <property name="user" value="console" />
    <property name="password" value="console" />
    <description>
    This DataSource is using an Oracle-native DataSource Class so as
    to allow Oracle Specific extensions.
    A getConnection() call on this DataSource will return
    oracle.jdbc.driver.OracleConnection.
    The connection returned is a logical connection.
    The caching scheme in place is Fixed Wait. Refer below to
    possible values.
    Dynamic 1
    Fixed Wait 2
    Fixed Return Null 3
    </description>
    </data-source>
    </data-sources>
    many thanks,
    Matt.

    Hi. Show me your pool definition.
    Joe
    Ramamurthy wrote:
    I am using the jsp custom tag library from BEA called sqltags.tld which came with Weblogic 5.1. Currently I am using Weblogic6.1 sp2 on Solaris.
    I have created a Connection Pool for Sybase database using the driver com.sybase.jdbc.SybDriver.
    When I created jsp page to connect to the connection pool using sqltags custom tag library, I am getting the error
    "javax.servlet.jsp.JspException: Failed to write body content
    at weblogic.taglib.sql.ConnectionTag.doAfterBody(ConnectionTag.java:43)
    at jsp_servlet.__hubwcdata._jspService(__sampletest.java:1014)"
    After this message, whenever I try to access the same jsp page I am getting the message
    "javax.servlet.jsp.JspException: Failed to load JDBC driver: weblogic.jdbc.pool.D
    river
    at weblogic.taglib.sql.ConnectionTag.doStartTag(ConnectionTag.java:34)
    at jsp_servlet.__hubwcdata._jspService(__sampletest.java:205)".
    Can you please help me the reason why this problem is happening and how to fix this ?
    This problem doexn't happen consistently. This occurs once in a while.
    I tried to increase Login delay Seconds parameter in the Connection Pool to 15 sec. It didn't help me much.
    Thanks for your help !!!
    Ram

  • "No tag library could be found with this URI" error while compiling jsp

    I am using WebLogic Server 9.2 MP1, JDK 1.5.0_09, Struts 1.3.5
              I am pre-compiling jsp pages with wlappc ant task. However, I got following errors when a jsp page contains ant taglib:
              No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
              The jsp page looks like:
              <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
              wlappc complains taglib could not be retrieved from this uri. Actually, since Struts 1.3.5, those ".tld" files are contained in strust-taglib-1.3.5.jar, folder META-INF/tld/. And I don't need to set anything in web.xml <tag-lib> tab anymore.
              All the jsp pages can be successfully compiled while being deployed to Server. So what am I missing? My build.xml file looks like:
                   <target name="compile-jsp">
                        <wlappc source="${src.dir}" output="${out.dir}"
                             keepgenerated="true" optimize="true" classpathref="wl_classpath"/>
                   </target>
              where "wl_classpath" contains all the struts related jar files, e.g. struts-core-1.3.5.jar, struts-taglib-1.3.5.jar, ...., and weblogic related jars, e.g. weblogic.jar.....
              I checked "beehive" samples coming with weblogic92, and found it pretty much did the same thing regarding build script and jsp files. So I am totally lost!
              Please help me out. Many thanks.
              Edited by jqian at 02/02/2007 10:24 AM

    Yes sorry, you're correct. The uri I mentioned is just 1.0.
    Do you have the "Oracle WebLogic Web App Extension" Facet for your web project? If not, try adding that and making sure that there is a weblogic.xml file created in the WEB-INF dir. The weblogic.xml file allows you to deploy usig a shared lib for JSTL. It should contain a library-ref element something like the following, with a version of 1.1.
    <wls:library-ref>
    <wls:library-name>jstl</wls:library-name>
    <wls:specification-version>1.1</wls:specification-version>
    <wls:exact-match>true</wls:exact-match>
    </wls:library-ref>

  • Best way to call EJB - Servlet or Tag Library

    Hi,
    What is the best way to call an EJB from a JSP? We are using Weblogic 7.0(moving to 8.1 beta). WE have a form on a JSP that needs to get data from an EJB. Our flow goes from JSP --> Controller servlet or tag library -->EJB "Bean" Controller ---> EJB. The specfic EJB we need to populate drop downs and fields will be called by a bean controller. Is it better to call the bean controller using a tag library in the jsp or go to the controller servlet to get the data? If servlet is the answer, where do I lookup the EJB Home and call the create from within the servlet? Any help would be greatly appreciated!!
    Thanks!

    IMO, if you are following some design patterns, like the MVC framework, the best thing is to populate the model(entities that contain the business data) and call the respective getXX methods from the model on the JSP page. The reason for doing so is to keep JSP pages away from any other work other than to just display the business data contained in the respective business entities.
    The model can be populated in the servlet and either set in the request or session attribute as per the requirement.
    The EJB can be looked up in the servlet as and when required. I would suggest to make use of the Service Locator Pattern to do a look up for the EJB Remote Interface and accordingly make the business calls.
    Hopefully this answers some of your questions.

  • No tag library could be found with this URI

    Hi,
              I am trying to deploy the duke application on weblogic 9.2. I have deployed the application is exploded format using the admin console and its in active state.
              When I try to access http://localhost:7001/hello1, I get the following error:
              Compilation of JSP File '/index.jsp' failed:
              index.jsp:28:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
              <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
              ^----^
              index.jsp:29:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
              <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
              ^----^
              Below are the files used
              web.xml(under WEB-INF)
              ======================
              <?xml version="1.0" encoding="UTF-8"?>
              <web-app xmlns:j2ee="http://java.sun.com/xml/ns/j2ee">
              <display-name>WorkBench War</display-name>
              <description>WorkBench War that contains all the JSP files</description>
              <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              <welcome-file>index.htm</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>default.html</welcome-file>
              <welcome-file>default.htm</welcome-file>
              <welcome-file>default.jsp</welcome-file>
              </welcome-file-list>
              </web-app>
              weblogic.xml
              ============
              <?xml version="1.0" encoding="UTF-8"?>
              <wls:weblogic-web-app xmlns:wls="http://www.bea.com/ns/weblogic/90">
              <wls:context-root>/hello1</wls:context-root>
              </wls:weblogic-web-app>
              index.jsp
              =========
              <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
              <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
              <html>
              <head><title>Hello</title></head>
              <body bgcolor="white">
              Hello, my name is Duke. What's yours?
              <form method="get">
              <input type="text" name="username" size="25">
              <input type="submit" value="Submit">
              <input type="reset" value="Reset">
              </form>
              <c:if test="${fn:length(param.username) > 0}" >
              <%@include file="response.jsp" %>
              </c:if>
              </body>
              </html>
              with regards
              Mahesh Acharya

    This got resolved after I copied the jstl.jar and standard.jar from ajakarta site under WEB-INF/lib.
              Now I get the following error :-(
              index.jsp:1:1: Unable to load the validator class: "org.apache.taglibs.standard.tlv.JstlCoreTLV".
              <%--
              ^---
              --%>
              ---^
              index.jsp:44:2: The tag handler class was not found "org.apache.taglibs.standard.tag.rt.core.IfTag".
              <c:if test="${fn:length(param.username) > 0}" >
              ^--^
              index.jsp:44:2: The tag handler class was not found "org.apache.taglibs.standard.tag.rt.core.IfTag".
              <c:if test="${fn:length(param.username) > 0}" >
              ^--^

  • How to include javascript resources in  Facelet tag library

    I've been trying out Duncans watermark behavior tag (https://blogs.oracle.com/groundside/entry/placeholder_watermarks_with_adf_11). Indeed a great article and the example work perfectly when the tag library is included within the project and when the javascript resource (common.js) file is added to the document using af:resource tag.
    I would like to create a deployable tag library, including a setWatermarkBehavior tag, for reuse in various apps. I'm able to create and deploy the tag library as a ADF library and include it for use in an application. But on runtime, the pages are not able to find the "addWatermarkBehavior" method, which I hoped automatically got loaded from the javascript file defined in the tag library jar. In the tag library file, I've added a "adf-js-features.xml" in META-INF. This file and the .js file is included in the ADF library jar. "adf-js-features.xml" looks like this:
    <adf-js-features xmlns="http://xmlns.oracle.com/adf/faces/feature">
    <features xmlns="http://xmlns.oracle.com/adf/faces/feature">
    <feature>
    <feature-name>adfExtTaglib</feature-name>
    <feature-class>com/cgi/adf/ext/taglib/js/adfExtTaglib.js</feature-class>
    </feature>
    </features>
    </adf-js-features>
    I'm not sure, what value should be used for "feature-name" - I've tried many different "meaningful" names. I presume, that the ADF framework, should automatically discover all "adf-js-features" files and automatically load js-file on pages, which are using tags from the particular tag library. But apparently I'm missing something. In the facelets page used for testing, I have these few components.
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:adfext="http://xmlns.cgi.com/adf/ext">
    <af:document title="testAdfExtTaglib" id="d1">
    <!-- af:resource type="javascript" source="/resources/js/common.js" / -->
    <af:form id="f1">
    <af:inputText label="Label 1" id="it1">
    <adfext:setWatermarkBehavior value="CHR-Nr"/>
    </af:inputText>
    </af:form>
    </af:document>
    </f:view>
    Doing some debugging, I can confirm that the "getScript" method of the setWatermarkBehavior class is called. I can also find the javascript produced by the "getScript" method in the DOM. But I cannot find anywhere in the DOM, where the javascript file from the tag library is loaded.
    Please, help me out?
    Edited by: wmjaboj on 2012-09-23 23:58

    The Javascript source URI has the value "RES_NOT_FOUND".
    If I try to access it using ".../faces/javax.faces.resource/javascript.js?ln=js" I get a blank page (contains a Html and Body only).
    If I try to access it using ".../faces/resources/js/javascript.js" I can download the javascript file from the taglib.
    If I manually copy the javascript.js file from the taglib into the enclosing project and save it in "resource/js", then the javascript source URI is resolved correctly to ".../faces/javax.faces.resource/javascript.js?ln=js" and I can downloaded it, but then it is the local copy and not the one from the taglib jar.
    Do I need some specific configuration in web.xml or other deployment descriptors, to be able to use "javax.faces.resource"?
    The only configurations whoch smells like "javax.faces.resource" is this context param: javax.faces.FACELETS_RESOURCE_RESOLVER=oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver
    In web.xml various "resource" servlets is defined (I'm not sure whether I need them, JDeveloper has created them automatically):
    a) resources = org.apache.myfaces.trinidad.webapp.ResourceServlet, maps to: /adf/*, /afr/*, /bi/*
    b) adflibResources = oracle.adf.library.webapp.ResourceServlet, maps to: /adflib/*
    I appreciate your help.

  • Weblogic 12c : Spring taglib No tag library could be found with this URI

    Hello,
    I have an application which deploy perfectly on JBOSS 7 and Websphere
    My WAR includes WEB-INF/lib/spring-webmvc.jar which contains all .tld files declaration (stardard stuff up to now....)
    When I try to acces ths page (JSP) I got : No tag library could be found with this URI
    Really don't know why ??

    I think that there is bug in JSP precompilation by weblogic 12c maven plugin and appc. Seems me that jsp compiler can lose sometimes tag libraries it's precompiling. Next retry using exactly same pom can be successful. I get same results using command line and OEPE 12.1.1.0 mave(pom). My java options for maven package are(-Xmx1024m -Xms1024m -XX:PermSize=512m).
    When I get the error it's something like
    "Failed to execute goal com.oracle.weblogic:wls-maven-plugin:12.1.1.0:appc (default) on project ui_elements:
    There are 1 nested errors:
    weblogic.utils.compiler.ToolFailureException: jspc failed with errors :weblogic.servlet.jsp.CompilationException: naviButtons.tag:23:6: The tag handler class was not found "jsp_servlet._tags.__pagelink_tag".
    <T:pageLink url="${naviStatus.previousPage.linkUrl}"
    ^--------^
    naviButtons.tag:23:6: The tag handler class was not found "jsp_servlet._tags.__pagelink_tag".
    <T:pageLink url="${naviStatus.previousPage.linkUrl}"
    Failed to execute goal com.oracle.weblogic:wls-maven-plugin:12.1.1.0:appc (default) on project ui_elements:"
    Next unsuccessful compilation can mention different tags. Very irregular behavior.
    Do you have resolution?

  • Include a tag library

    I have a tag library for custom actions. The path is D:\Oracle\jdeveloper\lib\orataglib_1_0_3.jar.
    How can I include this lib in my jsp? I tryed it with the following tag
    <%@ taglib uri="D:/Oracle/jdeveloper/lib/orataglib_1_0_3.jar" prefix=" ora" %>
    But I get the error message "unable to load taghandler class: D:/Oracle/jdeveloper/lib...
    Whats wrong here?
    Every help is welcome.
    Kind regards
    Jan Rvtzer

    I believe the taglib file has to be somewhere within the document root of your web app (i.e., accessible through the web container as opposed to the file system). Also, the taglib uri points to the tld file, not the jar'ed java classes. The handler classed just have to be within the classpath of the web container.
    HTH
    John H.

  • The HTML:??? tag library in jdeveloper

    Dear sirs...
    in jdeveloper 10.1.2.0.0 , there is a UIX Html library that contains defferent html tags.
    Unfortenantly, i can not find that library in JDeveloper 10.1.2.1.0
    My questions are:
    1- how can i add UIX html library to the control pallete in jdeveloper 10g ?
    2- how can i make use of the tag <html:script> to write java scripts?
    thanks

    Are you talking about the struts html taglib?
    http://struts.apache.org/struts-doc-1.2.7/userGuide/struts-html.html

  • Custom Tag Library - error in IWS

    My environment: Solaris 2.7, IWS4.1 SP3.
    I currently try to run the Custom Tag Library example from IWS itself in
    server_root/plugins/samples/servlets/taglibs. I follow the instructions to
    config the IWS but fail to run the example. I turn on JSP debugging and
    find the following error messages:
    [12/Oct/2000:13:03:10] info (28609): Service(): uri=/jsps/test-tags.jsp
    cgiScriptName=/jsps/test-tags.jsp token=null cached=false
    [12/Oct/2000:13:03:10] info (28609): Internal Info: loading servlet
    /jsps/test-tags.jsp
    [12/Oct/2000:13:03:10] info (28609): JSP: This is a jsp 1.x file
    [12/Oct/2000:13:03:10] info (28609): JSP: Before JSP1x compiler.compile,
    servletName = /jsps/test-tags.jsp servletPath =
    /u01/devin/docs/jsps/test-tags.jsp & dir = ../ClassCache
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Package name is:
    jsps.jsps
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Class name is:
    test0002dtags_jsp
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Java file name is:
    /opt/netscape/server4/https-devin/config/../ClassCache/_jsps/_jsps/_test_000
    2dtags_jsp.java
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Class file name is:
    /opt/netscape/server4/https-devin/config/../ClassCache/_jsps/_jsps/_test_000
    2dtags_jsp.class
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace:
    Handling Directive: page {language=java}
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Accepted
    org.apache.jasper.compiler.Parser$Directive at /jsps/test-tags.jsp(0,0)
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace:
    Handling Directive: taglib {uri=/jsps/test-tags.jar, prefix=tt}
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Copying
    /jsps/test-tags.jar into
    /opt/netscape/server4/https-devin/config/../ClassCache//jsps/test-tags.jar
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Adding jar
    /opt/netscape/server4/https-devin/config/../ClassCache//jsps/test-tags.jar
    to my classpath
    [12/Oct/2000:13:03:10] info (28609): Aborting JVM
    [12/Oct/2000:13:03:10] info (28609): Exiting JVM due to: jvm_abort () and
    jvm.exitOnAbort > 0
    [12/Oct/2000:13:03:10] info (28609): JVM exit statistics:
    AttachedThreads/Max=1/1, ActiveThreads/Max=1/1
    [12/Oct/2000:13:03:11] info (28716): Initializing MMapSession Manager to
    hold a maximum of (1000) sessions, each of which can store a maximum of
    (100) values and no value size bigger than (1024) bytes, with a timeout
    value of (1800) seconds
    IWS keeps aborting JVM and one can see from the log that it abort jvm when
    trying to :
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Adding jar
    /opt/netscape/server4/https-devin/config/../ClassCache//jsps/test-tags.jar
    to my classpath
    [12/Oct/2000:13:03:10] info (28609): Aborting JVM
    I have tried another much simple Custome Tag Library example that only contain a simple tag that do output to page, but still getting the same error.

    I had the same issue with WAS 6.1.0.2. I do not have a solution, but a workaround. I hope the workaround I have works for you too.
    In my case, I have the TLD files deployed in a jar. So, the JSP 2.0 container is supposed to read those TLD files from the jar file. Since that was not happening, I extracted the TLD file from the jar file and placed it under my web project's WEB-INF folder.
    I restarted my server and after that it worked.
    Look at the IBM site to see if they have come up with a patch for WAS 6.0.
    Hope this helps.
    -Javier

Maybe you are looking for

  • Mapping ECC PO fields to R/3 PO fields

    Hi Experts, I was trying map ECC Po fields to R/3 fields which are not mapping in standard way automatically. Like Tracking No and Good Recipient name. I am using the BADI BBP_ECS_PO_OUT_BADI to map these fields. However i am able to map and see thos

  • Can I add a wifi network that is out of range - ipad 3 latest ios

    We bought an iPad for a relative for Christmas. We expect that it will be used lightly, mostly emails and games, as the user is not very "technically minded". The iPad links up fine to our wifi but before she returns home I wanted to set up her iPad

  • SD CARD DROID INCREDIBLE

    When I save say a wallpaper it says saved to SD Card om baclground directory.  My question is, how do I retrieve stuff off the card?  When I go to my wallpaper it does not show whats on the SD Card?

  • Netbeans 5.5 WebService Client - How do I pass a parameter to the service?

    I'm using Netbeans 5.5 and have generated a webservice client (JAX-WS 2.0) off of the existing WSDL. The webservice requires me to pass it some information. Per the generated code, it is expecting an EncryptedData object. The problem is, I have no id

  • Importing MPEG-2 With iMovie - JVC Everio

    I have two problems. 1. I cannot watch or edit my camcorder videos, which are mpeg-2 files with a .MOD attached to the end of the file. How do I watch these successfully? Should I download the codec for Quicktime despite the horrible reviews? 2. How