Re: [fw-general] Dojo + JSON-RPC

2008-08-19 Thread Matthew Lurz
Correct. Other than specifying a return type of void in the docblock there is nothing more to document. tfk wrote: > > On Wed, Aug 20, 2008 at 12:58 AM, Matthew Lurz <[EMAIL PROTECTED]> wrote: >> >> I'm unsure of what to document since there are no params to the method >> nor a >> return value.

Re: [fw-general] Dojo + JSON-RPC

2008-08-19 Thread till
On Wed, Aug 20, 2008 at 12:58 AM, Matthew Lurz <[EMAIL PROTECTED]> wrote: > > I'm unsure of what to document since there are no params to the method nor a > return value. I'll try to add an @return void and see if that helps. I don't > need to do anything different in the controller do I? It seems

Re: [fw-general] Zend_form, InArray Validator configuration question.

2008-08-19 Thread Taco Jung
Ah, that would explain it. But it's not consistent with the other options like required=false. On Wed, Aug 20, 2008 at 5:15 AM, Matthew Weier O'Phinney <[EMAIL PROTECTED]>wrote: > -- Codiac <[EMAIL PROTECTED]> wrote > (on Tuesday, 19 August 2008, 01:11 PM -0700): > > I ran into trouble when tryi

Re: [fw-general] Dojo + JSON-RPC

2008-08-19 Thread Matthew Lurz
I'm unsure of what to document since there are no params to the method nor a return value. I'll try to add an @return void and see if that helps. I don't need to do anything different in the controller do I? It seems like this is handled in jsonRpcAction. Also, I think I must need to hookup the su

Re: [fw-general] Dojo + JSON-RPC

2008-08-19 Thread till
On Mon, Aug 18, 2008 at 11:18 AM, Matthew Lurz <[EMAIL PROTECTED]> wrote: > Please excuse my ignorance as I've worked very little with any RPC service > in the past. > > I'm attempting to AJAJ-enable a form. I've selected a simple form containing > 2 ValidationTextBoxes. I'm using the modular direc

Re: [fw-general] Dojo + JSON-RPC

2008-08-19 Thread Matthew Lurz
I think I must be missing a lot here. If anyone has any advice that would be great. Otherwise it's back to the docs for me! Matthew Lurz wrote: > > Please excuse my ignorance as I've worked very little with any RPC > service in the past. > > I'm attempting to AJAJ-enable a form. I've selected

Re: [fw-general] dijit.Editor

2008-08-19 Thread Matthew Lurz
My apologies to Matthew for implying that there are many other Dojo form elements that weren't implemented in 1.6RC2. This is clearly not the case as he has pointed out. Matthew Weier O'Phinney-3 wrote: > > -- Matthew Lurz <[EMAIL PROTECTED]> wrote > (on Tuesday, 19 August 2008, 07:02 AM -0700)

Re: [fw-general] Zend_form, InArray Validator configuration question.

2008-08-19 Thread Matthew Weier O'Phinney
-- Codiac <[EMAIL PROTECTED]> wrote (on Tuesday, 19 August 2008, 01:11 PM -0700): > I ran into trouble when trying to configure a form select element and set > the InArray validator registerinarrayvalidator configuration key. Here's my > setup, can someone verify if it's correct? Is the registerInA

Re: [fw-general] How are you using Zend_Pdf?

2008-08-19 Thread Oz Glen
We are about to embark on a massive PDF project, most of what we need (if not all) is covered by the comprehensive Zend_Pdf updates. What are the expected date for community review and early testing. Are there any other dates you could share ? Is there anything we can do to help expediate this

Re: [fw-general] Zend_Form feature request: display group elements

