This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes IceFaces question: using other components Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "IceFaces question: using other components" Watch "IceFaces question: using other components" New topic
Author

IceFaces question: using other components

Tom Fulton
Ranch Hand

Joined: Mar 30, 2006
Posts: 94
I have a question for the author of ICEfaces 1.8.

About 18 months ago, I participated in a webcast of a online meeting sponsored by IceSoft. At the time, I understood that there was a limitation when using IceFaces, where a page using IceFaces components cannot have any other kinds of components on the page. I may have misunderstood this limitation, and would like it to be clarified...can a page hosting IceFaces components have any other kind of component on the page, such as a RichFaces component or a custom component? If so, are there any limitations in the use (location on the page, etc) of the other component or the IceFaces component? If not, are there any plans for this to be available in a future version of IceFaces?

Thanks in advance for your response.
Rainer Eschen
author
Ranch Hand

Joined: Jan 24, 2009
Posts: 75
Still an interesting question. Indeed it depends. If you mix pure JSF frameworks you will have no problems. But, RichFaces has AJAX, and that is why you can't use both in parallel. The current AJAX frameworks, every JSF framework uses a different one, are almost not compatible to each other. This is the real problem. The position you use tags in a page is not the problem. The tags have to be unique. This is normally done through namespaces. Here's an example of my book code:


This is templating based on Facelets. The namespaces in the HTML tag show that you can mix a lot by default. The last namespace defines the Facelets components I wrote for the book.

Pretty interesting is the Tomahawk entry. ICEsoft has an integration project to allow a mixture of ICEfaces and the Apache components in your project. Although, the Tomahawk components will not support the CSS skinning of ICEfaces components. But, if you dislike the ICEfaces tree component e.g. you can use the Tomahawk one ;-). However the integration is not 100%, maybe the architectures behind are a bit too different in the end.

ICEfaces book . ICEcube . ICEfusion . Scrum
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: IceFaces question: using other components
 
Similar Threads
Unable to run JSP pages
Multiple Form Validation Quest
Faces-config and web.xml setup for a JSF project using open source libraries
Multiple Form Validation
how to call javascript function from jsf