Hi Simon, the three of us (Leonardo, you, me) discussed this in our component-generation discussion.
@use of 1.2 constructs: yes, you are right, it should not use any 1.2 constructs (at a maximum - with reflection, so that we stay independent). Facelets does something similar. We need a 1.2 version however for the tags - they are just too different. But thankfully, those will be generated. There is one thing which I want to have: invokeOnComponent can be called, and it should be called for the AJAX-callback. @use of the 1.2 version: wouldn't you want to indicate to the community that this component library is now 1.2 compliant? For JSP 2.1 containers, you will indeed need the new tag-files, if you are not using Facelets (AFAIK)! regards, Martin On 3/4/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Martin Marinschek schrieb: > > Hi *, > > > > if Leonardo does as discussed, we can have both the 1.1 version and > > 1.2 from the same branch. (I don't see why this shouldn't be > > possible). > > > Sorry, I must have missed this "as discussed" discussion. > > Do you mean that there will be: > * no use of new for-loops or generics in any code? > * no use of ELContext except in a couple of generic templates that are > separated out by jsf version? > > If the code and templates are not going to have any Java1.5 or > JSF1.2-specific code in them, then what exactly will be the difference > between the tomahawk-for-jsf1.1 and tomahawk-for-jsf1.2 releases? > > If they do have java1.5 or jsf1.2-specific code in them, then we have > the same problem: two code lines to maintain, two files to patch etc. > ok, a couple of template files with different content are ok, but more > than that is going to be a problem. > > And again, what is the benefit of a jsf1.2-specific tomahawk? Can you > show any Tomahawk code that will run faster or work better because we > use JSF1.2 features? > > Regards, > Simon > > > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces