That's true Mike, but here's where it gets dangerous. Those tag files are being copied probably from one of the wikis. At best, they are complete and accurate for the latest-and-greatest version, i.e. the trunk.

Even if that's true, the user of a stable build is still tasked with figuring out which components were added or promoted since his build and altering the tag files to match. If this is not done, facelets does not seem to complain but simply lets those components fail silently. I'm going through this process today, as I've noticed some components are in the wrong taglib file. (e.g. s:selectItems)

So yes, because the project is volunteer, nothing will get done until somebody decides to do it. But I think that if someone did choose to tackle this task, their efforts would be quite worthwhile. These things (taglibs, tag handlers, etc) really do belong in the jar itself.

I'm not complaining that nobody has done it yet, just pointing out that I feel it is worth doing. :)

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

Mike Kienenberger wrote:
The ease-of-use is part of the problem. :-)

When it only takes 5 minutes to copy the sandbox and tomahawk tag
files to your application, and then another 10 to download
t:updateActionListener, it's really hard to justify spending a week
trying to figure out how to integrate automatic file generation
support into MyFaces in a volunteer-driven project.

On 2/7/07, Jeff Bischoff <[EMAIL PROTECTED]> wrote:
Thanks for responding guys.

Really, no official facelets support? That would explain the taglib.xml
not being bundled. I had wondered about that too. :)

Having been on this mailing list for quite a while, I can tell that many
other users do use facelets with myfaces and tomahawk - which is the big
reason why I'm comfortable converting my application to facelets. It
does involve a few extra steps, and a few things don't work as expected,
but overall it's not a big switch from the user standpoint.

Well thanks for the code, it does seem to work nicely.

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

Andrew Robinson wrote:
> I tried to get MyFaces to support Facelets a while ago, but I think
> the result was something along the line of no tomahawk developers want
> to bother. So, not being a MyFaces developer and not having the
> patience to wait for others to help and me not knowing enough about
> the auto-generation and other aspects of the build process that would
> affect this, I decided to make the jsf-comp version which was very
> easy to get out fast.
>
> We can hope for a kind volunteer of the MyFaces developer team to
> champion facelets support, but until then I guess this will do.
>
> FYI - I am not trying to put down anyone on the MyFaces team
>
> On 2/7/07, Jeff Bischoff <[EMAIL PROTECTED]> wrote:
>> Hey this tag handler works great!
>>
>> ...So why hasn't it been donated to Tomahawk? :)
>>
>> Or is Tomahawk not supposed to have tag handler classes for some reason?
>> Andrew? Mike? :)
>>
>> Thanks for writing it!
>>
>> Regards,
>>
>> Jeff Bischoff
>> Kenneth L Kurz & Associates, Inc.
>>
>> Matthias Wessendorf wrote:
>> > Thomas,
>> >
>> > check [1] for more on it (search for updateActionListener), since you
>> > need a *taghandler*
>> >
>> > -M
>> >
>> > [1]http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk
>> >
>> > On 2/2/07, Thomas Chang <[EMAIL PROTECTED]> wrote:
>> >> Hi Aleksandr,
>> >>
>> >> You are right. I do use Facelets. But I can use other t-tags such as >> >> <t:commandLink/> <t:selectOneMenu/> etc. in xHtml and they work well.
>> >> Besides, I have the followings on the top of my files.
>> >>
>> >> Thanks
>> >>
>> >> Thomas
>> >>
>> >>
>> >>
>> >> <html xmlns="http://www.w3.org/1999/xhtml";
>> >>     xmlns:ui="http://java.sun.com/jsf/facelets";
>> >>     xmlns:h="http://java.sun.com/jsf/html";
>> >>     xmlns:f="http://java.sun.com/jsf/core";
>> >>     xmlns:t="http://myfaces.apache.org/tomahawk";>
>> >>
>> >>
>> >> Aleksandr Mazur <[EMAIL PROTECTED]> schrieb:
>> >>
>> >>
>> >> Hi Thomas,
>> >>
>> >> As I see you are  using faceletes. updateActionListener should be
>> >> presented in tomahawk.taglib.xml. Is it?
>> >>
>> >>
>> >> Best regards,
>> >>  Aleksandr
>> >>
>> >>
>> >>
>> >>  Thomas Chang <[EMAIL PROTECTED]>
>> >> 02.02.2007 12:14
>> >>
>> >> Please respond to
>> >>  "MyFaces Discussion" <[email protected]>
>> >>
>> >>
>> >> To MyFaces Discussion <[email protected]>
>> >>
>> >> cc
>> >>
>> >>
>> >> Subject Error by using <t:updateActionListener/>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> Hi all,
>> >>
>> >>  My code look as follow:
>> >>
>> >>  myPage.xHtml
>> >>  ***************
>> >>  ...
>> >>  <t:commandLink
>> >>    action="openNewBrowser"
>> >>    immediate="true"
>> >>    value="Open New Browser"
>> >>    target="readMessageWindow">
>> >>    <t:updateActionListener property="property"
>> >> value="message"></t:updateActionListener>
>> >>  </t:commandLink>
>> >>  ...
>> >>
>> >>  But I get following error when try to open myPage.xHtml. What's
>> wrong?
>> >>
>> >>   <t:updateActionListener> Tag Library supports namespace:
>> >> http://myfaces.apache.org/tomahawk, but no tag was defined for name:
>> >> updateActionListener
>> >>
>> >>
>> >>  Thanks
>> >>
>> >>  Thomas
>> >>   ________________________________
>> > Yahoo! 360° – Bloggen und Leute treffen. Erstellen Sie jetzt Ihre
>> > eigene Seite – kostenlos!.
>> >>
>> >>
>> >>
>> >>           ________________________________
>> > Yahoo! Messenger - kostenlos* mit Familie und Freunden von PC zu PC
>> > telefonieren .
>> >>
>> >>
>> >
>> >
>> >
>>
>>
>>
>
>
>








Reply via email to