Re: [fw-general] zend dojo text area- how that work?

2008-11-19 Thread Germinal
Try: $textarea_element->addDecorator('HtmlTag', array('tag' => 'div')); This place a div tag instead a dd tag. Works. vladimirn wrote: > > I need just a simple text area where you can type : > First row in text area (i would like to press Enter here and to type in > next row) > Next row he

Re: [fw-general] $cache->start() and caching with Zend_Translate together, possible bug?

2008-11-19 Thread Thomas Weidner
Sorry, but on the first look this seems to be a cache problem and not a translation one. Looking at the lines you provide I see that at line 435 the cache is loaded... $result = self::$_cache->load($id); which happens without problems. And then the cache is unserialized. unserialize($result); A

Re: [fw-general] Zend_DOM and AJAX

2008-11-19 Thread edgelogix
Thanks alot, for providing such an informative reply. Actually I'm very new to ZF, and getting so many problems in finiding any good working example of Zend_Dojo in combination with AJAX. Would you please suggest me any good and descriptive example which can help a beginner like me to start good h

[fw-general] How to run an action internally

2008-11-19 Thread eventhough
Hello, Is it possible to run an action within an action? Let's say I have two controllers each with one action (foo and bar). If the user is at controller1/foo and I would like to run controller2/boo from within foo, how would I do that? Do I need to create my own request object and push a new

[fw-general] $cache->start() and caching with Zend_Translate together, possible bug?

