Hi
I recently started to develop a new Eclipse Plugin for symfony:
http://sfdt.borox.ch
I have integrated an action to convert a clay-file (from Azzurri Clay)
into a schema.yml . It is based on a simple XSLT.
greets
Sven
[EMAIL PROTECTED] schrieb:
I want to design and maintain my databases
Hi Ho!
I am involved in a project that uses symfony-1.0.
One ineffective and inefficient task that symfony-1.1 has fixed with its
integration of sfForm and Propel
(http://www.symfony-project.org/book/forms/1_1/en/04-Propel-Integration) is
validating the maximum number of characters that can
Hi Gang,
As promised in my earlier email, this is my critical post-mortem of
what did and didn't work for me on my last project. I personally would
like to see quite a few similar critiques appearing - it's
constructive criticism, and (I feel) will help the Symfony team to see
exactly
Hi there,
I´m facing a critical issue with the forms framework for some time
now. I have asked here more than once, but could get a good answer. At
least I could not understand if it is not a bug or what. Then, I
opened a bug:
http://trac.symfony-project.org/ticket/4916#comment:1
but it was
The conversion must be done by the validator, not the widget.
Fabien
--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.com | aide-de-camp.org
Tél: +33 1 40 99 80 80
Bruno Reis wrote:
Hi there,
I´m facing a critical issue with the forms framework for
If you use propel and DbDesigner4 you have the sfDB4toPropel plugin.
++ COil
De : cokker [EMAIL PROTECTED]
À : symfony-users@googlegroups.com
Envoyé le : Lundi, 17 Novembre 2008, 9h24mn 23s
Objet : [symfony-users] Re: which graphical design software to
Hi Friends...
I want to do this feature where I want to display price range
graphically...
It needs to be a simple image like this...
^
|HEADING
|
|
upper limit
|
|*** Shaded Area ***
|
Hi Friends...
How can I handle automated session timeout, so that the user is taken
to a login page, or shown a message like, You have been logged out
because of timeout...?
Is there some callback mechanism in Symfony 1.0 for this?
- Thanks...
Hi, Kiril.
Yes, I define this table in schema.yml. So I just need to know how to
define by default the current time. I've never heard about defaultExpr
attribute so I searched - but haven't found almost anything, the first
result was this page. Please, tell me if you know how to do it!
P.S.
Hi!
I'm implementing the file upload sample in chapter 4 of the form book.
A problem I have is that the file is deleted if I modify an object
with a previously uploaded file without uploading a new file. Is this
supposed to happen if you implement the code in the book correctly?
I think the
But, the validator only converts back from the form.
I´m talking about fields that needs to be converted from the model to
the form and then back from the form to the model.
For instance:
I use a date in doctrine: 2005-08-07
When I need to convert it to a plain text date widget, the widget will
Did you try:
sess_time: { type: datetime, defaultExpr: NOW() }
You must be using Propel 1.3 for this to work, though.
2008/11/17 [EMAIL PROTECTED] [EMAIL PROTECTED]:
Hi Kirill, look what I found out. When I define session table in
schema.yml like that:
session:
sess_id: { type:
Filing bug report will have better change of action on this :)
On Mon, Nov 17, 2008 at 1:24 AM, Evan Fribourg
[EMAIL PROTECTED] wrote:
When I run './symfony propel:build-all-load' under symfony 1.2.0-dev
r13048 (this error has been happening since I started playing with
1.2.0, unknown rev
For example, http://pecl.php.net/package/imagick
On Mon, Nov 17, 2008 at 1:27 PM, Sumedh [EMAIL PROTECTED] wrote:
Hi Friends...
I want to do this feature where I want to display price range
graphically...
It needs to be a simple image like this...
^
|HEADING
|
|
I'm using Propel 1.2, though 1.3 may be installed as plugin, right?
Actually I don't know - does it worth it? Installing Propel 1.3 as
plugin I mean? One advantage I've already seen - are there any others?
On 17 нояб, 16:17, Kiril Angov [EMAIL PROTECTED] wrote:
Did you try:
sess_time: {
I am personally using the plugin on Symfony 1.0 and it works just
fine, if you want to stay as close as possible to the symfony library
versions. Why not use Symfony 1.2, btw? It is ready for use and as it
seems you are not working on a production ready project yet. There is
not point to start
Actually it was not me who chose the symfony version to work in.
It's interesting - why are they going to maintain v1.0 for whole three
years - but 1.1 and 1.2 only for 1 year?
On 17 нояб, 16:45, Kiril Angov [EMAIL PROTECTED] wrote:
I am personally using the plugin on Symfony 1.0 and it works
Hi everybody!
I'm french and i join this group because the french's group are not
active! I have a problem when i want to install the plugin
sfExtjsThemePlugin. I would like install this because i developp a
software who must be like this site = http://tejohnston.dynora.eu/
(admin / admin ).
We recently changed the base class name from generated to base to match
all the other base directories. In propel they are all named base for forms,
filters, etc.
- Jon
On Mon, Nov 17, 2008 at 12:27 AM, bstoppel [EMAIL PROTECTED]wrote:
I had the same problem with a different Base* class.
hello
I have some troubles to lauch a task form an action
what is the good method ?
I am doing right now :
$t = new myTask(sfContext::getInstance()-getEventDispatcher(), new
sfFormatter());
$t-run(array(), array());
Symfony throw an exception :
You must be in a symfony project directory.
That is how I see it done by Fabien and I've done it this way myself.
chdir(sfConfig::get('sf_root_dir'));
Sent from my iPhone
On Nov 17, 2008, at 10:43 AM, Olivier Mansour [EMAIL PROTECTED]
wrote:
hello
I have some troubles to lauch a task form an action
what is the good method ?
I
When I froze and uploaded my source to my production box (on
slicehost), my AJAX-ed links won't work. They were tested and fine in
my dev environment, but on the server, the code is displayed in the
source, but clicking on the link has the same effect as an a
href=# tag. I feel like this is a
Hey James,
I've used something like that in the past (was even
internationalized), and the way I did it is that I added a type field
to the attribute table, so that attributes became text, longtext,
boolean, select one, select many, etc...
That way you can generate appropriate input elements
Hi,
I use this code to display articles on my page,
public function executeIndex()
{
$c = new Criteria();
$c-addDescendingOrderByColumn(ArticlePeer::CREATED_AT);
$pager = new sfPropelPager('Article', 10);
$pager-setPeerMethod('doSelectJoinSfGuardUserProfile');
Why not just get users with criteria and write a $user-
getLatestArticle() method that's called in your view?
On Nov 17, 12:28 pm, javo [EMAIL PROTECTED] wrote:
Hi,
I use this code to display articles on my page,
public function executeIndex()
{
$c = new Criteria();
No it wouldn't. Use this:
$c = new Criteria();
$c-addDescendingOrderByColumn(UserPeer::CREATED_AT);
$pager = new sfPropelPager('User', 10);
and then, when you have 10 user objects in your template,
?php $user-getLatestArticle()-printArticle() ?
What you're really trying to do is retrieve a
Stephen: I did overwrite my executeUpdate function as it is public
while the processform is private (did it under the action.class.php of
the author module).
This is my code :
lass authorsActions extends autoAuthorsActions
{
public function executeUpdate(sfWebRequest $request)
{
Wait, actually I didn't realize you were trying to select the latest
10 articles, I thought you were just getting 10 articles from
different users. That would make things more difficult. I'm not sure
how you'd do that.
On Nov 17, 12:53 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
No it
I've designed databases like this several times in the past. Specifically
for CRM solutions where the users can add global custom fields or even add
custom fields for specific contact records. I think it is a good solution.
I have in fact started a sfDoctrineCrm plugin where you build your own
firebug is your friend for debugging AJAX ;)
On 17 Nov 2008, at 17:53, Jonathan Wage wrote:
Turn on logging and see if the requests are making it to the server
and just erroring out.
Tail the production log files
$ tail -f log/appname_prod.log
Then execute your action and see if
Yeah it says AJAX isn't defined, which would lead me to believe that
prototype isn't working for some reason, and I don't know why that
would be, besides the fact that I am not good at deploying my
application.
-Brendan
On Nov 17, 1:01 pm, Lee Bolding [EMAIL PROTECTED] wrote:
firebug is your
Alright I fixed the issue, but I'm still not sure what the underlying
problem was. I had to download prototype and link to it explicitly in
my template, but I think I'll attribute this to being a noob and not
deploying my application correctly.
Thanks for the help though,
-Brendan
On Nov 17,
You haven't done anything wrong - the example in the tutorial does
delete previous uploads if the upload field is left empty.
You need to add extra logic to your form in order to prevent this from
happening.
--~--~-~--~~~---~--~~
You received this message
Check this post, i had the same issue:
--
http://groups.google.com/group/symfony-devs/browse_thread/thread/be2b4a3cf9f34ad6/77f422fa1c9ccdd3?hl=frlnk=gstq=1.1+feedbackpli=1#
De : Jonathan Franks [EMAIL PROTECTED]
À : symfony-users@googlegroups.com
Envoyé le
Thanks! But did you link to the wrong post? It doesn't seem to be
related...
I've tried adding logic to the form, but I just don't know the form
system well enough to determine what should be modified. I think I
need to remove the filename field before it's written to the Image
object I'm
Ah, sorry... I didn't understand the french text link to expand the
full message. Checking now...
On Nov 17, 9:52 pm, Daniel Staver [EMAIL PROTECTED] wrote:
Thanks! But did you link to the wrong post? It doesn't seem to be
related...
I've tried adding logic to the form, but I just don't know
I now have a working check for whether a new file is uploaded or not
in the doSave method of the form object, but I still can't figure out
how to unset the field if no new file is uploaded. unset($this
['filename']) doesn't work.
On Nov 17, 9:54 pm, Daniel Staver [EMAIL PROTECTED] wrote:
Ah,
in which method are you calling unset?? in doSave() is too late. You
need to do it before the object is updated in updateObject()
On 17 Nov 2008, at 21:19, Daniel Staver wrote:
I now have a working check for whether a new file is uploaded or not
in the doSave method of the form object,
I'm calling unset in the doSave method before parent::doSave. As far
as I can tell doSave calls updateObject() and then save(), so my unset
should be in the right place.
On Nov 17, 10:33 pm, Jonathan Franks [EMAIL PROTECTED] wrote:
in which method are you calling unset?? in doSave() is too
It doesn't work in updateObject either. The filename is still set to
NULL.
On Nov 17, 10:38 pm, Daniel Staver [EMAIL PROTECTED] wrote:
I'm calling unset in the doSave method before parent::doSave. As far
as I can tell doSave calls updateObject() and then save(), so my unset
should be in the
Fredlab,
First I don't think that it was necessary to overwrite the
executeUpdate. processForm was protected and not private and this is
where you wanted to overwrite, just to add tot he bind function.
{{{
#!php
#/apps/admin/modules/images/actions/actions.class.php
class imagesActions extends
Hello,
I'm just wondering if there is any guide to update my current 1.0 forms to
the new 1.1 form framework?
Or the only way I have is to re-write all my forms again?
Thanks
Matías López
--~--~-~--~~~---~--~~
You received this message because you are
You will need to re-implement your forms.
- Jon
On Mon, Nov 17, 2008 at 4:48 PM, Matías López [EMAIL PROTECTED] wrote:
Hello,
I'm just wondering if there is any guide to update my current 1.0 forms to
the new 1.1 form framework?
Or the only way I have is to re-write all my forms again?
I have this in foo admin module
object_actions:
sample:
action: sample
then in actions.php
public function executeSample(sfWebRequest $request)
{
}
when i try to use link_to in sampleSuccess.php
link_to('Sample', 'admin/sample?id=1')
the generated url is
Hi Ho!
--- On Mon, 11/17/08, Lee Bolding [EMAIL PROTECTED] wrote:
Hi Gang,
As promised in my earlier email, this is my critical
post-mortem of
what did and didn't work for me on my last project. I
personally would
like to see quite a few similar critiques appearing -
it's
This looks like a very powerful image processing library...thanks :)
But for simple line drawings etc, GD should be sufficient right?
On Nov 17, 6:21 pm, Kiril Angov [EMAIL PROTECTED] wrote:
For example,http://pecl.php.net/package/imagick
On Mon, Nov 17, 2008 at 1:27 PM, Sumedh [EMAIL
Sorry Daniel - I did this a while ago and my memory let me down
Ok, just quickly looked at the code. Does this help?
unset($this-values['filename'])
regards,
Jonathan
On 17 Nov 2008, at 21:42, Daniel Staver wrote:
It doesn't work in updateObject either. The filename is still set
47 matches
Mail list logo