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