The error comes from Doctrine Validation feature. You have to set the 'type'
field, or disable the feature
On Sun, Jun 7, 2009 at 7:44 PM, mlmarius wrote:
>
> I first provided an array of mime types and after that i tried with
> the mime category but still nothing, same error .
> >
>
--
If you are refering to the mime types , as i've said above , i did set
the mime types. If not please be more specific ... to which "type" are
you referring ?
On 8 Iun, 10:43, Thomas Rabaix wrote:
> The error comes from Doctrine Validation feature. You have to set the 'type'
> field, or disable t
You should search on web some informations about css selector
The first line is trying to test if the tag below exists
click me
On Jun 4, 6:47 pm, DEEPAK BHATIA wrote:
> Hi,
>
> We are trying to understand the below code written for testing we
> guess ul/li tags in the template.
>
> We are not
Because it's not "id_apartamento", it is
"yourformname[id_apartamento]". Check the generated html source for
the exact name, also, you can overwrite it in the forms construct()
method this way:
`$this->widgetSchema->setNameFormat("thisiswheretheformnamecomes[%s]");`,
where %s will be filled in wit
It is probably not the best solution for your problem, but if you'd
use sfFilebasePlugin which supports a few doctrine based asset
management capabilities added to various file handling stuff based on
SPL, you could help me to improve the plugin and provide a stable
assets manager for sf 1.2 + doc
No worries mate ... it's good to hear about the plugin you are working
on ... and i may give it a shot some time but i first need to figure
out what's wrong with my code. Thanks .
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
Hi every:
I need filter some data and for that nothing better than the "filters"
generated using symfony propel:build-filters or even better using
admin-generator filters but I need a special filter for a given role based on
user permissions. Does anybody know how to do this? I was thinking and
When running propel:build-sql in a symfony 1.2 project, I get this
error:
Fatal error: Call to a member function addTable() on a non-object in /
usr/local/lib/php/symfony/plugins/sfPropelPlugin/lib/vendor/propel-
generator/classes/propel/phing/PropelSQLTask.php on line 237
Unfortunately, its not
Is it possible to make parameters in routing rules optional?
i.e.
/getarticle_by_id/:id/:page
I want the second parameter (page) to be optional - if it isn't
present then the urls will look like /getarticle_by_id/:id and I want
my action to retrieve all pages instead.
--~--~-~--~~
Hi everybody
I have some troubles with doctrine i18n tables. I have a foo model,
with i18n columns, and i want to fetch each row of this table :
class FooActions extends sfActions
{
public function executeIndex()
{
$this->foos = Doctrine::getTable('Foo')->findAll();
}
}
But then i hav
[SOLVED] For who may encounter this problem : allways set your 'path'
variable inside sfValidatorFile
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony
Hi Eno,
Not sure if this is the best solution, but nothing stops you from
creating another rule without the page parameter:
url: /getarticle_by_id/:id
param: { module: xxx, action: yyy }
url: /getarticle_by_id/:id/:page
param: { module: xxx, action: zzz }
Cheers
Thiago Campezzi
On Jun 8, 12:
Hi every, see this code:
class sfGuardValidatorUserCustom extends sfGuardValidatorUser {
protected function doClean($values) {
$username = isset($values[$this->getOption('username_field')]) ?
$values[$this->getOption('username_field')] : '';
$password = isset($values[$this->getOption('
I know you can specify behaviors when writing schema YAML files.
But what about if you're using XML? How do you add behaviours then?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post
Hi there!
I've been all the day with the same problem! Please help!
I have this form:
class PersonaBatchForm extends sfForm
{
public function configure()
{
$this->widgetSchema['csv_file'] = new sfWidgetFormInputFile(array(
'label' => 'Ingrese su archivo csv'
));
$this->
Hi,
> url: /getarticle_by_id/:id/:page
> param: { module: xxx, action: zzz }
->
> url: /getarticle_by_id/:id/:page
> param: { module: xxx, action: zzz, page: 1 }
This will do it, however the routing will then generate links in the
form: "/getarticle_by_id/123/1", however "/getarticle_by_id/12
thank you, I tried many times , but the problem still exist.
I think it`s not code`s problem,maybe something else.
On 6月7日, 下午10时09分, Tomasz Ignatiuk wrote:
> This is my version which works form me:
>
> // Enforce full download and prevent caching
> sessio
Hi,
What is the maximum value of timeout ?
Also in case we want to give infinite timeout, what should we do then ?
Thanks
Deepak Bhatia
On Mon, Jun 1, 2009 at 12:35 PM, Tomasz
Ignatiuk wrote:
> Everything seems to be fine. Maybe try to set this:
>
>
> storage:
> class: sfSessionStorage
18 matches
Mail list logo