Railsã§ã¯ãto_jsonã¨ããã¡ã½ããã§JSONå½¢å¼ã®æååãçæã§ãã¾ããExt.jsã使ã£ã¦ã¿ããã¨æã£ã¦ã試ãã¦ããã®ã§ãããRialsã¬ã·ãããã¯ã¨ã¡ãã£ã¨éãã¨æã£ããã2.1ããçæããããã¼ã¿ãã¡ãã£ã¨å¤ãã£ã¦ã¾ãããä¾ãã°titleã¨authorã¨ãããã£ã¼ã«ããããBookã¨ããActiveRecord::Baseãç¶æ¿ããã¢ãã«ãªãã¸ã§ã¯ããJSONã«ããã¨ã # Bookãªãã¸ã§ã¯ã Book.find(:first).to_json(:only => [:id, :title]) # é å Book.find(:all).to_json(:only => [:id, :title]) ã§å¾ãããJSONå½¢å¼ã®æååã¯ã // Rails 2.0㯠// ãªãã¸ã§ã¯ã { id: 1 ,title: Agile Web Development with Rail
Introduction The documentation for the ExtReact product diverges somewhat from the documentation of other Sencha products. The sections below describe documentation for all products except where indicated as unique to ExtReact. Terms, Icons, and Labels Many classes have shortcut names used when creating (instantiating) a class with a configuration object. The shortcut name is referred to as an ali
æ¢åã®htmlãå ã«JavaScriptã§ãªããã³ã³ããã¼ã«æ©è½ã®è¿½å ãå ¥åãã§ãã¯ãè¡ãæ¹æ³ãç´¹ä»ãã¾ããExt1.1 beta1ãå ã«ãã¦ãã¾ãã åºæ¬æ§æ // ãã©ã¼ã ãªãã¸ã§ã¯ãçæ var comp = new Ext.form.TextField(); // HTMLElementã¸ãã©ã¼ã ãªãã¸ã§ã¯ããé©ç¨ comp.applyTo('elem-id'); å ¥åã¨ã©ã¼æã®ãã¼ã«ããããæå¹ã«ããã«ã¯ä»¥ä¸ã®ã³ã¼ããå ¥ãã¦ããå¿ è¦ãããã¾ãã Ext.QuickTips.init(); DateField ã¾ãã¯ä½ãã¨ä½¿ãéã®å¤ãããªDateFieldãå¹´/æ/æ¥å½¢å¼ã«ããããã«ã¯formatãæå®ããå¿ è¦ãããã¾ãã var date = new Ext.form.DateField({ allowBlank:false, format: 'Y/m/d' }); date.a
ããªãExtã®è©±ã§åãããããªãã¦ããããªãããèªåã¡ã¢ã§ãã Extå ã®åã³ã³ãã¼ãã³ãå ã§ä½¿ç¨ããã¦ããããããã£ãxtypeãã®å¯¾å¿è¡¨ã§ãã ä¸è¬
Introduction The documentation for the ExtReact product diverges somewhat from the documentation of other Sencha products. The sections below describe documentation for all products except where indicated as unique to ExtReact. Terms, Icons, and Labels Many classes have shortcut names used when creating (instantiating) a class with a configuration object. The shortcut name is referred to as an ali
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>MenuEx</title> <!--ã©ã¤ãã©ãª--> <link rel="stylesheet" type="text/css" href="resources/css/ext-all.css" /> <script type="text/javascript" src="adapter/ext/ext-base.js"></script> <script type="text/javascript" src="ext-all.js"></script> <!--ããã°ã©ã --> <script type="text/javascript" src="MenuEx.js"></script>
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}