That can't be your real markup - you've not closed the span or anchor tags,
and Wicket won't accept that at all.

Please post your real markup!

Charlie.





2008/11/11 Igor Vaynberg <[EMAIL PROTECTED]>

> what url is generated for that link (look in source). how is the url
> different from what it is supposed to be? you need to learn how to
> provide more *useful* information if you want help.
>
> -igor
>
> On Tue, Nov 11, 2008 at 8:09 AM, itayh <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I am having a table with deactivate and delete link columns. In the
> delete
> > column I want to have delete image, so pressing on the image will
> activate
> > the delete function on the server.
> >
> > My html code:
> > <td>< a href="#" wicket:id="active-link" >< span wicket:id="poll.active"
> >
> > </td>
> > <td>< a href="#" wicket:id="delete-link" >< img
> src="images/delete_icon.png"
> > /> </td>
> >
> > My java code:
> > Link activeLink = new Link("active-link", item.getModel()) {
> >        public void onClick() {
> >                onActivePoll((Poll) getModelObject());
> >       }
> > };
> > activeLink.add(new Label("poll.active", "activate"));
> > item.add(activeLink);
> >
> > Link deleteLink = new Link("delete-link", item.getModel()) {
> >        public void onClick() {
> >                onDeletePoll((Poll) getModelObject());
> >        }
> > };
> > item.add(deleteLink);
> >
> > While the activate link work ok, the delete link which use the image is
> not
> > appearing in the html and I see just the image with no link.
> > Any idea what I am doing wrong?
> >
> > Thanks in advance,
> >  Itay
> >
> > --
> > View this message in context:
> http://www.nabble.com/image-link-inside-of-table-problem-tp20442713p20442713.html
> > Sent from the Wicket - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to