StringResourceModels doesn't seem to detach properly

2012-01-03 Thread Einar Bjerve
is detached with the StringResourceModel. This behavior seems kind of inconsistent to me. Is this intended and correct? Best regards Einar Bjerve

SV: StringResourceModels doesn't seem to detach properly

2012-01-04 Thread Einar Bjerve
ngResourceModel#onDetach() is never called. Since detaching of property substitution models and detachable parameters is done in StringResourceModel#onDetach(), these objects won't be detached. I believe this is a bug, as it was changed between 1.4 and 1.5. In 1.4 it was consistent, in 1.5

Re: StringResourceModels doesn't seem to detach properly

2012-01-04 Thread Einar Bjerve
t; On Wed, Jan 4, 2012 at 10:44 AM, Einar Bjerve wrote: >> Hi, >> >> Well, StringResourceModel#detach() is called, but since the SRM isn't >> attached, StringResourceModel#onDetach() is never called and the result is >> that the property subst

Re: how Translate SingIn panel...

2010-09-15 Thread Einar Bjerve
As far as I know SigninPanel only partially support localization, so you have to override SigninPanel, and provide your own html with the correct translation. And you should probably add "signInFailed" to your properties so you get that message in your language too Einar Den 15. sep. 2010 kl.

Re: Form in tfoot disappears after submission

2010-11-18 Thread Einar Bjerve
We had a similar problem. What we did was to rewrite the table to use div's instead, and not , since then you're allowed to have forms around individual lines. Den 17. nov. 2010 kl. 16.38 skrev Igor Vaynberg: > not that i know of. > > -igor > > On Wed, Nov 17, 2010 at 6:36 AM, Alec Swan wrot

How to enable/disable an hierarchy?

2010-11-30 Thread Einar Bjerve
Hi all, How can we enable/disable almost an entire hierarchy under certain circumstances, while still keeping some of them open for editing/clicking? The obvious solution would be to enable/disable the ancestor and override isEnabledInHierarchy for the few components that should still be enabled,

Re: How to enable/disable an hierarchy?

2010-12-01 Thread Einar Bjerve
2010 at 1:21 AM, Igor Vaynberg wrote: > have a field in the page that controls whether or not these components > should be enabled/disabled, then override their onconfigure() methods > and setenable/disabled based on the field. > > -igor > > On Tue, Nov 30, 2010 at 3:17 PM, Ein

Re: How to enable/disable an hierarchy?

2010-12-01 Thread Einar Bjerve
Thanks, finally got it to work. By overriding parentPanel.onBeforeRender(), and visit the children I was able to enable/disable child components. It is important to call super.onBeforeRender() before visiting children to populate the ListView first. I could not use onConfigure() because some of t

Re: Ajax and ModalWindow Strange behaviour

2010-12-04 Thread Einar Bjerve
Could it be that the modalwindow detaches your models when it closes? Den 3. des. 2010 kl. 15.22 skrev Poko Booth: > Hmmm.. Turns out it's not the modal window the one causing the problem. > The modal was activated by an ajaxsubmitlink and the page form had required > components thus errors too