You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Jeff Gardner <je...@choicehotels.com> on 2006/10/26 18:20:59 UTC

Ajax4jsf and tomahawk t:popup

I have a datatable w/ a header and footer row that gets updated with an ajax4jsf command button.  In the detail rows, I would like to use a t:popup in one of the columns.  The problem I am having is that tomahawk doesn't add it's javascript tag when the page is first rendered because there are no "t:popup" tags until the ajax code reRenders the datatable.  My current work-around is to hide a dummy t:popup inside a hidden div.  Is there any other way to tell tomahawk to add it's js tag?

RE: Ajax4jsf and tomahawk t:popup

Posted by Jeff Gardner <je...@choicehotels.com>.
Opened TOMAHAWK-756 <https://issues.apache.org/jira/browse/TOMAHAWK-756>... 

-----Original Message-----
From: Andrew Robinson [mailto:andrew.rw.robinson@gmail.com] 
Sent: October 26, 2006 9:47 AM
To: MyFaces Discussion
Subject: Re: Ajax4jsf and tomahawk t:popup

Not that I have seen. I have this problem with many of the Tomahawk controls and AJAX. Perhaps a bug to Tomahawk is in order to ask for an "easy" way of including the JS even when the components aren't rendered.

On 10/26/06, Jeff Gardner <je...@choicehotels.com> wrote:
>
>
> I have a datatable w/ a header and footer row that gets updated with 
> an ajax4jsf command button.  In the detail rows, I would like to use a 
> t:popup in one of the columns.  The problem I am having is that 
> tomahawk doesn't add it's javascript tag when the page is first 
> rendered because there are no "t:popup" tags until the ajax code 
> reRenders the datatable.  My current work-around is to hide a dummy 
> t:popup inside a hidden div.  Is there any other way to tell tomahawk to add it's js tag?


Re: Ajax4jsf and tomahawk t:popup

Posted by Andrew Robinson <an...@gmail.com>.
Not that I have seen. I have this problem with many of the Tomahawk
controls and AJAX. Perhaps a bug to Tomahawk is in order to ask for an
"easy" way of including the JS even when the components aren't
rendered.

On 10/26/06, Jeff Gardner <je...@choicehotels.com> wrote:
>
>
> I have a datatable w/ a header and footer row that gets updated with an
> ajax4jsf command button.  In the detail rows, I would like to use a t:popup
> in one of the columns.  The problem I am having is that tomahawk doesn't add
> it's javascript tag when the page is first rendered because there are no
> "t:popup" tags until the ajax code reRenders the datatable.  My current
> work-around is to hide a dummy t:popup inside a hidden div.  Is there any
> other way to tell tomahawk to add it's js tag?