cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Form submission in CSCockpit in hybris version 6.2

svintha
Explorer
0 Kudos
254

Hi all ,There is a requirement to add a link to the menu section of CSC and when user clicks on this new link called change password . User should be navigated to a page where it would consider the old password and new password and confirm password . As part of this requirement we have modified the LeftSectionHeaderComponent to show our link and when the link is clicked the listener would redirect to the page where the form has three fields in it

 Executions.sendRedirect("/ChangePasswordloginDialog.zul");

we also have ChangePWDLoginFormwhere we have these three fields available

     private String oldPassWord;
     private String newPassword;
     private String confirmPassword;

But when it comes to form submittion in zul file we are not getting these fields in the backed form . Just wanted to know how can we receive the form fields in the back end in cscockpit .

 <textbox type="password" id="oldPassWord"  name="oldPassWord" value="${ChangePWDLoginForm.oldPassWord}"/>

is the actual field mapping given in the zul file and also action is mapped in the zul file . what is the way to retrieve these values from input fields to backend form .

Accepted Solutions (0)

Answers (0)