E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
Helpers
undefined method `length' for Enumerable
module ActionView module
Helpers
module TextH
jsntghf
·
2010-12-03 12:00
Rails
undefined method `length' for Enumerable
module ActionView module
Helpers
module TextH
jsntghf
·
2010-12-03 12:00
Rails
"Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/
helpers
/NOPLoggerFactory"错误解决方法
主要原因是hibernate-distribution-3.3.2.GA中的带有的slf4j-api-1.5.8和最新下载的slf4j-1.6.1不兼容造成的,下载一个slf4j-1.5.8包就解决问题了。
xw13106209
·
2010-11-25 00:00
thread
exception
collection_select
表单辅助方法(三)2009-06-2916:36此文原文在http://guides.rubyonrails.org/form_
helpers
.html我根据自己的理解作的一些笔记。
·
2010-11-23 12:00
Collection
Ruby on Rails 的检验方法(Validation
Helpers
)大全
可以自定义validate(), 这个方法在每次保存数据时都会被调用.如:def validate if name.blank? && email.blank? errors.add_to_base("You must specify a name or an email address") endend同时也可以自定义
lqyppp
·
2010-11-22 12:00
正则表达式
Ruby
UP
Rails
ActiveRecord
Validation
Helpers
(数据验证)
validates_acceptance_of # checkbox 提交后的设置的默认值 class Person < ActiveRecord::Base validates_acceptance_of :terms_of_service, :accept => 'yes' end validate
vivei
·
2010-11-22 08:00
ActiveRecord
html转义
escape_javascript(render("contacts")) %>"); # File actionpack/lib/action_view/
helpers
orcl_zhang
·
2010-11-17 23:00
JavaScript
html
Ruby
Android中使用SAX解析XML
MyContentHandler.java importorg.xml.sax.Attributes;importorg.xml.sax.SAXException;importorg.xml.sax.
helpers
.DefaultHandler
wonderful19891024
·
2010-11-15 21:00
android
exception
String
Class
button
attributes
一个android中使用sax解析xml的例子
Browser.apkPhone.apkContact.apkSettings.apkGmail.apk 用到的几个主要的类:importorg.xml.sax.Attributes; importorg.xml.sax.SAXException; importorg.xml.sax.
helpers
.DefaultHandler
huanxido
·
2010-11-02 17:00
android
xml
String
System
import
attributes
重构Log4j输出HTML样式
org.apache.log4j.HTMLLayout;import org.apache.log4j.Layout;import org.apache.log4j.Level;import org.apache.log4j.
helpers
.Transform
zhang63a
·
2010-10-29 17:00
apache
thread
html
log4j
css
rails migrate 外键影响数据
require "migration_
helpers
"class AddToPostUserForeignKey < ActiveRecord::Migration extend
JasonChi
·
2010-09-19 09:00
UP
Rails
ActiveRecord
使用jsr172解析xml
javax.xml.parsers.SAXParserFactory; import org.xml.sax.Attributes; import org.xml.sax.SAXException; import org.xml.sax.
helpers
.DefaultHandler
gundumw100
·
2010-09-14 10:00
xml
工作
使用jsr172解析xml
javax.xml.parsers.SAXParserFactory; import org.xml.sax.Attributes; import org.xml.sax.SAXException; import org.xml.sax.
helpers
.DefaultHandler
gundumw100
·
2010-09-14 10:00
工作
xml
使用jsr172解析xml
javax.xml.parsers.SAXParserFactory; import org.xml.sax.Attributes; import org.xml.sax.SAXException; import org.xml.sax.
helpers
.DefaultHandler
gundumw100
·
2010-09-14 10:00
xml
工作
Java 使用SAX解析xml文件
import org.apache.xerces.parsers.SAXParser; import org.xml.sax.Attributes; import org.xml.sax.
helpers
.DefaultHandler
ccwwff
·
2010-09-07 15:00
java
xml
String
filter
CakePHP开发之
helpers
helper顾名思义就是帮助类,主要运用于视图view层. CakePHP在设计之初就充分考虑到了扩充性,在view中,常常会遇到需要处理的并且会多次重复使用到的框架,元素,部份数据...譬如:图表,编辑器等. 这个时候,就是helper大显身手的时候: 在CakePHP中, helper一般位于app/view/helper/目录下,当然这里指的是自己扩充的helper.
lesorb
·
2010-09-02 12:00
JavaScript
框架
PHP
tinymce
cakephp
codeigniter学习3
扩展helper,在要扩展的helper前加上MY_,比如要扩展form helper,则命名为 MY_form_helper.php,放在system/application/
helpers
/目录下即可
jackyrong
·
2010-08-30 20:00
PHP
浏览器
codeigniter学习3
扩展helper,在要扩展的helper前加上MY_,比如要扩展form helper,则命名为 MY_form_helper.php,放在system/application/
helpers
/目录下即可
jackyrong
·
2010-08-30 20:00
PHP
浏览器
codeigniter学习3
扩展helper,在要扩展的helper前加上MY_,比如要扩展form helper,则命名为 MY_form_helper.php,放在system/application/
helpers
/目录下即可
jackyrong
·
2010-08-30 20:00
PHP
浏览器
codeigniter学习3
扩展helper,在要扩展的helper前加上MY_,比如要扩展form helper,则命名为 MY_form_helper.php,放在system/application/
helpers
/目录下即可
jackyrong
·
2010-08-30 20:00
PHP
浏览器
codeigniter学习3
扩展helper,在要扩展的helper前加上MY_,比如要扩展form helper,则命名为 MY_form_helper.php,放在system/application/
helpers
/目录下即可
jackyrong
·
2010-08-30 20:00
PHP
浏览器
codeigniter学习3
扩展helper,在要扩展的helper前加上MY_,比如要扩展form helper,则命名为 MY_form_helper.php,放在system/application/
helpers
/目录下即可
jackyrong
·
2010-08-30 20:00
PHP
浏览器
在CakePHP中使用TinyMCE编辑器
TinyMCE,并把压缩包内tinymce/jscripts/tiny_mce目录整个拷贝到webroot/js目录下,然后在需要用到TinyMCE的Controller里加入,代码如下:var $
helpers
flyer0126
·
2010-08-17 16:00
JavaScript
html
PHP
tinymce
cakephp
rails sweeper 源码
Base end Base.class_eval do [ Filters, Layout, Benchmarking, Rescue, Flash, MimeResponds,
Helpers
orcl_zhang
·
2010-08-06 10:00
cache
Flash
Ruby
ActiveRecord
Rails
rails源码ActionView(待续)
module ActionView class Base include
Helpers
, Partials, ::ERB::Util attr_reader :
helpers
orcl_zhang
·
2010-08-02 14:00
JavaScript
c
cgi
Ruby
Rails
Active Scaffold and JRails/jQuery
set ActionView::
Helpers
::PrototypeHelper::JQUERY_VAR = ‘jQuery’ or
myrev
·
2010-07-29 19:00
JavaScript
java
html
jquery
prototype
Active Scaffold and JRails/jQuery
TouseActivewithscaffoldwithJRailsyouhavetouseadifferentJQUERY_VARthan$Inourcontrollers1.setActionView::
Helpers
myrev
·
2010-07-29 19:00
jQuery
Java
prototype
JavaScript
HTML
cakephp开发前期准备一
app文件主要有: app_controller.php app_helper.php app_model.php... 1 app_controller.php文件主要注意: 注意$
helpers
lesorb
·
2010-07-29 15:00
PHP
mysql
Ajax
Access
cakephp
sax解析
java.util.List; import org.xml.sax.Attributes; import org.xml.sax.SAXException; import org.xml.sax.
helpers
.DefaultHandler
yanlei3032
·
2010-07-27 17:00
xml
在CakePHP中使用swfObject
当前版本:1.2.0.7962FinalswfObject当前版本:2.1具体步骤如下:下载swfObject,把swfobject.js放到/webroot/js目录下将下面代码保存到/views/
helpers
mecho
·
2010-07-12 21:00
JavaScript
String
Parameters
cakephp
wrapper
attributes
Rails部分辅助方法
AssetTagHelper 官方链接:http://api.rubyonrails.org/classes/ActionView/
Helpers
/AssetTagHelper.html  
酷的飞上天空
·
2010-06-14 18:00
JavaScript
html
css
Rails
ActiveRecord
My Study Web Site
http://dizzy.co.uk/ruby_on_rails/cheatsheets/form-
helpers
http://ruby.runpaint.org http://hi.baidu.com
smallwolf
·
2010-05-31 13:00
Web
Blog
Ruby
阿里巴巴
Rails
JSP设计模式基础:View Helper模式——学习如何使用View Helper模式使得Model数据适应表现层的需要
ViewHelper模式告诉我们,我们能使用
Helpers
来使得在一个应用中,Model数据能够适应表现层的需要。典型的,表现层一般都包括一些JSP页面。这些页面由一些用
gbtan
·
2010-05-02 11:00
设计模式
jsp
bean
xml
servlet
CEGUI 0.6.2b build_samples_vs2005.bat 错误解决办法
解决办法:1、打开samples.lua将里面require("
helpers
.lua") require("config.lua")改为:require("
helpers
")require("config
pizi0475
·
2010-04-01 16:00
自定义表单
1,实现自己的FormBuilder 在app/
helpers
/application_helper.rb里加入以下代码: Java代码 1. class TabularFormBuilder
a420144030
·
2010-03-17 09:00
css
F#
Rails
undefined method `length' for Enumerable when calling truncate method
module ActionView module
Helpers
modul
yangzb
·
2010-03-17 00:00
Ruby
Rails
undefined method `length' for Enumerable when calling truncate method
module ActionView module
Helpers
modul
yangzb
·
2010-03-17 00:00
Ruby
Rails
undefined method `length' for Enumerable when calling truncate method
module ActionView module
Helpers
modul
yangzb
·
2010-03-17 00:00
Ruby
Rails
Behaviour Driven Rails(瞎翻译。附原文。)
然后是controllers,最后是views和
helpers
yuan
·
2010-03-04 20:00
Rails
bdd
rails recipes -- JavaScript Helper
recipes 2 :Making Your Own JavaScript Helper All these magic
helpers
are really not so magical after
orcl_zhang
·
2010-02-23 15:00
JavaScript
html
Rails
J2me 中的 Log : log4j2me
*;import org.apache.log4j.
helpers
.LogLog;/** Very simple log4j usa
不过而而
·
2010-01-28 01:00
SAX 解析
SAX解析 [功能]1.SAX即org.xml.sax.
helpers
.DefaultHandler2.本例以GoogleWeather为例访问:http://www.google.com/ig/api
gryphone
·
2010-01-18 12:00
xml
android
Google
rspec - "undefined method `white_list_sanitizer' "
addalineattheendof spec_helper.rb"includeActionView::
Helpers
::SanitizeHelper::ClassMethods"
andyss
·
2010-01-15 11:00
method
undefined
rspec
休闲
rspec - "undefined method `white_list_sanitizer' "
addalineattheendof spec_helper.rb"includeActionView::
Helpers
::SanitizeHelper::ClassMethods"
andyss
·
2010-01-15 11:00
method
undefined
rspec
休闲
使用SAXParser验证XML文件格式---XSD
org.xml.sax.SAXException; import org.xml.sax.SAXParseException; import org.xml.sax.XMLReader; import org.xml.sax.
helpers
.DefaultHandler
wenhai_zhang
·
2010-01-06 01:00
apache
xml
Patch for build gmagick on mac osx 10.6(snow leopard)
snowleopard)编译gmagick失败.错误如下:ld:duplicatesymbol_php_gmagick_sc_entryin.libs/gmagick_methods.oand.libs/gmagick_
helpers
.ocollect2
nightsailer
·
2009-12-02 17:00
OSX
PHP
CentOS
C
C++
Patch for build gmagick on mac osx 10.6(snow leopard)
错误如下: ld: duplicate symbol _php_gmagick_sc_entry in .libs/gmagick_methods.o and .libs/gmagick_
helpers
.o
nightsailer
·
2009-12-02 17:00
C++
c
PHP
centos
osx
Rails每周一题(二十二): Engines
TheenginespluginenhancesRails'ownpluginframework,makingitsimpletosharecontrollers,
helpers
,mode
andyhu1007
·
2009-12-01 20:00
Rails
Ruby
symfony助手
链接助手系列(Link
helpers
) 默认已引入 url_for() 重构URL url_for( 'URL_raw' ) link_to() 文字链接 link_to('link_title
yyyyy5101
·
2009-11-28 00:00
JavaScript
PHP
Ajax
Ruby on Rails 的检验方法(Validation
Helpers
)大全
阅读更多可以自定义validate(),这个方法在每次保存数据时都会被调用.如:defvalidateifname.blank?&&email.blank?errors.add_to_base("Youmustspecifyanameoranemailaddress")endend同时也可以自定义validate_on_create(),validate_on_update()方法.valid?(
hot88zh
·
2009-11-06 12:00
Rails
Ruby
ActiveRecord
正则表达式
UP
上一页
15
16
17
18
19
20
21
22
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他