Custom tag and JSP = getOutputStream error

Hi guys. I have a custom authorization tag as follows:
package tags;
import stuff;
public class AuthenticatedTag extends TagSupport {
     public int doStartTag() throws JspException {
          try {
               pageContext.forward("login.htm");
          } catch (Exception e) {
               e.printStackTrace();
          return EVAL_PAGE;
     public int doEndTag() throws JspException {
          return EVAL_PAGE;
}and a jsp page using this tag:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" errorPage="error.jsp" %>
<%@ taglib uri="/WEB-INF/tags.tld" prefix="tags" %>
<tags:myauth />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>stuff
</body>
</html>When I point my browser to this jsp I get:
org.apache.jasper.JasperException: getOutputStream() has already been called for this response
     org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:476)     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:383)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
Any ideas of what could be wrong? thx

If you forward to the login.htm page, you should stop the rest of the current page evaluating. Just because you forwarded it, doesn't stop the flow of control in this page. It is trying to evaluate both the current page and the one that you forwarded to. You can only send one response
Returning SKIP_PAGE from the doEndTag function should do the trick.
I'm not sure that returning EVAL_PAGE or SKIP_PAGE from the doStartTag is legal. It should return SKIP_BODY or one of the EVAL_BODY options.
In fact I think the whole thing should probably be done in the doEndTag for that reason.
package tags;
import stuff;
public class AuthenticatedTag extends TagSupport {
     public int doEndTag() throws JspException {
          try {
               pageContext.forward("login.htm");
                        return SKIP_PAGE
          } catch (Exception e) {
               e.printStackTrace();
          return EVAL_PAGE;
}I presume you will be putting in some sort of check to see if you should forward to login.html instead of evaluating the current page?
Just as an alternative suggestion, a better way IMO is to implement this sort of logic as a filter, rather than putting a tag on a JSP page.
Cheers,
evnafets

Similar Messages

  • Custom Tag and Attribute Not Found

    Hi,
    I've been getting an error with the following code in a JSP called cardDeclined.jsp...
    <gwps:log level="ERROR" message="<%= request.getAttribute("errorMessage") %>" />gwps:log is a custom tag and errorMessage is a request attribute set in a servlet that includes my JSP. When I execute the program, I get a message from the servlet container (Tomcat 3.2.3) stating that "attribute 'errorMessage' has no value".
    I wrote some test code that dumps out "errorMessage"; that seemed to work. The JSP request object has a value for "errorMessage." So, I now use the following workaround...
    <% String message = (String)request.getAttribute("errorMessage"); %>
    <gwps:log level="ERROR" message="<%= message %>" />I'm looking for a reference describing how request and session variables can be passed to the custom tag
    Thanks,
    CW

    I think you might be having a problem with the quotes. Try this instead:
    <gwps:log level="ERROR" message='<%= request.getAttribute("errorMessage") %>' />
    Notice the single quotes around the scriptlet.

  • 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

  • Difference b/w a custom tag and cfinclude

    Hi,
    can anyone pls describe the difference between a cold fusion
    custom tag and cfinclude. Or how they are processed in the server?
    While we use the custom tag it nearly functions same as
    cfinclude....i can't think of any ...

    ajithmanmu wrote:
    > Hi,
    > can anyone pls describe the difference between a cold
    fusion custom tag and
    > cfinclude. Or how they are processed in the server?
    While we use the custom tag
    > it nearly functions same as cfinclude....i can't think
    of any ...
    >
    <cfinclude...> does just that. It logically includes
    the code in the
    current template to be parsed at that point and time. With
    <cfinclude...> the code exists in the same scope is the
    entire template
    sharing all variables.
    A custom tag is a separate template with it's own local
    variables as
    well as start and end states that can be used to create much
    more
    sophisticated interactions. One thing that a custom tag can
    do that an
    include can not do is reiteration, where a tag can
    dynamically call itself.

  • JSP Custom Tag and Expressions for parameters

    This should be an easy question. I am trying to use an expression for a
              parameter to a jsp or custom jsp tag. When I hard code a value for the
              parameter, the tag works fine but when I use the expression, the expression
              gets evaluated but the tag itself does not resulting in the tag being shown
              in my output.
              For example:
              <jsp:forward page="www.slashdot.org"/> works
              <jsp:forward page="<%=request.getParameter("DESTINATION")%>"/>
              places the following into my html output
              <jsp:forward page="www.slashdot.org"/>
              Can someone please tell me what I am doing wrong or at least offer some
              debugging hints?
              Thanks in advance!
              Jacob Meushaw
              

    I have experienced almost this exact same problem, but with a custom
              tag. And I did make sure that my attribute specified
              <rtexprvalue>true</rtexprvalue>. Here is the weird part.
              If I do the following JSP code everything works fine:
              <% String foo = request.getParameter("bar"); %>
              <mytag:custom param="<%= foo %>"/>
              But if I do this:
              <mytag:custom param="<%= request.getParameter("bar") %>"/>
              I get the following in my html output:
              <mytag:custom param="whatever bar is set to in the request"/>
              It appears that the JSP container only does a one pass evaluation.
              Is this the spec of is this a bug?
              Jacob Meushaw wrote:
              >
              > This should be an easy question. I am trying to use an expression for a
              > parameter to a jsp or custom jsp tag. When I hard code a value for the
              > parameter, the tag works fine but when I use the expression, the expression
              > gets evaluated but the tag itself does not resulting in the tag being shown
              > in my output.
              >
              > For example:
              >
              > <jsp:forward page="www.slashdot.org"/> works
              >
              > <jsp:forward page="<%=request.getParameter("DESTINATION")%>"/>
              > places the following into my html output
              > <jsp:forward page="www.slashdot.org"/>
              >
              > Can someone please tell me what I am doing wrong or at least offer some
              > debugging hints?
              >
              > Thanks in advance!
              >
              > --
              > Jacob Meushaw
              Jeff Smith
              [email protected]
              BEA Systems, Inc.
              720-565-6613
              

  • Problem using Custom tag in JSP

    Iam facing problem when i am deploying my files on j2ee 1.4 server it give following erroer::
    my .tld file and jsp are given below
    any body can help me;
    mytaglib.tld file:
    <<?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//
    DTD JSP Tag Library 1.1//EN"
    "http://java.sun.com/j2ee/dtds/
    web-jsptaglibrary_1_1.dtd">
    <!-- a tag library descriptor -->
    <taglib>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>first</shortname>
    <uri></uri>
    <info>A simple tab library for the
    examples</info>
    <tag>
    <name>hello</name>
    <tagclass>tags.HelloTag</tagclass>
    <bodycontent>empty</bodycontent>
    <info>Say Hi</info>
    </tag>
    </taglib>
    MY JSP file :::
    <%@ taglib uri="/WEB-INF/mytaglib.tld"
    prefix="first" %>
    <HTML>
    <HEAD>
    <TITLE>Hello Tag</TITLE>
    </HEAD>
    <BODY bgcolor="#ffffcc">
    <B>My first tag prints</B>:
    <first:hello/>
    </BODY>
    </HTML>
    Error :::
    org.apache.jasper.JasperException: Unable to initialize TldLocationsCache: XML parsing error on file /WEB-INF/mytaglib.tld: (line 1, col 2)
         org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:218)
         org.apache.jasper.compiler.TldLocationsCache.getLocation(TldLocationsCache.java:188)
         org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:515)
         org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:460)
         org.apache.jasper.compiler.Parser.parseDirective(Parser.java:526)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1617)
         org.apache.jasper.compiler.Parser.parse(Parser.java:174)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:244)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:146)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:132)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:245)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:462)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:448)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:551)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:300)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:284)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:306)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:200)

    thanks for reply it still giving error :
    org.apache.jasper.JasperException: Unable to initialize TldLocationsCache: XML parsing error on file /WEB-INF/mytaglib.tld
         org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:218)
         org.apache.jasper.compiler.TldLocationsCache.getLocation(TldLocationsCache.java:188)
         org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:515)
         org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:460)
         org.apache.jasper.compiler.Parser.parseDirective(Parser.java:526)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1617)
         org.apache.jasper.compiler.Parser.parse(Parser.java:174)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:244)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:146)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:132)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:245)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:462)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:448)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:551)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:300)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:284)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:306)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:200)

  • Passing params to custom tag from jsp

    Hi all, I have a problem passing params back to my custom tag. The tag handler has a "getPageNumber()" method which returns a value. Initially the value is set and if a link is clicked it passes that param to the tag handler. I am trying to get this value from the tag handler to update the value on the link parameter.
    Something like this:
    // processed tag
    <a href="mypage.jsp?page=1">Next page</a>
    // clicking "Next Page"
    <a href="mypage.jsp?page=2">Next page</a>
    // jsp
    <taglib:tag param="<%=getPageNumber()%>"  />
    // in tag lib
    private pagenumber=1;
                pagenumber++;
    getPageNumber(){
    return pagenumber;
    setPageNumber(int pagenumber){
       this.pagenumber=pagenumber
    }I'm not sure if this is the best way to do this or if what I am trying to do is even possible.
    Any advice would be greatly appreciated.
    Thanks :)

    Hi all, I have a problem passing params back to my custom tag. The tag handler has a "getPageNumber()" method which returns a value. Initially the value is set and if a link is clicked it passes that param to the tag handler. I am trying to get this value from the tag handler to update the value on the link parameter.
    Something like this:
    // processed tag
    <a href="mypage.jsp?page=1">Next page</a>
    // clicking "Next Page"
    <a href="mypage.jsp?page=2">Next page</a>
    // jsp
    <taglib:tag param="<%=getPageNumber()%>"  />
    // in tag lib
    private pagenumber=1;
                pagenumber++;
    getPageNumber(){
    return pagenumber;
    setPageNumber(int pagenumber){
       this.pagenumber=pagenumber
    }I'm not sure if this is the best way to do this or if what I am trying to do is even possible.
    Any advice would be greatly appreciated.
    Thanks :)

  • Calling jsp custom tag from jsp expression

    hi there,
    I have a problem calling oracle(or any other) custom tag from inside a jsp expression.(i.e.)embeding <jbo:tagname...> into <%......%>.
    For example:
    I need to get the value of a jsp parameter, but the parameter name is dynamic (retrieved from a DataBase)
    So I though it would be something link that:
    <%=request.getParameter(<jbo:ShowValue datasource="ds" dataitem="ParamName" ></jbo:ShowValue>) %>
    where <jbo:ShowValue is an Oracle custom tab that retrieves the value of a certain dataItem(certain field).
    But it does not work.........
    if any body can tell me how to overcome, or work around it, I'll be so pleased.
    Regards,
    Remoun Anwar

    Hi,
    You get the custom tag output into a hidden variable (say 'key') and use the request.getParameter("key")
    Hope u got the answer...
    Regards
    ravi

  • Custom Tag and CFC : Nate Weiss

    Hi,
    being a beginner I'm trying with some marginal degree of
    success to understand CFC's and Custome Tags.
    In the CFMX7 W.A.C.K. There is an example shopping cart. This
    start off as a basic affair then expands into more object based
    principles using a custom tag add products to the cart
    (ShoppingCart.cfc) and later on the same page uses a custome Tag to
    display the cart items, calling it once for each item to display.
    I am using the MVC structure under Fusebox 4, so this method
    of using the same template, (reloading etc) is alien to me as with
    MVC you usually have the data type intructions in different files
    (anyway, I digress)
    Now that I have the thing adding products and generally
    working with my "shop", I thought about having a "special offer"
    facility. With these "Hot Deals" being stored in another database
    table, with their productID and new price.
    However, obviously the shopping cart needs to be made aware
    of this. With I would have thought an extra variable in the array
    telling the custom tag to retrieve the special price and the
    product information using a diufferent inner join query to normal.
    I have attemtped this by adding an additional URL parameter
    thus /..../HSOP/Y ("Has Special Offer Price" being set to "Y")
    When this reloads the page the CFC invoke is set thus
    <CFIF IsDefined("URL.HSOP") AND #URL.HSOP# EQ "Y">
    <CFINVOKE
    COMPONENT="#SESSION.MyShoppingCart#"
    METHOD="Add"
    MERCHID="#URL.AddMerchID#"
    SOPH="Y">
    <cfelse>
    This successfully passes
    Add(SOPH = Y, MERCHID = xxxx)
    to the CFC. However I get this error......,
    ..................Element SOPH is undefined in ARGUMENTS.
    the CFC simpley isnt adding the new variable to the array...
    I think... it wont do a CFDump so there is no way of telling
    <CFFUNCTION
    NAME="Add"
    HINT="Adds an item to the shopping cart">
    <!--- Three Arguments: MerchID, Quantity and SOPH (flag
    to state if there is a special price) --->
    <CFARGUMENT NAME="MerchID" TYPE="numeric"
    REQUIRED="Yes">
    <CFARGUMENT NAME="Quantity" TYPE="numeric" REQUIRED="No"
    DEFAULT="1">
    <CFARGUMENT NAME="SOPH" type="string">
    <!--- Get structure that represents this item in cart,
    --->
    <!--- then set its quantity to the specified quantity
    --->
    <CFSET CartItem = GetCartItem(MerchID)>
    <CFSET CartItem.Quantity = CartItem.Quantity +
    Arguments.Quantity>
    <CFSET CartItem.SOPH = Arguments.SOPH>
    </CFFUNCTION>
    I cant see why this wouldn't create the variable
    "CartItem.SOPH" and set it to "Y" as passed to it.
    I notice the CFC performs an iteration of sorts to put the
    cart items into an array. But I'm afraid I cant fathom what this
    problem might be.
    Any ideas. I have attached the whole CFC code (post editing
    by me)
    MAny thanks and Happy new Year

    Hi,
    As for me, I am testing the related pdf-417 barcode scanner these days. Do you have any ideas about it? Or any good suggestion? I am totally a green hand on barcode field. Any suggestion will be appreciated. Thanks in advance.
    Best regards,
    Arron

  • Between custom tag and scriptlets

    Hi,
    Is it possible to choose between executing a custom tag or a scriptlet based on a jsp variable? I mean to do something like--
    <%
    if(condition is true)
    custom tag execution
    else
    some normal jsp code
    continue after if
    %>

    You could do something like this...
    In your tag class code, based on a condition, you could execute some code in your tag class (and do not include the tag body upon returning). If the condition is not met, then you could simply return from the tag, and execute the body of the tag (which would be the JSP code).

  • Custom Tags in JSP

    I am new to using custom tags. Is there a nice book or site which I could read on custom tags.
    Also, I kind of understand custom tags but not completely confident.
    I have a JSP that uses two custom tags, flight and segment. Basically, goes through each segment with flight tag and prints out attribute of segment with Segment tag. The code looks like this.
    <flifo:flight isParent="true" fromParent="true" >
              <td bgcolor="<%=bgcolor%>" width="94" valign="top" class="t7">
                        <%-- Print FLIGHT NUMBER --%>
                   Flight
                        <b><flifo:segment fromParent="true" attribute="flight_num" /></b>
                        <br>
    </flifo:flight>
    In the above code I just have flight_num but there are other attributes that it prints out. I want to check an attribute in segment and if it is ture then display some of the tags. How can I do it?

    This has helped me a lot in the past:
    http://java.sun.com/developer/Books/javaserverpages/cservletsjsp/chapter14.pdf
    ... and the book it's extracted from is very good too.

  • Urgent-how to access custom tag from jsp tag

    I have a problem accessing a custom tag from a jsp expression.
    Details: I have a custom tag that returns a string variable. I need to access that variable from jsp expression <%%>.
    Can any body help me?

    Tags don't "return" values as in the normal sense.
    They can only support TEI (Tag Extra Information) that just stuffs a declared variable into the page's state.
    For example, if the tag class had a public method called getValue(), you could do the following:
    <xmp:mytag id="foo"/>
    <%
    out.println("value is " + foo.getValue());
    %>

  • HTMLEditorKit, Custom Tags and CSS???

    I have an editor that will allow the user to insert merge fields. The document is in HTML and the editor supports basic document styling (bold, italics, etc).
    For the merge fields I would like to use either a custom tag or a generic tag like span. Unfortunately, HTMLEditorKit only supports HTML 3.2 (which does not contain the span tag). How can I create a custom tag called "merge"?
    Once I've created my custom tag, will the Cascading Style Sheet support in Java allow something like "merge {color: red}"?
    Any help of suggestions would be greatly appreciated!
    -- John

    Hi John,
    I'm trying to do the same thing (an editor for document containing merge fields...)
    For your first problem, I used the var tag which is not very used but exists in HTML 3.2 !
    And yes: HTMLDocument support CSS
    Since June, I think you've finded a solution
    If you success in creating a custom tag, please explain to me how do you make...
    my e-mail is [email protected]
    Thanks
    Luc

  • Adding custom tags and extend ParserDelegator and DTD support problem!!

    Hi all, I searched all forums and google for information about this problem but I did not find any clear solution or example.
    The probem stared when HTMLEditorKit's insertHTML method did not worked for custom tags.
    I extended javax.swing.text.html.parser.ParserDelegator class
    and override it's setDefaultDTD() method, which loads the default dtd (html32 definition). After the dtd field is created it I call this method:
              javax.swing.text.html.parser.Element element = _dtd.defineElement(
                  "template", javax.swing.text.html.parser.Element.SYSTEM, false, false,
                  null, null, null,
                  new AttributeList("value"));where _dtd is instance of DTD class in the same package, and "template" is the name of my custom tag.
    (if i define the element's type as CONTENT instead of SYSTEM the parser removes it)
    So after this,i see that my new tag is in DTD.elements vector and DTD.elementHash hastable, so its defined in DTD structures.
    The problem is that I have to redefine most element's ContentModel field "content" so that the parser will parse correctly the html source.
    Here is the tracing of DTD.elements vector default contents + template tag.Sorry for the long text but i just want to be clear
    Index i 0 element name #pcdata type 19 content null
    Index i 1 element name html type 18 content (head , body , plaintext?)
    Index i 2 element name meta type 17 content null
    Index i 3 element name base type 17 content null
    Index i 4 element name isindex type 17 content null
    Index i 5 element name head type 18 content (title? & isindex? & base? & nextid?)
    Index i 6 element name body type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | address | frameset | noframes | nohotjava | animate)*
    Index i 7 element name applet type 18 content ((p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)* | h1 | h2 | h3 | h4 | h5 | h6 | input | select | textarea | tr | td)*
    Index i 8 element name param type 17 content null
    Index i 9 element name p type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 10 element name title type 18 content (#pcdata*)*
    Index i 11 element name style type 18 content (#pcdata*)*
    Index i 12 element name link type 17 content null
    Index i 13 element name plaintext type 1 content null
    Index i 14 element name nextid type 17 content null
    Index i 15 element name script type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | address | frameset | noframes | nohotjava | animate)*
    Index i 16 element name h1 type 18 content (img | br | hr | center | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 17 element name h2 type 18 content (img | br | hr | center | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 18 element name h3 type 18 content (img | br | hr | center | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 19 element name h4 type 18 content (img | br | hr | center | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 20 element name h5 type 18 content (img | br | hr | center | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 21 element name h6 type 18 content (img | br | hr | center | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 22 element name ul type 18 content (p | br | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | ol | ul | li)*
    Index i 23 element name ol type 18 content (p | br | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | ol | ul | li)*
    Index i 24 element name dir type 18 content (ul | ol | dir | menu | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | li)*
    Index i 25 element name menu type 18 content (ul | ol | dir | menu | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | li)*
    Index i 26 element name pre type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 27 element name xmp type 1 content null
    Index i 28 element name listing type 1 content null
    Index i 29 element name dl type 18 content (p | dl | dt | dd)*
    Index i 30 element name div type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | address | frameset | noframes | nohotjava | animate)*
    Index i 31 element name center type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | address | frameset | noframes | nohotjava | animate)*
    Index i 32 element name blockquote type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | address | frameset | noframes | nohotjava | animate)*
    Index i 33 element name form type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | address | frameset | noframes | nohotjava | animate)*
    Index i 34 element name hr type 17 content null
    Index i 35 element name table type 18 content (tr | caption)*
    Index i 36 element name object type 18 content (param | (h1 | h2 | h3 | h4 | h5 | h6 | (p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)* | address)* | input | select | textarea)*
    Index i 37 element name tt type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 38 element name i type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 39 element name b type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 40 element name u type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 41 element name strike type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 42 element name s type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 43 element name big type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 44 element name small type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 45 element name sub type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 46 element name sup type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 47 element name em type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 48 element name strong type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 49 element name dfn type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 50 element name code type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 51 element name samp type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 52 element name kbd type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 53 element name var type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 54 element name cite type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 55 element name a type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | h1 | h2 | h3 | h4 | h5 | h6 | pre)*
    Index i 56 element name img type 17 content null
    Index i 57 element name font type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 58 element name basefont type 17 content null
    Index i 59 element name br type 17 content null
    Index i 60 element name map type 18 content (base | area)*
    Index i 61 element name nobr type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)+
    Index i 62 element name wbr type 17 content null
    Index i 63 element name blink type 19 content null
    Index i 64 element name input type 17 content null
    Index i 65 element name select type 18 content (option+)
    Index i 66 element name textarea type 18 content (#pcdata*)*
    Index i 67 element name address type 18 content ((#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea) | p)*
    Index i 68 element name frameset type 18 content (frameset | frame | noframes)*
    Index i 69 element name noframes type 1 content null
    Index i 70 element name nohotjava type 1 content null
    Index i 71 element name animate type 1 content null
    Index i 72 element name tr type 18 content (td | th | script | map)*
    Index i 73 element name td type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | address | frameset | noframes | nohotjava | animate)*
    Index i 74 element name area type 17 content null
    Index i 75 element name option type 18 content (#pcdata*)*
    Index i 76 element name dt type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 77 element name dd type 18 content (p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 78 element name li type 18 content ((p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)* | h1 | h2 | h3 | h4 | h5 | h6)*
    Index i 79 element name caption type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | address | frameset | noframes | nohotjava | animate)*
    Index i 80 element name frame type 17 content null
    Index i 81 element name th type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | address | frameset | noframes | nohotjava | animate)*
    Index i 82 element name template type 17 content null
    Can anyone plase give me advice how i can add my custom tag in this ContentModel structures for example as a content of "p" element
    I must do this for most structure elements.
    Or tell me any other way i can achieve the solution of my problem.
    A lot of topics here are still opened for solution for similar problems.
    and hope that there is any solution for my problem 'cause its urgent.
    Thanks in advance.
    Nenko Ivanov

    Hi all, I searched all forums and google for information about this problem but I did not find any clear solution or example.
    The probem stared when HTMLEditorKit's insertHTML method did not worked for custom tags.
    I extended javax.swing.text.html.parser.ParserDelegator class
    and override it's setDefaultDTD() method, which loads the default dtd (html32 definition). After the dtd field is created it I call this method:
              javax.swing.text.html.parser.Element element = _dtd.defineElement(
                  "template", javax.swing.text.html.parser.Element.SYSTEM, false, false,
                  null, null, null,
                  new AttributeList("value"));where _dtd is instance of DTD class in the same package, and "template" is the name of my custom tag.
    (if i define the element's type as CONTENT instead of SYSTEM the parser removes it)
    So after this,i see that my new tag is in DTD.elements vector and DTD.elementHash hastable, so its defined in DTD structures.
    The problem is that I have to redefine most element's ContentModel field "content" so that the parser will parse correctly the html source.
    Here is the tracing of DTD.elements vector default contents + template tag.Sorry for the long text but i just want to be clear
    Index i 0 element name #pcdata type 19 content null
    Index i 1 element name html type 18 content (head , body , plaintext?)
    Index i 2 element name meta type 17 content null
    Index i 3 element name base type 17 content null
    Index i 4 element name isindex type 17 content null
    Index i 5 element name head type 18 content (title? & isindex? & base? & nextid?)
    Index i 6 element name body type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | address | frameset | noframes | nohotjava | animate)*
    Index i 7 element name applet type 18 content ((p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)* | h1 | h2 | h3 | h4 | h5 | h6 | input | select | textarea | tr | td)*
    Index i 8 element name param type 17 content null
    Index i 9 element name p type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 10 element name title type 18 content (#pcdata*)*
    Index i 11 element name style type 18 content (#pcdata*)*
    Index i 12 element name link type 17 content null
    Index i 13 element name plaintext type 1 content null
    Index i 14 element name nextid type 17 content null
    Index i 15 element name script type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | address | frameset | noframes | nohotjava | animate)*
    Index i 16 element name h1 type 18 content (img | br | hr | center | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 17 element name h2 type 18 content (img | br | hr | center | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 18 element name h3 type 18 content (img | br | hr | center | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 19 element name h4 type 18 content (img | br | hr | center | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 20 element name h5 type 18 content (img | br | hr | center | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 21 element name h6 type 18 content (img | br | hr | center | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 22 element name ul type 18 content (p | br | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | ol | ul | li)*
    Index i 23 element name ol type 18 content (p | br | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | ol | ul | li)*
    Index i 24 element name dir type 18 content (ul | ol | dir | menu | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | li)*
    Index i 25 element name menu type 18 content (ul | ol | dir | menu | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | li)*
    Index i 26 element name pre type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 27 element name xmp type 1 content null
    Index i 28 element name listing type 1 content null
    Index i 29 element name dl type 18 content (p | dl | dt | dd)*
    Index i 30 element name div type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | address | frameset | noframes | nohotjava | animate)*
    Index i 31 element name center type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | address | frameset | noframes | nohotjava | animate)*
    Index i 32 element name blockquote type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | address | frameset | noframes | nohotjava | animate)*
    Index i 33 element name form type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | address | frameset | noframes | nohotjava | animate)*
    Index i 34 element name hr type 17 content null
    Index i 35 element name table type 18 content (tr | caption)*
    Index i 36 element name object type 18 content (param | (h1 | h2 | h3 | h4 | h5 | h6 | (p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)* | address)* | input | select | textarea)*
    Index i 37 element name tt type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 38 element name i type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 39 element name b type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 40 element name u type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 41 element name strike type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 42 element name s type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 43 element name big type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 44 element name small type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 45 element name sub type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 46 element name sup type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 47 element name em type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 48 element name strong type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 49 element name dfn type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 50 element name code type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 51 element name samp type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 52 element name kbd type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 53 element name var type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 54 element name cite type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 55 element name a type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | h1 | h2 | h3 | h4 | h5 | h6 | pre)*
    Index i 56 element name img type 17 content null
    Index i 57 element name font type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | center | p | dl | ul | ol)*
    Index i 58 element name basefont type 17 content null
    Index i 59 element name br type 17 content null
    Index i 60 element name map type 18 content (base | area)*
    Index i 61 element name nobr type 18 content (#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)+
    Index i 62 element name wbr type 17 content null
    Index i 63 element name blink type 19 content null
    Index i 64 element name input type 17 content null
    Index i 65 element name select type 18 content (option+)
    Index i 66 element name textarea type 18 content (#pcdata*)*
    Index i 67 element name address type 18 content ((#pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea) | p)*
    Index i 68 element name frameset type 18 content (frameset | frame | noframes)*
    Index i 69 element name noframes type 1 content null
    Index i 70 element name nohotjava type 1 content null
    Index i 71 element name animate type 1 content null
    Index i 72 element name tr type 18 content (td | th | script | map)*
    Index i 73 element name td type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | address | frameset | noframes | nohotjava | animate)*
    Index i 74 element name area type 17 content null
    Index i 75 element name option type 18 content (#pcdata*)*
    Index i 76 element name dt type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 77 element name dd type 18 content (p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)*
    Index i 78 element name li type 18 content ((p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea)* | h1 | h2 | h3 | h4 | h5 | h6)*
    Index i 79 element name caption type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | address | frameset | noframes | nohotjava | animate)*
    Index i 80 element name frame type 17 content null
    Index i 81 element name th type 18 content (h1 | h2 | h3 | h4 | h5 | h6 | p | ul | ol | dir | menu | pre | xmp | listing | plaintext | dl | div | center | blockquote | form | isindex | hr | table | object | #pcdata* | tt | i | b | u | strike | s | big | small | sub | sup | em | strong | dfn | code | samp | kbd | var | cite | a | img | applet | object | font | basefont | br | script | map | nobr | wbr | blink | input | select | textarea | address | frameset | noframes | nohotjava | animate)*
    Index i 82 element name template type 17 content null
    Can anyone plase give me advice how i can add my custom tag in this ContentModel structures for example as a content of "p" element
    I must do this for most structure elements.
    Or tell me any other way i can achieve the solution of my problem.
    A lot of topics here are still opened for solution for similar problems.
    and hope that there is any solution for my problem 'cause its urgent.
    Thanks in advance.
    Nenko Ivanov

  • How to Import Custom Views and JSPs to ALBPM Enterprise

    Hi,
    I am using ALBPM 5.7. I have developed a custom view in Studio. When I publish and Deploy the Project in ALBPM Enterprise (WebLogic 9.2), I check true the Import Custom JSPs and Views (or similar terminology). But when I login to the portal after installing the EAR, the view is not listed in my work pane.
    Also, in one of the Interactive Activity I am calling a JSP, which gives a Null Pointer Exception when execute the instance, In my opinion, the Custom JSP is not deployed.
    I have also copied the JSP file in location \bea\ALPBM5.7\j2eewl\webapps\portal\customjsp\
    Please suggest as how do I deploy the View and JSP
    Thank you,
    Regards
    Jayant
    Edited by jayantbit at 06/19/2008 8:01 AM
    Edited by jayantbit at 06/19/2008 8:21 AM

    Hi Mohamed,
    Please check below link.
    What is Drag and Relate in SAP Business One - YouTube
    https://help.sap.com/saphelp_sbo882/helpdata/en/45/100314cf465d7ae10000000a11466f/content.htm
    https://help.sap.com/saphelp_sbo882/helpdata/en/45/10ff71cf465d7be10000000a11466f/content.htm
    SAP - SAP Business One: Your Solution for Generating Custom Reports
    Hope this helps
    Regards::::
    Atul Chakraborty

Maybe you are looking for

  • How to delete conext entries in JNDI tree after undeployment?

    Hi, When I deploy an EAR or JAR file with EJBs, they bind in the JNDI server. When I undeploy the application the beans are no longer bound to the JNDI tree, but the contexts they created remain. For example, I deploy a bean that binds its home objec

  • MAC strange wireless problem

    I think I might have a rather unusual issue. The problem is that my Macbook Pro (Lion osx) is not able to connect wirelessly to my Photosmart B109n. I can only connect via the usb cable. I am sharing the printer with two other laptop users(both windo

  • EMac w/external mirror monitor shows dual images

    Help! I am confused! I have an older monitor that I plugged into my eMac, hoping to have it mirror what is on the eMac monitor, it works, but there are two indentical images on the external monitor, right beside one another... Using the same adapter

  • How to use JDBC to connect Oracle databse

    Hi I try to connect the oracle databse by using JDBC. But I not sure whether is it correct or not because I learnt from the documentation provided by WWW.JAVA.SUN. I have create a ODBC DSN file call TKS username/password : tem/manager then I download

  • Inbound delivery printing

    Hi, i tried to print the inbound deliveryafter i maintainted the output determination procedur the system told me this massage (No processing program is defined in table TNAPR for output type WMTA (transmission medium 1) in applicatio) i do not know