小编Jer*_*nch的帖子

开源.NET富文本编辑器UserControl与GUI全部实现

我正在编写一个数据输入程序,其中最后一个字段将是一个RichTextBox,供用户输入备注,格式化为print.

是否已经实现了所有GUI的免费或开源.NET WinForms富文本编辑器?大多数搜索最终会使用基于网络的编辑器,如FCKEditor和朋友(或竞争对手,具体取决于您的看法).

如果没有(我非常怀疑),我将完全开始一个新的开源RichTextEditor.

.net rich-text-editor

10
推荐指数
1
解决办法
2万
查看次数

适用于Android的任何开源富文本编辑器?

正如标题所示,我想知道,
是否有适用于Android的开源富文本编辑器?

android rich-text-editor

10
推荐指数
0
解决办法
2万
查看次数

是使用cfsqltype的好习惯吗?

编码cfqueryparam或cfprocparam时,cfsqltype是可选的.但是,我经常看到它编码.指定cfsqltype有什么好处吗?

sql coldfusion railo cfml

10
推荐指数
2
解决办法
496
查看次数

修复错误"函数array_length(bigint [])不存在"

我有一个递归查询,封装在一个函数中,返回一个层次调查"结构":

CREATE OR REPLACE FUNCTION get_survey_results(IN v_survey_id integer DEFAULT 1, IN v_survey_session_id integer DEFAULT NULL)
  RETURNS TABLE(sort_order bigint[], survey_question_id integer, question_text text, required_ind smallint, survey_session_id integer, custom_text text, option_value integer, survey_scale_id integer, survey_scale_type_id integer, parent_survey_question_id integer, parent_survey_scale_option_id integer) AS
$BODY$
BEGIN
    RETURN QUERY
        WITH RECURSIVE Survey_Structure (PATH, survey_question_id, question_text,
            required_ind, survey_session_id, custom_text,
            option_value, survey_scale_id, survey_scale_type_id,
            parent_survey_question_id, parent_survey_scale_option_id, CYCLE)
        AS (
            SELECT ARRAY[row_number() OVER (ORDER BY Survey_Question.sort_order)], Survey_Question.survey_question_id, Survey_Question.question_text, 
                Survey_Question.required_ind, Survey_Response.survey_session_id, Survey_Response.custom_text,
                Survey_Scale_Option.option_value, Survey_Question.survey_scale_id, Survey_Scale.survey_scale_type_id,
                0 as parent_survey_question_id, 0 AS parent_survey_scale_option_id, …
Run Code Online (Sandbox Code Playgroud)

postgresql postgresql-9.1

10
推荐指数
1
解决办法
6463
查看次数

Web开发中的源代码控制系统

我们刚刚开始寻找源代码控制系统.我意识到我们落后了,但迟到总比没有好.我们团队中的所有成员都没有过去任何系统的经验,所以我希望在我们开始研究不同的工具时能找到一些基本的东西.以下是我们团队的一些背景知识:

  • 我们的团队由开发人员和设计师组成
  • 我们主要在PC上使用Mac上的一个或两个
  • 许多人对基于命令行的系统不满意
  • 我们的大部分发展都是针对网络的
  • 我们在ASP.NET,ColdFusion和PHP中开发

我们计划研究一些:

任何这些经历都有助于了解.

php asp.net version-control coldfusion cfml

9
推荐指数
2
解决办法
944
查看次数

CKEditor定义自定义工具栏

我正在使用CKEditor并在config.js文件中定义了一个自定义工具栏.

但是,当我刷新出现CKEditor的页面时,不会显示此自定义工具栏.

下面是config.js文件中的自定义工具栏.

CKEDITOR.editorConfig = function( config )
{
    // Define changes to default configuration here. For example:
    // config.language = 'fr';
    // config.uiColor = '#AADC6E';
    config.toolbar = 'Custom';

    config.toolbar_Custom =
    [
        { name: 'document', items : [ 'NewPage','Preview' ] },
        { name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
        { name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','Scayt' ] },
        { name: 'insert', items : [ 'Image','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'
                 ,'Iframe' ] },
                '/',
        { name: 'styles', items : [ 'Styles','Format' ] },
        { …
Run Code Online (Sandbox Code Playgroud)

javascript jquery rich-text-editor ckeditor

9
推荐指数
1
解决办法
9221
查看次数

不测试组(PHPUnit支持@group注释)类的功能扩展自Netbeans中的Yii

目前我对Yii有一个问题,当我使用" @group annotation "(由PHPUnit支持)测试我的类中的组函数时,从Yii 扩展.

我在Yii (NetBeans IDE和Yii项目)的论坛中配置了指导.

当我按下Ctrl + F6时,我测试了我班上的所有功能.它运行得非常好.

但是当我使用" @group annotation "(support by PHPUnit)时.它没有运行,我没有看到对话框.

当我在对话框中选中"在运行测试之前询问测试组 "配置PHPUnit时.当我按Ctrl + F6时,我没有看到对话框.

我这里的问题是两个文件" bootstrap.php "和" phpunit.php ",但我不知道怎么改变它?

我对论坛Yii和演示代码有疑问.

php phpunit netbeans yii

9
推荐指数
1
解决办法
1297
查看次数

如何重用一个Bootstrap模态div?

我希望能够通过Bootstrap的模态插件在页面上使用多个不同的链接重用一个模态div:

<h3>This button shows a modal (<code>#utility</code>) with text "Phasellus <em>tincidunt gravida</em>..."</h3>
<br />
<a id="file_attach" data-toggle="modal" href="http://fiddle.jshell.net/jhfrench/6K8rD/show/" data-target="#utility" class="btn">Modal 1</a><br />
<h3>This button should invoke the same modal (<code>#utility</code>), but fill it with text "Phasellus <em>egestas est eu</em>..."</h3>
<br />
<a id="file_attach" data-toggle="modal" href="http://fiddle.jshell.net/jhfrench/AWSnt/show/" data-target="#utility" class="btn">Modal 2</a><br />

<!-- Modal -->
<div id="utility" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h3 id="myModalLabel">Click outside modal to close it</h3>
  </div>
  <div class="modal-body">
    <p>One fine …
Run Code Online (Sandbox Code Playgroud)

jquery modal-dialog twitter-bootstrap

9
推荐指数
2
解决办法
2万
查看次数

删除"nav-tabs"圆角(Bootstrap)

不知道如何删除Bootstrap中选项卡上的圆角(class ="nab-tabs").

示例:http://i.imgur.com/ho7rX.png

请帮忙

谢谢

twitter-bootstrap

9
推荐指数
2
解决办法
2万
查看次数

Postgres JSON类型的JPA2/Hibernate Criteria或CriteriaQuery

我有一个带有JSON字段的PostgreSQL数据库.我想构建一个通过JSON表达式限制结果的查询.我可以在psql中制定这个查询而不会出现问题:

select * from mytable where relation_id=100 AND CAST(jsonField->'key' AS float) >= 10.0;
Run Code Online (Sandbox Code Playgroud)

此查询组合了普通列和JSON列.

我不知道如何使用Criteria或Criteria查询在Hibernate中启动它.理论上,我可以使用HSQL语言,但我几乎可以肯定,当涉及到JSON列时,它会失败.

有谁知道如何解决这个问题?

postgresql json hibernate jpa-2.0

9
推荐指数
1
解决办法
1548
查看次数