<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>4's symfony blog &#187; admin generator</title>
	<atom:link href="http://www.foolbirds.com/t/admin-generator/feed" rel="self" type="application/rss+xml" />
	<link>http://www.foolbirds.com</link>
	<description>all about symfony</description>
	<lastBuildDate>Tue, 17 Aug 2010 01:22:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Form表单的新建、修改</title>
		<link>http://www.foolbirds.com/form-create-and-edit.html</link>
		<comments>http://www.foolbirds.com/form-create-and-edit.html#comments</comments>
		<pubDate>Tue, 16 Dec 2008 08:43:21 +0000</pubDate>
		<dc:creator>zhuozi</dc:creator>
				<category><![CDATA[symfony]]></category>
		<category><![CDATA[admin generator]]></category>
		<category><![CDATA[form]]></category>

		<guid isPermaLink="false">http://symfony.bobhero.net/?p=156</guid>
		<description><![CDATA[有的时候数据库中的table，有N个字段，但是在新建、修改的时候我们只要求用户创建或者修改其中的几个字段。如果不设置generator.yml和form，系统默认会显示所有，更新所有。
generator.yml
edit:
display: [ name, romaji, color, ordernum, state]
new:
display: [ name, romaji, color, ordernum state]
根目录lib\form\对应的form文件
public function configure()
{
//设置字段hidden
$this-&#62;setWidget('ordernum', new sfWidgetFormInputHidden());
//设置字段默认值
$this-&#62;setDefault('ordernum', 1);
}
内嵌表单详解（How to Embed Forms in Symfony 1.2 Admin Generator 中文版）CSRF使用注意事项和form的标准用法Symfony中自定义form中offsetUnset的应用form使用一例编写widget一例:支持Google Maps的坐标输入框如何给表单项赋初值如何在List表单下面添加 链接 式动作 类似与新建如何在List表单下面添加select系列动作admin后台模板作用]]></description>
			<content:encoded><![CDATA[<p>有的时候数据库中的table，有N个字段，但是在新建、修改的时候我们只要求用户创建或者修改其中的几个字段。如果不设置generator.yml和form，系统默认会显示所有，更新所有。</p>
<p>generator.yml</p>
<pre name="code" class="php">edit:
display: [ name, romaji, color, ordernum, state]
new:
display: [ name, romaji, color, ordernum state]</pre>
<p>根目录lib\form\对应的form文件</p>
<pre name="code" class="php">public function configure()
{
//设置字段hidden
$this-&gt;setWidget('ordernum', new sfWidgetFormInputHidden());
//设置字段默认值
$this-&gt;setDefault('ordernum', 1);
}</pre>
<ul class="related_post"><li><a href="http://www.foolbirds.com/how-to-embed-forms-in-symfony-12-admin-generator.html" title="内嵌表单详解（How to Embed Forms in Symfony 1.2 Admin Generator 中文版）">内嵌表单详解（How to Embed Forms in Symfony 1.2 Admin Generator 中文版）</a></li><li><a href="http://www.foolbirds.com/csrf-and-form.html" title="CSRF使用注意事项和form的标准用法">CSRF使用注意事项和form的标准用法</a></li><li><a href="http://www.foolbirds.com/symfony-form-offsetunset.html" title="Symfony中自定义form中offsetUnset的应用">Symfony中自定义form中offsetUnset的应用</a></li><li><a href="http://www.foolbirds.com/use-form.html" title="form使用一例">form使用一例</a></li><li><a href="http://www.foolbirds.com/symfony-latlng-widget-with-google-maps.html" title="编写widget一例:支持Google Maps的坐标输入框">编写widget一例:支持Google Maps的坐标输入框</a></li><li><a href="http://www.foolbirds.com/default-values-for-form.html" title="如何给表单项赋初值">如何给表单项赋初值</a></li><li><a href="http://www.foolbirds.com/add-link-as-action-in-list.html" title="如何在List表单下面添加 链接 式动作 类似与新建">如何在List表单下面添加 链接 式动作 类似与新建</a></li><li><a href="http://www.foolbirds.com/add-select-action-in-list.html" title="如何在List表单下面添加select系列动作">如何在List表单下面添加select系列动作</a></li><li><a href="http://www.foolbirds.com/symfony-admin-generator-templates.html" title="admin后台模板作用">admin后台模板作用</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.foolbirds.com/form-create-and-edit.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>如何在List表单下面添加 链接 式动作 类似与新建</title>
		<link>http://www.foolbirds.com/add-link-as-action-in-list.html</link>
		<comments>http://www.foolbirds.com/add-link-as-action-in-list.html#comments</comments>
		<pubDate>Tue, 16 Dec 2008 02:41:21 +0000</pubDate>
		<dc:creator>zhuozi</dc:creator>
				<category><![CDATA[symfony]]></category>
		<category><![CDATA[admin generator]]></category>

		<guid isPermaLink="false">http://symfony.bobhero.net/?p=47</guid>
		<description><![CDATA[
actions:
    yyy:    //名字
      label: xxxxx    //显示的名字
      action:  yyyyy  //触发的动作

如果不想拥有任何的操作动作，可以这样配置

actions: [ ]

Form表单的新建、修改如何在List表单下面添加select系列动作admin后台模板作用]]></description>
			<content:encoded><![CDATA[<pre name='code' class='html'>
actions:
    yyy:    //名字
      label: xxxxx    //显示的名字
      action:  yyyyy  //触发的动作
</pre>
<p>如果不想拥有任何的操作动作，可以这样配置</p>
<pre name='code' class='html'>
actions: [ ]
</pre>
<ul class="related_post"><li><a href="http://www.foolbirds.com/form-create-and-edit.html" title="Form表单的新建、修改">Form表单的新建、修改</a></li><li><a href="http://www.foolbirds.com/add-select-action-in-list.html" title="如何在List表单下面添加select系列动作">如何在List表单下面添加select系列动作</a></li><li><a href="http://www.foolbirds.com/symfony-admin-generator-templates.html" title="admin后台模板作用">admin后台模板作用</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.foolbirds.com/add-link-as-action-in-list.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何在List表单下面添加select系列动作</title>
		<link>http://www.foolbirds.com/add-select-action-in-list.html</link>
		<comments>http://www.foolbirds.com/add-select-action-in-list.html#comments</comments>
		<pubDate>Tue, 16 Dec 2008 02:36:25 +0000</pubDate>
		<dc:creator>zhuozi</dc:creator>
				<category><![CDATA[symfony]]></category>
		<category><![CDATA[admin generator]]></category>

		<guid isPermaLink="false">http://symfony.bobhero.net/?p=40</guid>
		<description><![CDATA[
batch_actions:
     xxx:  //名字
      label:  xxxxx  //显示的名字
      action:  yyyyy //触发的动作

如果不想拥有任何的操作动作，可以这样配置

batch_actions: [ ]

Form表单的新建、修改如何在List表单下面添加 链接 式动作 类似与新建admin后台模板作用]]></description>
			<content:encoded><![CDATA[<pre name='code' class='html'>
batch_actions:
     xxx:  //名字
      label:  xxxxx  //显示的名字
      action:  yyyyy //触发的动作
</pre>
<p>如果不想拥有任何的操作动作，可以这样配置</p>
<pre name='code' class='html'>
batch_actions: [ ]
</pre>
<ul class="related_post"><li><a href="http://www.foolbirds.com/form-create-and-edit.html" title="Form表单的新建、修改">Form表单的新建、修改</a></li><li><a href="http://www.foolbirds.com/add-link-as-action-in-list.html" title="如何在List表单下面添加 链接 式动作 类似与新建">如何在List表单下面添加 链接 式动作 类似与新建</a></li><li><a href="http://www.foolbirds.com/symfony-admin-generator-templates.html" title="admin后台模板作用">admin后台模板作用</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.foolbirds.com/add-select-action-in-list.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>admin后台模板作用</title>
		<link>http://www.foolbirds.com/symfony-admin-generator-templates.html</link>
		<comments>http://www.foolbirds.com/symfony-admin-generator-templates.html#comments</comments>
		<pubDate>Tue, 16 Dec 2008 02:33:18 +0000</pubDate>
		<dc:creator>zhuozi</dc:creator>
				<category><![CDATA[symfony]]></category>
		<category><![CDATA[admin generator]]></category>

		<guid isPermaLink="false">http://symfony.bobhero.net/?p=35</guid>
		<description><![CDATA[_assets.php 设置CSS
_filters.php                    过滤器显示
_filters_field.php            过滤器内容显示
_flashes.php
_form.php                      form   new  edit表格
_form_actions.php        form 对应的相应动作，在表格的最下面
_form_field.php            form内容显示
_form_fieldset.php       form显示
_form_footer.php          表格尾信息
_form_header.php        表格头信息
_list.php                        list显示列表
_list_actions.php              list  显示在table外面的动作，new的位置
_list_batch_actions.php   list  batch动作 下拉框的那个动作
_list_field_boolean.php     image??
_list_footer.php                 list 尾信息
_list_header.php               list 头信息
_list_td_actions.php          显示配置里面的object_actions
_list_td_batch_action.php 前面的checkbox框
_list_td_stacked.php
_list_td_tabular.php
_list_th_stacked.php
_list_th_tabular.php           对应配置里面的list -&#62; display
_pagination.php     翻页
editSuccess.php   对应edit动作 里面会调用edit局部模板
indexSuccess.php  对应默认index动作
newSuccess.php    对应new动作 里面会调用form局部模板
Form表单的新建、修改如何在List表单下面添加 链接 式动作 类似与新建如何在List表单下面添加select系列动作]]></description>
			<content:encoded><![CDATA[<p>_assets.php 设置CSS<br />
_filters.php                    过滤器显示<br />
_filters_field.php            过滤器内容显示<br />
_flashes.php<br />
_form.php                      form   new  edit表格<br />
_form_actions.php        form 对应的相应动作，在表格的最下面<br />
_form_field.php            form内容显示<br />
_form_fieldset.php       form显示<br />
_form_footer.php          表格尾信息<br />
_form_header.php        表格头信息<br />
_list.php                        list显示列表<br />
_list_actions.php              list  显示在table外面的动作，new的位置<br />
_list_batch_actions.php   list  batch动作 下拉框的那个动作<br />
_list_field_boolean.php     image??<br />
_list_footer.php                 list 尾信息<br />
_list_header.php               list 头信息<br />
_list_td_actions.php          显示配置里面的object_actions<br />
_list_td_batch_action.php 前面的checkbox框<br />
_list_td_stacked.php<br />
_list_td_tabular.php<br />
_list_th_stacked.php<br />
_list_th_tabular.php           对应配置里面的list -&gt; display<br />
_pagination.php     翻页<br />
editSuccess.php   对应edit动作 里面会调用edit局部模板<br />
indexSuccess.php  对应默认index动作<br />
newSuccess.php    对应new动作 里面会调用form局部模板</p>
<ul class="related_post"><li><a href="http://www.foolbirds.com/form-create-and-edit.html" title="Form表单的新建、修改">Form表单的新建、修改</a></li><li><a href="http://www.foolbirds.com/add-link-as-action-in-list.html" title="如何在List表单下面添加 链接 式动作 类似与新建">如何在List表单下面添加 链接 式动作 类似与新建</a></li><li><a href="http://www.foolbirds.com/add-select-action-in-list.html" title="如何在List表单下面添加select系列动作">如何在List表单下面添加select系列动作</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.foolbirds.com/symfony-admin-generator-templates.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
