wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: Add components inside the footer and header of a Modal
Date Mon, 24 Aug 2015 20:06:28 GMT
Hi,

On Mon, Aug 24, 2015 at 4:05 PM, Marco Di Sabatino Di Diodoro <
marco.disabatino@tirasa.net> wrote:

> Hi Martin,
>
> Il 24/08/2015 12:16, Martin Grigorov ha scritto:
>
>> Hi,
>>
>> 1. File an issue so that becomes more user friendly.
>>
> I opened the issue on git
>
> 2. You can roll MyModal that extends from Modal and has MyModal.html with
>> the extra components in header and footer. In MyModal#onInitialize() you
>> can use get("header").add(anExtraHeaderComponent)
>>
> I followed your suggestion and I added a new button in the footer. At
> first time I can see my Modal. If I close and reopen I have this exception:
> org.apache.wicket.markup.MarkupNotFoundException: Failed to find markup
> file associated
>
> If I remove my button, I can open and close without problems.


Without giving us more information (e.g. code and/or stacktrace) we cannot
tell you what is wrong.


>
>
> Marco
>
> Martin Grigorov
>> Wicket Training and Consulting
>> https://twitter.com/mtgrigorov
>>
>> On Mon, Aug 24, 2015 at 11:46 AM, Marco Di Sabatino Di Diodoro <
>> marco.disabatino@tirasa.net> wrote:
>>
>> Hi all,
>>>
>>> I'm using wicket-bootstrap to implement a new console.
>>> In this moment, I'm implementing my Modal with
>>> de.agilecoders.wicket.core.markup.html.bootstrap.dialog.Modal component.
>>>
>>> I would like to add some components in the header or footer, but all
>>> fields are declared private and the aren't getter and setter methods.
>>> What can I do? Any suggestions?
>>>
>>> Regards
>>> Marco
>>>
>>> --
>>> Dott. Marco Di Sabatino Di Diodoro
>>> Tel. +39 3939065570
>>>
>>> Tirasa S.r.l.
>>> Viale D'Annunzio 267 - 65127 Pescara
>>> Tel +39 0859116307 / FAX +39 0859111173
>>> http://www.tirasa.net
>>>
>>> Apache Syncope PMC Member
>>> http://people.apache.org/~mdisabatino/
>>>
>>>
>>>
> --
> Dott. Marco Di Sabatino Di Diodoro
> Tel. +39 3939065570
>
> Tirasa S.r.l.
> Viale D'Annunzio 267 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
> http://people.apache.org/~mdisabatino/
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message