I am getting a WicketRunTimeExeption, when trying to close my modal, this is
the message

WicketRuntimeException: component
tabs:panel:panelChild:table:body:rows:7:cells:3:cell:modal:content:form:close
not found on page com.consisint.frontend.pages.Home[id = 0], listener
interface = [Request




The hierachy is like this:

1) Big Parent: home extends WebPage, which contains
   1.2) TabPanel, with 1 child
      1.2.1) Policy extend Panel, here there are another panel
          1.2.1.1) ObjectI, who have a AjaxDefaultDataTable
                1.2.1.1.1) Have a Link to a modal

In the modal is the close button.

I undestand this exeption is because, wicket is trying to find my close
button on the table?



I was tying to do the modal content reusable, like this
example<http://stuq.nl/weblog/2008-06-05/wicket-how-to-write-a-reusable-modal-window-popup>but
that works only for wicket 1.3.3, on actual version throws
aMarkupNotFoundException. Then I did my close button with the
examples, but I
> forget pass the modal window as parameter to content of modal window.
>
> Now I can close my window naturaly
>
> pd: sorry by my grammar
>
>
>
>
> 2010/3/31 Martin Makundi <martin.maku...@koodaripalvelut.com>
>
>> modal window has a close action:
>>
>>          // On close
>>          modalWindow.close(target);
>>
>>
>> **
>> Martin
>>
>> 2010/3/31 Daniela Valero <danielavalero...@gmail.com>:
>> > yes
>> >
>> > 2010/3/31 Martin Makundi <martin.maku...@koodaripalvelut.com>
>> >
>> >> Ah.. no need to do anything. Is close button ajax button?
>> >>
>> >> **
>> >> Martin
>> >>
>> >> 2010/3/31 Daniela Valero <danielavalero...@gmail.com>:
>> >> > Yes, Home is the Page class, it have a TabPanel. In the first tab, i
>> have
>> >> a
>> >> > panel called Policy, there I am calling a ModalWindow, then when the
>> >> close
>> >> > button is clicked I want to get back to my Policy panel.
>> >> >
>> >> > 2010/3/31 Martin Makundi <martin.maku...@koodaripalvelut.com>
>> >> >
>> >> >> ;) ?
>> >> >>
>> >> >> Link to same page? Link to specific tab?
>> >> >>
>> >> >> **
>> >> >> Martin
>> >> >>
>> >> >> 2010/3/31 Daniela Valero <danielavalero...@gmail.com>:
>> >> >> > Good Afternoon users!
>> >> >> >
>> >> >> > I have a hierachy of panels inside my app, Home is the page, there
>> are
>> >> >> > several childs one of them is a tab panel. I need to set a link to
>> a
>> >> >> panel
>> >> >> > child of home.
>> >> >> >
>> >> >> > how can i do this?
>> >> >> >
>> >> >> > --
>> >> >> > | Daniela Valero
>> >> >> >
>> >> >> > "No hay vientos favorables para quien no sabe a donde quiere ir!
>> >> >> >
>> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> >> >> For additional commands, e-mail: users-h...@wicket.apache.org
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> > | Daniela Valero
>> >> >
>> >> > "No hay vientos favorables para quien no sabe a donde quiere ir!
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> >> For additional commands, e-mail: users-h...@wicket.apache.org
>> >>
>> >>
>> >
>> >
>> > --
>> > | Daniela Valero
>> >
>> > "No hay vientos favorables para quien no sabe a donde quiere ir!
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
>
> --
> | Daniela Valero
>
> "No hay vientos favorables para quien no sabe a donde quiere ir!
>



-- 
| Daniela Valero

"No hay vientos favorables para quien no sabe a donde quiere ir!

Reply via email to