Correct URL for example method from RI is: https://mojarra.dev.java.net/source/browse/mojarra/trunk/jsf-ri/src/com/sun/faces/renderkit/RenderKitUtils.java?rev=7939&view=markup
Martin Kočí píše v Čt 15. 10. 2009 v 15:24 +0200: > 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čí > > > >
