docs: public void doEdit(@FormGroup("channelInfo") Group channelInfo, @Param("pageIndex") int pageIndex,
                         @Param("searchKey") String searchKey,
                         @FormGroup("channelParameterInfo") Group channelParameterInfo,
                         @FormField(name = "formChannelError", group = "channelInfo") CustomErrors err, Navigator nav)
                                                                                                                      throws Exception {
          Channel channel = new Channel();
          ChannelParameter parameter = new ChannelParameter();
          channelInfo.setProperties(channel);
          channelParameterInfo.setProperties(parameter);
          channel.setStatus(channelService.findById(channel.getId()).getStatus());
          parameter.setChannelId(channel.getId());
          channel.setParameters(parameter);
          try {
              channelService.modify(channel);
          } catch (RepeatConfigureException rce) {
              err.setMessage("invalidChannelName");
              return;
          }
  
          nav.redirectToLocation("channelList.htm?pageIndex=" + pageIndex + "&searchKey=" + urlEncode(searchKey));
      }