My problem is solved because I can change my table and field names in
this case .
But is not this a symfony bug?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email
OhI forgot to mention...I am using Syfony 1.2.4 with Doctrine
plugin.
On Feb 14, 10:31 am, SeeVik wrote:
> Hello all,
>
> I am trying to display data which results on performing an inner-join
> between two tables.
>
> Controller: action.class.php
> ---
Hello all,
I am trying to display data which results on performing an inner-join
between two tables.
Controller: action.class.php
---
public function executeShow()
{
$list = Doctrine::getTable( 'Table1' )->getJoinedTable();
}
Model Layer
I've just followed it but failed. Well, what URL should I enter, need any
other setting or codes ? Thanks.
- xj
On Sat, Feb 14, 2009 at 5:45 AM, Рустам wrote:
>
> See readme, it's simple
>
> On Fri, Feb 13, 2009 at 5:54 PM, Xin Jia wrote:
> > Hi,
> >
> > Could anybody show me how to use it ?
So is your problem solved?
shams wrote:
> I use:
> - MySQL 5.0.51a-community-nt
> - PHP 5.2.8
> - symfony sandbox 1.2.4
>
> Table defenition:
>
> CREATE TABLE IF NOT EXISTS `Project` (
> `ID` INT NOT NULL AUTO_INCREMENT ,
> `Name` VARCHAR(255) NOT NULL ,
> `Price` DECIMAL(18,2) NOT NULL
See readme, it's simple
On Fri, Feb 13, 2009 at 5:54 PM, Xin Jia wrote:
> Hi,
>
> Could anybody show me how to use it ? I tried for a long time but failed and
> don't have any idea about it ? Thanks.
>
> - xj
>
> >
>
--~--~-~--~~~---~--~~
You received this messag
I use:
- MySQL 5.0.51a-community-nt
- PHP 5.2.8
- symfony sandbox 1.2.4
Table defenition:
CREATE TABLE IF NOT EXISTS `Project` (
`ID` INT NOT NULL AUTO_INCREMENT ,
`Name` VARCHAR(255) NOT NULL ,
`Price` DECIMAL(18,2) NOT NULL ,
`Image` VARCHAR(255) NOT NULL ,
PRIMARY KEY (`ID`) )
ENG
Use [] or the - yaml list syntax:
all:
my_config: [1, 2, 3, 4]
all:
my_config:
- 1
- 2
- 3
- 4
they're equivalent
On Feb 13, 2009, at 1:41 PM, Rytis Daugirdas wrote:
> Hello,
>
> Is there a way to define arrays at the first node level of YAML? For
> example:
>
> all:
I may be completely off track here, but does the requirements field not
use regular expressions? If it does, is there not something you can do
like this:
requirements: { type: (image|video)s }
Tom Boutell wrote:
> I spent some time puzzling over these two routing rules today:
>
>
> image
Hello,
Is there a way to define arrays at the first node level of YAML? For
example:
all:
my_config:
...
sfConfig::get('prefix_my_config'); // would return an array
I really hate to add additional levels all the time that don't serve any
purpose except to force array parsing.
Regards,
Ry
I spent some time puzzling over these two routing rules today:
images:
url: /test/images
param: { module: test, action: index, type: image }
default_index:
url: /:module
param: { action: index }
I had thought that calling link_to on this URL:
test/index
Would generate this:
/tes
I think what Thomas is getting at is that the functional tests run using the
cli while browser runs using the cgi and you need to make sure you alter
both ini for each of the two PHP types.
Gareth McCumskey
On Fri, Feb 13, 2009 at 8:16 PM, Thomas Rabaix wrote:
> On some systeme there are two php
Yes.
Just saw a post about sfForm trying to serialize a PDO object - that
seems to be the issue not sfBrowser.
On Feb 13, 10:16 am, Thomas Rabaix wrote:
> On some systeme there are two php.ini file
>
> - cli
> - apache / cgi
>
> Have you change the limit to the correct php.ini file ?
>
>
On some systeme there are two php.ini file
- cli
- apache / cgi
Have you change the limit to the correct php.ini file ?
On Fri, Feb 13, 2009 at 7:01 PM, myke wrote:
>
> I am writting a functional test that is testing login's through a
> sfForm object and I'm getting out of memory errors
Yes, that's what I was talking about.
This fix applies to N to N relations. 1 .. N relations still have a
select drop down menu, and I can't see how this is not
appropriate .. ? Would you prefer radio buttons ? then you could use
the 'expanded'=>true option
Julien
On Feb 13, 12:55 pm, Daniele
There is a bug in sfForm in this particular case, see
http://trac.symfony-project.org/ticket/5075
On Fri, Feb 13, 2009 at 6:54 PM, Tomasz Ignatiuk
wrote:
>
> Does anyone really tried to do this? Simple upload from embeded form
> works well, but if I try to do this:
>
> $file = $this->form->
I am writting a functional test that is testing login's through a
sfForm object and I'm getting out of memory errors (even if I increase
the limit to several gigs). The issue doesn't happen when your in a
dev or prod environment so I can't replicate it other then when using
functional tests. I've
I am not very expert on Trac or SVN, but I do not find anything about
this.
I found this that is only similar but not is the same:
http://trac.symfony-project.org/ticket/5784
On Feb 12, 11:17 pm, jukea wrote:
> Hi,
>
> I think this has been corrected. Look for it in trac, or try 1.2.5dev
> (trun
Does anyone really tried to do this? Simple upload from embeded form
works well, but if I try to do this:
$file = $this->form->getValue('file');
$filename = sha1($file->getOriginalName()).$file->getExtension
($file->getOriginalExtension());
$file->save(sfConfig::get('sf_upload_d
Ya I fixed this recently in svn.
- Jon
On Thu, Feb 12, 2009 at 4:17 PM, jukea wrote:
>
> Hi,
>
> I think this has been corrected. Look for it in trac, or try 1.2.5dev
> (trunk)
>
> Julien
>
> On Feb 12, 4:35 pm, Daniele wrote:
> > Hi,
> > someone can help me to understand why my Doctrine admin
What database are you using?
shams wrote:
> Good day.
> I am a rather new user of symfony framework.
> The short description of my problem is: form data is not saved to
> database in generated module.
>
> I generate schema from database ant then build model:
> # symfony propel:build-schema
> # s
Good day.
I am a rather new user of symfony framework.
The short description of my problem is: form data is not saved to
database in generated module.
I generate schema from database ant then build model:
# symfony propel:build-schema
# symfony propel:build-model
# symfony propel:build-forms
The
Hi,
I am wondering why the returned object with M-M relations to another
object from a SAVED FORM is not equal to the actual objects stored in
the database. E.g. in processForm:
if ($form->isValid())
{
$match = $form->save();
$this->redirect('match/listpoule?id='.$match->Poule->
I am having a few issues with a symfony project. We are using version 1.1
and froze the project then used the deploy feature as well to launch it on
our web server. When I try to access the site initially you can see the
login screen which is the default homepage if a user session has not been
star
s1.1/linux
Hi,
I've been looking at the sfSimpleForum plugin, and I quite like it for
its simplicity. Before I include it as one of my staple plugins, I just
want to see if it is still being actively developed? I notice that it
still uses the symfony 1.0 form framework, is there any plan to u
Hi,
Could anybody show me how to use it ? I tried for a long time but failed and
don't have any idea about it ? Thanks.
- xj
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this gro
Forms, symfony 1.2:
I have radiobuttons like these:
"radio")); ?>
"radio")); ?>
and I need the first radiobutton to be checked by default, if nothing
else defined in memberships radios, but how?
Also how can I get access (in the view!) to the fields values and get
to know which radiobutton ha
Hello all
I am using Symfony with Doctrine plugin.
I am making a simple bulletin board in my application. I want to find
out the last post in every topic and display the time in front of
topic.
In Symfony, in the controller for the screen, I do this...
$list_topics = Doctrine::getTable( "Topic
It was really easy after you replied with this. Thank you!
On Feb 12, 4:49 am, jukea wrote:
> Hi Anton,
>
> Here's how I did exactly that in three easy steps ! It's not
> super clean /optimal / configurable code,but it works.
>
> (region_list is the widget name for a 1..n relation in my
requild your model and clear your cache ...
you might make it work
On Fri, Feb 13, 2009 at 11:37 AM, SeeVik wrote:
>
> Hello all,
>
> I am using Symfony with Doctrine. I am having a problem in doing a
> simple join.
> There is a join in two tables, and when I display the results in the
> view...t
Hello all,
I am using Symfony with Doctrine. I am having a problem in doing a
simple join.
There is a join in two tables, and when I display the results in the
view...the page loads successfully.
But in the table where I am displaying a field from the joined table,
I am getting the following mes
another solution is using same class delegate to do the work for you
(as in symfony default factories)
e.g.
variableResolver: MyVariableResolver
and then use this class in ProjectConfiguration setup method to set a
global variable depending on the context (I'd do this if the logic of
the variat
Anyone have been able to do it ?
It seems I have an autoloading problem half of the time after a
symfony cc.
Thank you
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, sen
33 matches
Mail list logo