File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Using Multiple Component Libraries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Using Multiple Component Libraries" Watch "Using Multiple Component Libraries" New topic
Author

Using Multiple Component Libraries

Abhishk Singh
Ranch Hand

Joined: Aug 19, 2010
Posts: 45
Is it feasible/advisable to use multiple component libraries in a JSF application?
For example, can we use tomahawk,icefaces and primefaces in a single application.
How do we go implementing it?

<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
<url-pattern>/icefaces/*</url-pattern>
</servlet-mapping>

Do we differentiate the same on the basis of url-pattern?


Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16065
    
  21

I don't know about mixing icefaces and primefaces, but I have mixed Tomahawk and RichFaces.

There are no guarantees, however. Some of these extension tagsets customize internal JSF processes and may do so in ways that conflict with how other vendors do it.


Customer surveys are for companies who didn't pay proper attention to begin with.
Abhishk Singh
Ranch Hand

Joined: Aug 19, 2010
Posts: 45
Tim Holloway wrote:Some of these extension tagsets customize internal JSF processes and may do so in ways that conflict with how other vendors do it.


Thank you for the input. One of my friends suggested that It also makes the application heavy and pages take more time to display.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using Multiple Component Libraries