You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Mario Ivankovits <ma...@ops.co.at> on 2006/05/18 08:34:47 UTC

DummyForm deprecation

Hi!

Due to the ongoing effort to be fully compatible with the JSF-RI we had
to remove the dummyForm stuff.

The dummyForm feature allowed you to place e.g.
commandLink/commandButtons/navigationMenu/etc on your page without
embedding them in an h:form.

The current tomahawk head version (and probably the next release) will
now longer support it out of the box.

If you use the myfaces JSF implementation and tomahawk you can reenable
it by adding this code [1] to your faces-config.xml.
Though, dont expect this to work for the time being. Best will be to
manually add a h:form to your jsf pages as soon as possible.
Also this wont work with JSF-RI and tomahawk!

Sorry for the inconvenience!

---
Mario


[1]
        <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>