Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/376.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用编辑区javascript插件时保存textarea_Javascript - Fatal编程技术网

使用编辑区javascript插件时保存textarea

使用编辑区javascript插件时保存textarea,javascript,Javascript,使用编辑区Javascript插件作为HTML编辑器,在保存textarea内容时出现问题。插件工作正常,直到我提交表单,信息不再像包含插件之前那样保存 想知道是否有人有过这个插件的经验,可以告诉我正确的方向 代码: 您是否将bean与jsf一起使用?我也遇到了同样的问题,我利用请求对象文本的值解决了这个问题: Map<String, String> requestMap =FacesContext.getCurrentInstance().getExternalContext().

使用编辑区Javascript插件作为HTML编辑器,在保存textarea内容时出现问题。插件工作正常,直到我提交表单,信息不再像包含插件之前那样保存

想知道是否有人有过这个插件的经验,可以告诉我正确的方向

代码:


您是否将bean与jsf一起使用?我也遇到了同样的问题,我利用请求对象文本的值解决了这个问题:

Map<String, String> requestMap =FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();
String text= requestMap.get("inputLayout");
Map requestMap=FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();
String text=requestMap.get(“inputLayout”);
这样,我就拥有了action方法中的值


确保该按钮进行提交。我的
命令链接有问题。我用类型
submit
将其更改为
commandButton
,现在它工作得很好。

您是否将bean与jsf一起使用?我也遇到了同样的问题,我利用请求对象文本的值解决了这个问题:

Map<String, String> requestMap =FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();
String text= requestMap.get("inputLayout");
Map requestMap=FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();
String text=requestMap.get(“inputLayout”);
这样,我就拥有了action方法中的值

确保该按钮进行提交。我的
命令链接有问题。我用类型
submit
将它改为
commandButton
,现在它工作得很好