voyent
how does ICESoft work with other JSF Component libraries?  XML
Forum Index -> General Help
Author Message
akhopkar

Joined: 19/Apr/2006 00:00:00
Messages: 3
Offline


I'm writing an app using Myfaces tomahawk components as well as the apache drop of the oracle-adf-faces donation. Would there be any issues with this if I were to use ICESoft with these?

Amarish
[Email]
steve.maryka

Joined: 26/Oct/2004 00:00:00
Messages: 93
Offline


Amarish,

ICEfaces does not support either the myfaces tomahawk components or the ADF-faces components.

At one point we built some Direct-to-DOM renders for the tomahawk components, but have abandoned them and focused on our own comprehensive component library. I would be interested to know if there are components that you require that are not available in the ICEfaces component suite.

ADF-faces components rely on a custom viewHandler, as does ICEfaces, so it is not possible to mix them in the same page of an application.

Our goal for ICEfaces is to eventually support other 3rd party component suites, but timing for such support has not been established.

Steve
[Email]
ddunkin

Joined: 19/Apr/2006 00:00:00
Messages: 15
Offline


Should the tomahawk validators work with ICEfaces?
[Email]
brad.kroeger

Joined: 26/Oct/2004 00:00:00
Messages: 298
Offline


> Should the tomahawk validators work with ICEfaces?

ICEfaces does not support the myfaces tomahawk components. However, commons-validation is not specific to tomahawk components. You can make validation work using ICEfaces and MyFaces by doing the following:

Add the commons-validator and oro-gump jars to the classpath. (oro-gump available at http://vmgump.apache.org/gump/public-jars/jakarta-oro/jars/ )

Nest the following tag in the inputText tag to be validated: <f:validator validatorId="org.apache.myfaces.validator.Email" />
Note: You cannot use the method of nesting a <t:validateEmail /> tag as shown in the Apache MyFaces Project Tomahawk examples.

Use a message tag to output the validation message. For example: <ice:message for="email" />

Brad Kroeger

Brad Kroeger
Developer
ICEsoft Technologies, Inc.
[Email]
Admin

Joined: 27/May/2004 00:00:00
Messages: 219
Offline


Form what I see so far I think ICEFces is really cool and would like very much to give it a try. However my team is 8 months into using Tomahawk with close to 100 xhtml pages - so there is little hope for us using ICEFaces until the two can at least co-exist or there is an easy migration path.

Cheers,
Yee
ken.fyten

Joined: 26/Oct/2004 00:00:00
Messages: 1341
Offline


Yee,

I see three options here:

You could possibly adopt ICEfaces for specific views/pages in your application and leave the rest as Tomahawk components. This can be done by configuring the ICEfaces pages using a separate URL/port from the rest of the JSF application (essentially two-webapps, one for plain Tomahawk and another for ICEfaces) that would exchange state on the server.

You could adopt ICEfaces completely and replace/port all of your pages to ICEfaces Component Suite Components. This may not be as difficult as it sounds as the ICEfaces JSF standard-extended components are very similar to the MyFaces ones and would be easy to port. The custom components might be a little more difficult, but the advantage is that your entire application would benefit from ICEfaces and support incremental ui updates, server-initiated updates, etc.

We could make our original Tomahawk ICEfaces Direct-to-DOM renderers available to you and you could use those together with the ICEfaces Component Suite Components. There may be Tomahawk components that you are using that we haven't developed renderers for, and there may be some that don't work correctly with ICEfaces v1.0 as we haven't kept them current with the latest release, although any issues would likely be minor.


Regards,
Ken

Ken Fyten
VP Product Development
ICEsoft Technologies, Inc.
yeecn

Joined: 18/May/2006 00:00:00
Messages: 3
Offline


Hmm.... relative your 3 approaches:

1) I have not thought of going down this road. How to pass authentication info securely from one app to another? Do you have a guideline on how to do this?

2) I took a closer look. Yes ICEFAces tags are indeed very similar to Tomahawk's. All out conversation may not take much efforts. This is not appealing for those who want to do a quick evaluation of the technology.

3) I think it would be useful for you to make available Direct-To-DOM renderers for Tomahawk. It need not be complete. It would be sufficient if it covers the commonly used subset. It would make it possible for me to test out ICEFaces with mininal changes to my existing pages.

I would think that ICEFaces are similar enough with Tomahawk that ICEFaces renderers would work with the corresponding Tomahawk component (minus the Ajax capability)? In fact all the components I used are covered by ICEFaces components. So if you have that much covered I may not need to do any conversions at all - perhaps except for the JSCook Menu.


Yes - I like to have a copy of your Tomahawk renderers.

Regards,
Yee
ken.fyten

Joined: 26/Oct/2004 00:00:00
Messages: 1341
Offline


Yee,

Sorry this took so long, I've posted the ICEfaces Direct-to-DOM renderers for use with the Apache MyFaces Tomahawk components on the ICEfaces Knowledge Base here: http://support.icesoft.com/jive/entry.jspa?entryID=541&categoryID=58


These haven't been tested with the latest releases of ICEfaces or MyFaces/Tomahawk components, so you may need to tweak them a bit (source-code included).

Regards,
Ken

Ken Fyten
VP Product Development
ICEsoft Technologies, Inc.
philip.breau


Joined: 08/May/2006 00:00:00
Messages: 2989
Offline


Hi Yee,

We've just released ICEfaces v1.0.1, which includes some great enhancements that you might be interested in. You can now integrate other JSF frameworks in the same web application with ICEfaces as long as they're used on separate pages. The following forum posts also have more info:

http://support.icesoft.com/jive/thread.jspa?forumID=15&threadID=1696

Thanks,
Philip

.
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team