I changed my codes to something like this -

<form t:id="form" validate="object">
    <t:errors/>

    <div class="t-beaneditor">

        <t:beaneditor t:id="editor" object="service" overrides="this">
                        <t:parameter name="id">
                                ${service.id}
                        </t:parameter>        
        </t:beaneditor>

        <div class="t-beaneditor-row">
            <input type="submit" class="t-beaneditor-submit"
value="message:submit-label"/>
            <t:if test="cancel">
              <t:submit t:id="cancel" mode="cancel"
value="message:cancel-label"/>
            </t:if>
        </div>
    </div>
</form>

and I got the following error -

The <parameter> element has been deprecated in Tapestry 5.3 in favour of
'tapestry:parameter' namespace.

Any idea?

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Beaneditform-with-two-submit-buttons-tp4967644p4969022.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to