You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Josh Kamau <jo...@gmail.com> on 2010/09/25 10:51:24 UTC
automatically sizing modal window
Hi guys,
Is there are way to ensure that a modal window automatically sizes to fit
the available content? the default size seems sometimes too big and
sometimes too small for the contents.
Regards.
Josh
Re: automatically sizing modal window
Posted by Fernando Wermus <fe...@gmail.com>.
I need that my modal window works with a page :(.
On Tue, Sep 28, 2010 at 9:00 AM, Anna Simbirtsev <as...@gmail.com>wrote:
> I think if the modal window is a panel, not a Page, then it auto sizes
> its height.
>
> On Mon, Sep 27, 2010 at 5:41 PM, Martin Grigorov <mg...@apache.org>
> wrote:
> > patches are welcome
> > especially if they work cross-browser ;-)
> >
> > On Mon, Sep 27, 2010 at 11:23 PM, <MZ...@osc.state.ny.us> wrote:
> >
> >> Sounds like a nice feature, however be careful, if the content is too
> >> large the close button may be off-screen and make it impossible to
> close.
> >> So maybe it should auto adjust within the bounds of the screen...
> >>
> >>
> >>
> >>
> >> From: andrea del bene <an...@libero.it>
> >> To: users@wicket.apache.org
> >> Date: 09/27/2010 05:04 PM
> >> Subject: Re: automatically sizing modal window
> >>
> >>
> >>
> >> Hi Martin,
> >>
> >> what I'd like to have is a window that automatically adjusts its height
> >> and width in order to ensure that all its content it's always visible
> >> without scrollbars. I think it could be done with some JavaScript
> code.
> >> Do you think it's possible to implement such behavior?
> >>
> >> Thank you in advance!
> >> > Can you give more information about this feature, please.
> >> > Either here or in the ticket.
> >> > What are the current obstacles? How do you want it to be? Etc.
> >> >
> >> > On Sun, Sep 26, 2010 at 3:49 PM, andrea del
> >> bene<an...@libero.it>wrote:
> >> >
> >> >
> >> >> On 09/25/2010 02:30 PM, Fernando Wermus wrote:
> >> >>
> >> >>
> >> >>> I would like so much this feature. It is so important to me!
> >> >>>
> >> >>> On Sat, Sep 25, 2010 at 5:51 AM, Josh Kamau<jo...@gmail.com>
> >> >>> wrote:
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> >> >>>> Hi guys,
> >> >>>>
> >> >>>> Is there are way to ensure that a modal window automatically sizes
> to
> >> fit
> >> >>>> the available content? the default size seems sometimes too big and
> >> >>>> sometimes too small for the contents.
> >> >>>>
> >> >>>> Regards.
> >> >>>> Josh
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>>
> >> >
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> >>
> >>
> >>
> >>
> >> Notice: This communication, including any attachments, is intended
> solely
> >> for the use of the individual or entity to which it is addressed. This
> >> communication may contain information that is protected from disclosure
> >> under State and/or Federal law. Please notify the sender immediately if
> >> you have received this communication in error and delete this email from
> >> your system. If you are not the intended recipient, you are requested
> not
> >> to disclose, copy, distribute or take any action in reliance on the
> >> contents of this information.
> >
>
>
>
> --
> Anna Simbirtsev
> (416) 729-7331
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Fernando Wermus.
www.linkedin.com/in/fernandowermus
Re: automatically sizing modal window
Posted by Anna Simbirtsev <as...@gmail.com>.
I think if the modal window is a panel, not a Page, then it auto sizes
its height.
On Mon, Sep 27, 2010 at 5:41 PM, Martin Grigorov <mg...@apache.org> wrote:
> patches are welcome
> especially if they work cross-browser ;-)
>
> On Mon, Sep 27, 2010 at 11:23 PM, <MZ...@osc.state.ny.us> wrote:
>
>> Sounds like a nice feature, however be careful, if the content is too
>> large the close button may be off-screen and make it impossible to close.
>> So maybe it should auto adjust within the bounds of the screen...
>>
>>
>>
>>
>> From: andrea del bene <an...@libero.it>
>> To: users@wicket.apache.org
>> Date: 09/27/2010 05:04 PM
>> Subject: Re: automatically sizing modal window
>>
>>
>>
>> Hi Martin,
>>
>> what I'd like to have is a window that automatically adjusts its height
>> and width in order to ensure that all its content it's always visible
>> without scrollbars. I think it could be done with some JavaScript code.
>> Do you think it's possible to implement such behavior?
>>
>> Thank you in advance!
>> > Can you give more information about this feature, please.
>> > Either here or in the ticket.
>> > What are the current obstacles? How do you want it to be? Etc.
>> >
>> > On Sun, Sep 26, 2010 at 3:49 PM, andrea del
>> bene<an...@libero.it>wrote:
>> >
>> >
>> >> On 09/25/2010 02:30 PM, Fernando Wermus wrote:
>> >>
>> >>
>> >>> I would like so much this feature. It is so important to me!
>> >>>
>> >>> On Sat, Sep 25, 2010 at 5:51 AM, Josh Kamau<jo...@gmail.com>
>> >>> wrote:
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>> Hi guys,
>> >>>>
>> >>>> Is there are way to ensure that a modal window automatically sizes to
>> fit
>> >>>> the available content? the default size seems sometimes too big and
>> >>>> sometimes too small for the contents.
>> >>>>
>> >>>> Regards.
>> >>>> Josh
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>>
>>
>>
>> Notice: This communication, including any attachments, is intended solely
>> for the use of the individual or entity to which it is addressed. This
>> communication may contain information that is protected from disclosure
>> under State and/or Federal law. Please notify the sender immediately if
>> you have received this communication in error and delete this email from
>> your system. If you are not the intended recipient, you are requested not
>> to disclose, copy, distribute or take any action in reliance on the
>> contents of this information.
>
--
Anna Simbirtsev
(416) 729-7331
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: automatically sizing modal window
Posted by Martin Grigorov <mg...@apache.org>.
patches are welcome
especially if they work cross-browser ;-)
On Mon, Sep 27, 2010 at 11:23 PM, <MZ...@osc.state.ny.us> wrote:
> Sounds like a nice feature, however be careful, if the content is too
> large the close button may be off-screen and make it impossible to close.
> So maybe it should auto adjust within the bounds of the screen...
>
>
>
>
> From: andrea del bene <an...@libero.it>
> To: users@wicket.apache.org
> Date: 09/27/2010 05:04 PM
> Subject: Re: automatically sizing modal window
>
>
>
> Hi Martin,
>
> what I'd like to have is a window that automatically adjusts its height
> and width in order to ensure that all its content it's always visible
> without scrollbars. I think it could be done with some JavaScript code.
> Do you think it's possible to implement such behavior?
>
> Thank you in advance!
> > Can you give more information about this feature, please.
> > Either here or in the ticket.
> > What are the current obstacles? How do you want it to be? Etc.
> >
> > On Sun, Sep 26, 2010 at 3:49 PM, andrea del
> bene<an...@libero.it>wrote:
> >
> >
> >> On 09/25/2010 02:30 PM, Fernando Wermus wrote:
> >>
> >>
> >>> I would like so much this feature. It is so important to me!
> >>>
> >>> On Sat, Sep 25, 2010 at 5:51 AM, Josh Kamau<jo...@gmail.com>
> >>> wrote:
> >>>
> >>>
> >>>
> >>>
> >>>> Hi guys,
> >>>>
> >>>> Is there are way to ensure that a modal window automatically sizes to
> fit
> >>>> the available content? the default size seems sometimes too big and
> >>>> sometimes too small for the contents.
> >>>>
> >>>> Regards.
> >>>> Josh
> >>>>
> >>>>
> >>>>
> >>>>
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
>
>
>
> Notice: This communication, including any attachments, is intended solely
> for the use of the individual or entity to which it is addressed. This
> communication may contain information that is protected from disclosure
> under State and/or Federal law. Please notify the sender immediately if
> you have received this communication in error and delete this email from
> your system. If you are not the intended recipient, you are requested not
> to disclose, copy, distribute or take any action in reliance on the
> contents of this information.
Re: automatically sizing modal window
Posted by MZ...@osc.state.ny.us.
Sounds like a nice feature, however be careful, if the content is too
large the close button may be off-screen and make it impossible to close.
So maybe it should auto adjust within the bounds of the screen...
From: andrea del bene <an...@libero.it>
To: users@wicket.apache.org
Date: 09/27/2010 05:04 PM
Subject: Re: automatically sizing modal window
Hi Martin,
what I'd like to have is a window that automatically adjusts its height
and width in order to ensure that all its content it's always visible
without scrollbars. I think it could be done with some JavaScript code.
Do you think it's possible to implement such behavior?
Thank you in advance!
> Can you give more information about this feature, please.
> Either here or in the ticket.
> What are the current obstacles? How do you want it to be? Etc.
>
> On Sun, Sep 26, 2010 at 3:49 PM, andrea del
bene<an...@libero.it>wrote:
>
>
>> On 09/25/2010 02:30 PM, Fernando Wermus wrote:
>>
>>
>>> I would like so much this feature. It is so important to me!
>>>
>>> On Sat, Sep 25, 2010 at 5:51 AM, Josh Kamau<jo...@gmail.com>
>>> wrote:
>>>
>>>
>>>
>>>
>>>> Hi guys,
>>>>
>>>> Is there are way to ensure that a modal window automatically sizes to
fit
>>>> the available content? the default size seems sometimes too big and
>>>> sometimes too small for the contents.
>>>>
>>>> Regards.
>>>> Josh
>>>>
>>>>
>>>>
>>>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Notice: This communication, including any attachments, is intended solely
for the use of the individual or entity to which it is addressed. This
communication may contain information that is protected from disclosure
under State and/or Federal law. Please notify the sender immediately if
you have received this communication in error and delete this email from
your system. If you are not the intended recipient, you are requested not
to disclose, copy, distribute or take any action in reliance on the
contents of this information.
Re: automatically sizing modal window
Posted by andrea del bene <an...@libero.it>.
Hi Martin,
what I'd like to have is a window that automatically adjusts its height
and width in order to ensure that all its content it's always visible
without scrollbars. I think it could be done with some JavaScript code.
Do you think it's possible to implement such behavior?
Thank you in advance!
> Can you give more information about this feature, please.
> Either here or in the ticket.
> What are the current obstacles? How do you want it to be? Etc.
>
> On Sun, Sep 26, 2010 at 3:49 PM, andrea del bene<an...@libero.it>wrote:
>
>
>> On 09/25/2010 02:30 PM, Fernando Wermus wrote:
>>
>>
>>> I would like so much this feature. It is so important to me!
>>>
>>> On Sat, Sep 25, 2010 at 5:51 AM, Josh Kamau<jo...@gmail.com>
>>> wrote:
>>>
>>>
>>>
>>>
>>>> Hi guys,
>>>>
>>>> Is there are way to ensure that a modal window automatically sizes to fit
>>>> the available content? the default size seems sometimes too big and
>>>> sometimes too small for the contents.
>>>>
>>>> Regards.
>>>> Josh
>>>>
>>>>
>>>>
>>>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: automatically sizing modal window
Posted by Martin Grigorov <mg...@apache.org>.
Additionally ModalWindow is highly configurable via CSS.
On Sun, Sep 26, 2010 at 5:34 PM, Martin Grigorov <mg...@apache.org>wrote:
> Can you give more information about this feature, please.
> Either here or in the ticket.
> What are the current obstacles? How do you want it to be? Etc.
>
>
> On Sun, Sep 26, 2010 at 3:49 PM, andrea del bene <an...@libero.it>wrote:
>
>> On 09/25/2010 02:30 PM, Fernando Wermus wrote:
>>
>>> I would like so much this feature. It is so important to me!
>>>
>>> On Sat, Sep 25, 2010 at 5:51 AM, Josh Kamau<jo...@gmail.com>
>>> wrote:
>>>
>>>
>>>
>>>> Hi guys,
>>>>
>>>> Is there are way to ensure that a modal window automatically sizes to
>>>> fit
>>>> the available content? the default size seems sometimes too big and
>>>> sometimes too small for the contents.
>>>>
>>>> Regards.
>>>> Josh
>>>>
>>>>
>>>>
>>>
>> +1. I 've opened an improvement issue on Jira (
>> https://issues.apache.org/jira/browse/WICKET-3080). I hope it will be
>> implemented in future releases.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
Re: automatically sizing modal window
Posted by Martin Grigorov <mg...@apache.org>.
Can you give more information about this feature, please.
Either here or in the ticket.
What are the current obstacles? How do you want it to be? Etc.
On Sun, Sep 26, 2010 at 3:49 PM, andrea del bene <an...@libero.it>wrote:
> On 09/25/2010 02:30 PM, Fernando Wermus wrote:
>
>> I would like so much this feature. It is so important to me!
>>
>> On Sat, Sep 25, 2010 at 5:51 AM, Josh Kamau<jo...@gmail.com>
>> wrote:
>>
>>
>>
>>> Hi guys,
>>>
>>> Is there are way to ensure that a modal window automatically sizes to fit
>>> the available content? the default size seems sometimes too big and
>>> sometimes too small for the contents.
>>>
>>> Regards.
>>> Josh
>>>
>>>
>>>
>>
> +1. I 've opened an improvement issue on Jira (
> https://issues.apache.org/jira/browse/WICKET-3080). I hope it will be
> implemented in future releases.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: automatically sizing modal window
Posted by andrea del bene <an...@libero.it>.
On 09/25/2010 02:30 PM, Fernando Wermus wrote:
> I would like so much this feature. It is so important to me!
>
> On Sat, Sep 25, 2010 at 5:51 AM, Josh Kamau<jo...@gmail.com> wrote:
>
>
>> Hi guys,
>>
>> Is there are way to ensure that a modal window automatically sizes to fit
>> the available content? the default size seems sometimes too big and
>> sometimes too small for the contents.
>>
>> Regards.
>> Josh
>>
>>
+1. I 've opened an improvement issue on Jira
(https://issues.apache.org/jira/browse/WICKET-3080). I hope it will be
implemented in future releases.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: automatically sizing modal window
Posted by Fernando Wermus <fe...@gmail.com>.
I would like so much this feature. It is so important to me!
On Sat, Sep 25, 2010 at 5:51 AM, Josh Kamau <jo...@gmail.com> wrote:
> Hi guys,
>
> Is there are way to ensure that a modal window automatically sizes to fit
> the available content? the default size seems sometimes too big and
> sometimes too small for the contents.
>
> Regards.
> Josh
>
--
Fernando Wermus.
www.linkedin.com/in/fernandowermus