08-21-2008 07:46 AM
08-24-2008 03:08 PM
08-25-2008 05:53 AM
08-25-2008 03:34 PM
<wizard name="createUser"
managed-bean="CreateUserWizard"
title-id="new_user_title"
description-id="new_user_desc"
icon="/images/icons/new_user_large.gif">
<step name="person-properties"
title-id="person_properties"
description-id="new_user_step1_desc">
<page
path="/jsp/users/new-user-wizard/person-properties.jsp"
title-id="new_user_step1_title"
description-id="new_user_step1_desc"
instruction-id="default_instruction" />
</step>
<step name="user-properties" title-id="user_properties"
description-id="new_user_step2_desc">
<page
path="/jsp/users/new-user-wizard/new-user-properties.jsp"
title-id="new_user_step2_title"
description-id="new_user_step2_desc"
instruction-id="default_instruction" />
</step>
<step name="summary" title-id="summary"
description-id="summary_step_description">
<page path="/jsp/wizard/summary.jsp"
title-id="summary" description-id="summary_desc"
instruction-id="new_user_finish_instruction" />
</step>
</wizard>
08-26-2008 05:18 AM
08-26-2008 06:54 AM
protected String determineOutcomeForStep(int step)
{
String outcome = null;
switch (step)
{
case 1:
{
outcome = "person-properties";
break;
}
case 2:
{
outcome = "user-properties";
break;
}
case 3:
{
outcome = "summary";
break;
}
default:
{
outcome = CANCEL_OUTCOME;
}
}
return outcome;
}
<navigation-rule>
<from-view-id>/jsp/wizard/new-user/*</from-view-id>
<navigation-case>
<from-outcome>cancel</from-outcome>
<to-view-id>/jsp/users/users.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>finish</from-outcome>
<to-view-id>/jsp/users/users.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>person-properties</from-outcome>
<to-view-id>/jsp/wizard/new-user/person-properties.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>user-properties</from-outcome>
<to-view-id>/jsp/wizard/new-user/user-properties.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>summary</from-outcome>
<to-view-id>/jsp/wizard/new-user/summary.jsp</to-view-id>
</navigation-case>
</navigation-rule>
08-26-2008 07:33 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.