status symfony helpers

0 views
Skip to first unread message

klemens_u

unread,
Sep 17, 2008, 10:38:22 AM9/17/08
to ullright developers
Hi!

One of the news at the symfony camp 2008 was:
The compat1.0 plugin, and therefore also all the helpers will stay
there for sf1.2.

I wrote a short summary what that means for ullright coding standards:
http://www.ullright.org/ullWiki/show/docid/22#symfony

We should still use the form_tag() in particular.
I had some problem with a functional test using:

<form action="<?php url_for('ullTableTool/edit?table=' . $table_name .
'&id=' . $id) ?>"
method="post" id="ull_tabletool_form">

Whereas the following worked fine:

<?php echo form_tag('ullTableTool/edit?table=' . $table_name .
'&id=' . $id,
array('id' => 'ull_tabletool_form')) ?>

;-) Klemens

Reply all
Reply to author
Forward
0 new messages