0

I'm the new of Alfresco framework. So I would like to pass the value from js controller to other js controller. I don't know how to pass. Example: the value of group name in workflow-form.js to sample-module.js.

Please give me an instructions. Thanks advance.

kohtoo
  • 15
  • 5
  • Could you provide a sample of your code of what you have tried to do already? – DF_ Feb 07 '13 at 08:20
  • Nope... I juz only want to know how to passed value and how many ways in javascript to javascript just as sample or reference in alfresco. thanks – kohtoo Feb 07 '13 at 08:40

1 Answers1

0

if you want to pass variables between controllers, you should declare variables in the model like this:

var newVar = document.properties.name;
model.newVar = newVar;
Teqnology
  • 1,282
  • 8
  • 20