-
15. Re: extending rich faces component environment setup
deedee22 Mar 12, 2009 10:43 AM (in response to deedee22)oh my god, it worked :-D Thank you sooo much!
Now I'll try to actually import the project into eclipse. -
16. Re: extending rich faces component environment setup
deedee22 Mar 12, 2009 12:36 PM (in response to deedee22)ok, so I imported the suggestionbox, therichfaces-api, the richfaces-impl and the richfaces-test project into eclipse.
I do get some errors, but they all come from .mod or .dtd files and from what I read, I can just ignore them.
How do I continue now? I have another project in my eclipse workspace that has so far been using the suggestionbox from the richfaces-ui-3.3.0.GA.jar. I'd like to make this project use the suggestionbox project instead.
I added the suggestionbox project to its java ee module dependency list, but that produced a FileNotFoundException for suggestionbox.jar
:-/ -
17. Re: extending rich faces component environment setup
nbelaevski Mar 12, 2009 2:08 PM (in response to deedee22)1. You should remove richfaces-ui.jar due to classes conflict. As you can see, generated tag library URL differs from the URL of the assembled RichFaces library. So you wish to use some components in the test application, you have to add necessary ui\* projects and tag libraries declaration for them
2. Sometimes exceptions are happening in Eclipse when deploying dependent modules. You can try to use newer (or older) Eclipse version, try to use clean workspace. I use Ganymede SR1 + latest JBoss Tools and get almost no problems. -
18. Re: extending rich faces component environment setup
deedee22 Mar 13, 2009 4:46 AM (in response to deedee22)ok. I konw I'am being a little stupid about this and I really appreciate your patience with me..
What exactly do you mean by "add necessary ui\* projects and tag libraries"?
I suppose I could add projects that I need to my workspace, but where do I find the tag libraries???
Right now tomcat is complaining that it is missing class org.ajax4jsf.taglib.html.jsp.FormTag -
19. Re: extending rich faces component environment setup
ilya_shaikovsky Mar 13, 2009 5:24 AM (in response to deedee22)one more usefull wiki link for you
http://www.jboss.org/community/docs/DOC-11864 -
20. Re: extending rich faces component environment setup
deedee22 Mar 13, 2009 5:56 AM (in response to deedee22)Thanks...
uhm, the suggestionbox project generated by maven is not a web application project and can therefore not be added to the server (it doesn't appear in the "add and remove projects" dialog) -
21. Re: extending rich faces component environment setup
nbelaevski Mar 13, 2009 9:11 AM (in response to deedee22)Tag libraries are located in each project: ui\someProject\target\generated-component\resources\META-INF\*.tld after build.
samples\suggestionbox-sample is a web project that can be added to the server. -
22. Re: extending rich faces component environment setup
deedee22 Mar 13, 2009 9:29 AM (in response to deedee22)hm.. actually I can't even import samples\suggestionbox-sample into eclipse.
And I already do have an example that used the normal suggestion box. What I'd like to do is to have my example application use the suggestionbox-project in my workspace in that example project, so I can see what any changes to the suggestionbox project do in my example project. -
23. Re: extending rich faces component environment setup
deedee22 Mar 13, 2009 9:40 AM (in response to deedee22)ok, so I found the taglib..
how do I add it though? Directly to the .jsp page? What is the path then?
Sorry, but I have major problems understanding what file needs to go where and what is added in which way to where . :-/ -
24. Re: extending rich faces component environment setup
deedee22 Mar 13, 2009 10:11 AM (in response to deedee22)ah, the URI of the tablib is in the tablib file :-)
-
25. Re: extending rich faces component environment setup
nbelaevski Mar 13, 2009 11:29 AM (in response to deedee22)You can use http://richfaces.org/rich, but this will require you to rebuild ui\assembly together with ui\* project and refresh project in Eclipse then. That's inconvenient and refresh in Eclipse does not work very stable.
-
26. Re: extending rich faces component environment setup
deedee22 Mar 13, 2009 11:36 AM (in response to deedee22)I actually managed to use the taglib that comes with the suggestionbox project by using the uri in the suggestionbox taglib..
In my example project I am also using form, region and commandbutton. What taglibs are needed for those? -
27. Re: extending rich faces component environment setup
nbelaevski Mar 13, 2009 3:55 PM (in response to deedee22)"DeeDee22" wrote:
I actually managed to use the taglib that comes with the suggestionbox project by using the uri in the suggestionbox taglib..
In my example project I am also using form, region and commandbutton. What taglibs are needed for those?
http://richfaces.org/a4j -
28. Re: extending rich faces component environment setup
nbelaevski Mar 13, 2009 3:56 PM (in response to deedee22)And http://richfaces.org/a4j - is declared in ui\core