Hi raveendra,
I think you will have less trouble using an ActionLink instead of Submit

<t:grid source="callSummaryList" row="callSummaryBean" add="edit">
                    <t:parameter name="editcell">
                        <a t:type="actionlink" t:id="editRow"
context="callSummaryBean.id">
                   </t:parameter>
</t:grid>

Object onActionFromEditRow(int id){
          ...
}

the return of the method can be any page(previously injected).

2008/6/19 raveendra <[EMAIL PROTECTED]>:
>           I have a requirement where i have to display bunch of beans in a
> grid component and an edit button as an extra column.
> Clicking on that button i should be able to edit that bean.This is my grid.
>
> <t:grid source="callSummaryList" row="callSummaryBean" add="edit">
>                     <t:parameter name="editcell">
>                        <t:submit t:id="edit" value="edit"/>
>                    </t:parameter>
> </t:grid>
>
> Object onSuccess(){
>           return CallVerify.class;
> }
>
> I am able to display everything.But when i click on the button onSuccess
> method is not executing.
> The value of action attribute of the grid generated from tag are getting
> added to my url like (callsummary.form) which is't my page.
>
> How can i forward control to another page using button.Though I am able to
> forward control to another page using <t:pagelink>.
> I want to do it with buttons.
>



-- 
Atenciosamente,

Marcelo Lotif
Programador Java e Tapestry
FIEC - Federação das Indústrias do Estado do Ceará
(85) 3477-5910

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to