Re: Modal window and height

2013-04-02 Thread seyaw
Just in case someone else still face same problem. Clear your cache from your
browser.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Modal-window-and-height-tp1861453p4657666.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Modal window and height

2008-05-04 Thread Mathias P.W Nilsson

I have tried that. Still does not work. The only differens is that it is a
resizable( false ) window
-- 
View this message in context: 
http://www.nabble.com/Modal-window-and-height-tp16960447p17045142.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]



Re: Modal window and height

2008-05-04 Thread Cristi Manole
even if you don't use setcookiename at all? try not setting anything related
to a cookie...

this is how i do it and it works:
reportModalWindow = new ModalWindow("reportWindow");
reportModalWindow.setInitialHeight(410);
reportModalWindow.setInitialWidth(750);
reportModalWindow.setMinimalHeight(410);
reportModalWindow.setMinimalWidth(750);
return reportModalWindow;


On Sun, May 4, 2008 at 1:39 PM, Mathias P.W Nilsson <[EMAIL PROTECTED]>
wrote:

>
> No it does not work. I have looked in the source code as well but to see
> if
> I'm doing something wrong but I still get default height and width that is
> set in the source.
> --
> View this message in context:
> http://www.nabble.com/Modal-window-and-height-tp16960447p17044911.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]
>
>


Re: Modal window and height

2008-05-04 Thread Mathias P.W Nilsson

No it does not work. I have looked in the source code as well but to see if
I'm doing something wrong but I still get default height and width that is
set in the source.
-- 
View this message in context: 
http://www.nabble.com/Modal-window-and-height-tp16960447p17044911.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]



Re: Modal window and height

2008-05-04 Thread Matej Knopp
You have specified the cookie name. Thus it should remember the last
size - that takes precedence over the specified initial size.

-Matej

On Tue, Apr 29, 2008 at 3:29 PM, Mathias P.W Nilsson
<[EMAIL PROTECTED]> wrote:
>
>  Hi! I can't set initial height and width on my modal window. It's always the
>  same height and width when opening it.
>
>
> final ModalWindow modal;
> add(modal = new ModalWindow("modal"));
> modal.setPageMapName("modal-4");
> modal.setCookieName("modal window 4");
> modal.setInitialWidth(350);
> modal.setInitialHeight(300);
> modal.setResizable(false);
> modal.setWidthUnit("px");
> modal.setHeightUnit("px");
>
>  Any clues?
>  --
>  View this message in context: 
> http://www.nabble.com/Modal-window-and-height-tp16960447p16960447.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]
>
>



-- 
Resizable and reorderable grid components.
http://www.inmethod.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Modal window and height

2008-05-04 Thread Cristi Manole
For me it works just by using setinitialwidth/height... doesn't it work for
you too?

Cristi Manole

On Sat, May 3, 2008 at 3:14 PM, Mathias P.W Nilsson <[EMAIL PROTECTED]>
wrote:

>
> The java doc for the modal windows says
>
>  * [EMAIL PROTECTED] #setResizable(boolean)} specifies, 
> whether the
> window can be resized.
>  * [EMAIL PROTECTED] #setInitialWidth(int)} and [EMAIL 
> PROTECTED]
> #setInitialHeight(int)}
>  * specify the initial width and height of window. If the window is
> resizable, the unit of these
>  * dimensions is always "px". If the window is not resizable, the unit can
> be specified using
>  * [EMAIL PROTECTED] #setWidthUnit(String)} and [EMAIL 
> PROTECTED]
> #setHeightUnit(String)}.
>  * If the window is not resizable and the content is a component (not a
> page), the initial height
>  * value can be ignored and the actual height can be determined from the
> height of the content. To
>  * enable this behavior use [EMAIL PROTECTED]
> #setUseInitialHeight(boolean)}.
>  * The window position (and size if the window is resizable) can be
> stored in a cookie, so that
>  * it is preserved when window is close. The name of the cookie is
> specified
> via
>  * [EMAIL PROTECTED] #setCookieName(String)}. If the name is
> null, position is
>  * not stored (initial width and height are always used). Default cookie
> name is null (position is
>  * not stored).
>
> Now I have setCookieName( null ) , set minimum height but the window
> always
> opens in the same size.
> How do I set the height and width exactly as I want?
>
> --
> View this message in context:
> http://www.nabble.com/Modal-window-and-height-tp16960447p17034566.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]
>
>


Re: Modal window and height

2008-05-03 Thread Mathias P.W Nilsson

The java doc for the modal windows says

 * [EMAIL PROTECTED] #setResizable(boolean)} specifies, 
whether the
window can be resized.
 * [EMAIL PROTECTED] #setInitialWidth(int)} and [EMAIL 
PROTECTED]
#setInitialHeight(int)}
 * specify the initial width and height of window. If the window is
resizable, the unit of these
 * dimensions is always "px". If the window is not resizable, the unit can
be specified using
 * [EMAIL PROTECTED] #setWidthUnit(String)} and [EMAIL 
PROTECTED]
#setHeightUnit(String)}.
 * If the window is not resizable and the content is a component (not a
page), the initial height
 * value can be ignored and the actual height can be determined from the
height of the content. To
 * enable this behavior use [EMAIL PROTECTED]
#setUseInitialHeight(boolean)}.
 * The window position (and size if the window is resizable) can be
stored in a cookie, so that
 * it is preserved when window is close. The name of the cookie is specified
via
 * [EMAIL PROTECTED] #setCookieName(String)}. If the name is
null, position is
 * not stored (initial width and height are always used). Default cookie
name is null (position is
 * not stored).

Now I have setCookieName( null ) , set minimum height but the window always
opens in the same size.
How do I set the height and width exactly as I want?

-- 
View this message in context: 
http://www.nabble.com/Modal-window-and-height-tp16960447p17034566.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]



Re: Modal window and height

2008-05-02 Thread Mathias P.W Nilsson

Ok. I haven't resolved this yet. any more pointers?
-- 
View this message in context: 
http://www.nabble.com/Modal-window-and-height-tp16960447p17022538.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]



Re: Modal window and height

2008-04-29 Thread NTS


Try clearing your cookies.


Mathias P.W Nilsson wrote:
> 
> Hi! I can't set initial height and width on my modal window. It's always
> the same height and width when opening it.
> 
>   
> final ModalWindow modal;
> add(modal = new ModalWindow("modal"));
> modal.setPageMapName("modal-4");
> modal.setCookieName("modal window 4");
> modal.setInitialWidth(350);
> modal.setInitialHeight(300);
> modal.setResizable(false);
> modal.setWidthUnit("px");
> modal.setHeightUnit("px");
> 
> Any clues?
> 


-
http://ntsrikanth.blogspot.com/
-- 
View this message in context: 
http://www.nabble.com/Modal-window-and-height-tp16960447p16963381.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]



Modal window and height

2008-04-29 Thread Mathias P.W Nilsson

Hi! I can't set initial height and width on my modal window. It's always the
same height and width when opening it.


final ModalWindow modal;
add(modal = new ModalWindow("modal"));
modal.setPageMapName("modal-4");
modal.setCookieName("modal window 4");
modal.setInitialWidth(350);
modal.setInitialHeight(300);
modal.setResizable(false);
modal.setWidthUnit("px");
modal.setHeightUnit("px");

Any clues?
-- 
View this message in context: 
http://www.nabble.com/Modal-window-and-height-tp16960447p16960447.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]