-- OakBehringer [EMAIL PROTECTED] wrote
(on Monday, 02 June 2008, 09:50 PM -0700):
Do I have to write a replacement for Zend_Form_Decorator_Label to have it
wrapped in NO tag?
When doing any of these...
$someElement-getDecorator('Zend_Form_Decorator_Label')-setTag('');
Thank you for your prompt response, that worked swimmingly.
Matthew Weier O'Phinney-3 wrote:
Actually, by default, the Label decorator does not use a tag. However,
if you are using the default decorators, it is configured to use one.
There is a bug in the setTag() logic, in that if an
I've recently been dabbling with automatically generating Zend_Form forms
based on model classes generated by the Doctrine ORM library.
I thought that maybe I should announce the form generator class I've
written
here as well, as I was also thinking about making a ZF proposal out of it.
Thank you for the quick response
The only problem is that these options are being pulled from a database.
(They are makes of vehicles, TOYO, FORD, DODG, etc. etc.), and there are
hundreds of models.
So basically, I make my database call to get the Makes and Models of
vehicles, but I need
-- Jonathan [EMAIL PROTECTED] wrote
(on Tuesday, 03 June 2008, 06:53 AM -0400):
Thank you for the quick response
The only problem is that these options are being pulled from a database.
(They are makes of vehicles, TOYO, FORD, DODG, etc. etc.), and there are
hundreds of models.
So
I'm using an external SMTP server (from my ISP, smtp.bredband.net),
so I can't check any logs.
Is it possible to debug on that?
Ben Scholzen 'DASPRiD' wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
If you use the default adapter (nothing set), then PHP's mail() function
is used, which
Certainly is! If you're using Zend_Mail_Transport_Smtp, you can do the
following:-
$tr = new Zend_Mail_Transport_Smtp('your.server.com', $options); //
see example at http://framework.zend.com/manual/en/zend.mail.smtp-authentication.html
$mail = new Zend_Mail();
// Populate $mail with
On 6/3/08, Bart McLeod [EMAIL PROTECTED] wrote:
If you submit the form and validate it, your post data will still be in the
form, while the page has been refreshed (there has been a round trip to the
server upon form submission).
I did never use flashmessenger, but I do not see why it would
FlashMessenger is meant for displaying messages only after receiving a
second request, like a redirect:
FIRST REQUEST
Client to Server - POST form values
Server - Process form values
Server - Form values will cause a redirect, record all messages FlashMessenger
Server to Client - Send redirect
My goal with this helper was to be able to leverage a similar interface to
FlashMessenger
for a generic message storage that would persist messages across redirects
_and_ make them available if a redirect did _not_ occur.
This is a solution we came up with at company, I'd highly suggest
On 6/3/08, Jake McGraw [EMAIL PROTECTED] wrote:
My goal with this helper was to be able to leverage a similar interface
to FlashMessenger
for a generic message storage that would persist messages across
redirects
_and_ make them available if a redirect did _not_ occur.
This is a
Vincent schreef:
On 6/3/08, *Bart McLeod* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Hi Vincent,
Why not redisplay the form if you want to keep the post data? I
suppose some action will be needed from the part of the user if
something went wrong while processing
On 6/3/08, Jeffrey Sambells [EMAIL PROTECTED] wrote:
Wouldn't it be better to provide a method to retrieve the messages
regardless of which page load it is in so that the flashMessanger could be
the generic message container for either case?
Exactly!
However, while I've read through the
Wouldn't it be better to provide a method to retrieve the messages
regardless of which page load it is in so that the flashMessanger
could be the generic message container for either case?
For example, if I do:
$this-_flashMessenger-addMessage('My Message');
$messages =
On 6/3/08, Jake McGraw [EMAIL PROTECTED] wrote:
FlashMessenger is meant for displaying messages only after receiving a
second request, like a redirect:
Is there a specific reason for this? Are there any plans to implement
displaying messages in the same request or is it unwise for me subclass
Hey, all. I've actually run into this problem several times myself and
have written an action helper that performs functions similar to
FlashMessenger but also allows for an immediately accessible message
bucket. My goal with this helper was to be able to leverage a
similar interface to
Hi,
I didn't quite understand if this is fix in ZF or PHP5?
If it is fixed in PHP5 then I assume there will be a new Windows download
made available soon(ish)
Best Regards,
- Robert
-Original Message-
From: Thomas Weidner [mailto:[EMAIL PROTECTED]
Sent: 31 May 2008 19:35
To: Robert
Hy,
I already answered your question and I also wrote it within the issue
several days ago.
The problem is a PHP problem.
We have integrated a workaround within ZF for this PHP-Windows-526 only bug.
The problem has already been solved for ZF within the trunk one day after
it
has been
$form-getElement('myActivateCheckBox')-setAttrib('onchange','this.checked
= myAjaxCall(this);')
Do not use inline events, use unobtrusive JavaScript:
http://en.wikipedia.org/wiki/Unobtrusive_JavaScript
Regards,
Ádám
Thanks for pointing this out. So that would mean something like:
$this-view-inlineScript()-appendScript(document.getElementById('myActivateCheckBox').onchange
= function(){
myAjaxCall(document.getElementById('myActivateCheckBox'));};)
or more sophisticated register the whole thing as an onload
Hey,
Basically the question is ... does ZF assign form fields a key when you name
them with square brackets??
Im trying to convert old php site of mine to ZF. I have a multiple file
uploads function that I'm having difficulties 'converting'. My non ZF
form/function looks like this:
3x of
Ralph demoed the tool internally yesterday, and I have to say it is
quite impressive. It goes *way* beyond what you might expect after using
CLI tools in other frameworks. It looked as simple to use as rails, etc.
if you go with the defaults, but when you want to do your own project
structure or
22 matches
Mail list logo