Hi!

I see now!

MyFaces javascripts are inserted into Tomahawk schedule component, but
on pages where I use <t:dataTable> there are no javascripts appended!

For example in generated sort header HTML I have:

for example:

<th class="standardTable_Header"><a href="#"
onclick="clear_contacts();document.forms['contacts'].elements['contacts:_link_hidden_'].value='contacts:data:j_id_id68';if(document.forms['contacts'].onsubmit){document.forms['contacts'].onsubmit();}document.forms['contacts'].submit();return
false;" id="contacts:data:j_id_id68">Nazwa↑</a></th>

but when I click "Nazwa" header I get:

JavaScript Error: clear_contacts is not defined
Error: clear_contacts is not defined
Source File: http://localhost:8080/student/contacts/contactsList.jsf
Line: 1

any other idea?

best regards
Łukasz

On 29/12/2007, simon <[EMAIL PROTECTED]> wrote:
>
> On Sat, 2007-12-29 at 11:23 +0100, Łukasz Budnik wrote:
> > Hi!
> >
> > I'm using Tomahawk 1.1.7 with MyFaces 1.2.0
> >
> > previously I was using Tomahawk 1.1.6 and MyFaces 1.1.5.
> >
> > When running my application I get an error:
> >
> > MyFaces special javascript could not be retrieved from request-map.
> >
> > any ideas how to fix it?
>
> I think these two are redundant, ie you should have of them but not
> both:
>
>     <filter-mapping>
>       <filter-name>MyFacesExtensionsFilter</filter-name>
>       <servlet-name>Faces Servlet</servlet-name>
>     </filter-mapping>
>
>     <filter-mapping>
>         <filter-name>MyFacesExtensionsFilter</filter-name>
>         <url-pattern>*.jsf</url-pattern>
>     </filter-mapping>
>
> Regards,
>
> Simon
>
>

Reply via email to