@@ -46,18 +46,18 @@ public R009ControllerAssignFormToFormGroup(DSConfiguration config, Session sessi
4646 protected void onInitModel (WorkArguments args , ModelMap model ) throws Exception {
4747 super .onInitModel (args , model );
4848
49- // Step 3 Start
49+ //ds-snippet-start:Rooms9Step3
5050 this .formGroupsApi = createFormGroupsApi (
5151 this .session .getBasePath (), this .user .getAccessToken ()
5252 );
5353 FormGroupSummaryList formGroupSummaryList = formGroupsApi .getFormGroups (this .session .getAccountId ());
54- // Step 3 End
54+ //ds-snippet-end:Rooms9Step3
5555
56- // Step 4 Start
56+ //ds-snippet-start:Rooms9Step4
5757 List <FormSummary > forms = GetFormSummaryListService .getFormSummaryList (
5858 createFormLibrariesApi (session .getBasePath (), this .user .getAccessToken ()),
5959 this .session .getAccountId ());
60- // Step 4 End
60+ //ds-snippet-end:Rooms9Step4
6161
6262 model .addAttribute (MODEL_FORM_GROUP_LIST , formGroupSummaryList .getFormGroups ());
6363 model .addAttribute (MODEL_FORM_LIST , forms );
@@ -68,13 +68,13 @@ protected void onInitModel(WorkArguments args, ModelMap model) throws Exception
6868 protected Object doWork (WorkArguments args , ModelMap model ,
6969 HttpServletResponse response ) throws IOException , ApiException {
7070 try {
71- // Step 6 Start
71+ //ds-snippet-start:Rooms9Step6
7272 FormGroupFormToAssign formGroupFormToAssign = AssignFormToFormGroupService .assignFormToFormGroup (
7373 this .formGroupsApi ,
7474 this .session .getAccountId (),
7575 args .getFormId (),
7676 args .getFormGroupId ());
77- // Step 6 End
77+ //ds-snippet-end:Rooms9Step6
7878
7979 DoneExample .createDefault (this .title )
8080 .withJsonObject (formGroupFormToAssign )
0 commit comments