示例#1
0
文件: Tree.cs 项目: g82tt/xcore
 private static int getSelectedValue(String dropName, int val)
 {
     if (CurrentRequest.getHttpMethod().Equals("POST"))
     {
         return(cvt.ToInt(CurrentRequest.getForm(dropName)));
     }
     return(val);
 }
示例#2
0
文件: Html.cs 项目: zhdwwf/wojilu
        private static String getSelectedValue(String dropName, Object val)
        {
            String str = cvt.ToNotNull(val);

            if (strUtil.IsNullOrEmpty(str) && CurrentRequest.getHttpMethod().Equals("POST"))
            {
                str = CurrentRequest.getForm(dropName);
            }
            str = cvt.ToNotNull(str);
            return(str);
        }
示例#3
0
文件: Html.cs 项目: zhdwwf/wojilu
 private static String[] getSelectValueArray(String chkName, String selectValue)
 {
     if (CurrentRequest.getHttpMethod().Equals("POST"))
     {
         selectValue = CurrentRequest.getForm(chkName);
     }
     if (strUtil.HasText(selectValue))
     {
         return(selectValue.Split(new char[] { ',' }));
     }
     return(null);
 }
示例#4
0
文件: sys.cs 项目: zuhuizou/wojilu
 public String GetForm(String key)
 {
     return(CurrentRequest.getForm(key));
 }