- 浏览: 114483 次
- 性别:
- 来自: 广州
最新评论
-
mponeno:
规则有条件的话,貌似不能触发规则,比如你helloWorld的 ...
读取Guvnor中的规则... -
di1984HIT:
写的很好偶~
Struts + Jboss Drools 规则引擎 -
duyangsss:
你好,我看见你将KnowledgeAgent的方式注释掉了,/ ...
读取Guvnor中的规则... -
chenlinux:
博主,我们现在也要用drools,能否提供一个完整的例子(包括 ...
基于Drools 规则引擎的信用卡申请系统<4> 之 Drools 实现业务规则 -
t22011787:
学习了
Drools 5 for Eclipse 3.5
文章列表
Extjs 4 MVC 例子
- 博客分类:
- extjs4
Sencha Docs ExtJs 4.0 MVC例子
目录结构如下:
代码:index.html
<html>
<head>
<title>Account Manager</title>
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css">
<script type="text/javas ...
on
chrome
override afterRender no
override afterRender yes
Ext.onReady(function(){
var win=new Ext.window.Window({
title:'Hello',
height:200,
width:400,
layout:'fit',
//updat ...
extjs xtype
- 博客分类:
- extjs4
<html>
<head>
<link rel="stylesheet" type="text/css" href="../resources/css/ext-all.css" />
<script type="text/javascript" src="../bootstrap.js"></script>
<script type="text/jav ...
this 一开始看的昏头昏脑的,baidu就是一堆ctrl+v 的东西,
this? the calling object
要义一: calling
要义二: object
<script type="text/javascript" src="../bootstrap.js"></script>
<script type="text/javascript" src="../locale/ext-lang-zh_CN.js"></script& ...
initComponent 和constructor 的参数问题?
initComponent 可以取得constructor 中的参数吗?怎样取得? 2012-3-15
例证:
<script type="text/javascript">
//
Ext.define('Desktop',{
extend:'Ext.panel.Panel',
app:null,
initComponent:function(){
alert('app ...
xtype 的资料,百度一下,基本上都是component中的对照。
xtype:'wallpaper' ,比如:extjs 4的desktop例子中,怎么理解 xtype:‘wallpaper'
Ext.widget API说明如下:
Convenient shorthand to create a widget by its xtype, also see
Ext.ClassManager.instantiateByAlias
Instantiate a class by its alias
配合alias:'widget.wall ...
先代码:
father 中有 constructor 的情况,之后将这里的注释掉
constructor:function(name){
alert('father1\'s'+name);
}
没有注释,结果会是:
father1's2012-3-9
注释掉:结果是:
grandfather constructor2012-3-9
<script type="text/javascript">
Ext.def ...
Desktop.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>ExtTop - Desktop Sample A ...
for 增强循环与iterator
public class Test {
public static void main(String[] args) {
Student s=new Student();
s.set();
for(Object obj:s)
{
System.out.println(obj);
}
}
}
import java.util.ArrayList;
import java.util.Iterator;
public class Student implements I ...
apache-tomcat-6.0.32\webapps\mypro
apache-tomcat-6.0.32\webapps\mypro\META-INF
apache-tomcat-6.0.32\webapps\mypro\WEB-INF\web.xml
E:\apache-tomcat-6.0.32\webapps\mypro\index.jsp
vim 编辑器
web.xml [记得写web.xml]
<?xml version="1.0" encoding="utf-8"?>
<web-app ...
index.jsp 中
<a href="index2.jsp?name=chen">index2</a>
链接到
index2.jsp
<body>
<%out.println(request.getHeader("referer")); %><br/>
<%out.println(request.getQueryString()); %><br/>
<%out.println(request.getRequestURI()); %& ...
自定义标签执行顺序实验:
doStartTag()中的
return EVAL_BODY_INCLUDE
顺序:
setPageContext()
SetParent()
doStartTag()
doAfterBody()
doEndTag()
return SKIP_BODY
setPageContext()
setParent()
doStartTag()
doEndTag()
return EVAL_PAGE
执行顺序:
setPageContext()
setParent()
doStartTag()
setBodyCo ...
011-6-27 17:40:49 org.apache.catalina.core.StandardContext filterStart严重: Exception starting filter struts2java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.FilterDispatcher at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loa ...
js 控制div的显示
<html>
<meta http-equiv="content-type" content="text/html;charset=utf-8;"/>
<head><TITLE>测试</TITLE>
<script>
function sel(){
if(document.myForm.divList.value==1)
{
...
select * from (select * from tableA where type = 'A' order by dbms_random.value) where rownum = 1 union all
select * from (select * from tableA
where type = 'B' order by dbms_random.value) where rownum = 1
union all
select * from (select * ...