>>>> On Tue, Nov 11, 2008 at 8:09 AM, itayh <[EMAIL PROTECTED]> wrote:
>>>> >
>>>> > Hi,
>>>> >
>>>> > I am having a table with deactivate and dele
have delete image, so pressing on the image will
>>> activate
>>> > the delete function on the server.
>>> >
>>> > My html code:
>>> > < a href="#" wicket:id="active-link" >< span
>>> wicket:id="pol
;> > />
>> >
>> > My java code:
>> > Link activeLink = new Link("active-link", item.getModel()) {
>> >public void onClick() {
>> > onActivePoll((Poll) getModelObject());
>> > }
>> > };
>
deleteLink = new Link("delete-link", item.getModel()) {
> >public void onClick() {
> >onDeletePoll((Poll) getModelObject());
> > }
> > };
> > item.add(deleteLink);
> >
> > While the activate link work ok, the delete lin
ick() {
>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
) 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
--
Vi