Hello,
If you are using a maven project into Eclipse, make sure that your project
is a 2.5 dynamic web module and that you have JSF facet included. By
defalut, maven projects don't support 2.5 dynamic web module and don't
include JSF facet even if the project is a JSF one. So, you can't have jsf
functionnalities (visual editor, faces config editor...)
Regards,
Adil

2008/9/23 Carsten Pieper <[EMAIL PROTECTED]>

>
> Answer to self:
> > Do only "Dynamic Web Projects" get the whole benefit?
>
> Yes, it really has to do with the kind of project you're using...
> Indeed, if I create a new "Dynamic Web Project" and add the jars with the
> tag libraries by one of the two ways described by Cameron (classpath or
> WEB-INF/lib...), I get Trinidad support. Code completion (in the
> Web Page Editor) works as well as the Properties panel.
>
> Note that
> 1) you might have to restart Eclipse to see any changes after adding the
> jars
> 2) the Snippets view didn't change. You have to add a Palette view! There
> you get
>    those Trinidad tags
>
> I can use the Trinidad tags in the Palette, once it's open, in another
> (Maven-like) project,
> but code completion and Properties panel don't work there...
>
> Best regards, Carsten
>
>
> Hi Cameron,
>
> > To get support JSF in JSP, you simply need to put the jar files that
> > contain them
> > on your class path.  There are several ways to do this.  The simplest, is
> > to copy
> > them into WEB-INF/lib.  A better way to is to add them as classpath
> > libraries in your
> > Eclipse Web project.
> thanks for the information, but we already had the Trinidad jar files in
> our
> classpath,
> i.e. they're among the Maven dependencies and if I try to add them once
> more, Eclipse
> is complaining about "Build path contains duplicate entry...".
>
> Probably the JSF integration only works properly for a certain project
> structure?
> As implied above, our projects follow the ususal "Maven structure". Do only
> "Dynamic Web
> Projects" get the whole benefit? Well, you wrote of an "Eclipse Web
> Project", so
> this really might be the crucial point...
>
> >  If you have any further questions, we have a newsgroup focussed on
> > question
> > about the Eclipse JSF tooling:
> >
> > http://www.eclipse.org/newsportal/thread.php?group=eclipse.webtools.jsf
> Thanks again! I found it a little difficult to find my way in this but yes,
> that might
> be the place to have a thorough look at...
>
> Cheers,
> Carsten
>
>
> Cameron Bateman wrote:
> >
> > Hi Carsten,
> >
> > To get support JSF in JSP, you simply need to put the jar files that
> > contain them on your class path.  There are several ways to do this.  The
> > simplest, is to copy them into WEB-INF/lib.  A better way to is to add
> > them as classpath libraries in your Eclipse Web project.  If you have any
> > further questions, we have a newsgroup focussed on question about the
> > Eclipse JSF tooling:
> >
> > http://www.eclipse.org/newsportal/thread.php?group=eclipse.webtools.jsf
> >
> >
> > Carsten Pieper wrote:
> >>
> >> But when I open the "Web Perspective" the only drawer in the "Snippets"
> >> view (which
> >> seems to be the equivalent of the "Xxx Palette" view) is "JSP". No
> >> Trinidad, no
> >> Facelets, even no "ordinary" JSF stuff :-O
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Integrating-MyFaces-in-RichFaces-VE-tp19569077p19622565.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

Reply via email to