You should add this: xmlns:p="tapestry:parameter" to the root element in
your .tml file, and use p:id instead of t:parameter name="id"

On Sun, Nov 6, 2011 at 6:12 PM, TG <tapestry...@hotmail.com> wrote:

> 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