Thank I could fix it. ----Ursprüngliche Nachricht---- Von: [EMAIL PROTECTED] Datum: 05.10.2006 16:05 An: "MyFaces Discussion"<[email protected]>, <[EMAIL PROTECTED]> Betreff: Re: Re: Re: tag library
name it faces-config.xml is the *.tld containing all needed stuff, like <taglib xmlns="http://java.sun.com/JSP/TagLibraryDescriptor"> <tlib-version>1.3</tlib-version> <jsp-version>1.2</jsp-version> <short-name>x</short-name> <uri>http://my.biz.com/faces</uri> <tag> ... On 10/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > The error is > > type Exception report > > message > > description The server encountered an internal error () that > prevented it from fulfilling this request. > > exception > > javax.servlet.ServletException: /welcome.jsp(49,15) File "/html2" > not found > javax.faces.webapp.FacesServlet.service(FacesServlet.java: 152) > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter > (ReplyHeaderFilter.java:96) > > root cause > > javax.faces.FacesException: /welcome.jsp(49,15) File "/html2" not > found > org.apache.myfaces.context.servlet. ServletExternalContextImpl. > dispatch(ServletExternalContextImpl.java:435) > org.apache.myfaces.application.jsp.JspViewHandlerImpl. renderView > (JspViewHandlerImpl.java:234) > org.apache.myfaces.lifecycle.LifecycleImpl.render (LifecycleImpl. > java:384) > javax.faces.webapp.FacesServlet.service(FacesServlet.java: 138) > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter > (ReplyHeaderFilter.java:96) > > > the tag file content > > org/ > org/flohmarkt/ > org/flohmarkt/tag/ > org/flohmarkt/tag/AbstractStyleRenderer.class > org/flohmarkt/tag/DivRenderer.class > org/flohmarkt/tag/GridCellRenderer.class > org/flohmarkt/tag/GridRenderer.class > org/flohmarkt/tag/GridRowRenderer.class > org/flohmarkt/tag/UIAbstractStyleTag.class > org/flohmarkt/tag/UIDiv.class > org/flohmarkt/tag/UIDivTag.class > org/flohmarkt/tag/UIGrid.class > org/flohmarkt/tag/UIGridCell.class > org/flohmarkt/tag/UIGridCellTag.class > org/flohmarkt/tag/UIGridRow.class > org/flohmarkt/tag/UIGridRowTag.class > org/flohmarkt/tag/UIGridTag.class > META-INF/ > META-INF/faces.xml > META-INF/html2.tld > > > ----Ursprüngliche Nachricht---- > Von: [EMAIL PROTECTED] > Datum: 05.10.2006 15:05 > An: "MyFaces Discussion"<[email protected]>, > <[EMAIL PROTECTED]> > Betreff: Re: Re: tag library > > Urs, > > what kind of errors do you get? > > Best may be looking at myfaces-impl.jar > > that contains tlds (h and f) and also the faces.xml file > > -Matthias > > On 10/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > Thanks for tip, I still get an error. Good advices are welcome. > > > > html2.tld content > > > > <taglib> > > <tlib-version>1.0</tlib-version> > > <jsp-version>1.2</jsp-version> > > <short-name>html2</short-name> > > <uri>html2</uri> > > <description>New Faces Component</description> > > .... > > </taglib> > > > > I have in the jar file > > > > META-INF/html2.tld > > META-INF/faces-config.xml > > .....class > > .....class > > .... > > > > ----Ursprüngliche Nachricht---- > > Von: [EMAIL PROTECTED] > > Datum: 05.10.2006 07:28 > > An: "MyFaces Discussion"<[email protected]>, > > <[EMAIL PROTECTED]> > > Betreff: Re: tag library > > > > Not sure if I got it right, > > but these entries belong to a faces-config.xml file, which will > be > > stored inside your JAR > > (META-INF/ folder) > > > > HTH, > > M > > > > On 10/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > Hello > > > > > > I would like to make a tag library with extensions. > > > > > > Where have I to put this entries of faces-config.xml? > > > > > > > > > <render-kit> > > > <renderer> > > > <component-family>html2.faces. > > Div</component-family> > > > <renderer-type>html2.faces. > Div</renderer- > > type> > > > <renderer-class>org.flohmarkt.tag. > > DivRenderer</renderer-class> > > > </renderer> > > > </render-kit> > > > > > > <component> > > > <component-type>html2.faces.Div</component- > type> > > > <component-class> > > > org.flohmarkt.tag.UIDiv > > > </component-class> > > > </component> > > > > > > > > > > > > > > > > > > -- > > Matthias Wessendorf > > http://tinyurl.com/fmywh > > > > further stuff: > > blog: http://jroller.com/page/mwessendorf > > mail: mwessendorf-at-gmail-dot-com > > > > > > > > > > > -- > Matthias Wessendorf > http://tinyurl.com/fmywh > > further stuff: > blog: http://jroller.com/page/mwessendorf > mail: mwessendorf-at-gmail-dot-com > > > > -- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com

