You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Francesco Consumi <co...@istitutodeglinnocenti.it> on 2006/07/21 13:43:38 UTC

NetBeans 5.5

Hi, I just downloaded and installed NetBeans 5.5 beta 2, and still  
doesn't recognize myfaces tag libraries.
Does someone know something about this problem ?

thanks,

-- 
Francesco Consumi
Ufficio Sistemi informativi
Istituto degli Innocenti
Piazza SS.Annunziata, 12
50122 Firenze
consumi at istitutodeglinnocenti.it
Tel. +39 055 2037320
ICQ# 12516133



Re: NetBeans 5.5

Posted by Matthias Wessendorf <ma...@apache.org>.
On 7/21/06, Craig McClanahan <cr...@apache.org> wrote:

> NetBeans has built in support for the JSF standard TLDs (and they are
> identical for the RI and for MyFaces), so I assume you are talking about the
> extra component libraries like Tomahawk, Trinidad, and Tobago?

I think he's meaning using the MyFaces impl as runtime. The TLDs have
an interesting dif.

    <tag>
        <name>actionListener</name>
        <tag-class>org.apache.myfaces.taglib.core.ActionListenerTag</tag-class>
        <body-content>empty</body-content>

The Tag's are part of the impl



> Once the correct catalog format is documented, it might be a good idea for
> MyFaces to publish such a catalog on the website, to make this process easy
> for others who want to import the MyFaces DTDs into a tool that understands
> XML catalogs.

Is this an offer from you :)
Maybe the maven-faces-plugin has a point to create stuff like that.

-Matthias

> Craig
>
>
>
> > thanks,
> >
> > --
> > Francesco Consumi
> > Ufficio Sistemi informativi
> > Istituto degli Innocenti
> > Piazza SS.Annunziata, 12
> > 50122 Firenze
> > consumi at istitutodeglinnocenti.it
> > Tel. +39 055 2037320
> > ICQ# 12516133
> >
> >
> >
>
>
>


-- 
Matthias Wessendorf

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Re: NetBeans 5.5

Posted by Craig McClanahan <cr...@apache.org>.
On 7/21/06, Francesco Consumi <co...@istitutodeglinnocenti.it> wrote:
>
>
> Hi, I just downloaded and installed NetBeans 5.5 beta 2, and still
> doesn't recognize myfaces tag libraries.
> Does someone know something about this problem ?


NetBeans has built in support for the JSF standard TLDs (and they are
identical for the RI and for MyFaces), so I assume you are talking about the
extra component libraries like Tomahawk, Trinidad, and Tobago?

For those you can register your own copy of the relevant DTDs, as follows:

* Create a catalog containing all of your DTDs, according
  to the OASIS XML Catalog format (I need to look up more
  details on that, and will report back).

* Open the "Runtime" tab in the navigator

* Right click on the "DTD and XML Schema Catalogs"
  entry, and select "Add Catalog".

* Select the correct catalog type, and browse to
  the URL of the appropriate catalog.

* Press OK.

Once the correct catalog format is documented, it might be a good idea for
MyFaces to publish such a catalog on the website, to make this process easy
for others who want to import the MyFaces DTDs into a tool that understands
XML catalogs.

Craig


thanks,
>
> --
> Francesco Consumi
> Ufficio Sistemi informativi
> Istituto degli Innocenti
> Piazza SS.Annunziata, 12
> 50122 Firenze
> consumi at istitutodeglinnocenti.it
> Tel. +39 055 2037320
> ICQ# 12516133
>
>
>

Re: NetBeans 5.5

Posted by Greg Reddin <gr...@apache.org>.
I'm still on NB 5.0 but using the mevenide plugin for Maven 2 I am  
able to get code completion and validation for myfaces taglibs.  It's  
another option if you are using Maven.

Greg

On Jul 21, 2006, at 6:43 AM, Francesco Consumi wrote:

>
> Hi, I just downloaded and installed NetBeans 5.5 beta 2, and still  
> doesn't recognize myfaces tag libraries.
> Does someone know something about this problem ?
>
> thanks,
>
> -- 
> Francesco Consumi
> Ufficio Sistemi informativi
> Istituto degli Innocenti
> Piazza SS.Annunziata, 12
> 50122 Firenze
> consumi at istitutodeglinnocenti.it
> Tel. +39 055 2037320
> ICQ# 12516133
>
>
>


Re: NetBeans 5.5

Posted by Francesco Consumi <co...@istitutodeglinnocenti.it>.
Quoting Dennis Gesker <ge...@alamon.com>:

> Maybe this will help.
>

Hi, I followed your instructions, but don't work. JSP editor still  
tells me he isn't able to find any tld resolving  
"http://java.sun.com/jsf/html" URL.
I find a suggestion on NetBeans site: to rename files myfaces-imp.jar  
and myfaces-api.jar to jsf-imp.jar and jsf-api.jar.
This *solves* the problem in .jsp files, but in .java files still  
don't find javax.faces.* classes .......



-- 
Francesco Consumi
Ufficio Sistemi informativi
Istituto degli Innocenti
Piazza SS.Annunziata, 12
50122 Firenze
consumi at istitutodeglinnocenti.it
Tel. +39 055 2037320
ICQ# 12516133



Re: NetBeans 5.5

Posted by Joe ersinghaus <je...@nmsu.edu>.
I use NB 5.5 with myfaces 1.1.1. (Haven't been able to get my apps to run on 
the newer versions.)

Dennis Gesker's instructions should do it but if you still have questions just 
let me know.

- Joe

On Friday 21 July 2006 09:59, Dennis Gesker wrote:
> Maybe this will help.
>
> Add the myfaces and tomahawk jars to a library.
>     Tools --> Library Managers
>
> Right click on your war project and choose properties. Click on
> libraries and add the library you created above. Uncheck the package
> button. On this same screen expand the build option and click on packaging.
> Add the library you made above and set the "Path in War" field to
> \WEB-INF\lib
>
> Make sure you have your tag libs included in your JSP
>
> <%-- JSF Core TagLibs --%>
> <%@taglib prefix="h"uri="http://java.sun.com/jsf/html"%>
> <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
> <%-- Myfaces TagLibs --%>
> <%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
> <%@taglib prefix="s" uri="http://myfaces.apache.org/sandbox"%>
>
> The text editor should auto-complete for you now and the whole nine
> yards...
>
> I just installed Netbeans 5.5 beta 2 and it is pretty darn nice. Also,
> it seems that subversion support can be added as a module which is also
> nice.
>
> Good Luck.
> Dennis
>
>
> Make sure you have something similar to the following
>
> Matthias Wessendorf wrote:
> > I don't know anybody using Netbeans.
> > Is there a sun forum? I guess you are not the only MyFaces user with
> > Netbeans. I hope at least :)
> >
> > On 7/21/06, Francesco Consumi <co...@istitutodeglinnocenti.it> wrote:
> >> Hi, I just downloaded and installed NetBeans 5.5 beta 2, and still
> >> doesn't recognize myfaces tag libraries.
> >> Does someone know something about this problem ?
> >>
> >> thanks,
> >>
> >> --
> >> Francesco Consumi
> >> Ufficio Sistemi informativi
> >> Istituto degli Innocenti
> >> Piazza SS.Annunziata, 12
> >> 50122 Firenze
> >> consumi at istitutodeglinnocenti.it
> >> Tel. +39 055 2037320
> >> ICQ# 12516133

-- 
Joe Ersinghaus
Information Technology & Communications
New Mexico Department of Agriculture
MSC 3189, P.O. Box 30005
Las Cruces, NM  88003-8005
(505) 646-7094

Re: NetBeans 5.5

Posted by Dennis Gesker <ge...@alamon.com>.
Maybe this will help.

