Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8800513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:36:31+00:00 2026-06-14T00:36:31+00:00

In Start Workflow page, Start Workflow form is generated from Form-Engine. I want to

  • 0

In “Start Workflow” page, “Start Workflow” form is generated from Form-Engine.

I want to disable “Start Workflow” button when submitting form. When
callback, I want to enable this button.

In start-workflow.js, I can get this button by using

var submitButton = Dom.get(this.generateId + "-form-submit-button");
submitButton.setAttribute("disabled", "disabled");

But adding attribute “disabled” does not work in IE8 as button can even click. But it works in mozilla. But by using yui disabled,

this.submitElements[0].set("disabled", true); can be work.

The problem is that how can I access Alfresco.FormUI(form.js) from Alfresco.component.StartWorkflow(start-workflow.js). Since they are separate yui object, I do not know how to access from one another.

If you know, let me share your knowledge and experience.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T00:36:32+00:00Added an answer on June 14, 2026 at 12:36 am

    If the other component extends Alfresco.component.Base then it should have registered its presence on the page when it was instantiated.

    You can then use Alfresco.util.ComponentManager (docs) to retrieve the instance you want, e.g. if it is the only instance on the page,

    var otherCmpt = Alfresco.util.ComponentManager.findFirst(p_sName)
    

    where p_sName is the full name of the class as a String value, e.g. "Alfresco.FormUI".

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to start a workflow programatically. So written a web script. Execute Script
I want my workflow to Abort after failing some tests. How can I get
I start a download using PHP with this code: <? $_REQUEST['file'] = urldecode($_GET['file']); header(Content-type:
In workflow 3.0-3.5 you could explicitly set the Id of a workflow you start.
Here is my example : We have printers. We can define page formats that
I have an InfoPath form in a SharePoint workflow. I'm trying to use a
I've got a scenario where I want a workflow to not run if a
I have a workflow that moves files around between ftp sites. It can be
I am trying to create some sort of workflow in GreaseMonkey. I start with
Is there a way to start a sharepoint designer workflow on an item inserted

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.