myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kočí <Martin.K...@aura.cz>
Subject [Trinidad2] Sharing code with myfaces-impl2 in myfaces-shared-core ?
Date Thu, 15 Oct 2009 13:24:33 GMT
Hi,

for implementing JSF 2.0 new features in Trinidad2 there is a
possibility to use myfaces-share project. There are some useful method
already and many others are on the way. 

This is example why think about it:
I work on some basic Resource API support for trindiad2. It means for
example new attributes "name" and "library" as a alternative to "src" or
"icon" attributes. An universal method for dealing with this can be like

method getImageSource in
http://fisheye5.atlassian.com/browse/~raw,r=1.54/javaserverfaces-sources/jsf-ri/src/com/sun/faces/renderkit/RenderKitUtils.java


Such method is not in myfaces-impl or myfaces-share yet and thus
"library" attribute is not supported now in myfaces 2.0 impl (look in
button renderer for example). 

Placing one method in myfaces-shared will not lead to duplications over
myfaces development effort and will bring  faster JSF 2.0 delivery for
both myfaces 2.0 and Trinidad 2.0. Myfaces-share can be repacked during
build into trinidad-impl.jar to not burden users with a extra library.

What do you think?

Regards, 

Martin Kočí




Mime
View raw message