2008-08-19 Thread nolner
Yup, that works, thanks! Now I have a radio group with 15 elements each on a new line - how do I place into 4 cols? Decorator? Also, how do I set the default option? thx Mike Roetgers wrote: > > Mike Rötgers schrieb: >> nolner schrieb: >>> (I also seemed to me that I should be able to pass c

Re: [fw-general] Zend_Form & Decorator Help

2008-08-19 Thread SteveWilhelm
I want to do something similar. Did you ever figure it out? Hi guys, I want to display my input buttons (submit & reset) at the top of the form on the right side. For example like magento (http://www.ecommerceoptimization.com/wp-content/uploads/2007/07/customer_edit.PNG).. So the html solution

AW: [fw-general] Zend_Form: How to remove a display-group?

2008-08-19 Thread Stefan Gehrig
Hi Matthew, >> [...] >> $newPersonSubForm=new Zend_Form_SubForm(array( >> 'legend' => 'Neue Person', >> 'disableLoadDefaultDecorators' => true, >> 'disableTranslator' => true, >> 'decorators' => array( >> 'FormElements', >> array('HtmlTag', array('tag' => 'ol')),

Re: [fw-general] Critical Error with Zend_Session

2008-08-19 Thread Endijs Lisovskis
Thanks for suggestion! Will try to change sessions path - and if error will still exist, will let you know. Endijs Lisovskis tfk wrote: > > On Tue, Aug 19, 2008 at 3:49 PM, Endijs Lisovskis <[EMAIL PROTECTED]> > wrote: >> >> I switched hosting providers and with new one I receive those errors

Re: [fw-general] Critical Error with Zend_Session

2008-08-19 Thread till
On Tue, Aug 19, 2008 at 3:49 PM, Endijs Lisovskis <[EMAIL PROTECTED]> wrote: > > I switched hosting providers and with new one I receive those errors too. Not > all the time, but time after time. > > Fatal error: Uncaught exception 'Zend_Session_Exception' with message > 'Zend_Session::start() - se

[fw-general] Zend_form, InArray Validator configuration question.

2008-08-19 Thread Codiac
Hi all, I ran into trouble when trying to configure a form select element and set the InArray validator registerinarrayvalidator configuration key. Here's my setup, can someone verify if it's correct? Is the registerInArrayValidator configuration set properly? I get an error ('nl' was not found i

Re: [fw-general] Critical Error with Zend_Session

2008-08-19 Thread Endijs Lisovskis
I switched hosting providers and with new one I receive those errors too. Not all the time, but time after time. Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'Zend_Session::start() - session_start() [ function.session-start function.session-start ]: ps_files_cleanup_dir:

[fw-general] RE: Dojo View Helper Question

2008-08-19 Thread Jeremy Brown
I've been doing some more reading. It seems that this is similar to what is described here: http://framework.zend.com/issues/browse/ZF-3282 . Should I add my observations to this issue or are they not related? Jeremy Brown Senior Web Developer Spear One 972.661.6038 www.spearone.com

Re: [fw-general] Zend Studio as Plugin to Eclipse 3.4 Ganymede

2008-08-19 Thread Michael Raumer
Thank you Robert, It seems like waiting is the right call. Thanks! Michael On 8/19/08 1:33 PM, "Robert Castley" <[EMAIL PROTECTED]> wrote: > Hope this info helps: > > http://www.howtoforge.com/setting-up-eclipse-pdt2.0-on-eclipse3.4-ganymede > > But you are probably better waiting a wee wh

Re: [fw-general] Zend_Form: How to remove a display-group?

2008-08-19 Thread Matthew Weier O'Phinney
-- Stefan Gehrig <[EMAIL PROTECTED]> wrote (on Tuesday, 19 August 2008, 11:13 AM +0200): > I'm currently struggling with Zend_Form... I try to build a form that should > include another form as a subform. > This is what I've been doing so far in the init()-method of my form: > > $newPersonSubForm=

Re: [fw-general] dijit.Editor

2008-08-19 Thread Matthew Weier O'Phinney
-- Matthew Lurz <[EMAIL PROTECTED]> wrote (on Tuesday, 19 August 2008, 07:02 AM -0700): > For anyone else that may have this issue in the future, all I've had to do to > get the display to work (I've not tested any further just yet) was to create a > new Element and Helper. If it's really this easy

Re: [fw-general] Dojo example in docs broken?

2008-08-19 Thread Matthew Weier O'Phinney
-- darren <[EMAIL PROTECTED]> wrote (on Monday, 18 August 2008, 06:36 AM -0500): > Thanks. I haven't been able to get any of the dojo website examples working. > So, I want to make sure that I have the above correct first. > > I put the first two lines in my controller's init(). > > public

RE: [fw-general] Zend Studio as Plugin to Eclipse 3.4 Ganymede

2008-08-19 Thread Robert Castley
Hope this info helps: http://www.howtoforge.com/setting-up-eclipse-pdt2.0-on-eclipse3.4-ganymede But you are probably better waiting a wee while, see: http://www.mail-archive.com/[EMAIL PROTECTED]/msg00103.html

Re: [fw-general] Zend Layout - multiple modules & common templates

2008-08-19 Thread Mario Guenterberg
On Tue, Aug 19, 2008 at 03:22:17AM -0700, pvechi wrote: Hi, I use the following setup without problems. in bootstrap: Zend_Layout::startMvc(array( 'layoutPath' => ROOT_DIR . 'application/modules/default/layouts', 'layout' => 'main', 'pluginClass' => 'WHEREEVERYOURLIBSARE_Layout_Modu

[fw-general] Re: [1/2 OT] Rewrite Rule for sitemap.xml files

2008-08-19 Thread Colin Guthrie
Ralf Eggert wrote: Hi Jason, Adding the [L] flag to both your sitemap rules should do the trick. unfortunately, it did not. I rewrote my rules now completely and changed them like this: # clear ending slashes RewriteRule ^(.*)/$ /$1 [L,R=301] # rewrite sitemap RewriteRule ^sitemap\.

[fw-general] Dojo View Helper Question

2008-08-19 Thread Jeremy Brown
Here is a "manipulated" version of my layout file (in other words, I have replaced some PHP code with hard-coded values in order to shorten its length): headTitle() . "\n"; ?> headMeta() . "\n"; ?> headLink() . "\n"; ?> headStyle() . "\n"; ?> dojo()->isEnabled() ): $this->dojo(

[fw-general] Zend Studio as Plugin to Eclipse 3.4 Ganymede

2008-08-19 Thread Michael Raumer
Hi all, Sorry for the ³off-topic² email as my first post to these lists but I cannot find anywhere that gives me this answer. I figure a bunch of ZF users can likely help. I¹d like to install Zend Studio as a plug-in into the new Ganymede Eclipse release. However, when I try to do it the version

Re: [fw-general] [1/2 OT] Rewrite Rule for sitemap.xml files

2008-08-19 Thread Ralf Eggert
Hi Jason, > Adding the [L] flag to both your sitemap rules should do the trick. unfortunately, it did not. I rewrote my rules now completely and changed them like this: # clear ending slashes RewriteRule ^(.*)/$ /$1 [L,R=301] # rewrite sitemap RewriteRule ^sitemap\.xml$ sitemap.php Re

Re: [fw-general] [1/2 OT] Rewrite Rule for sitemap.xml files

2008-08-19 Thread Jason Webster
Adding the [L] flag to both your sitemap rules should do the trick. Ralf Eggert wrote: Hi, I currently use these two lines to get all requests handled by my bootstrap file index.php except the robots.txt file which should not be rewritten. RewriteEngine on RewriteRule ^(.*)/$ /$1 [L,R=301]

Re: [fw-general] [1/2 OT] Rewrite Rule for sitemap.xml files

2008-08-19 Thread Ralf Eggert
Hi Jospeh, Joseph Crawford schrieb am 19.08.2008 16:03: > Maybe you should add a line for the sitemap.xml like the robots.txt so > that it is not throwing a 404 but rather trying to load that file > triggering the other rule you created. I actually tried that but it did not work. The differen

Re: [fw-general] dijit.Editor

2008-08-19 Thread Matthew Lurz
For anyone else that may have this issue in the future, all I've had to do to get the display to work (I've not tested any further just yet) was to create a new Element and Helper. If it's really this easy though, I'm wondering why more Dojo form elements haven't been implemented (I realize it's j

[fw-general] [1/2 OT] Rewrite Rule for sitemap.xml files

2008-08-19 Thread Ralf Eggert
Hi, I currently use these two lines to get all requests handled by my bootstrap file index.php except the robots.txt file which should not be rewritten. RewriteEngine on RewriteRule ^(.*)/$ /$1 [L,R=301] RewriteRule !robots\.txt$ index.php Now I want all requests like /sitemap.xml or /site

[fw-general] Render a script from another module/controller?

2008-08-19 Thread Jaka Jančar
Hi! How can I render a script from another module/controller using ViewRenderer? Say I want to use: application/views/scripts/crud/:action.plist for actions in certain controllers, which are, possibly, in other modules. Basically I want to use the same set of view scripts for many con

Re: [fw-general] Zend Layout - multiple modules & common templates

2008-08-19 Thread pvechi
Thanks for your reply Edub! I did actually read that thread previously, but I am unsure about how to implement this. I am not sure how I need to tell the application where the common templates are (zf/applications/layouts), versus those templates that are specific to each module (zf/application/

[fw-general] Zend_Filter_Alnum removes non-ascii characters

2008-08-19 Thread Aljosa Mohorovic
i use "$alnum_filter = new Zend_Filter_Alnum(true);" and when i use filter method non-ascii chars are removed. is there a way to preserve some chars that i need? Aljosa Mohorovic

[fw-general] Zend_Form: How to remove a display-group?

2008-08-19 Thread Stefan Gehrig
Hi all, I'm currently struggling with Zend_Form... I try to build a form that should include another form as a subform. This is what I've been doing so far in the init()-method of my form: $newPersonSubForm=new Zend_Form_SubForm(array( 'legend' => 'Neue Person', 'disableLoadDefaultDecorat

Re: [fw-general] Zend_Form feature request: display group elements

2008-08-19 Thread Mike Rötgers
Mike Rötgers schrieb: > nolner schrieb: >> (I also seemed to me that I should be able to pass concrete elements into >> addDisplayGroup - simply for consistency with addElements - as used in the >> tutorials I've seen) >> >> But, my question is related: I'm simply trying to create a radio group in

Re: [fw-general] Custom error for Zend_Form in .ini format

2008-08-19 Thread Mike Rötgers
Marko Korhonen schrieb: > Hi, > > How can I add custom error message to my element using ini format? > > Here's my example for "title": > > ; title element > form.elements.title.type = "text" > form.elements.title.options.required = true > form.elements.title.options.label = "Title" Try this: f