How to use framework tag libraries

i need to create a new masthead using framework tag libraries.i got the purpose of  that tag libraries from the help.sap.com site.
but i want some sample codes for the usage of that tags.i already have a masthead code using navigation tag libraries.can i make changes in that by using framework tags.if yes how and where to change.
or if u have any new solutions also please tell me.
if anyone has idea about it please share.
regards,
karthick

yes Mr.michael i checked with the help.sap.com site.but i cant get any sample code or solution.they have given the available tags and function of them in one line.no other details.
what u have given is a sample code for navigation tag libraries.i have it already.now i need a sample code with framework tag libraries.both have different functionalities i think so.if u find anything please send it.
thanks for ur reply.
regards,
karthick

Similar Messages

  • How to use HTML Tags in Smartforms

    Hi,
    Can you please help me out in knowing how to use HTML tags in Smartforms,
    suppose i want to display some text in BOLD i should use the tag </b> as shown
    </b>  Header Information <b>
    regards
    Ranveer

    Hi Ranveer ,
        check this following links,
      hope this wil helps you
    <a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/smartforms/smartform%20in%20abap.pdf">check this link,to know abt HTML in smartforms</a>
    rgds,
    shan

  • How to use standard tags in JSP

    Hi all,
    Just wanted to know how to use standard tags of endeca in JSP ... say for example to display Dimension Name using standard tags.
    Thanks
    --Sam                                                                                                                                                                                                                                                                                                                       

    i was just checking whether we can use endeca TAG'S ( typo mistake in my earlier post not the JSTL standard library )....in my JSP
    We cannot use endeca TAG ...as they are for different purpose.
    Sameer

  • How to use custome tag lib in the JSP page?

    How to use custome tag lib in the JSP page?...with JDeveloper

    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.2/state/content/navId.4/navSetId._/vtTopicFile.working_with_jsp_pages%7Cjsp_ptagsregistering~html/

  • How to use custom tag in jsp

    sir
    plz tell me how to use custom tag in jsp.plz describe it.
    i will be thankful to u

    Do you want to use taglibs or develop custom tags? Either way take a look at these:
    http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPTags.html
    http://www.stardeveloper.com/articles/display.html?article=2001081301&page=1
    http://www.onjava.com/pub/a/onjava/2000/12/15/jsp_custom_tags.html
    http://jakarta.apache.org/taglibs/tutorial.html
    http://www.ibm.com/developerworks/edu/j-dw-java-custom-i.html
    http://www.herongyang.com/jsp/tag.html

  • How to use HTML Tags in webdynpro java

    Hi,
         Can any body tell me how to use HTML Tags in webdynpro java.
    If u provide me with sample code it will become more usefull.
    Thanks & Regards,
    SN

    HI,
    Please find the steps:
    Create a html file and store in your webdynpro project
    Add the html contents in your file
    & Create a IFRAME UI element and refer you html file
    Now you able to see the html in webdynpro
    Thanks & Regards,
    Ram

  • How to use nested tag in Struts

    Hi..
    Can any one guide me how to use nested tag in Struts. So far i already tried bean tag with no error but when i try to use nested tag i got error like
    javax.servlet.ServletException: Cannot find bean: "" in any scope
    Below are my class:
    action class
    session.setAttribute ("MyDetailList", detailList);
    JSP page
    <logic:iterate id="list" name="MyDetailList">
    Company ID : <bean:write name="list" property="companyID" />
    </logic:iterate>
    For bean tag, i got no error at all and below are my code for nested tag
    action class
    session.setAttribute ("MyDetailList", detailList);
    JSP Page
    <nested:nest property="MyDetailList">
    Make : <nested:text property="make"/>
    Car ID : <nested:text property="carID"/>
    </nested:nest>
    When i run the code, i got error message
    javax.servlet.ServletException: Cannot find bean: "" in any scope
    Any body can help me?
    zul

    what am I doing wrong?You will notice above that I mentioned
    YOU CAN'T USE CUSTOM TAGS AS ATTRIBUTES TO OTHER CUSTOM TAGS
    (was that loud enough for you to notice this time)?
    Try
    <html:text styleId="instruction" styleClass="text" size="50" name="instruction" property="value"/>
    //or
    <html:text styleId="instruction" styleClass="text" size="50" property="instruction" value="<%= instruction.getValue() %>"/>
    better alternative: populate your formbean with your action and just have:
    <html:text styleId="instruction" styleClass="text" size="50" property="instruction"/>
    If you set the "instruction" property of your formBean in the action, the value will be automagically reflected here.
    Cheers,
    evnafets

  • Using BEA tag libraries for XML/XSL translation

    Hi, I am new to using XML within Weblogic and have been struggling with using the
    built in JSP tags to transform XML into HTML. When I try to display the jsp page,
    I get the following error message in the browser:
    Only one top level element is allowed in an XML document. Error processing resource
    'http://localhost:7001/plims/testXML.jsp'. Line 20, Position 12
    </style> script tag removed <!--- script language="javascript1.2"> -----------^
    Here is the jsp code :
    <%@ taglib uri="xmlx.tld" prefix="x"%>
    <%
    String myMedia = "html";
    String content = new String();
    %>
    <x:xslt media="<%=myMedia%>">
    <x:xml>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <tree> </tree>
    </x:xml>
    <x:stylesheet media="html" uri="qjTree.xsl"/>
    </x:xslt>
    I used the instructions on BEA's help docs to configure the app to use the tag
    libraries, but it didnt work.
    http://e-docs.bea.com/wls/docs70/xml/xml_apps.html#1082507
    I am using a very simple xml tree for now to keep things simple. Any helping in
    finding a solution would be much appreciated

    Make sure you have the tld files and all the related tag libraries
    available.
    SP
    "Rachel McCarthy" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hi, I am new to using XML within Weblogic and have been struggling withusing the
    built in JSP tags to transform XML into HTML. When I try to display thejsp page,
    I get the following error message in the browser:
    Only one top level element is allowed in an XML document. Error processingresource
    'http://localhost:7001/plims/testXML.jsp'. Line 20, Position 12
    </style> script tag removed <!--- scriptlanguage="javascript1.2"> -----------^
    >
    >
    >
    >
    Here is the jsp code :
    <%@ taglib uri="xmlx.tld" prefix="x"%>
    <%
    String myMedia = "html";
    String content = new String();
    %>
    <x:xslt media="<%=myMedia%>">
    <x:xml>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <tree> </tree>
    </x:xml>
    <x:stylesheet media="html" uri="qjTree.xsl"/>
    </x:xslt>
    I used the instructions on BEA's help docs to configure the app to use thetag
    libraries, but it didnt work.
    http://e-docs.bea.com/wls/docs70/xml/xml_apps.html#1082507
    I am using a very simple xml tree for now to keep things simple. Anyhelping in
    finding a solution would be much appreciated

  • How to handle external tag-libraries in JSPs using Oracle Stellent?

    I have already started the execution of JSP engine in Oracle Stellent, and also could run the sample Tomcat web-application and basic JSPs in Oracle UCM. What I need to do, is to customize my JSP to be able to show/hide some content using Oracle Stellent.
    I have a JSP, from web application, which is using some some tag-libraries from spring, etc.
    +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>+
    +<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>+
    +<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>+
    +<%@ taglib prefix="security"+
    uri="http://www.springframework.org/security/tags"%>
    +<%@taglib uri="http://www.springframework.org/tags" prefix="s"%>+
    +<%@ page import = "idcserver.*" %>+
    +<jsp:useBean id="sb" class="idcserver.ServerBean" />+
    +<%+
    sb.init(request);
    ....and so on
    I have checked in the above file, and when trying to preview in Oracle UCM, I get the following error:
    Content Server Request Failed
    +!csStellentTomcatErrorWhileProcessing,/idca/groups/jsp/documents/pix/11.jspThe absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application:org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application+
    at org.apache.jasper.compiler.DefaultErrorHandler.jspError(Unknown Source)
    at org.apache.jasper.compiler.ErrorDispatcher.dispatch(Unknown Source)
    at org.apache.jasper.compiler.ErrorDispatcher.jspError(Unknown Source)
    at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(Unknown Source)
    at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(Unknown Source)
    at org.apache.jasper.compiler.Parser.parseTaglibDirective(Unknown Source)
    at org.apache.jasper.compiler.Parser.parseDirective(Unknown Source)
    at org.apache.jasper.compiler.Parser.parseElements(Unknown Source)
    at org.apache.jasper.compiler.Parser.parse(Unknown Source)
    at org.apache.jasper.compiler.ParserController.doParse(Unknown Source)
    at org.apache.jasper.compiler.ParserController.parse(Unknown Source)
    at org.apache.jasper.compiler.Compiler.generateJava(Unknown Source)
    at org.apache.jasper.compiler.Compiler.compile(Unknown Source)
    at org.apache.jasper.compiler.Compiler.compile(Unknown Source)
    at org.apache.jasper.compiler.Compiler.compile(Unknown Source)
    at org.apache.jasper.JspCompilationContext.compile(Unknown Source)
    at org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
    at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
    at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
    at org.apache.catalina.core.StandardValveContext.invokeNext(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(Unknown Source)
    at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
    at org.apache.catalina.core.StandardValveContext.invokeNext(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
    at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
    at org.apache.catalina.core.StandardValveContext.invokeNext(Unknown Source)
    at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
    at org.apache.catalina.core.StandardValveContext.invokeNext(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
    at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
    at org.apache.catalina.core.StandardValveContext.invokeNext(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
    at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(Unknown Source)
    at tomcatprovider.StellentProtocol$StellentWorkThread.runIt(StellentProtocol.java:304)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:595)
    Edited by: 980473 on Jan 8, 2013 2:01 AM

    Hi ,
    Check if you have jstil.jar in WEB-INF/lib location , if missing manually add jstl.jar into WEB-INF/lib restart UCM Managed server .
    Hope this helps.
    Thanks,
    Srinath

  • How to use Flex tag library in jsp

    Hi All,
    We are planning to use flex in our J2EE application in order
    to show some charts. Our j2ee application is in JSP,Struts. I have
    searched on google about this and found that I can include flex 3
    tab library in the jsp in order to use mxml tag in the jsp. I have
    written a sample program in the jsp which uses flex.
    <%@ taglib uri="FlexTagLib" prefix="mm" %>
    <SCRIPT LANGUAGE="JavaScript">
    function showMessage() {
    message.value = "Use this application wisely";
    function hideMessage() {
    message.value = "";
    </SCRIPT>
    <mm:mxml border="5" onmouseover="showMessage();"
    onmouseout="hideMessage();">
    </mm:mxml>
    <TABLE>
    <TR>
    <TD><input type="text" name="message"
    size="50"></TD>
    </TR>
    </TABLE>
    I have added entry inweb.xml. See below,
    <taglib>
    <taglib-uri>FlexTagLib</taglib-uri>
    <taglib-location>/WEB-INF/tlds/flex-bootstrap.jar</taglib-location>
    </taglib>
    Following are the problems that I am currently facing.
    1) Could anybody let me know whether the entry of
    <taglib> tag is correct in the web.xml. Is it the correct
    jar(flex-bootstrap.jar) that I should include?
    2) If yes, from where to download it? or
    If no, what is correct jar that i should include and how?
    your response will be highly appriciated as this is the major
    requirement in our project?
    Thanks ,
    Chandan

    Hi,
    Pleas find details at the URL below.
    http://labs.adobe.com/wiki/index.php/Flex_2_Tag_Library_for_JSP
    Hope this helps.

  • Problem using JSTL tag libraries with OC4J 9.0.3

    Hi
    I'm using the JSTL tag libraries with OC4J 9.0.3. I'm using JDeveloper10.1.2. I put the fmt.tld and c.tld in the WEB-INF directory and I'm adding the jstl.jar and standard.jar library to the EAR file. Both tlds have:
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    And OC4J 9.0.3 is compatible with tlib version 1.0 and jsp version 1.2. When I run the web app I get:
    OracleJSP: oracle.jsp.parse.JspParseException: Line # 1, <%@ taglib uri="/WEB-INF/fmt.tld" prefix="fmt"%>
    Error: oracle.xml.parser.v2.XMLParseException ( /dataSource.jsp ):
    line #:1 column #:48 : FIXED type Attribute value not equal to the default value 'http://java.sun.com/xml/ns/j2ee'.
    line #:2 column #:18 : Attribute 'xmlns:xsi' used but not declared.
    line #:3 column #:19 : Attribute 'xmlns:acme' used but not declared.
    line #:4 column #:27 : Attribute 'xsi:schemaLocation' used but not declared.
    line #:7 column #:16 : Attribute 'version' used but not declared.
    line #:14 column #:15 : Invalid element 'tag-class' in content of 'tag', expected elements '[tagclass]'.
    line #:14 column #:15 : Element 'tag-class' used but not declared.
    line #:15 column #:18 : Invalid element 'body-content' in content of 'tag', expected elements '[tagclass]'.
    line #:15 column #:18 : Element 'body-content' used but not declared.
    line #:16 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:18 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    line #:18 column #:12 : Element 'type' used but not declared.
    line #:22 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:24 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    line #:24 column #:12 : Element 'type' used but not declared.
    line #:28 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:30 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    line #:30 column #:12 : Element 'type' used but not declared.
    line #:34 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:36 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    Any ideas?

    Hi
    Thanks for the reply.
    I tried it and I get the same error:
    OracleJSP: oracle.jsp.parse.JspParseException: Line # 1, <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>
    Error: oracle.xml.parser.v2.XMLParseException ( /dataSource.jsp ):
    line #:1 column #:48 : FIXED type Attribute value not equal to the default value 'http://java.sun.com/xml/ns/j2ee'.
    line #:2 column #:18 : Attribute 'xmlns:xsi' used but not declared.
    line #:3 column #:19 : Attribute 'xmlns:acme' used but not declared.
    line #:4 column #:27 : Attribute 'xsi:schemaLocation' used but not declared.
    line #:7 column #:16 : Attribute 'version' used but not declared.
    line #:14 column #:15 : Invalid element 'tag-class' in content of 'tag', expected elements '[tagclass]'.
    line #:14 column #:15 : Element 'tag-class' used but not declared.
    line #:15 column #:18 : Invalid element 'body-content' in content of 'tag', expected elements '[tagclass]'.
    line #:15 column #:18 : Element 'body-content' used but not declared.
    line #:16 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:18 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    line #:18 column #:12 : Element 'type' used but not declared.
    line #:22 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:24 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    line #:24 column #:12 : Element 'type' used but not declared.
    line #:28 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:30 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.
    line #:30 column #:12 : Element 'type' used but not declared.
    line #:34 column #:15 : Invalid element 'attribute' in content of 'tag', expected elements '[tagclass]'.
    line #:36 column #:12 : Invalid element 'type' in content of 'attribute', expected elements '[required, rtexprvalue]'.

  • How to use HTML tags inside JSF pages

    I am creating a Menu using dataTable and outputLink in a JSF page.
    <div class="bodyarea">
    <div id="location">
    <ol>
    <h:dataTable value="#{menuItem.breadCrumb}" var="bread" >
    <h:column>
    <li>
    <h:outputLink id="crumbID" value="#{bread.menuLink}">
    <h:outputText id="crumpName" value="#{bread.menuLabel}" style="width: 165px;"/>
    </h:outputLink>
    <li>
    </h:column>
    </h:dataTable>
    </ol>
    </div>
    </div>
    I want to use <li> HTML tag as shown in code above before and after every <tr> tag formed, but when i run it and see view source, this is how it shows:
    NOTE: you can see it has thrown out of <table> tag itself.
    <div class="bodyarea">
    <div id="location">
    <ol>
    <li>
    </li>
    <table>
    <tbody>
    <tr>
    <td><a id="_id0:0:crumbID" href="/eApps/admin/loginPage.jsp?MenuItem=-1"><span id="_id0:0:crumpName" style="width: 165px;">Home</span></a></td>
    </tr>
    <tr>
    <td><a id="_id0:1:crumbID" href="/eApps/admin/loginPage.jsp?MenuItem=3~-1"><span id="_id0:1:crumpName" style="width: 165px;">HIM Admin</span></a></td>
    </tr>
    </tbody>
    </table>
    </ol>
    </div>
    </div>
    Can some one help me, how do i use HTML tags inside <h:dataTable>.
    Or is their any other way i should form my Menus, to fully utilize to HTML tags.
    Thanks
    Ravi

    Hello,
    You can embed the verbatim elements in your datatable, ie,
    <h:dataTable value="#{menuItem.breadCrumb}" var="bread" >
      <h:column>
        <f:verbatim><li></f:verbatim>
        <h:outputLink id="crumbID" value="#{bread.menuLink}">
          <h:outputText id="crumpName" value="#{bread.menuLabel}" style="width: 165px;"/>
        </h:outputLink>
        <f:verbatim></li></f:verbatim>
      </h:column>
    </h:dataTable>

  • How to use html tags inside java

    I have to retrieve data from db and return the data to my index.jsp page.
    Its working fine.
    But I have o display in a pable format using html. How to embed html tags? I tried this way. Its not working. Any suggestions?
       String htmlOpen = "<html>";
        String htmlEnd = "</html>";
        String titleOpen ="<title>";
        String titleEnd ="</title>";
        String bodyOpen = "<body>";
        String bodyEnd = "</body>";
        for (int i = 1; i <= cols;i++){
            output = output + rsmd.getColumnName(i);
         while (rst.next()) {
            for (int i = 1; i <= cols;i++){
                      output = output +rst.getString(i);
      result = htmlOpen + titleOpen + titleEnd + bodyOpen + output+ bodyEnd + htmlEnd;
        stmt.close();
        conn.close();
         return htmlOpen;
      }

    See those charcters in your JSP that look like "<%"? Those characters mean: "the code after this is Java - interpret it as such".
    Then when you close your Java block with "%>", it then means: "the code after this is html - output it to the request response that is being built. However, within the html code, the syntax "<%= java_variable_name %>" means "take the current value of that Java variable and insert it into the html output".
    Here's an example:
    %>
    <table cellspacing="2" cellpadding="2" border="1">
    <tr>
    <%
        String s = null;
        for (int i = 1; i <= ncol; i++)
          s = rsmd.getColumnName(i);
    %>
      <th nowrap><A HREF="<%=sortLink.toString()%>&sortby=<%=s%>"><%= s %></th>
    <%
    %>
    </tr>
    <%
        if (rs == null || numRows <= 0)
          %><tr><td colspan="10" nowrap>No data available for specified query.</td></td><%
        else
          int rowCounter = 0;
          while(rs.next() && rowCounter < PAGE_SIZE)
            rowCounter++;
    %>
      <tr><%
            for (int i = 1; i <= ncol; i++)
              s = rs.getString(i);
              if (rsmd.getColumnName(i).equalsIgnoreCase("password"))
                    %><td nowrap>********</td>
    <%
              else
                %><td nowrap><%= s %></td>
    <%
            %></tr><%
    %>
    </table>This is JSP 101, what they teach in the first hour of class...
    Here's a decent JSP tutorial:
    http://www.jsptut.com/

  • How to learn standard tag libraries

    hello sir
    i m new to standard tag libraries and dont know that how to proceed plz help me out that how to proceed and if possible then plz give the the link of some good study material....
    thank you
    gaurav

    Did it ever occur to you that there are (online) shops with those big paper like bricks, which have words in them? They are called books, and if you read them knowledge will lodge itself into your brain if you will let it.
    Don't be cheap, buy a book!

  • How to USE Display Tag in my jsp pageInMy JDBC program in NetBeans 5

    I want my program 2 fetch Data from the database and display in the nice format provided by the Display Tags.. I have simple JSP pages, without using any Beans. I m running netBeans 5.
    What is the Solution to display my Table data in JSP display Tags facility.
    reply soon ...
    tht help me a lot

    Hello,
    I am not sure how far you got with this display tag. I had issues added the displaytag lib and the dependencies to my library. On the right-hand side of Netbeans, under Project, under the war directory of the application, I was able to add the libraries to my project. It stop some errors I have been having for so long.
    Still, I am not able to display my data using display. How far this you did with this project? Have you resolve the problem so far. I know it's been a long time.
    Thanks
    eve

Maybe you are looking for