<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Komentarze do wpisu: Symfony 1.2 and multipage form - wizard</title>
	<atom:link href="http://blog.adryjanek.eu/2009/03/24/symfony-12-and-multipage-form-wizard/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.adryjanek.eu/2009/03/24/symfony-12-and-multipage-form-wizard/</link>
	<description>Kamil Adryjanek - projektowanie aplikacji internetowych</description>
	<pubDate>Tue, 07 Sep 2010 16:36:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>Przez: nicech</title>
		<link>http://blog.adryjanek.eu/2009/03/24/symfony-12-and-multipage-form-wizard/#comment-21284</link>
		<dc:creator>nicech</dc:creator>
		<pubDate>Fri, 13 Aug 2010 10:55:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adryjanek.eu/?p=40#comment-21284</guid>
		<description>Hi,

I had the same bug than Jhon ?
I replaced the code that initializes $step by :


# Get current form step
$parameters = $request-&#62;getPostParameters();

$step = $parameters['agr_private_advertiser']['step'];
if(!$step)
{
  $step = $request-&#62;getParameter('agr_private_advertiser[step]');

  if(!$step)
  {
    throw new sfException('Application failed to initialize "step"');
  }
}</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I had the same bug than Jhon ?<br />
I replaced the code that initializes $step by :</p>
<p># Get current form step<br />
$parameters = $request-&gt;getPostParameters();</p>
<p>$step = $parameters['agr_private_advertiser']['step'];<br />
if(!$step)<br />
{<br />
  $step = $request-&gt;getParameter(&#8217;agr_private_advertiser[step]&#8216;);</p>
<p>  if(!$step)<br />
  {<br />
    throw new sfException(&#8217;Application failed to initialize &#8220;step&#8221;&#8216;);<br />
  }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Przez: Derick Weekes</title>
		<link>http://blog.adryjanek.eu/2009/03/24/symfony-12-and-multipage-form-wizard/#comment-18344</link>
		<dc:creator>Derick Weekes</dc:creator>
		<pubDate>Mon, 14 Jun 2010 04:48:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adryjanek.eu/?p=40#comment-18344</guid>
		<description>This an Great post, I will be sure to save this post in my Reddit account. Have a awesome day.</description>
		<content:encoded><![CDATA[<p>This an Great post, I will be sure to save this post in my Reddit account. Have a awesome day.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Przez: Jhon ?</title>
		<link>http://blog.adryjanek.eu/2009/03/24/symfony-12-and-multipage-form-wizard/#comment-17608</link>
		<dc:creator>Jhon ?</dc:creator>
		<pubDate>Fri, 28 May 2010 11:39:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adryjanek.eu/?p=40#comment-17608</guid>
		<description>This is my solution  
$UserLists = $request-&#62;getParameter('user_lists'); 
$step = $UserLists['step'];</description>
		<content:encoded><![CDATA[<p>This is my solution<br />
$UserLists = $request-&gt;getParameter(&#8217;user_lists&#8217;);<br />
$step = $UserLists['step'];</p>
]]></content:encoded>
	</item>
	<item>
		<title>Przez: Jhon ?</title>
		<link>http://blog.adryjanek.eu/2009/03/24/symfony-12-and-multipage-form-wizard/#comment-17605</link>
		<dc:creator>Jhon ?</dc:creator>
		<pubDate>Fri, 28 May 2010 10:41:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adryjanek.eu/?p=40#comment-17605</guid>
		<description>Yes, I now. Look at this.
print_r($request-&#62;getParameterHolder()-&#62;getAll());
Array ( [user_lists] =&#62; Array ( [_csrf_token] =&#62; 2f2f08e2e4df449477c68ed9d1aa2589 [title] =&#62; fdfdfdsfs [body] =&#62; [image] =&#62; [id] =&#62; [step] =&#62; 1 ) [_next] =&#62; Next [module] =&#62; lists [action] =&#62; index ) 
Here my step is step =&#62; 1, but I can't catch it when use $request-&#62;getParameter(’user_lists[step]‘);

Sorry for my spam.</description>
		<content:encoded><![CDATA[<p>Yes, I now. Look at this.<br />
print_r($request-&gt;getParameterHolder()-&gt;getAll());<br />
Array ( [user_lists] =&gt; Array ( [_csrf_token] =&gt; 2f2f08e2e4df449477c68ed9d1aa2589 [title] =&gt; fdfdfdsfs [body] =&gt; [image] =&gt; [id] =&gt; [step] =&gt; 1 ) [_next] =&gt; Next [module] =&gt; lists [action] =&gt; index )<br />
Here my step is step =&gt; 1, but I can&#8217;t catch it when use $request-&gt;getParameter(’user_lists[step]‘);</p>
<p>Sorry for my spam.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Przez: Kamil Adryjanek</title>
		<link>http://blog.adryjanek.eu/2009/03/24/symfony-12-and-multipage-form-wizard/#comment-17603</link>
		<dc:creator>Kamil Adryjanek</dc:creator>
		<pubDate>Fri, 28 May 2010 09:56:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adryjanek.eu/?p=40#comment-17603</guid>
		<description>It depends on your model and form. If you want to use: 
$request-&gt;getParameter(’user_list[step]‘);
The name format of your form should be set to "user_list[%s]". Please, check it? To set the name format call:
$this-&gt;widgetSchema-&gt;setNameFormat("user_list[%s]");
in your form. More info: http://www.symfony-project.org/api/1_4/sfWidgetFormSchema#method_setnameformat</description>
		<content:encoded><![CDATA[<p>It depends on your model and form. If you want to use:<br />
$request->getParameter(’user_list[step]‘);<br />
The name format of your form should be set to &#8220;user_list[%s]&#8220;. Please, check it? To set the name format call:<br />
$this->widgetSchema->setNameFormat(&#8221;user_list[%s]&#8220;);<br />
in your form. More info: <a href="http://www.symfony-project.org/api/1_4/sfWidgetFormSchema#method_setnameformat" onclick="javascript:pageTracker._trackPageview('/outbound/comment/www.symfony-project.org');" rel="nofollow">http://www.symfony-project.org/api/1_4/sfWidgetFormSchema#method_setnameformat</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Przez: Jhon ?</title>
		<link>http://blog.adryjanek.eu/2009/03/24/symfony-12-and-multipage-form-wizard/#comment-17600</link>
		<dc:creator>Jhon ?</dc:creator>
		<pubDate>Fri, 28 May 2010 09:10:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adryjanek.eu/?p=40#comment-17600</guid>
		<description>Sorry, my mistake. The function works with the following methods.     
          const GET    = 'GET';
	  const POST   = 'POST';
	  const PUT    = 'PUT';
 	  const DELETE = 'DELETE';
	  const HEAD   = 'HEAD';

Then why can not I take the value of the field?</description>
		<content:encoded><![CDATA[<p>Sorry, my mistake. The function works with the following methods.<br />
          const GET    = &#8216;GET&#8217;;<br />
	  const POST   = &#8216;POST&#8217;;<br />
	  const PUT    = &#8216;PUT&#8217;;<br />
 	  const DELETE = &#8216;DELETE&#8217;;<br />
	  const HEAD   = &#8216;HEAD&#8217;;</p>
<p>Then why can not I take the value of the field?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Przez: Jhon ?</title>
		<link>http://blog.adryjanek.eu/2009/03/24/symfony-12-and-multipage-form-wizard/#comment-17597</link>
		<dc:creator>Jhon ?</dc:creator>
		<pubDate>Fri, 28 May 2010 09:05:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adryjanek.eu/?p=40#comment-17597</guid>
		<description>Thank you for quick response :) Yes but when I use this $step = $request-&#62;getParameter('user_list[step]'); And I check with simple echo it doesn't work. Yes in 1.4 has this method, but only for routing. Or ?</description>
		<content:encoded><![CDATA[<p>Thank you for quick response <img src='http://blog.adryjanek.eu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Yes but when I use this $step = $request-&gt;getParameter(&#8217;user_list[step]&#8216;); And I check with simple echo it doesn&#8217;t work. Yes in 1.4 has this method, but only for routing. Or ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Przez: Kamil Adryjanek</title>
		<link>http://blog.adryjanek.eu/2009/03/24/symfony-12-and-multipage-form-wizard/#comment-17596</link>
		<dc:creator>Kamil Adryjanek</dc:creator>
		<pubDate>Fri, 28 May 2010 08:49:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adryjanek.eu/?p=40#comment-17596</guid>
		<description>Hi, you mean that this method is not used anymore? 
You are wrong: http://www.symfony-project.org/api/1_4/sfRequest#method_getparameter
Cheers</description>
		<content:encoded><![CDATA[<p>Hi, you mean that this method is not used anymore?<br />
You are wrong: <a href="http://www.symfony-project.org/api/1_4/sfRequest#method_getparameter" onclick="javascript:pageTracker._trackPageview('/outbound/comment/www.symfony-project.org');" rel="nofollow">http://www.symfony-project.org/api/1_4/sfRequest#method_getparameter</a><br />
Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>Przez: Jhon ?</title>
		<link>http://blog.adryjanek.eu/2009/03/24/symfony-12-and-multipage-form-wizard/#comment-17595</link>
		<dc:creator>Jhon ?</dc:creator>
		<pubDate>Fri, 28 May 2010 08:42:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adryjanek.eu/?p=40#comment-17595</guid>
		<description>Hi, I use Symfony 1.4.3 and $request-&#62;getParameter('user[step]'); has gone. How to get current step without getParameter ?</description>
		<content:encoded><![CDATA[<p>Hi, I use Symfony 1.4.3 and $request-&gt;getParameter(&#8217;user[step]&#8216;); has gone. How to get current step without getParameter ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Przez: Kaore</title>
		<link>http://blog.adryjanek.eu/2009/03/24/symfony-12-and-multipage-form-wizard/#comment-16300</link>
		<dc:creator>Kaore</dc:creator>
		<pubDate>Thu, 29 Apr 2010 06:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adryjanek.eu/?p=40#comment-16300</guid>
		<description>Hi, here is another post describing a method to spread a form over multiple pages... It uses symfony 1.4 and doctrine: http://tech.cibul.org/a-way-to-make-multipage-forms-with-symfony/</description>
		<content:encoded><![CDATA[<p>Hi, here is another post describing a method to spread a form over multiple pages&#8230; It uses symfony 1.4 and doctrine: <a href="http://tech.cibul.org/a-way-to-make-multipage-forms-with-symfony/" onclick="javascript:pageTracker._trackPageview('/outbound/comment/tech.cibul.org');" rel="nofollow">http://tech.cibul.org/a-way-to-make-multipage-forms-with-symfony/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
