加载中
小米粥 2011/12/20 16:51 回答了问题: jqtreetable在jsp中的应用
网上只有.net版本的,求帮助
小米粥 2011/10/13 19:00 回答了问题: jquery动态的调取菜单
谢谢大家的支持和帮助,问题我已经解决
@小米粥
var _menus = {"menus":[{"menuid":"1","icon":"icon-sys","m...
小米粥 2011/10/12 18:49 回答了问题: jquery动态的调取菜单
@小米粥
var _menus = {"menus":[{"menuid":"1","icon":"icon-sys","m...
小米粥 2011/10/12 17:38 回答了问题: jquery动态的调取菜单

加上了async:false 也不行啊,后台能取到数据,估计就是页面显示的时候有点问题

@小米粥
var _menus = {"menus":[{"menuid":"1","icon":"icon-sys","m...
小米粥 2011/10/11 17:50 发布了问题:

举个例子:   db.User.remove({'_id':ObjectId('4e93a56e857770a8e297712d')})

这样就可以删除生成的机器Id这一行值咧

小米粥 2011/09/23 10:18 发布了问题:

Create a filter based on the specified condition and value.

Note: Property is in the form of "name op" ("age >").

Valid operators are ["=", "==","!=", "<>", ">", "<", ">=", "<=", "in", "nin", "all", "size", "exists"]

Examples:

  • filter("yearsOfOperation >", 5)
  • filter("rooms.maxBeds >=", 2)
  • filter("rooms.bathrooms exists", 1)
  • filter("stars in", new Long[]{3,4}) //3 and 4 stars (midrange?)
  • filter("age >=", age)
  • filter("age =", age)
  • filter("age", age) (if no operator, = is assumed)
  • filter("age !=", age)
  • filter("age in", ageList)
  • filter("customers.loyaltyYears in", yearsList)
@小米粥
用个sql来举例,比如 select * from test where ID in (25,35,45)用mor...
小米粥 2011/08/18 08:13 回答了问题: Mongodb Morphia 复合查询如何做

举个登录的例子,让大家瞧瞧

public User validate(String uname,String upass){
  Datastore ds=getDatastore();
  Query<User> query = ds.createQuery(User.class);
  query.filter("Uname", uname);
  query.filter("Upass", upass);
  User user=(User)query.get();
  return user;
 }

小米粥 2011/08/18 08:12 回答了问题: etmvc 如何给页面传值啊啊啊啊啊啊

应该是这样


  User user=us.checkUn(uname);
  String data = null;
  if (user== null) { 
   data = "1";
  }else{
   data = "2";
  }
  return data;
 }

@小米粥
etmvc 中action后台给页面传值 .ajaxValidator({ type : "post", url ...
小米粥 2011/07/13 12:50 回答了问题: Mongodb Morphia 复合查询如何做
自己顶个

没有更多内容

加载失败,请刷新页面

返回顶部
顶部