cancel
Showing results for 
Search instead for 
Did you mean: 

onLostFocus Behaviour??

dacedos
Champ in-the-making
Champ in-the-making
Hi,

I'd have a custom content type with some properties that depends of a "main property". All of them are text and I'd need them updated when a "main property" changes. These properties contain values which are proportional to the main property value.

It should behave like a onLostFocus behaviour policy.

Is it possible? any idea how could it be developed??

Thanks in advance!
1 REPLY 1

jbarmash
Champ in-the-making
Champ in-the-making
What you are asking for is possible, but nontrivial, since it may require customizing some core Alfresco code.    The Alfresco Explorer property sheet page does not allow for dependencies between properties (at least hasn't as of 3.0 and before, haven't checked more recently - in 3.2 the Forms Service will give you much more flexibility in Share). 

Please read the following post I wrote - I solved a very similar problem of creating dependencies between two metadata properties.
   http://blogs.alfresco.com/wp/jbarmash/2008/08/18/implementing-cascading-dropdowns-for-editing-proper...

It's also possible that you could solve your problem by implementing a custom property UI generator that uses some JavaScript trickery.