Add the myfaces and tomahawk jars to a library.
    Tools --> Library Managers

Right click on your war project and choose properties. Click on 
libraries and add the library you created above. Uncheck the package button.
On this same screen expand the build option and click on packaging.
Add the library you made above and set the "Path in War" field to 
\WEB-INF\lib

Make sure you have your tag libs included in your JSP

<%-- JSF Core TagLibs --%>
<%@taglib prefix="h"uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%-- Myfaces TagLibs --%>
<%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
<%@taglib prefix="s" uri="http://myfaces.apache.org/sandbox"%>

The text editor should auto-complete for you now and the whole nine yards...

I just installed Netbeans 5.5 beta 2 and it is pretty darn nice. Also, 
it seems that subversion support can be added as a module which is also 
nice.

Good Luck.
Dennis


Make sure you have something similar to the following




Matthias Wessendorf wrote:
> I don't know anybody using Netbeans.
> Is there a sun forum? I guess you are not the only MyFaces user with
> Netbeans. I hope at least :)
>
> On 7/21/06, Francesco Consumi <co...@istitutodeglinnocenti.it> wrote:
>>
>> Hi, I just downloaded and installed NetBeans 5.5 beta 2, and still
>> doesn't recognize myfaces tag libraries.
>> Does someone know something about this problem ?
>>
>> thanks,
>>
>> -- 
>> Francesco Consumi
>> Ufficio Sistemi informativi
>> Istituto degli Innocenti
>> Piazza SS.Annunziata, 12
>> 50122 Firenze
>> consumi at istitutodeglinnocenti.it
>> Tel. +39 055 2037320
>> ICQ# 12516133
>>
>>
>>
>
>

-- 
Dennis R. Gesker
email: dennis@alamon.com
Key Id: 0xEFA10A51


Re: Re: NetBeans 5.5

Posted by Michael Litherland <mi...@gmail.com>.
I'm using a daily build of NB5.5 and it works fine with MyFaces, but I
am using the MyFaces that comes with JBoss 4.0.4.GA.  I don't see why
it wouldn't work with your own version of MyFaces or another app
server.  There is a NB EE mailing list you could ask on.

Mike

On 7/21/06, Matthias Wessendorf <ma...@apache.org> wrote:
> I don't know anybody using Netbeans.
> Is there a sun forum? I guess you are not the only MyFaces user with
> Netbeans. I hope at least :)
>
> On 7/21/06, Francesco Consumi <co...@istitutodeglinnocenti.it> wrote:
> >
> > Hi, I just downloaded and installed NetBeans 5.5 beta 2, and still
> > doesn't recognize myfaces tag libraries.
> > Does someone know something about this problem ?
> >
> > thanks,
> >
> > --
> > Francesco Consumi
> > Ufficio Sistemi informativi
> > Istituto degli Innocenti
> > Piazza SS.Annunziata, 12
> > 50122 Firenze
> > consumi at istitutodeglinnocenti.it
> > Tel. +39 055 2037320
> > ICQ# 12516133
> >
> >
> >
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>

Re: NetBeans 5.5

Posted by Matthias Wessendorf <ma...@apache.org>.
I don't know anybody using Netbeans.
Is there a sun forum? I guess you are not the only MyFaces user with
Netbeans. I hope at least :)

On 7/21/06, Francesco Consumi <co...@istitutodeglinnocenti.it> wrote:
>
> Hi, I just downloaded and installed NetBeans 5.5 beta 2, and still
> doesn't recognize myfaces tag libraries.
> Does someone know something about this problem ?
>
> thanks,
>
> --
> Francesco Consumi
> Ufficio Sistemi informativi
> Istituto degli Innocenti
> Piazza SS.Annunziata, 12
> 50122 Firenze
> consumi at istitutodeglinnocenti.it
> Tel. +39 055 2037320
> ICQ# 12516133
>
>
>


-- 
Matthias Wessendorf

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com