I am :

        iColumns[3] = new FilteredAbstractColumn(new Model("Links")) {
            public void populateItem(final Item cellItem, final String componentId, final IModel model) {
here -->     cellItem.add(new LinkedPanel(componentId, ...));
            }

            public Component getFilter(String componentId, FilterForm form) {
                return new GoAndClearFilter(componentId, form);
            }
        };

and inside the LinkedPanel constructor :

public LinkedPanel (String id, .... )  {
            super(id);
            Link link = new Link("viewLink") {
                public void onClick() {
                    setResponsePage(new SomeOtherPage());
                }
            };
            Link link2 = new Link("editLink") {
                public void onClick() {
                    setResponsePage(new SomeOtherPage());
                }
            };
            add(link);
            add(link2);
}

In fact, adding links to the page generate correct links.




On 12/16/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
It looks like your are not adding the link to ListItem.

Juergen

On 12/16/05, Iman Rahmatizadeh <[EMAIL PROTECTED]> wrote:
> I'm setting up a simple table, with some links in a column. When clicking on
> the links generated, I see an InternalErrorPage, and wicket logs something
> like :
>
>  <No component found for 8:fields:rows:2:cells:6:cell>
>
>  where my html has:
>
> <table wicket:id="fields" class="grid">
> </table>
>
>  as I play with the component path it seems the path until the 'rows' part
> works, but after that no component is found.
> As I (think) have done everything just like the phonebook example,Is there a
> way i can find out what the problem is ?
>
> Iman
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to