good to hear that you want to work with RichFaces community. To your questions:
- firstly I would recommend you to use Eclipse Indigo together with JBoss tools, as JBoss Tools for Juno are still in Alpha phase
- you should be fine for the start with the generated web.xml, it contains everything it needs
- then try to create a facelet index.xhtml https://github.com/jhuska/richfaces-sanbox/blob/master/src/main/webapp/index.xhtml, and its template https://github.com/jhuska/richfaces-sanbox/blob/master/src/main/webapp/templates/template.xhtml, replace the used components as you wish
- we aware of using RichFaces 4 components, as you mentioned that you tried rich:map, which is not part of RichFaces 4
Feel free to ask any more questions.
I've changed Eclipse Juno and now I'm working with Indigo + JBoss tools.
Then I've used your facelet index.xhtml (and it's template) and if I deploy the index.xhtml appears:
(I think that hotKey and inputNumber Spinner didn't render ok)
I've deployed another code:
appearing correct in the preview:
and result the next error:
I think that is a little think that I'm not taking into account.
It's running perfect!!!!!!!!!!!!
let me do you the last question about the welcome file. I have index.xhtml in Web Content and referenced in web.xml as:
warning: filename references to index.xhtml that is not a page file.
So the question is that when the project will finish, must I run on a server clicking right mouse button on index or run on a server from a root whole project??
THANK YOU VERY MUCH
I am sorry but I really do not understand your question. Could you please reformulate it in some way ?
The welcome-file-list reference can be found here:
It is used in short for declaring what page will be loaded when you access directory by URL. So for example when you load http://localhost:8080/contextRootOfApp then the index.xhtml should be loaded.
Juraj, sorry to didn't answer. I was travelling...
I'll try to explain in other way. I've index.xhtml in web content and appears the warning that "filenames references to index.xhtml that is not a page file". Then if I try to access by URL appears a 404 error even the file is in webContent.
P.S. I've been working a lot leaving this problem parked and my app begins to has face XD