Hi to all. I've found a workaround for this bug: I simple changed the renderer of the form component to the MyFaces' one. So now I've forms, links and buttons rendered by myfaces:

        <renderer>
            <component-family>javax.faces.Form</component-family>
            <renderer-type>javax.faces.Form</renderer-type>
            <renderer-class>org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlFormRendererBase</renderer-class>
        </renderer>

        <renderer>
            <component-family>javax.faces.Command</component-family>
            <renderer-type>javax.faces.Button</renderer-type>
            <renderer-class>org.apache.myfaces.renderkit.html.jsf.ExtendedHtmlButtonRenderer</renderer-class>
        </renderer>
       
        <renderer>
            <component-family>javax.faces.Command</component-family>
            <renderer-type>javax.faces.Link</renderer-type>
            <renderer-class>org.apache.myfaces.renderkit.html.jsf.ExtendedHtmlLinkRenderer</renderer-class>
        </renderer>

Bye

Pierpaolo Follia wrote:
Yes, I saw it, but I think it is something related to myfaces JSF implementation, since the wiki says:

If you use the MyFaces JSF implementation you can reenable this feature by adding the following to your faces-config.xml, though, you should consider changing your JSF pages (place a h:form in it) as we dont know if and when this feature will find its way back into the main development.

However, I tryed it...it doesn't work. I also built a 1.1.5 snapshot downloading source code from svn, but I still have _javascript_ errors.
Should I file a bug for this?

Regards.
Pierpaolo

Catalin Kormos wrote:
Have you seen this? http://wiki.apache.org/myfaces/Upgrading_to_Tomahawk_1.1.3

HTH,
Catalin

Pierpaolo Follia <[EMAIL PROTECTED]> wrote:
Thank you. I've already searched in jira, but there is no issues about
that. This is why I was asking here.

Regards,
Pierpaolo

Grigoras Cristinel wrote:
> Pierpaolo Follia wrote:
>> Hi guys, I'm tring to use Tomahawk 1.1.3 with Sun RI (1.1_01) but I
>> have some problem with the commandSortHeader component: it renders
>> some _javascript_ calls to functions that are not rendered in page (ie
>> clear_content_3Amyform). I tryed to write a fake function to
>> workaround the problem, but then I have an error about a missing
>> autoscroll input paramenter in my form. Disabling autoscroll
>> generates another problem.
>> Obviously using myfaces JSF implementation there is no problem.
>> Where I'm wrong with tomahawk?
>>
>> Thank you very much.
>> Pierpaolo
>>
> Hi,
>
> It was the same problem when i have used s:subform, the _javascript_
> was bad.
> In last SVN is fixed for subform. I don't know about sort header.
> search in Jira.
>
>
> Cristi

--
Pierpaolo Follia
Wave S.r.l. - Vai Benaco 24/B, Bedizzole (BS)
Telefono: +39 030 687561
Fax: +39 030 6875690

begin:vcard
fn:Pierpaolo Follia
n:Follia;Pierpaolo
email;internet:[EMAIL PROTECTED]
tel;cell:+393385432825
version:2.1
end:vcard



Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.

-- 
Pierpaolo Follia
Wave S.r.l. - Vai Benaco 24/B, Bedizzole (BS)
Telefono: +39 030 687561
Fax: +39 030 6875690

-- 
Pierpaolo Follia
Wave S.r.l. - Vai Benaco 24/B, Bedizzole (BS)
Telefono: +39 030 687561
Fax: +39 030 6875690


begin:vcard
fn:Pierpaolo Follia
n:Follia;Pierpaolo
email;internet:[EMAIL PROTECTED]
tel;cell:+393385432825
version:2.1
end:vcard

Reply via email to