Hi,

Doesn't look like it does. You could override the method
Formtable#protected void renderButtons to enable this. Or use the FormTable
constructor which accepts a Form object.

regards

Bob


On Wed, Aug 14, 2013 at 4:07 AM, Kristian Lind <[email protected]> wrote:

> Hi.
>
> is it not possible the add a ActionLink to a FormTable.  ?
>
> I have a submit button..
>
> Button button = new Submit("save", "Save", this, "onSaveOptionFormTable");
> button.addStyleClass("btn btn-primary");
> optionFormTable.getForm().add(button);
>
> But I would like to use a ActionLink, cause I need to go to another page
> and need to set a parameter, and would like to have the button ( ActionLink
> ) together with the save button.
>
> ActionLink addOptionLink = new ActionLink("addOptionLink", "New Option",
> this, "OnAddOptionLink");
> addOptionLink.addStyleClass("btn btn-primary");
> addOptionLink.setParameter("productId", productId);
> optionFormTable.getForm().add(addOptionLink);
>
> But the link does not show up... only the Save button.
>
>
>
> --
> Best regards
>
> Kristian Lind
>

Reply via email to