2008-11-19 Thread kirpit
Hi ZF people. I have following lines in bootstrap with ZF v1.7 running on php 5.2.6: > $cache = Zend_Cache::factory('Page', 'File', array( 'lifetime' => 60 * 60 * 12, 'regexps' => array( // cache whole indexController '^' . BASE_PATH . '$' => array(

Re: [fw-general] Using Zend_Amf with DOMDocument

2008-11-19 Thread wadearnold
I created a ticket for this issue and will get it updated right away. http://framework.zend.com/issues/browse/ZF-4999 ZF-4999 Wade -- View this message in context: http://www.nabble.com/Using-Zend_Amf-with-DOMDocument-tp20482637p20592280.html Sent from the Zend Framework mailing list archi

Re: [fw-general] xforms with zend

2008-11-19 Thread Matthew Ratzloff
Given that no browser supports XForms natively, you wouldn't be adding an "extra" processor, you would be added "a" processor. -Matt On Wed, Nov 19, 2008 at 2:32 PM, nolnor <[EMAIL PROTECTED]> wrote: > > >Assuming you're using something like FormFaces or Ubiquity XForms on the > >front end, you s

Re: [fw-general] xforms with zend

2008-11-19 Thread nolnor
>Assuming you're using something like FormFaces or Ubiquity XForms on the >front end, you should be able to treat your forms like regular forms. >-Matt thanks,but,there is no other solution than this, is there? I mean not to add extra xforms processor. -- View this message in context: http://

Re: [fw-general] xforms with zend

2008-11-19 Thread Matthew Ratzloff
Assuming you're using something like FormFaces or Ubiquity XForms on the front end, you should be able to treat your forms like regular forms. -Matt On Wed, Nov 19, 2008 at 11:07 AM, nolnor <[EMAIL PROTECTED]> wrote: > > i have a webpage made of xforms. i hope use a database to verify user's > na

Re: [fw-general] [Zend_Paginator] Bug when using complex Zend_Db_Select

2008-11-19 Thread Iulian M
I see. :-) Thank you very much for your answers. This conversation was very helpful. Iulian Matthew Ratzloff wrote: > > That's how it originally worked. There were reasons that it changed. > -Matt > > On Tue, Nov 18, 2008 at 11:26 PM, Iulian M <[EMAIL PROTECTED]> > wrote: > >> >> >> Yes

Re: [fw-general] Custom validator is not run when the element value is not set

2008-11-19 Thread Sudheer
Sudheer wrote: Hi, I have written a custom validator to make either first name or last name field in my form mandatory. But not both. I have added the custom validator to the lastName element. The validator won't run unless the element value is set. I want it to run even though no value is s

[fw-general] Custom validator is not run when the element value is not set

2008-11-19 Thread Sudheer
Hi, I have written a custom validator to make either first name or last name field in my form mandatory. But not both. I have added the custom validator to the lastName element. The validator won't run unless the element value is set. I want it to run even though no value is supplied to the e

[fw-general] xforms with zend

2008-11-19 Thread nolnor
i have a webpage made of xforms. i hope use a database to verify user's name and password before he can fill the form. I plann to use zend frameowrk to do this. I already implemented user authentication. My question is how to let zend to show xforms and received form contents. Do i need to put xfo

Re: [fw-general] Zend_Translate and 1.7.0PR issue/question

2008-11-19 Thread Thomas Weidner
The original message was not delivered to the mailinglist so I can only answer to this one... Please correct me if I am wrong, but I think this notice is not really needed. Or, more likely, I'm not getting the point. The point is, that you are trying to set a language for which no translation

Re: [fw-general] Zend_Translate and 1.7.0PR issue/question

2008-11-19 Thread Florian Sonnenburg
Hi, I just ran into the same thing. Zend_Translate under ZF 1.7 now raises these notices if you call Zend_Translate::setLocale($locale) with a $locale that has no translation data added. You can suppress these notices by passing the option 'disableNotices'=true when instantiating Zend_Transla

Re: [fw-general] How the heck do you go into production mode?

2008-11-19 Thread Julien Pauli
Personnaly, I use some kind of Apache setEnv + php's $_SERVER to push my app in prod mode. Julien.P 2008/11/19 Terre Porter <[EMAIL PROTECTED]> > This would depend on the programmer and the style he/she used. > > For example, I used the zend studio MVC bootstrap/initializer style in my > project

RE: [fw-general] How the heck do you go into production mode?

2008-11-19 Thread Terre Porter
This would depend on the programmer and the style he/she used. For example, I used the zend studio MVC bootstrap/initializer style in my project. You might have something like this in the bootstrap.php in you app dir. Could also be in the index.php in the web root, if not using a bootstrap file.

Re: [fw-general] How the heck do you go into production mode?

2008-11-19 Thread Matthew Weier O'Phinney
-- MrEMan <[EMAIL PROTECTED]> wrote (on Wednesday, 19 November 2008, 08:50 AM -0800): > I've been developing a Zend app for awhile now. It's a project I > adopted from a previous contractor and I am not the one responsible > for deploying it. I've recently encountered a production bug and > really

[fw-general] How the heck do you go into production mode?

2008-11-19 Thread MrEMan
I've been developing a Zend app for awhile now. It's a project I adopted from a previous contractor and I am not the one responsible for deploying it. I've recently encountered a production bug and really need to run the app in production mode locally to figure this out. How do I run my Zend Fra

Re: [fw-general] [Zend_Paginator] Bug when using complex Zend_Db_Select

2008-11-19 Thread Matthew Ratzloff
That's how it originally worked. There were reasons that it changed. -Matt On Tue, Nov 18, 2008 at 11:26 PM, Iulian M <[EMAIL PROTECTED]> wrote: > > > Yes, but it should be noted that it will not accept ANY Zend_Db_Select > object. The object passed to the setRowCount() must contain the > ROW_CO

Re: [fw-general] Question about zend pagination

2008-11-19 Thread Matthew Ratzloff
Your route doesn't have a :page parameter like the example shows. -Matt On Wed, Nov 19, 2008 at 7:39 AM, vladimirn <[EMAIL PROTECTED]> wrote: > > Matt, thanks for posting this link and quote rom documents. > I've already read that before i posted in here :) > How to use that in my example? > > Ma

Re: [fw-general] Zend_Form - a bit more complex forms

2008-11-19 Thread Michał Zieliński
Thanks for reply Bart. Bart McLeod wrote: > > Personally, I like to delegate building my form to a formbuilder that > knows how to add the decorators. > Interesting idea. Can you write a bit more about it? Bart McLeod wrote: > > However, If you want to do it the basic way, you are probably

Re: [fw-general] PDF, IE7 and sessions

2008-11-19 Thread Mon Zafra
Thank you! On Wed, Nov 19, 2008 at 11:15 PM, Benjamin Eberlei <[EMAIL PROTECTED]>wrote: > maybe this helps: > > http://fpdf.org/en/FAQ.php#q3 > > it should be the same problem. > > On Wednesday 19 November 2008 16:07:42 Mon Zafra wrote: > > Hi list, > > > > This might be off-topic as I couldn't t

Re: [fw-general] Question about zend pagination

2008-11-19 Thread vladimirn
Matt, thanks for posting this link and quote rom documents. I've already read that before i posted in here :) How to use that in my example? Matthew Ratzloff wrote: > > From the documentation: > The following is an example route you might use in an INI configuration > file: > > routes.example.r

Re: [fw-general] PDF, IE7 and sessions

2008-11-19 Thread Benjamin Eberlei
maybe this helps: http://fpdf.org/en/FAQ.php#q3 it should be the same problem. On Wednesday 19 November 2008 16:07:42 Mon Zafra wrote: > Hi list, > > This might be off-topic as I couldn't tell if the problem is caused by IE, > PHP, Zend_Pdf or Adobe Reader. > > Using PHP 5.2.4, ZF trunk r12700,

[fw-general] PDF, IE7 and sessions

2008-11-19 Thread Mon Zafra
Hi list, This might be off-topic as I couldn't tell if the problem is caused by IE, PHP, Zend_Pdf or Adobe Reader. Using PHP 5.2.4, ZF trunk r12700, IE7, Adobe Reader 9 pages[] = $pdf->newPage(Zend_Pdf_Page::SIZE_A4); session_start(); header('Content-Type: application/pdf'); echo $pdf->render();

Re: [fw-general] Zend_Form - a bit more complex forms

2008-11-19 Thread Bart McLeod
Hi Michal, Personally, I like to delegate building my form to a formbuilder that knows how to add the decorators. However, If you want to do it the basic way, you are probably looking for something like adding an aliased HtmlTag decorator with Tag h2 and placement   PREPEND and set the conten

[fw-general] Trying to get Zend OpenID working with various providers

2008-11-19 Thread Ian
Hi, I am having huge problems getting Zend OpenID working with different providers, I keep getting strange errors for some of them. First things first - here is my code: $status = ""; /** * Includes and loads */ ini_set('include_path', ini_get('include_path') . ':/usr/home/www/domain.com/'); r

[fw-general] Zend_Form - a bit more complex forms

2008-11-19 Thread Michał Zieliński
Hi. Let me show an example: http://zielinski.civ.pl/test/form/form.html I must create some kind of inquiry form, which is and probably will be more complex than typical web forms. Of course I know that decorators exists. However this time I failed. I`ve no idea how to use h2 nor checkbox with l

Re: [fw-general] AjaxLink in ZendX_JQuery

2008-11-19 Thread Benjamin Eberlei
Hello Xavier. This is already possible, you can plug the option 'dataType' => 'javascript' into the ajaxLink helper. For example: ajaxLink("test", "hello.html", array('dataType' => 'script'), array()); ?> This would switch to interpreting the response to execute included javascript. Important

[fw-general] AjaxLink in ZendX_JQuery

2008-11-19 Thread Xavier Vidal Piera
Hi I think it could be useful to have an extra "datatype" option in AjaxLink View Helper: the "javascript" option to eval the server's response in the client. -- Xavier Vidal Piera Director Tècnic de Citrusparadis.com - Grupo Intercom Enginyer Tècnic Informàtic de Gestió Tècnic Especialista Info