How does that URL help with facelets?



On 1/15/07, yigit darcin <[EMAIL PROTECTED]> wrote:

Hi,

if you look at  http://facestrace.sourceforge.net/main/gettingStarted.html

you just need to add taglib to your page:

<%@ taglib uri="http://sourceforge.net/projects/facestrace"; prefix="ft"%>

do servlet mapping as :
<servlet-mapping
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>

and lastly put the facestrace in your form as:

<ft:trace />

and make sure facestrace jar is in your lib folder and nothing more.

for the facelets please look at :

http://www.jroller.com/page/cagataycivici?entry=facestrace_with_facelets

Regards,

Yigit.

On 1/15/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> I have also not gotten it to work with facelets.
>
>
>
>
>
> On 1/15/07, Lisa <[EMAIL PROTECTED] > wrote:
> >
> >
> > I came onto a project that has a lot of problems so decided to use
> > facestrace
> > to see if I could debug some things.
> >
> > We are using Maven2 so I put the facestrace.jar in our Subversion
> > repository.  I see that it gets downloaded to
> > $home/.m2/repository/myfaces/facestrace/0.8.1_SNAPSHOT/ and that the
> > jar is
> > there.
> >
> > I put the tag in an .xhtml file, I put the servlet-mapping in web.xml.
> >
> > web.xml now looks like this.
> >
> >     <servlet>
> >         <servlet-name>Faces Servlet</servlet-name>
> >         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
> >
> >         <load-on-startup>1</load-on-startup>
> >     </servlet>
> >
> >     <!-- Faces Servlet Mapping -->
> >     <!-- extension mapping -->
> >     <servlet-mapping>
> >         <servlet-name>Faces Servlet</servlet-name>
> >         <url-pattern>*.jsf</url-pattern>
> >     </servlet-mapping>
> >
> >     <!-- facestrace -->
> >     <servlet-mapping>
> >         <servlet-name>Faces Servlet</servlet-name>
> >         <url-pattern>/faces/*</url-pattern>
> >     </servlet-mapping>
> >
> > Now what?
> >
> >
> > I am accessing my main web application (login page) like so:
> >
> > http://localhost:8080/jspShare/web/startup/Start.jsf
> >
> > I put <ft:trace /> into Start.jsf but do not see anything.  What I am
> > missing?  How is the facestrace info accessed?
> >
> > Thanks
> >
> >
> > Lisa
> > --
> > View this message in context: 
http://www.nabble.com/Anyone-get-facestrace-working--tf3017036.html#a8378666
> >
> > Sent from the MyFaces - Users mailing list archive at 
Nabble.com<http://nabble.com/>
> > .
> >
> >
>
>
> --
> Thanks
>
> DJ MICK
>
> (Mick Knutson)
> http://www.djmick.com
> http://www.myspace.com/djmick_dot_com
> http://www.thumpradio.com





--
Thanks

DJ MICK

(Mick Knutson)
http://www.djmick.com
http://www.myspace.com/djmick_dot_com
http://www.thumpradio.com

Reply via email to