Re: Adding AjaxLink to a DataTable cell

2010-02-03 Thread zkn
wrote: Hi, I'm have a problem adding an AjaxLink to a DataTable cell. Everything works fine except that I don't know how to set the text for the link. The result is that I see only [cell] as a text in the cell but onClick() works fine. Here is my code: columns.add(new AbstractColumnBook

Adding AjaxLink to a DataTable cell

2010-02-02 Thread zkn
Hi, I'm have a problem adding an AjaxLink to a DataTable cell. Everything works fine except that I don't know how to set the text for the link. The result is that I see only [cell] as a text in the cell but onClick() works fine. Here is my code: columns.add(new AbstractColumnBook(new

Re: Adding AjaxLink to a DataTable cell

2010-02-02 Thread Igor Vaynberg
search this link for TextLink, or create a panel/fragment that contain a link and a label -igor On Tue, Feb 2, 2010 at 3:04 PM, zkn z...@abv.bg wrote: Hi, I'm have a problem adding an AjaxLink to a DataTable cell. Everything works fine except that I don't know how to set the text

Re: Adding AjaxLink to a DataTable cell

2010-02-02 Thread Igor Vaynberg
a problem adding an AjaxLink to a DataTable cell. Everything works fine except that I don't know how to set the text for the link. The result is that I see only  [cell] as a text in the cell but onClick() works fine. Here is my code: columns.add(new AbstractColumnBook(new ModelString(Title