Okay, this is how it is in current svn.

For 1.x, hashCode is used to generate id.
For 2.0, getClassRelativePath() is used, as the place in component 
hierarchy is already known in constructor. hope it helps.

-Matej

samyem wrote:
> Thanks. That was helpful, but it seems to be more difficult than it needs to
> be. I think the default behaviour should have been to use different cookie
> names per instance of the modal window, but apparently the same cookie name
> were used for all instances. I tried to use getClassRelativePath() for the
> modal window. I guess a simple fix of using distinct cookie name per modal
> window instance would solve the problem in general.
> 
> 
> Matej Knopp wrote:
>> Modal window width and height is stored in a cookie. First time initial 
>> width and height is used, and after that the width and height from the 
>> cookie is used.
>>
>> What you need to do is set different cookie id for different modal 
>> windows. Or disable cookies at all (setCookieId(null)).
>>
>> -Matej
>>
>> samyem wrote:
>>> If the modal window is resizable, why is it ignoring the window size, and
>>> what should be done if I do need to supply a width and height? At the
>>> moment, I can set an initial width and height, but after I close the
>>> window
>>> and go to another page with another modal window, instead of using the
>>> initial width/height set for the modal window, it uses the last known
>>> width/height values. For non-resizable modal windows, this behaviour does
>>> not occur.
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>>
> 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to