luther.baker wrote:
>
> You can also add parameters to the t:beaneditform.
>
> something like ...
>
> <t:beaneditform ... add="cancel,delete">
> <t:parameter name="cancel">
> <input type="submit" name="cancel" value="Cancel">
> </t:parameter>
> <t:parameter name="delete">
> <input type="submit" name="delete" value="Delete">
> </t:parameter>
> </t:beaneditform>
>
> or
>
> <t:beaneditform ... add="both">
> <t:parameter name="both">
> <t:pagelink page="cancelPage">Cancel</t:pagelink>
> <t:actionlink t:id="delete">Delete</t:actionlink>
> </t:parameter>
> </t:beaneditform>
>
> Generally, you can put most anything you'd like within the t:parameter
> tags.
>
> -Luther
>
>
>
>
> Marcelo Lotif-2 wrote:
>>
>> You can use the BeanEditor component and wrap it with a form. At the
>> bottom,
>> you can add as many submit buttons as you want.
>> I heard somewhere in this list that the beaneditform component is nothing
>> more than this.
>>
>> On Mon, Dec 15, 2008 at 2:19 PM, mraible <m...@raibledesigns.com> wrote:
>>
>>>
>>> Is it possible to add Delete and Cancel buttons to the <t:beaneditform>
>>> component? If so, how?
>>>
>>> Thanks,
>>>
>>> Matt
>>> --
>>> View this message in context:
>>> http://www.nabble.com/-T5--Is-is-possible-to-add-Delete-and-Cancel-buttons-to-BeanEditForm-Component--tp21017894p21017894.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
>>>
>>>
>>
>>
>> --
>> Atenciosamente,
>>
>> Marcelo Lotif
>> Programador Java e Tapestry
>> FIEC - Federação das Indústrias do Estado do Ceará
>> (85) 3421-5910
>>
>>
>
>
This works - thanks. Is it possible to add them so they're on the same row
as the submit button? Or can I override the submit button's rendering?
Thanks,
Matt
--
View this message in context:
http://www.nabble.com/-T5--Is-is-possible-to-add-Delete-and-Cancel-buttons-to-BeanEditForm-Component--tp21017894p21048662.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