You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Thomas Chang <th...@yahoo.de> on 2007/02/02 10:14:25 UTC

Error by using

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!. 

Re: How to open a new page which has no close button and no tool bar?

Posted by delbd <da...@oma.be>.
Thomas Chang a écrit :
> impossible? Then how can I catch the window close event in my (xhtml)
> page? What I realy want is: I click a commandLink to open a new page.
> If one close this new page, I will do something. So I want to catch
> this event in the new opened page.
>  
> Thanks
>  
> Thomas
Several note.
1) removing of toolbars and menu is not always appreciated by user. It's
like removing the right click ability.
2) Doing actions during window close event is subject to high jeopardy.
What happen if user just browse to another document? You get no close
event as window still opened. What to do if user turn off computer? What
to do if browser crash? What to do if parent frame was closed? What to
do if user turned off javascript?

If you really need a 'popup' the can not be closed without your
javascript knowing, do it the xhtml way, put a css driven internal frame
on top of the current page. It's not that difficult and is far easier 
to manage in the end (there is no close button or any decoration around
an iframe).
>
>
> */Volker Weber <v....@inexso.de>/* schrieb:
>
>     Hi Tomas,
>
>     i don't think the supression of close button is possible, but for the
>     rest maybe this helps:
>
>     http://tinyurl.com/22k5gr
>
>     Regards,
>     Volker
>
>     2007/2/15, Thomas Chang :
>     > Hi,
>     >
>     > Could you write it a little bit in detail? :) Or maybe you have
>     an example?
>     >
>     > Thanks
>     >
>     > Thomas
>     >
>     >
>     > "Wabner, Thomas (EXT)" schrieb:
>     >
>     >
>     >
>     > Hi,
>     >
>     > you have to use a java script function like openWindow('url',
>     'windoname',
>     > 'parameters like no toolbar') in your action in the onclick
>     parameter for
>     > the commandlink tag.
>     >
>     > - Thomas Wabner
>     >
>     >
>     > ________________________________
>     >
>     > From: Thomas Chang [mailto:thomas2004ch@yahoo.de]
>     > Sent: Donnerstag, 15. Februar 2007 17:47
>     > To: MyFaces Discussion
>     > Subject: How to open a new page which has no close button and no
>     tool bar?
>     >
>     >
>     > Hi all,
>     >
>     >
>     >
>     > My code look as follow:
>     >
>     >
>     >
>     >
>     > value="Open New Browser" target="readMessageWindow">
>     >
>     >
>     >
>     >
>     > I wonder how canI set properties so that the new page
>     "readMessageWindow"
>     > has no tool bar such as forwart and backwort and has no close
>     button?
>     >
>     >
>     >
>     >
>     >
>     >
>     >
>     > ________________________________
>     >
>     > Was ist Glück? Schlafen Fische überhaupt? Die Antworten gibt's
>     auf Yahoo!
>     > Clever.
>     >
>     >
>     > ________________________________
>     > Yahoo! 360° – Bloggen und Leute treffen. Erstellen Sie jetzt
>     Ihre eigene
>     > Seite – kostenlos!.
>     >
>     >
>
>
> ------------------------------------------------------------------------
> Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und
> viel mehr bietet das neue Yahoo! Mail
> <http://de.rd.yahoo.com/evt=40589/*http://de.docs.yahoo.com/ymail/landing.html%20>.



Re: How to call a backing bean method from javascript?

Posted by Mick Knutson <mi...@gmail.com>.
You can use DWR

On 2/15/07, Thomas Chang <th...@yahoo.de> wrote:
>
> Assumed I will simulate calling a backing bean function in
> <t:commandLink... action="{#myBackingBean.doSomething}.../> by closing a
> window. I think I have to do followings:
>
> ...
> <body onUnload=jsFunction()/>
> ...
> function jsFunction(){
> ...
> # what should be here?
> ...
> }
>
> Thanks
>
> Thomas
>
>
>
>
>
>
> ------------------------------
> Yahoo! 360° – Bloggen und Leute treffen. Erstellen Sie jetzt Ihre eigene
> Seite – kostenlos!<http://us.rd.yahoo.com/evt=41052/*http://de.360.yahoo.com/>.
>
>
>


-- 
---
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/djmick_dot_com
http://www.thumpradio.com
---

How to call a backing bean method from javascript?

Posted by Thomas Chang <th...@yahoo.de>.
Assumed I will simulate calling a backing bean function in <t:commandLink... action="{#myBackingBean.doSomething}.../> by closing a window. I think I have to do followings:
   
  ...
  <body onUnload=jsFunction()/>
  ...
  function jsFunction(){
  ...
  # what should be here?
  ...
  }
   
  Thanks
   
  Thomas
   
   
   
   
   

 		
---------------------------------
Yahoo! 360° – Bloggen und Leute treffen. Erstellen Sie jetzt Ihre eigene Seite – kostenlos!. 

Re: How to open a new page which has no close button and no tool bar?

Posted by Thomas Chang <th...@yahoo.de>.
impossible? Then how can I catch the window close event in my (xhtml) page? What I realy want is: I click a commandLink to open a new page. If one close this new page, I will do something. So I want to catch this event in the new opened page. 
   
  Thanks
   
  Thomas
  

Volker Weber <v....@inexso.de> schrieb:
  Hi Tomas,

i don't think the supression of close button is possible, but for the
rest maybe this helps:

http://tinyurl.com/22k5gr

Regards,
Volker

2007/2/15, Thomas Chang :
> Hi,
>
> Could you write it a little bit in detail? :) Or maybe you have an example?
>
> Thanks
>
> Thomas
>
>
> "Wabner, Thomas (EXT)" schrieb:
>
>
>
> Hi,
>
> you have to use a java script function like openWindow('url', 'windoname',
> 'parameters like no toolbar') in your action in the onclick parameter for
> the commandlink tag.
>
> - Thomas Wabner
>
>
> ________________________________
>
> From: Thomas Chang [mailto:thomas2004ch@yahoo.de]
> Sent: Donnerstag, 15. Februar 2007 17:47
> To: MyFaces Discussion
> Subject: How to open a new page which has no close button and no tool bar?
>
>
> Hi all,
>
>
>
> My code look as follow:
>
>
>
> > value="Open New Browser" target="readMessageWindow">
> 
>
>
>
> I wonder how canI set properties so that the new page "readMessageWindow"
> has no tool bar such as forwart and backwort and has no close button?
>
>
>
>
>
>
>
> ________________________________
>
> Was ist Glück? Schlafen Fische überhaupt? Die Antworten gibt's auf Yahoo!
> Clever.
>
>
> ________________________________
> Yahoo! 360° – Bloggen und Leute treffen. Erstellen Sie jetzt Ihre eigene
> Seite – kostenlos!.
>
>


 		
---------------------------------
Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel mehr bietet das  neue Yahoo! Mail .

Re: How to open a new page which has no close button and no tool bar?

Posted by Volker Weber <v....@inexso.de>.
Hi Tomas,

i don't think the supression of close button is possible, but for the
rest maybe this helps:

http://tinyurl.com/22k5gr

Regards,
  Volker

2007/2/15, Thomas Chang <th...@yahoo.de>:
> Hi,
>
> Could you write it a little bit in detail? :) Or maybe you have an example?
>
> Thanks
>
> Thomas
>
>
> "Wabner, Thomas (EXT)" <th...@siemens.com> schrieb:
>
>
>
> Hi,
>
> you have to use a java script function like openWindow('url', 'windoname',
> 'parameters like no toolbar') in your action in the onclick parameter for
> the commandlink tag.
>
> - Thomas Wabner
>
>
>  ________________________________
>
> From: Thomas Chang [mailto:thomas2004ch@yahoo.de]
> Sent: Donnerstag, 15. Februar 2007 17:47
> To: MyFaces Discussion
> Subject: How to open a new page which has no close button and no tool bar?
>
>
> Hi all,
>
>
>
> My code look as follow:
>
>
>
> <t:commandLink action="openNewBrowser" immediate="true"
>   value="Open New Browser" target="readMessageWindow">
> </t:commandLink>
>
>
>
> I wonder how canI set properties so that the new page "readMessageWindow"
> has no tool bar such as forwart and backwort and has no close button?
>
>
>
>
>
>
>
>  ________________________________
>
> Was ist Glück? Schlafen Fische überhaupt? Die Antworten gibt's auf Yahoo!
> Clever.
>
>
>  ________________________________
> Yahoo! 360° – Bloggen und Leute treffen. Erstellen Sie jetzt Ihre eigene
> Seite – kostenlos!.
>
>

RE: How to open a new page which has no close button and no tool bar?

Posted by Thomas Chang <th...@yahoo.de>.
Hi,
   
  Could you write it a little bit in detail? :) Or maybe you have an example?
   
  Thanks
   
  Thomas
  

"Wabner, Thomas (EXT)" <th...@siemens.com> schrieb:
        v\:* {behavior:url(#default#VML);}  o\:* {behavior:url(#default#VML);}  w\:* {behavior:url(#default#VML);}  .shape {behavior:url(#default#VML);}                Hi,
   
  you have to use a java script function like openWindow(’url’, ’windoname’, ’parameters like no toolbar’) in your action in the onclick parameter for the commandlink tag.
   
  - Thomas Wabner
   
      
---------------------------------
  
  From: Thomas Chang [mailto:thomas2004ch@yahoo.de] 
Sent: Donnerstag, 15. Februar 2007 17:47
To: MyFaces Discussion
Subject: How to open a new page which has no close button and no tool bar?

   
    Hi all,

     

    My code look as follow:

     

    <t:commandLink action="openNewBrowser" immediate="true"
  value="Open New Browser" target="readMessageWindow">
</t:commandLink>

     

    I wonder how canI set properties so that the new page "readMessageWindow" has no tool bar such as forwart and backwort and has no close button?

     

    

 

    
    
---------------------------------
  
  Was ist Glück? Schlafen Fische überhaupt? Die Antworten gibt’s auf Yahoo! Clever.



 		
---------------------------------
Yahoo! 360° – Bloggen und Leute treffen. Erstellen Sie jetzt Ihre eigene Seite – kostenlos!. 

RE: How to open a new page which has no close button and no tool bar?

Posted by "Wabner, Thomas (EXT)" <th...@siemens.com>.
Hi,

 

you have to use a java script function like openWindow('url', 'windoname', 'parameters like no toolbar') in your action in the onclick parameter for the commandlink tag.

 

- Thomas Wabner

 

________________________________

From: Thomas Chang [mailto:thomas2004ch@yahoo.de] 
Sent: Donnerstag, 15. Februar 2007 17:47
To: MyFaces Discussion
Subject: How to open a new page which has no close button and no tool bar?

 

Hi all,

 

My code look as follow:

 

<t:commandLink action="openNewBrowser" immediate="true"
  value="Open New Browser" target="readMessageWindow">
</t:commandLink>

 

I wonder how canI set properties so that the new page "readMessageWindow" has no tool bar such as forwart and backwort and has no close button?

 



 

  

________________________________

Was ist Glück? Schlafen Fische überhaupt? Die Antworten gibt's auf Yahoo! Clever <http://de.rd.yahoo.com/xx/searchpromo/i/tagline/cleverfp/*http:/de.answers.yahoo.com> .


How to open a new page which has no close button and no tool bar?

Posted by Thomas Chang <th...@yahoo.de>.
Hi all,
   
  My code look as follow:
   
  <t:commandLink action="openNewBrowser" immediate="true"
  value="Open New Browser" target="readMessageWindow">
</t:commandLink>
   
  I wonder how canI set properties so that the new page "readMessageWindow" has no tool bar such as forwart and backwort and has no close button?
   
  

 

 		
---------------------------------
Was ist Glück? Schlafen Fische überhaupt? Die Antworten gibt’s auf Yahoo! Clever.

Problem by using

Posted by Thomas Chang <th...@yahoo.de>.
Hi,

I till have problem by using the <t:updateActionListener/>.

Matthias's email had helped me a step forward. I get no error now. 

My situation is: First I login into my web application. I navigate my web application by clicking the index menu on the left side of my page. For example I click the index "Show Message". In this page this a link as follow:

...
<t:commandLink action="openNewBrowser" immediate="true"
  value="Open New Browser" target="readMessageWindow">
  <t:updateActionListener property="property" value="message" />
</t:commandLink>
...

I click the commandLink, a new browser window, "readMessageWindow", will be opened. 

Now my problem: after I close the new opened window and click other index menu, the page "readMessageWindow" will be open again and even worse, this "readMessageWindow" will not be open in a new browser window but just over the first window, somewhat like target="self".

But if I use the <t:updateActionListener /> in a simple web application without login, it runs quite well.

I wonder if this has to do with Session?

Regards

Thomas.



Matthias Wessendorf <ma...@apache.org> schrieb: 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  wrote:
> Hi Aleksandr,
>
> You are right. I do use Facelets. But I can use other t-tags such as   etc. in xHtml and they work well.  Besides, I have the followings on the top of my files.
>
> Thanks
>
> Thomas
>
>
>
> 
>     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  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 
> 02.02.2007 12:14
>
> Please respond to
>  "MyFaces Discussion" 
>
>
> To MyFaces Discussion 
>
> cc
>
>
> Subject Error by using 
>
>
>
>
>
>
>
> Hi all,
>
>  My code look as follow:
>
>  myPage.xHtml
>  ***************
>  ...
>  
>    action="openNewBrowser"
>    immediate="true"
>    value="Open New Browser"
>    target="readMessageWindow">
>    
>  
>  ...
>
>  But I get following error when try to open myPage.xHtml. What's wrong?
>
>    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 .
>
>



-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com


 		
---------------------------------
Keine Lust auf Tippen? Rufen Sie Ihre Freunde einfach an.
  Yahoo! Messenger. Jetzt installieren . 

Re: Error by using

Posted by Mike Kienenberger <mk...@gmail.com>.
Unfortunately, Tomahawk doesn't yet have build support to create
facelets taghandlers.  It's on the todo list.  Same deal as bundling a
tomahawk.taglib.xml file as part of Tomahawk.

As for the donation, you'd have to ask Andrew, but he's probably not
invested the effort for the same reason as above.

On 2/7/07, Jeff Bischoff <jb...@klkurz.com> 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 <th...@yahoo.de> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
> >> 02.02.2007 12:14
> >>
> >> Please respond to
> >>  "MyFaces Discussion" <us...@myfaces.apache.org>
> >>
> >>
> >> To MyFaces Discussion <us...@myfaces.apache.org>
> >>
> >> 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 .
> >>
> >>
> >
> >
> >
>
>
>

Re: Error by using

Posted by Andrew Robinson <an...@gmail.com>.
For the taglib.xml files, jsf-comp has an autogeneration tool that
builds the taglib files for you. The only drawback is that it only
supports components (not validators for example). There is examples in
the *-all.jar release.

You can get it here:

http://sourceforge.net/project/showfiles.php?group_id=137466&package_id=168411

it is the faceletsAntTasks 0.9 release that you are looking for.

FYI - I haven't worked on it in quite a while, but it still should
work fine with the new tomahawk releases.

On 2/8/07, Mike Kienenberger <mk...@gmail.com> wrote:
> I stand corrected.  It's not there.  Weird.
>
> I've realphabetized the sandbox taglib file and added subForm.
>
> On 2/8/07, Mike Kienenberger <mk...@gmail.com> wrote:
> >     <tag>
> >         <tag-name>subForm</tag-name>
> >         <component>
> >             <component-type>org.apache.myfaces.SubForm</component-type>
> >             <renderer-type>org.apache.myfaces.SubForm</renderer-type>
> >         </component>
> >     </tag>
> >
> >
> > I'm pretty sure it's on the sandbox wiki because I think that's where
> > I got it, but I'll double-check.
> >
> >
> > On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
> > > speaking of which, does anybody have the correct taglib tag for
> > > s:subform? It's not on either wiki. :)
> > >
> > > Jeff Bischoff wrote:
> > > > 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 <jb...@klkurz.com> 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 <jb...@klkurz.com> 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 <th...@yahoo.de> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
> > > >>> >> >> 02.02.2007 12:14
> > > >>> >> >>
> > > >>> >> >> Please respond to
> > > >>> >> >>  "MyFaces Discussion" <us...@myfaces.apache.org>
> > > >>> >> >>
> > > >>> >> >>
> > > >>> >> >> To MyFaces Discussion <us...@myfaces.apache.org>
> > > >>> >> >>
> > > >>> >> >> 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 .
> > > >>> >> >>
> > > >>> >> >>
> > > >>> >> >
> > > >>> >> >
> > > >>> >> >
> > > >>> >>
> > > >>> >>
> > > >>> >>
> > > >>> >
> > > >>> >
> > > >>> >
> > > >>>
> > > >>>
> > > >>>
> > > >>
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
>

Re: [Resolved]Re: Facelets Taglibs [WAS Re: Error by using ]

Posted by Jeff Bischoff <jb...@klkurz.com>.
Mike Kienenberger wrote:
> On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
>> Mike, I tried your setup and it worked. This puzzled me because I know
>> that I (and probably you too) actually have the custom selectItems class
>> in the sandbox.jar. So why would it work as t:selectItems and not
>> s:selectItems? The answer was that my sandbox taglib was failing to
>> parse.
> 
> Jeff, this might be another answer to your earlier question.   Since
> there's nothing stopping us from having both a t:selectItems and a
> sandbox:selectItems, the wiki pages may as well have both if there's a
> difference between the trunk and the release.   After a release with a
> promotion, the sandbox copy can be deleted.
> 
> 
> 

I disagree Mike, in terms of the wiki page. This works fine for both of 
us because we have both a tomahawk.jar and a sandbox.jar, and the Class 
in question is clearly going to be in one of those jars. (and thus in 
the classpath)

But for people who *only* use Tomahawk, adding an extra entry for 
t:selectItems before it gets promoted would cause their entire tomahawk 
taglib not to load. They would get the same ClassNotFound exception that 
I got from  having taglib entries for sandbox components that weren't in 
my jar - only in this case it would be tomahawk components not yet in 
the tomahawk.jar.

Therefore, I don't think I should add such entries to the tomahawk 
taglib wiki prematurely. The idea is to make it as easy as possible for 
people new to the project who use official releases and may not have 
sandbox.jar in their classpath.

When the next Tomahawk is realised, I've made a note to check the taglib 
on the wiki and make any revisions necessary.

Thanks again for all your help discussing this with me.

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.



Re: [Resolved]Re: Facelets Taglibs [WAS Re: Error by using ]

Posted by Mike Kienenberger <mk...@gmail.com>.
On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
> Mike, I tried your setup and it worked. This puzzled me because I know
> that I (and probably you too) actually have the custom selectItems class
> in the sandbox.jar. So why would it work as t:selectItems and not
> s:selectItems? The answer was that my sandbox taglib was failing to
> parse.

Jeff, this might be another answer to your earlier question.   Since
there's nothing stopping us from having both a t:selectItems and a
sandbox:selectItems, the wiki pages may as well have both if there's a
difference between the trunk and the release.   After a release with a
promotion, the sandbox copy can be deleted.

[Resolved]Re: Facelets Taglibs [WAS Re: Error by using ]

Posted by Jeff Bischoff <jb...@klkurz.com>.
Okay guys, I got it!

Mike, I tried your setup and it worked. This puzzled me because I know 
that I (and probably you too) actually have the custom selectItems class 
in the sandbox.jar. So why would it work as t:selectItems and not 
s:selectItems? The answer was that my sandbox taglib was failing to 
parse. Somehow I missed that error in the logs.

"java.lang.ClassNotFoundException: 
facelets.GraphicImageDynamicComponentHandler"

The error was caused by some sandbox components that I copied from the 
wiki, but are not in my version of the jar. I guess you're right, that 
for sandbox a piecemeal approach to building your own taglib file is the 
only sane approach. The "complete and accurate" goal is only attainable 
for Tomahawk, which has releases.

I have a beef with facelets though, in that it gave me no error message 
when I tried to use a namespace that wasn't loaded. I get a nice little 
error message when I try to use a component that's not in a supported 
namespace:

<t:selectItems> Tag Library supports namespace: 
http://myfaces.apache.org/tomahawk, but no tag was defined for name: 
selectItems

Not a big deal, but it would have told me what I was screwing up a whole 
lot quicker. Maybe I'll suggest it to them.

Sorry for bothering you with something I should have caught myself!

Thanks again,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

Mike Kienenberger wrote:
> Ok. I'm using exactly one t:selectItems
> 
> Maybe this is of some help:
> 
>       xmlns:t="http://myfaces.apache.org/tomahawk"
> [...]
> <t:selectItems
>    value="#{locationServicePage.currentService.location.serviceList}"
>    var="locationService"
>    itemLabel="#{locationService.serviceType.UIDisplayLabel}"
>    itemValue="#{locationService}"
>     
>                                         />
> <facelet-taglib>
>    <namespace>http://myfaces.apache.org/tomahawk</namespace>
> [...]
>    <tag>
>        <tag-name>selectItems</tag-name>
>        <component>
>            
> <component-type>org.apache.myfaces.UISelectItems</component-type>
>        </component>
>    </tag>
> 
> 
> 
> On 2/8/07, Mike Kienenberger <mk...@gmail.com> wrote:
>> I'm using a 1.1.5-2006-08-18 tomahawk snapshot, so I'm not sure how
>> helpful I can be.
>> I've also switched to using an internal orderedSelectItems component,
>> so I'm not even sure if I'm using s:selectItems anywhere in my code at
>> present.
>>
>> On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
>> > Alright. I'm working off of the Release Candidates now, so once they 
>> are
>> > released and I've tested my taglib entries out more, I'll update 
>> both wikis.
>> >
>> > On a side note, I do need to test these more before reposting them
>> > anywhere. Specifically, I still can't get s:selectItems to work in
>> > facelets. (It is in sandbox for me, since I am using the release
>> > candidates) Did the class name change at all when it was promoted?
>> > Perhaps it was in another package, and I need to revert that?
>> >
>> > Hmm maybe someone other than Mike can comment, as I'm sure by now I'm
>> > giving him gray hairs. ;)
>> >
>> > Mike Kienenberger wrote:
>> > > I see my answer wasn't clear.   Sorry.  Yes, that's what I understood
>> > > you to mean.
>> > >
>> > > After thinking about it a little more, my suggestion would be to
>> > > update for the current release.   Anyone using the current trunk
>> > > should be knowledgeable enough to handle the differences between 
>> trunk
>> > > and release.
>> > >
>> > > On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
>> > >> Mike,
>> > >>
>> > >> Sorry for the confusion.
>> > >>
>> > >> I have these tags, and already added them to my appropriate 
>> taglibs. But
>> > >> I wanted to update the wiki to include them also. I just didn't know
>> > >> whether to update the wiki to reflect the current release or the 
>> current
>> > >> trunk. :)
>> > >>
>> > >> Mike Kienenberger wrote:
>> > >> > Jeff, I add tags as I need them.   That way I always know that 
>> they
>> > >> work.
>> > >> > Actually, I think I have tags for convertNumber
>> > >> >
>> > >> >    <tag>
>> > >> >        <tag-name>convertDateTime</tag-name>
>> > >> >        <converter>
>> > >> >
>> > >> >
>> > >> 
>> <converter-id>org.apache.myfaces.custom.convertDateTime.DateTimeConverter</converter-id> 
>>
>> > >>
>> > >> >
>> > >> >        </converter>
>> > >> >    </tag>
>> > >> >
>> > >> > I have selectItems in my tomahawk config file:
>> > >> >
>> > >> >    <tag>
>> > >> >        <tag-name>selectItems</tag-name>
>> > >> >        <component>
>> > >> >
>> > >> > <component-type>org.apache.myfaces.UISelectItems</component-type>
>> > >> >        </component>
>> > >> >    </tag>
>> > >> >
>> > >> > Andrew's tool can also be useful.   I think there's a similar tool
>> > >> > already checked into Myfaces (pulled over from Trinidad) as well.
>> > >> >
>> > >> > The promotion between sandbox and tomahawk definitely causes 
>> issues
>> > >> > and is probably the best reason for resolving
>> > >> > http://issues.apache.org/jira/browse/TOMAHAWK-79.
>> > >> >
>> > >> >
>> > >> > On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
>> > >> >> Thanks Mike, I see your changes. :)
>> > >> >>
>> > >> >> There are a few more sandbox tags not listed on the facelets wiki
>> > >> (only
>> > >> >> listed on our wiki, beyond the tomahawk one). Think I should add
>> > >> them to
>> > >> >> this facelets wiki? I don't want to mistakenly add something 
>> that's
>> > >> been
>> > >> >> promoted. Examples: convertDateTime, convertNumber
>> > >> >>
>> > >> >> Then there is selectItems, which was recently promoted. It's 
>> currently
>> > >> >> in our wiki's sandbox section, and not in either of the major 
>> taglib
>> > >> >> sections. Not sure which one to add it to. Stable releases 
>> have this
>> > >> >> component in sandbox, the trunk has it in tomahawk.
>> > >> >>
>> > >> >> I'm willing to make these changes myself, just wanted to check 
>> before
>> > >> >> screwing it up for somebody else. Do we normally keep these wikis
>> > >> >> current for the trunk or the latest release?
>> > >> >>
>> > >> >> Regards,
>> > >> >>
>> > >> >> Jeff Bischoff
>> > >> >> Kenneth L Kurz & Associates, Inc.
>> > >> >>
>> > >> >> Mike Kienenberger wrote:
>> > >> >> > I stand corrected.  It's not there.  Weird.
>> > >> >> >
>> > >> >> > I've realphabetized the sandbox taglib file and added subForm.
>> > >> >> >
>> > >> >> > On 2/8/07, Mike Kienenberger <mk...@gmail.com> wrote:
>> > >> >> >>     <tag>
>> > >> >> >>         <tag-name>subForm</tag-name>
>> > >> >> >>         <component>
>> > >> >> >>
>> > >> >> <component-type>org.apache.myfaces.SubForm</component-type>
>> > >> >> >>
>> > >> <renderer-type>org.apache.myfaces.SubForm</renderer-type>
>> > >> >> >>         </component>
>> > >> >> >>     </tag>
>> > >> >> >>
>> > >> >> >>
>> > >> >> >> I'm pretty sure it's on the sandbox wiki because I think 
>> that's
>> > >> where
>> > >> >> >> I got it, but I'll double-check.
>> > >> >> >>
>> > >> >> >>
>> > >> >> >> On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
>> > >> >> >> > speaking of which, does anybody have the correct taglib 
>> tag for
>> > >> >> >> > s:subform? It's not on either wiki. :)
>> > >> >> >> >
>> > >> >> >> > Jeff Bischoff wrote:
>> > >> >> >> > > 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 <jb...@klkurz.com> 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 <jb...@klkurz.com> 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 <th...@yahoo.de> 
>> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
>> > >> >> >> > >>> >> >> 02.02.2007 12:14
>> > >> >> >> > >>> >> >>
>> > >> >> >> > >>> >> >> Please respond to
>> > >> >> >> > >>> >> >>  "MyFaces Discussion" <us...@myfaces.apache.org>
>> > >> >> >> > >>> >> >>
>> > >> >> >> > >>> >> >>
>> > >> >> >> > >>> >> >> To MyFaces Discussion <us...@myfaces.apache.org>
>> > >> >> >> > >>> >> >>
>> > >> >> >> > >>> >> >> 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 .
>> > >> >> >> > >>> >> >>
>> > >> >> >> > >>> >> >>
>> > >> >> >> > >>> >> >
>> > >> >> >> > >>> >> >
>> > >> >> >> > >>> >> >
>> > >> >> >> > >>> >>
>> > >> >> >> > >>> >>
>> > >> >> >> > >>> >>
>> > >> >> >> > >>> >
>> > >> >> >> > >>> >
>> > >> >> >> > >>> >
>> > >> >> >> > >>>
>> > >> >> >> > >>>
>> > >> >> >> > >>>
>> > >> >> >> > >>
>> > >> >> >> > >>
>> > >> >> >> > >>
>> > >> >> >> > >
>> > >> >> >> > >
>> > >> >> >> > >
>> > >> >> >> > >
>> > >> >> >> > >
>> > >> >> >> >
>> > >> >> >> >
>> > >> >> >> >
>> > >> >> >>
>> > >> >> >
>> > >> >> >
>> > >> >> >
>> > >> >>
>> > >> >>
>> > >> >>
>> > >> >
>> > >> >
>> > >> >
>> > >>
>> > >>
>> > >>
>> > >
>> > >
>> > >
>> >
>> >
>> >
>>
> 
> 
> 



Re: Facelets Taglibs [WAS Re: Error by using ]

Posted by Mike Kienenberger <mk...@gmail.com>.
Ok. I'm using exactly one t:selectItems

Maybe this is of some help:

	  xmlns:t="http://myfaces.apache.org/tomahawk"
[...]
<t:selectItems
    value="#{locationServicePage.currentService.location.serviceList}"
    var="locationService"
    itemLabel="#{locationService.serviceType.UIDisplayLabel}"
    itemValue="#{locationService}"
	
										/>
<facelet-taglib>
    <namespace>http://myfaces.apache.org/tomahawk</namespace>
[...]
    <tag>
        <tag-name>selectItems</tag-name>
        <component>
            <component-type>org.apache.myfaces.UISelectItems</component-type>
        </component>
    </tag>



On 2/8/07, Mike Kienenberger <mk...@gmail.com> wrote:
> I'm using a 1.1.5-2006-08-18 tomahawk snapshot, so I'm not sure how
> helpful I can be.
> I've also switched to using an internal orderedSelectItems component,
> so I'm not even sure if I'm using s:selectItems anywhere in my code at
> present.
>
> On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
> > Alright. I'm working off of the Release Candidates now, so once they are
> > released and I've tested my taglib entries out more, I'll update both wikis.
> >
> > On a side note, I do need to test these more before reposting them
> > anywhere. Specifically, I still can't get s:selectItems to work in
> > facelets. (It is in sandbox for me, since I am using the release
> > candidates) Did the class name change at all when it was promoted?
> > Perhaps it was in another package, and I need to revert that?
> >
> > Hmm maybe someone other than Mike can comment, as I'm sure by now I'm
> > giving him gray hairs. ;)
> >
> > Mike Kienenberger wrote:
> > > I see my answer wasn't clear.   Sorry.  Yes, that's what I understood
> > > you to mean.
> > >
> > > After thinking about it a little more, my suggestion would be to
> > > update for the current release.   Anyone using the current trunk
> > > should be knowledgeable enough to handle the differences between trunk
> > > and release.
> > >
> > > On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
> > >> Mike,
> > >>
> > >> Sorry for the confusion.
> > >>
> > >> I have these tags, and already added them to my appropriate taglibs. But
> > >> I wanted to update the wiki to include them also. I just didn't know
> > >> whether to update the wiki to reflect the current release or the current
> > >> trunk. :)
> > >>
> > >> Mike Kienenberger wrote:
> > >> > Jeff, I add tags as I need them.   That way I always know that they
> > >> work.
> > >> > Actually, I think I have tags for convertNumber
> > >> >
> > >> >    <tag>
> > >> >        <tag-name>convertDateTime</tag-name>
> > >> >        <converter>
> > >> >
> > >> >
> > >> <converter-id>org.apache.myfaces.custom.convertDateTime.DateTimeConverter</converter-id>
> > >>
> > >> >
> > >> >        </converter>
> > >> >    </tag>
> > >> >
> > >> > I have selectItems in my tomahawk config file:
> > >> >
> > >> >    <tag>
> > >> >        <tag-name>selectItems</tag-name>
> > >> >        <component>
> > >> >
> > >> > <component-type>org.apache.myfaces.UISelectItems</component-type>
> > >> >        </component>
> > >> >    </tag>
> > >> >
> > >> > Andrew's tool can also be useful.   I think there's a similar tool
> > >> > already checked into Myfaces (pulled over from Trinidad) as well.
> > >> >
> > >> > The promotion between sandbox and tomahawk definitely causes issues
> > >> > and is probably the best reason for resolving
> > >> > http://issues.apache.org/jira/browse/TOMAHAWK-79.
> > >> >
> > >> >
> > >> > On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
> > >> >> Thanks Mike, I see your changes. :)
> > >> >>
> > >> >> There are a few more sandbox tags not listed on the facelets wiki
> > >> (only
> > >> >> listed on our wiki, beyond the tomahawk one). Think I should add
> > >> them to
> > >> >> this facelets wiki? I don't want to mistakenly add something that's
> > >> been
> > >> >> promoted. Examples: convertDateTime, convertNumber
> > >> >>
> > >> >> Then there is selectItems, which was recently promoted. It's currently
> > >> >> in our wiki's sandbox section, and not in either of the major taglib
> > >> >> sections. Not sure which one to add it to. Stable releases have this
> > >> >> component in sandbox, the trunk has it in tomahawk.
> > >> >>
> > >> >> I'm willing to make these changes myself, just wanted to check before
> > >> >> screwing it up for somebody else. Do we normally keep these wikis
> > >> >> current for the trunk or the latest release?
> > >> >>
> > >> >> Regards,
> > >> >>
> > >> >> Jeff Bischoff
> > >> >> Kenneth L Kurz & Associates, Inc.
> > >> >>
> > >> >> Mike Kienenberger wrote:
> > >> >> > I stand corrected.  It's not there.  Weird.
> > >> >> >
> > >> >> > I've realphabetized the sandbox taglib file and added subForm.
> > >> >> >
> > >> >> > On 2/8/07, Mike Kienenberger <mk...@gmail.com> wrote:
> > >> >> >>     <tag>
> > >> >> >>         <tag-name>subForm</tag-name>
> > >> >> >>         <component>
> > >> >> >>
> > >> >> <component-type>org.apache.myfaces.SubForm</component-type>
> > >> >> >>
> > >> <renderer-type>org.apache.myfaces.SubForm</renderer-type>
> > >> >> >>         </component>
> > >> >> >>     </tag>
> > >> >> >>
> > >> >> >>
> > >> >> >> I'm pretty sure it's on the sandbox wiki because I think that's
> > >> where
> > >> >> >> I got it, but I'll double-check.
> > >> >> >>
> > >> >> >>
> > >> >> >> On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
> > >> >> >> > speaking of which, does anybody have the correct taglib tag for
> > >> >> >> > s:subform? It's not on either wiki. :)
> > >> >> >> >
> > >> >> >> > Jeff Bischoff wrote:
> > >> >> >> > > 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 <jb...@klkurz.com> 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 <jb...@klkurz.com> 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 <th...@yahoo.de> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
> > >> >> >> > >>> >> >> 02.02.2007 12:14
> > >> >> >> > >>> >> >>
> > >> >> >> > >>> >> >> Please respond to
> > >> >> >> > >>> >> >>  "MyFaces Discussion" <us...@myfaces.apache.org>
> > >> >> >> > >>> >> >>
> > >> >> >> > >>> >> >>
> > >> >> >> > >>> >> >> To MyFaces Discussion <us...@myfaces.apache.org>
> > >> >> >> > >>> >> >>
> > >> >> >> > >>> >> >> 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 .
> > >> >> >> > >>> >> >>
> > >> >> >> > >>> >> >>
> > >> >> >> > >>> >> >
> > >> >> >> > >>> >> >
> > >> >> >> > >>> >> >
> > >> >> >> > >>> >>
> > >> >> >> > >>> >>
> > >> >> >> > >>> >>
> > >> >> >> > >>> >
> > >> >> >> > >>> >
> > >> >> >> > >>> >
> > >> >> >> > >>>
> > >> >> >> > >>>
> > >> >> >> > >>>
> > >> >> >> > >>
> > >> >> >> > >>
> > >> >> >> > >>
> > >> >> >> > >
> > >> >> >> > >
> > >> >> >> > >
> > >> >> >> > >
> > >> >> >> > >
> > >> >> >> >
> > >> >> >> >
> > >> >> >> >
> > >> >> >>
> > >> >> >
> > >> >> >
> > >> >> >
> > >> >>
> > >> >>
> > >> >>
> > >> >
> > >> >
> > >> >
> > >>
> > >>
> > >>
> > >
> > >
> > >
> >
> >
> >
>

Re: Facelets Taglibs [WAS Re: Error by using ]

Posted by Mike Kienenberger <mk...@gmail.com>.
I'm using a 1.1.5-2006-08-18 tomahawk snapshot, so I'm not sure how
helpful I can be.
I've also switched to using an internal orderedSelectItems component,
so I'm not even sure if I'm using s:selectItems anywhere in my code at
present.

On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
> Alright. I'm working off of the Release Candidates now, so once they are
> released and I've tested my taglib entries out more, I'll update both wikis.
>
> On a side note, I do need to test these more before reposting them
> anywhere. Specifically, I still can't get s:selectItems to work in
> facelets. (It is in sandbox for me, since I am using the release
> candidates) Did the class name change at all when it was promoted?
> Perhaps it was in another package, and I need to revert that?
>
> Hmm maybe someone other than Mike can comment, as I'm sure by now I'm
> giving him gray hairs. ;)
>
> Mike Kienenberger wrote:
> > I see my answer wasn't clear.   Sorry.  Yes, that's what I understood
> > you to mean.
> >
> > After thinking about it a little more, my suggestion would be to
> > update for the current release.   Anyone using the current trunk
> > should be knowledgeable enough to handle the differences between trunk
> > and release.
> >
> > On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
> >> Mike,
> >>
> >> Sorry for the confusion.
> >>
> >> I have these tags, and already added them to my appropriate taglibs. But
> >> I wanted to update the wiki to include them also. I just didn't know
> >> whether to update the wiki to reflect the current release or the current
> >> trunk. :)
> >>
> >> Mike Kienenberger wrote:
> >> > Jeff, I add tags as I need them.   That way I always know that they
> >> work.
> >> > Actually, I think I have tags for convertNumber
> >> >
> >> >    <tag>
> >> >        <tag-name>convertDateTime</tag-name>
> >> >        <converter>
> >> >
> >> >
> >> <converter-id>org.apache.myfaces.custom.convertDateTime.DateTimeConverter</converter-id>
> >>
> >> >
> >> >        </converter>
> >> >    </tag>
> >> >
> >> > I have selectItems in my tomahawk config file:
> >> >
> >> >    <tag>
> >> >        <tag-name>selectItems</tag-name>
> >> >        <component>
> >> >
> >> > <component-type>org.apache.myfaces.UISelectItems</component-type>
> >> >        </component>
> >> >    </tag>
> >> >
> >> > Andrew's tool can also be useful.   I think there's a similar tool
> >> > already checked into Myfaces (pulled over from Trinidad) as well.
> >> >
> >> > The promotion between sandbox and tomahawk definitely causes issues
> >> > and is probably the best reason for resolving
> >> > http://issues.apache.org/jira/browse/TOMAHAWK-79.
> >> >
> >> >
> >> > On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
> >> >> Thanks Mike, I see your changes. :)
> >> >>
> >> >> There are a few more sandbox tags not listed on the facelets wiki
> >> (only
> >> >> listed on our wiki, beyond the tomahawk one). Think I should add
> >> them to
> >> >> this facelets wiki? I don't want to mistakenly add something that's
> >> been
> >> >> promoted. Examples: convertDateTime, convertNumber
> >> >>
> >> >> Then there is selectItems, which was recently promoted. It's currently
> >> >> in our wiki's sandbox section, and not in either of the major taglib
> >> >> sections. Not sure which one to add it to. Stable releases have this
> >> >> component in sandbox, the trunk has it in tomahawk.
> >> >>
> >> >> I'm willing to make these changes myself, just wanted to check before
> >> >> screwing it up for somebody else. Do we normally keep these wikis
> >> >> current for the trunk or the latest release?
> >> >>
> >> >> Regards,
> >> >>
> >> >> Jeff Bischoff
> >> >> Kenneth L Kurz & Associates, Inc.
> >> >>
> >> >> Mike Kienenberger wrote:
> >> >> > I stand corrected.  It's not there.  Weird.
> >> >> >
> >> >> > I've realphabetized the sandbox taglib file and added subForm.
> >> >> >
> >> >> > On 2/8/07, Mike Kienenberger <mk...@gmail.com> wrote:
> >> >> >>     <tag>
> >> >> >>         <tag-name>subForm</tag-name>
> >> >> >>         <component>
> >> >> >>
> >> >> <component-type>org.apache.myfaces.SubForm</component-type>
> >> >> >>
> >> <renderer-type>org.apache.myfaces.SubForm</renderer-type>
> >> >> >>         </component>
> >> >> >>     </tag>
> >> >> >>
> >> >> >>
> >> >> >> I'm pretty sure it's on the sandbox wiki because I think that's
> >> where
> >> >> >> I got it, but I'll double-check.
> >> >> >>
> >> >> >>
> >> >> >> On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
> >> >> >> > speaking of which, does anybody have the correct taglib tag for
> >> >> >> > s:subform? It's not on either wiki. :)
> >> >> >> >
> >> >> >> > Jeff Bischoff wrote:
> >> >> >> > > 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 <jb...@klkurz.com> 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 <jb...@klkurz.com> 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 <th...@yahoo.de> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
> >> >> >> > >>> >> >> 02.02.2007 12:14
> >> >> >> > >>> >> >>
> >> >> >> > >>> >> >> Please respond to
> >> >> >> > >>> >> >>  "MyFaces Discussion" <us...@myfaces.apache.org>
> >> >> >> > >>> >> >>
> >> >> >> > >>> >> >>
> >> >> >> > >>> >> >> To MyFaces Discussion <us...@myfaces.apache.org>
> >> >> >> > >>> >> >>
> >> >> >> > >>> >> >> 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 .
> >> >> >> > >>> >> >>
> >> >> >> > >>> >> >>
> >> >> >> > >>> >> >
> >> >> >> > >>> >> >
> >> >> >> > >>> >> >
> >> >> >> > >>> >>
> >> >> >> > >>> >>
> >> >> >> > >>> >>
> >> >> >> > >>> >
> >> >> >> > >>> >
> >> >> >> > >>> >
> >> >> >> > >>>
> >> >> >> > >>>
> >> >> >> > >>>
> >> >> >> > >>
> >> >> >> > >>
> >> >> >> > >>
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >
> >
> >
>
>
>

Facelets Taglibs [WAS Re: Error by using ]

Posted by Jeff Bischoff <jb...@klkurz.com>.
Alright. I'm working off of the Release Candidates now, so once they are 
released and I've tested my taglib entries out more, I'll update both wikis.

On a side note, I do need to test these more before reposting them 
anywhere. Specifically, I still can't get s:selectItems to work in 
facelets. (It is in sandbox for me, since I am using the release 
candidates) Did the class name change at all when it was promoted? 
Perhaps it was in another package, and I need to revert that?

Hmm maybe someone other than Mike can comment, as I'm sure by now I'm 
giving him gray hairs. ;)

Mike Kienenberger wrote:
> I see my answer wasn't clear.   Sorry.  Yes, that's what I understood
> you to mean.
> 
> After thinking about it a little more, my suggestion would be to
> update for the current release.   Anyone using the current trunk
> should be knowledgeable enough to handle the differences between trunk
> and release.
> 
> On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
>> Mike,
>>
>> Sorry for the confusion.
>>
>> I have these tags, and already added them to my appropriate taglibs. But
>> I wanted to update the wiki to include them also. I just didn't know
>> whether to update the wiki to reflect the current release or the current
>> trunk. :)
>>
>> Mike Kienenberger wrote:
>> > Jeff, I add tags as I need them.   That way I always know that they 
>> work.
>> > Actually, I think I have tags for convertNumber
>> >
>> >    <tag>
>> >        <tag-name>convertDateTime</tag-name>
>> >        <converter>
>> >
>> > 
>> <converter-id>org.apache.myfaces.custom.convertDateTime.DateTimeConverter</converter-id> 
>>
>> >
>> >        </converter>
>> >    </tag>
>> >
>> > I have selectItems in my tomahawk config file:
>> >
>> >    <tag>
>> >        <tag-name>selectItems</tag-name>
>> >        <component>
>> >
>> > <component-type>org.apache.myfaces.UISelectItems</component-type>
>> >        </component>
>> >    </tag>
>> >
>> > Andrew's tool can also be useful.   I think there's a similar tool
>> > already checked into Myfaces (pulled over from Trinidad) as well.
>> >
>> > The promotion between sandbox and tomahawk definitely causes issues
>> > and is probably the best reason for resolving
>> > http://issues.apache.org/jira/browse/TOMAHAWK-79.
>> >
>> >
>> > On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
>> >> Thanks Mike, I see your changes. :)
>> >>
>> >> There are a few more sandbox tags not listed on the facelets wiki 
>> (only
>> >> listed on our wiki, beyond the tomahawk one). Think I should add 
>> them to
>> >> this facelets wiki? I don't want to mistakenly add something that's 
>> been
>> >> promoted. Examples: convertDateTime, convertNumber
>> >>
>> >> Then there is selectItems, which was recently promoted. It's currently
>> >> in our wiki's sandbox section, and not in either of the major taglib
>> >> sections. Not sure which one to add it to. Stable releases have this
>> >> component in sandbox, the trunk has it in tomahawk.
>> >>
>> >> I'm willing to make these changes myself, just wanted to check before
>> >> screwing it up for somebody else. Do we normally keep these wikis
>> >> current for the trunk or the latest release?
>> >>
>> >> Regards,
>> >>
>> >> Jeff Bischoff
>> >> Kenneth L Kurz & Associates, Inc.
>> >>
>> >> Mike Kienenberger wrote:
>> >> > I stand corrected.  It's not there.  Weird.
>> >> >
>> >> > I've realphabetized the sandbox taglib file and added subForm.
>> >> >
>> >> > On 2/8/07, Mike Kienenberger <mk...@gmail.com> wrote:
>> >> >>     <tag>
>> >> >>         <tag-name>subForm</tag-name>
>> >> >>         <component>
>> >> >>
>> >> <component-type>org.apache.myfaces.SubForm</component-type>
>> >> >>             
>> <renderer-type>org.apache.myfaces.SubForm</renderer-type>
>> >> >>         </component>
>> >> >>     </tag>
>> >> >>
>> >> >>
>> >> >> I'm pretty sure it's on the sandbox wiki because I think that's 
>> where
>> >> >> I got it, but I'll double-check.
>> >> >>
>> >> >>
>> >> >> On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
>> >> >> > speaking of which, does anybody have the correct taglib tag for
>> >> >> > s:subform? It's not on either wiki. :)
>> >> >> >
>> >> >> > Jeff Bischoff wrote:
>> >> >> > > 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 <jb...@klkurz.com> 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 <jb...@klkurz.com> 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 <th...@yahoo.de> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
>> >> >> > >>> >> >> 02.02.2007 12:14
>> >> >> > >>> >> >>
>> >> >> > >>> >> >> Please respond to
>> >> >> > >>> >> >>  "MyFaces Discussion" <us...@myfaces.apache.org>
>> >> >> > >>> >> >>
>> >> >> > >>> >> >>
>> >> >> > >>> >> >> To MyFaces Discussion <us...@myfaces.apache.org>
>> >> >> > >>> >> >>
>> >> >> > >>> >> >> 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 .
>> >> >> > >>> >> >>
>> >> >> > >>> >> >>
>> >> >> > >>> >> >
>> >> >> > >>> >> >
>> >> >> > >>> >> >
>> >> >> > >>> >>
>> >> >> > >>> >>
>> >> >> > >>> >>
>> >> >> > >>> >
>> >> >> > >>> >
>> >> >> > >>> >
>> >> >> > >>>
>> >> >> > >>>
>> >> >> > >>>
>> >> >> > >>
>> >> >> > >>
>> >> >> > >>
>> >> >> > >
>> >> >> > >
>> >> >> > >
>> >> >> > >
>> >> >> > >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >
>> >
>> >
>>
>>
>>
> 
> 
> 



Re: Error by using

Posted by Mike Kienenberger <mk...@gmail.com>.
I see my answer wasn't clear.   Sorry.  Yes, that's what I understood
you to mean.

After thinking about it a little more, my suggestion would be to
update for the current release.   Anyone using the current trunk
should be knowledgeable enough to handle the differences between trunk
and release.

On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
> Mike,
>
> Sorry for the confusion.
>
> I have these tags, and already added them to my appropriate taglibs. But
> I wanted to update the wiki to include them also. I just didn't know
> whether to update the wiki to reflect the current release or the current
> trunk. :)
>
> Mike Kienenberger wrote:
> > Jeff, I add tags as I need them.   That way I always know that they work.
> > Actually, I think I have tags for convertNumber
> >
> >    <tag>
> >        <tag-name>convertDateTime</tag-name>
> >        <converter>
> >
> > <converter-id>org.apache.myfaces.custom.convertDateTime.DateTimeConverter</converter-id>
> >
> >        </converter>
> >    </tag>
> >
> > I have selectItems in my tomahawk config file:
> >
> >    <tag>
> >        <tag-name>selectItems</tag-name>
> >        <component>
> >
> > <component-type>org.apache.myfaces.UISelectItems</component-type>
> >        </component>
> >    </tag>
> >
> > Andrew's tool can also be useful.   I think there's a similar tool
> > already checked into Myfaces (pulled over from Trinidad) as well.
> >
> > The promotion between sandbox and tomahawk definitely causes issues
> > and is probably the best reason for resolving
> > http://issues.apache.org/jira/browse/TOMAHAWK-79.
> >
> >
> > On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
> >> Thanks Mike, I see your changes. :)
> >>
> >> There are a few more sandbox tags not listed on the facelets wiki (only
> >> listed on our wiki, beyond the tomahawk one). Think I should add them to
> >> this facelets wiki? I don't want to mistakenly add something that's been
> >> promoted. Examples: convertDateTime, convertNumber
> >>
> >> Then there is selectItems, which was recently promoted. It's currently
> >> in our wiki's sandbox section, and not in either of the major taglib
> >> sections. Not sure which one to add it to. Stable releases have this
> >> component in sandbox, the trunk has it in tomahawk.
> >>
> >> I'm willing to make these changes myself, just wanted to check before
> >> screwing it up for somebody else. Do we normally keep these wikis
> >> current for the trunk or the latest release?
> >>
> >> Regards,
> >>
> >> Jeff Bischoff
> >> Kenneth L Kurz & Associates, Inc.
> >>
> >> Mike Kienenberger wrote:
> >> > I stand corrected.  It's not there.  Weird.
> >> >
> >> > I've realphabetized the sandbox taglib file and added subForm.
> >> >
> >> > On 2/8/07, Mike Kienenberger <mk...@gmail.com> wrote:
> >> >>     <tag>
> >> >>         <tag-name>subForm</tag-name>
> >> >>         <component>
> >> >>
> >> <component-type>org.apache.myfaces.SubForm</component-type>
> >> >>             <renderer-type>org.apache.myfaces.SubForm</renderer-type>
> >> >>         </component>
> >> >>     </tag>
> >> >>
> >> >>
> >> >> I'm pretty sure it's on the sandbox wiki because I think that's where
> >> >> I got it, but I'll double-check.
> >> >>
> >> >>
> >> >> On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
> >> >> > speaking of which, does anybody have the correct taglib tag for
> >> >> > s:subform? It's not on either wiki. :)
> >> >> >
> >> >> > Jeff Bischoff wrote:
> >> >> > > 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 <jb...@klkurz.com> 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 <jb...@klkurz.com> 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 <th...@yahoo.de> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
> >> >> > >>> >> >> 02.02.2007 12:14
> >> >> > >>> >> >>
> >> >> > >>> >> >> Please respond to
> >> >> > >>> >> >>  "MyFaces Discussion" <us...@myfaces.apache.org>
> >> >> > >>> >> >>
> >> >> > >>> >> >>
> >> >> > >>> >> >> To MyFaces Discussion <us...@myfaces.apache.org>
> >> >> > >>> >> >>
> >> >> > >>> >> >> 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 .
> >> >> > >>> >> >>
> >> >> > >>> >> >>
> >> >> > >>> >> >
> >> >> > >>> >> >
> >> >> > >>> >> >
> >> >> > >>> >>
> >> >> > >>> >>
> >> >> > >>> >>
> >> >> > >>> >
> >> >> > >>> >
> >> >> > >>> >
> >> >> > >>>
> >> >> > >>>
> >> >> > >>>
> >> >> > >>
> >> >> > >>
> >> >> > >>
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >
> >
> >
>
>
>

Re: Error by using

Posted by Jeff Bischoff <jb...@klkurz.com>.
Mike,

Sorry for the confusion.

I have these tags, and already added them to my appropriate taglibs. But 
I wanted to update the wiki to include them also. I just didn't know 
whether to update the wiki to reflect the current release or the current 
trunk. :)

Mike Kienenberger wrote:
> Jeff, I add tags as I need them.   That way I always know that they work.
> Actually, I think I have tags for convertNumber
> 
>    <tag>
>        <tag-name>convertDateTime</tag-name>
>        <converter>
>            
> <converter-id>org.apache.myfaces.custom.convertDateTime.DateTimeConverter</converter-id> 
> 
>        </converter>
>    </tag>
> 
> I have selectItems in my tomahawk config file:
> 
>    <tag>
>        <tag-name>selectItems</tag-name>
>        <component>
>            
> <component-type>org.apache.myfaces.UISelectItems</component-type>
>        </component>
>    </tag>
> 
> Andrew's tool can also be useful.   I think there's a similar tool
> already checked into Myfaces (pulled over from Trinidad) as well.
> 
> The promotion between sandbox and tomahawk definitely causes issues
> and is probably the best reason for resolving
> http://issues.apache.org/jira/browse/TOMAHAWK-79.
> 
> 
> On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
>> Thanks Mike, I see your changes. :)
>>
>> There are a few more sandbox tags not listed on the facelets wiki (only
>> listed on our wiki, beyond the tomahawk one). Think I should add them to
>> this facelets wiki? I don't want to mistakenly add something that's been
>> promoted. Examples: convertDateTime, convertNumber
>>
>> Then there is selectItems, which was recently promoted. It's currently
>> in our wiki's sandbox section, and not in either of the major taglib
>> sections. Not sure which one to add it to. Stable releases have this
>> component in sandbox, the trunk has it in tomahawk.
>>
>> I'm willing to make these changes myself, just wanted to check before
>> screwing it up for somebody else. Do we normally keep these wikis
>> current for the trunk or the latest release?
>>
>> Regards,
>>
>> Jeff Bischoff
>> Kenneth L Kurz & Associates, Inc.
>>
>> Mike Kienenberger wrote:
>> > I stand corrected.  It's not there.  Weird.
>> >
>> > I've realphabetized the sandbox taglib file and added subForm.
>> >
>> > On 2/8/07, Mike Kienenberger <mk...@gmail.com> wrote:
>> >>     <tag>
>> >>         <tag-name>subForm</tag-name>
>> >>         <component>
>> >>             
>> <component-type>org.apache.myfaces.SubForm</component-type>
>> >>             <renderer-type>org.apache.myfaces.SubForm</renderer-type>
>> >>         </component>
>> >>     </tag>
>> >>
>> >>
>> >> I'm pretty sure it's on the sandbox wiki because I think that's where
>> >> I got it, but I'll double-check.
>> >>
>> >>
>> >> On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
>> >> > speaking of which, does anybody have the correct taglib tag for
>> >> > s:subform? It's not on either wiki. :)
>> >> >
>> >> > Jeff Bischoff wrote:
>> >> > > 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 <jb...@klkurz.com> 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 <jb...@klkurz.com> 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 <th...@yahoo.de> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
>> >> > >>> >> >> 02.02.2007 12:14
>> >> > >>> >> >>
>> >> > >>> >> >> Please respond to
>> >> > >>> >> >>  "MyFaces Discussion" <us...@myfaces.apache.org>
>> >> > >>> >> >>
>> >> > >>> >> >>
>> >> > >>> >> >> To MyFaces Discussion <us...@myfaces.apache.org>
>> >> > >>> >> >>
>> >> > >>> >> >> 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 .
>> >> > >>> >> >>
>> >> > >>> >> >>
>> >> > >>> >> >
>> >> > >>> >> >
>> >> > >>> >> >
>> >> > >>> >>
>> >> > >>> >>
>> >> > >>> >>
>> >> > >>> >
>> >> > >>> >
>> >> > >>> >
>> >> > >>>
>> >> > >>>
>> >> > >>>
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >
>>
>>
>>
> 
> 
> 



Re: Error by using

Posted by Mike Kienenberger <mk...@gmail.com>.
Jeff, I add tags as I need them.   That way I always know that they work.
Actually, I think I have tags for convertNumber

    <tag>
        <tag-name>convertDateTime</tag-name>
        <converter>
            <converter-id>org.apache.myfaces.custom.convertDateTime.DateTimeConverter</converter-id>
        </converter>
    </tag>

I have selectItems in my tomahawk config file:

    <tag>
        <tag-name>selectItems</tag-name>
        <component>
            <component-type>org.apache.myfaces.UISelectItems</component-type>
        </component>
    </tag>

Andrew's tool can also be useful.   I think there's a similar tool
already checked into Myfaces (pulled over from Trinidad) as well.

The promotion between sandbox and tomahawk definitely causes issues
and is probably the best reason for resolving
http://issues.apache.org/jira/browse/TOMAHAWK-79.


On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
> Thanks Mike, I see your changes. :)
>
> There are a few more sandbox tags not listed on the facelets wiki (only
> listed on our wiki, beyond the tomahawk one). Think I should add them to
> this facelets wiki? I don't want to mistakenly add something that's been
> promoted. Examples: convertDateTime, convertNumber
>
> Then there is selectItems, which was recently promoted. It's currently
> in our wiki's sandbox section, and not in either of the major taglib
> sections. Not sure which one to add it to. Stable releases have this
> component in sandbox, the trunk has it in tomahawk.
>
> I'm willing to make these changes myself, just wanted to check before
> screwing it up for somebody else. Do we normally keep these wikis
> current for the trunk or the latest release?
>
> Regards,
>
> Jeff Bischoff
> Kenneth L Kurz & Associates, Inc.
>
> Mike Kienenberger wrote:
> > I stand corrected.  It's not there.  Weird.
> >
> > I've realphabetized the sandbox taglib file and added subForm.
> >
> > On 2/8/07, Mike Kienenberger <mk...@gmail.com> wrote:
> >>     <tag>
> >>         <tag-name>subForm</tag-name>
> >>         <component>
> >>             <component-type>org.apache.myfaces.SubForm</component-type>
> >>             <renderer-type>org.apache.myfaces.SubForm</renderer-type>
> >>         </component>
> >>     </tag>
> >>
> >>
> >> I'm pretty sure it's on the sandbox wiki because I think that's where
> >> I got it, but I'll double-check.
> >>
> >>
> >> On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
> >> > speaking of which, does anybody have the correct taglib tag for
> >> > s:subform? It's not on either wiki. :)
> >> >
> >> > Jeff Bischoff wrote:
> >> > > 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 <jb...@klkurz.com> 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 <jb...@klkurz.com> 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 <th...@yahoo.de> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
> >> > >>> >> >> 02.02.2007 12:14
> >> > >>> >> >>
> >> > >>> >> >> Please respond to
> >> > >>> >> >>  "MyFaces Discussion" <us...@myfaces.apache.org>
> >> > >>> >> >>
> >> > >>> >> >>
> >> > >>> >> >> To MyFaces Discussion <us...@myfaces.apache.org>
> >> > >>> >> >>
> >> > >>> >> >> 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 .
> >> > >>> >> >>
> >> > >>> >> >>
> >> > >>> >> >
> >> > >>> >> >
> >> > >>> >> >
> >> > >>> >>
> >> > >>> >>
> >> > >>> >>
> >> > >>> >
> >> > >>> >
> >> > >>> >
> >> > >>>
> >> > >>>
> >> > >>>
> >> > >>
> >> > >>
> >> > >>
> >> > >
> >> > >
> >> > >
> >> > >
> >> > >
> >> >
> >> >
> >> >
> >>
> >
> >
> >
>
>
>

Re: Error by using

Posted by Jeff Bischoff <jb...@klkurz.com>.
Thanks Mike, I see your changes. :)

There are a few more sandbox tags not listed on the facelets wiki (only 
listed on our wiki, beyond the tomahawk one). Think I should add them to 
this facelets wiki? I don't want to mistakenly add something that's been 
promoted. Examples: convertDateTime, convertNumber

Then there is selectItems, which was recently promoted. It's currently 
in our wiki's sandbox section, and not in either of the major taglib 
sections. Not sure which one to add it to. Stable releases have this 
component in sandbox, the trunk has it in tomahawk.

I'm willing to make these changes myself, just wanted to check before 
screwing it up for somebody else. Do we normally keep these wikis 
current for the trunk or the latest release?

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

Mike Kienenberger wrote:
> I stand corrected.  It's not there.  Weird.
> 
> I've realphabetized the sandbox taglib file and added subForm.
> 
> On 2/8/07, Mike Kienenberger <mk...@gmail.com> wrote:
>>     <tag>
>>         <tag-name>subForm</tag-name>
>>         <component>
>>             <component-type>org.apache.myfaces.SubForm</component-type>
>>             <renderer-type>org.apache.myfaces.SubForm</renderer-type>
>>         </component>
>>     </tag>
>>
>>
>> I'm pretty sure it's on the sandbox wiki because I think that's where
>> I got it, but I'll double-check.
>>
>>
>> On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
>> > speaking of which, does anybody have the correct taglib tag for
>> > s:subform? It's not on either wiki. :)
>> >
>> > Jeff Bischoff wrote:
>> > > 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 <jb...@klkurz.com> 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 <jb...@klkurz.com> 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 <th...@yahoo.de> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
>> > >>> >> >> 02.02.2007 12:14
>> > >>> >> >>
>> > >>> >> >> Please respond to
>> > >>> >> >>  "MyFaces Discussion" <us...@myfaces.apache.org>
>> > >>> >> >>
>> > >>> >> >>
>> > >>> >> >> To MyFaces Discussion <us...@myfaces.apache.org>
>> > >>> >> >>
>> > >>> >> >> 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 .
>> > >>> >> >>
>> > >>> >> >>
>> > >>> >> >
>> > >>> >> >
>> > >>> >> >
>> > >>> >>
>> > >>> >>
>> > >>> >>
>> > >>> >
>> > >>> >
>> > >>> >
>> > >>>
>> > >>>
>> > >>>
>> > >>
>> > >>
>> > >>
>> > >
>> > >
>> > >
>> > >
>> > >
>> >
>> >
>> >
>>
> 
> 
> 



Re: Error by using

Posted by Mike Kienenberger <mk...@gmail.com>.
I stand corrected.  It's not there.  Weird.

I've realphabetized the sandbox taglib file and added subForm.

On 2/8/07, Mike Kienenberger <mk...@gmail.com> wrote:
>     <tag>
>         <tag-name>subForm</tag-name>
>         <component>
>             <component-type>org.apache.myfaces.SubForm</component-type>
>             <renderer-type>org.apache.myfaces.SubForm</renderer-type>
>         </component>
>     </tag>
>
>
> I'm pretty sure it's on the sandbox wiki because I think that's where
> I got it, but I'll double-check.
>
>
> On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
> > speaking of which, does anybody have the correct taglib tag for
> > s:subform? It's not on either wiki. :)
> >
> > Jeff Bischoff wrote:
> > > 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 <jb...@klkurz.com> 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 <jb...@klkurz.com> 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 <th...@yahoo.de> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
> > >>> >> >> 02.02.2007 12:14
> > >>> >> >>
> > >>> >> >> Please respond to
> > >>> >> >>  "MyFaces Discussion" <us...@myfaces.apache.org>
> > >>> >> >>
> > >>> >> >>
> > >>> >> >> To MyFaces Discussion <us...@myfaces.apache.org>
> > >>> >> >>
> > >>> >> >> 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 .
> > >>> >> >>
> > >>> >> >>
> > >>> >> >
> > >>> >> >
> > >>> >> >
> > >>> >>
> > >>> >>
> > >>> >>
> > >>> >
> > >>> >
> > >>> >
> > >>>
> > >>>
> > >>>
> > >>
> > >>
> > >>
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
>

Re: Error by using

Posted by Mike Kienenberger <mk...@gmail.com>.
    <tag>
        <tag-name>subForm</tag-name>
        <component>
            <component-type>org.apache.myfaces.SubForm</component-type>
            <renderer-type>org.apache.myfaces.SubForm</renderer-type>
        </component>
    </tag>


I'm pretty sure it's on the sandbox wiki because I think that's where
I got it, but I'll double-check.


On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
> speaking of which, does anybody have the correct taglib tag for
> s:subform? It's not on either wiki. :)
>
> Jeff Bischoff wrote:
> > 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 <jb...@klkurz.com> 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 <jb...@klkurz.com> 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 <th...@yahoo.de> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
> >>> >> >> 02.02.2007 12:14
> >>> >> >>
> >>> >> >> Please respond to
> >>> >> >>  "MyFaces Discussion" <us...@myfaces.apache.org>
> >>> >> >>
> >>> >> >>
> >>> >> >> To MyFaces Discussion <us...@myfaces.apache.org>
> >>> >> >>
> >>> >> >> 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 .
> >>> >> >>
> >>> >> >>
> >>> >> >
> >>> >> >
> >>> >> >
> >>> >>
> >>> >>
> >>> >>
> >>> >
> >>> >
> >>> >
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >
> >
> >
> >
> >
>
>
>

Re: Error by using

Posted by Jeff Bischoff <jb...@klkurz.com>.
speaking of which, does anybody have the correct taglib tag for 
s:subform? It's not on either wiki. :)

Jeff Bischoff wrote:
> 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 <jb...@klkurz.com> 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 <jb...@klkurz.com> 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 <th...@yahoo.de> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
>>> >> >> 02.02.2007 12:14
>>> >> >>
>>> >> >> Please respond to
>>> >> >>  "MyFaces Discussion" <us...@myfaces.apache.org>
>>> >> >>
>>> >> >>
>>> >> >> To MyFaces Discussion <us...@myfaces.apache.org>
>>> >> >>
>>> >> >> 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 .
>>> >> >>
>>> >> >>
>>> >> >
>>> >> >
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>>
>>>
>>>
>>
>>
>>
> 
> 
> 
> 
> 



Re: Error by using

Posted by Mike Kienenberger <mk...@gmail.com>.
Yes, we all feel it's worth doing.  But no one feels it is worth doing today :-)

http://issues.apache.org/jira/browse/TOMAHAWK-79

On 2/8/07, Jeff Bischoff <jb...@klkurz.com> wrote:
> 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 <jb...@klkurz.com> 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 <jb...@klkurz.com> 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 <th...@yahoo.de> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
> >> >> >> 02.02.2007 12:14
> >> >> >>
> >> >> >> Please respond to
> >> >> >>  "MyFaces Discussion" <us...@myfaces.apache.org>
> >> >> >>
> >> >> >>
> >> >> >> To MyFaces Discussion <us...@myfaces.apache.org>
> >> >> >>
> >> >> >> 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 .
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >
> >
> >
>
>
>

Re: Error by using

Posted by Jeff Bischoff <jb...@klkurz.com>.
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 <jb...@klkurz.com> 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 <jb...@klkurz.com> 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 <th...@yahoo.de> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
>> >> >> 02.02.2007 12:14
>> >> >>
>> >> >> Please respond to
>> >> >>  "MyFaces Discussion" <us...@myfaces.apache.org>
>> >> >>
>> >> >>
>> >> >> To MyFaces Discussion <us...@myfaces.apache.org>
>> >> >>
>> >> >> 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 .
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >
>> >
>> >
>>
>>
>>
> 
> 
> 



Re: Error by using

Posted by Mike Kienenberger <mk...@gmail.com>.
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 <jb...@klkurz.com> 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 <jb...@klkurz.com> 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 <th...@yahoo.de> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
> >> >> 02.02.2007 12:14
> >> >>
> >> >> Please respond to
> >> >>  "MyFaces Discussion" <us...@myfaces.apache.org>
> >> >>
> >> >>
> >> >> To MyFaces Discussion <us...@myfaces.apache.org>
> >> >>
> >> >> 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 .
> >> >>
> >> >>
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >
> >
> >
>
>
>

Re: Error by using

Posted by Jeff Bischoff <jb...@klkurz.com>.
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 <jb...@klkurz.com> 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 <th...@yahoo.de> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
>> >> 02.02.2007 12:14
>> >>
>> >> Please respond to
>> >>  "MyFaces Discussion" <us...@myfaces.apache.org>
>> >>
>> >>
>> >> To MyFaces Discussion <us...@myfaces.apache.org>
>> >>
>> >> 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 .
>> >>
>> >>
>> >
>> >
>> >
>>
>>
>>
> 
> 
> 



Re: Error by using

Posted by Andrew Robinson <an...@gmail.com>.
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 <jb...@klkurz.com> 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 <th...@yahoo.de> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
> >> 02.02.2007 12:14
> >>
> >> Please respond to
> >>  "MyFaces Discussion" <us...@myfaces.apache.org>
> >>
> >>
> >> To MyFaces Discussion <us...@myfaces.apache.org>
> >>
> >> 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 .
> >>
> >>
> >
> >
> >
>
>
>

Re: Error by using

Posted by Jeff Bischoff <jb...@klkurz.com>.
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 <th...@yahoo.de> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
>> 02.02.2007 12:14
>>
>> Please respond to
>>  "MyFaces Discussion" <us...@myfaces.apache.org>
>>
>>
>> To MyFaces Discussion <us...@myfaces.apache.org>
>>
>> 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 .
>>
>>
> 
> 
> 



Re: Error by using

Posted by Matthias Wessendorf <ma...@apache.org>.
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 <th...@yahoo.de> 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 <ma...@reksoft.ru> 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 <th...@yahoo.de>
> 02.02.2007 12:14
>
> Please respond to
>  "MyFaces Discussion" <us...@myfaces.apache.org>
>
>
> To MyFaces Discussion <us...@myfaces.apache.org>
>
> 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 .
>
>



-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Re: Error by using

Posted by Aleksandr Mazur <ma...@reksoft.ru>.
Hi Thomas, 

Have you seen http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk ?
I hope it will help. 
See also http://www.archivesat.com/Java_Facelets/thread724601.htm

Best regards,
Aleksandr Mazur



Thomas Chang <th...@yahoo.de> 
02.02.2007 14:23
Please respond to
"MyFaces Discussion" <us...@myfaces.apache.org>


To
MyFaces Discussion <us...@myfaces.apache.org>
cc

Subject
Re: Error by using <t:updateActionListener/>






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 <ma...@reksoft.ru> 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 <th...@yahoo.de> 
02.02.2007 12:14 

Please respond to
"MyFaces Discussion" <us...@myfaces.apache.org>


To
MyFaces Discussion <us...@myfaces.apache.org> 
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 . 


Re: Error by using

Posted by Thomas Chang <th...@yahoo.de>.
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 <ma...@reksoft.ru> 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 <th...@yahoo.de>  02.02.2007 12:14    Please respond to
 "MyFaces Discussion" <us...@myfaces.apache.org>
 
 
    To
 MyFaces Discussion <us...@myfaces.apache.org>   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. 

Re: Error by using

Posted by Aleksandr Mazur <ma...@reksoft.ru>.
Hi Thomas, 

As I see you are using faceletes. updateActionListener should be presented 
in tomahawk.taglib.xml. Is it?


Best regards,
Aleksandr 



Thomas Chang <th...@yahoo.de> 
02.02.2007 12:14
Please respond to
"MyFaces Discussion" <us...@myfaces.apache.org>


To
MyFaces Discussion <us...@myfaces.apache.org>
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!.