Skip first step when starting new task

1 view
Skip to first unread message

vikas.khengare

unread,
Oct 18, 2009, 7:55:54 AM10/18/09
to EmForge
Hi Friends,

I am using EmForge 0.26.
I want to skip the first step while starting new task. When I want to
add task, UI is showing all workflow task list then we have to select
which type of task we need to start (ToDo / Feature / Bug etc). After
selecting the task type, the selected workflow (task type) gets
display in 'bold' with 'Next' button & when we click 'Next' button we
have to enter task title.

I want to skip the first step's UI change process ie when user selects
the workflow type, it should be directly take the input task title. It
should not show selected workflow(task type) in 'bold'.

I think we can do this changes in 2 functions in
NewTaskController.java
1) public String selectWorkflow(){
if(STEP_PROJECT_AND_WORKFLOW.equals(step))
step = STEP_TITLE_SEARCH;
return null;
}

2) public String getNextButtonStyle(){
if (isDisplayNext()) {
if(STEP_PROJECT_AND_WORKFLOW.equals(step))
step = STEP_TITLE_SEARCH;
return "display:inline;";
} else {
return "display:none;";
}
}

Is this a correct approach? Can some one give suggestions on the above
problem?

Thank you.

regards,
Vikas Khengare

Alexey Kakunin

unread,
Oct 18, 2009, 8:31:23 AM10/18/09
to emf...@googlegroups.com
Hi Vikas,
0.26 is too old - in latest version we switched from multi-step wizard to create new task into "one-step" form
It is still possible to use milti-step (it is controlled by config.properties) - but is it not a primary.

Still speaking about multi-step implementation - yes, your approach looks correct

2009/10/18 vikas.khengare <vikas.k...@gmail.com>



--
With Best Regards,
Alexey Kakunin, EmDev Limited

Professional Software Development:
http://www.emdev.ru

vikas khengare

unread,
Oct 19, 2009, 1:59:21 AM10/19/09
to emf...@googlegroups.com
Hi Alexey,

We want to move from 0.26 to 0.34 version but after some customer deployment. I already have posted this query in EmForge group. Might be in next 2 months till December 2009 we will try to move to 0.34.

For above problem, I am doing changes only in (1) function i.e. in public String selectWorkflow() which is sufficient.

Thank for you reply.

regards,
Vikas Khengare
--
Vikas Khengare
[ vikas.k...@gmail.com ]
Reply all
Reply to author
Forward
0 new messages