Re: [fw-general] Seperate action to proccess a form

2009-07-29 Thread aSecondWill
Hi Hector, Thanks. The issue i was facing was that both forms where throwing validation errors if they both had code in the same action to proccess them. Have you used this technique for two forms within the same action? Will -- View this message in context: http://www.nabble.com/Seperate-a

Re: [fw-general] Seperate action to proccess a form

2009-07-29 Thread aSecondWill
functionality can be found > inside protected _doSomeKindOfWOrk() methods that several actions can > call out to (this is probably the most ideal solution). You can have > different protected methods for different forms you need to process. > > hope that helps! > -ralph > > a

Re: [fw-general] Seperate action to proccess a form

2009-07-26 Thread aSecondWill
n a page? seems like i must be missing something as this must be something people do all the time. Peter Warnock-2 wrote: > > On Sun, Jul 26, 2009 at 8:36 PM, aSecondWill > wrote: > >> If the form dosn't validate, how do i display the original page, with the >> f

[fw-general] Seperate action to proccess a form

2009-07-26 Thread aSecondWill
Hi, I want to have a seperate action to proccess a form, which i have made by moving the proccess code into a new action, and using ->setAction to make the form submt to it. On successfull proccessing, it redirects to the original page, showing the new comment (or whatever) If the form dosn't v

Re: [fw-general] file decorator not found, while present in latest trunk - gets even stranger

2009-07-26 Thread aSecondWill
can not be rendered > correctly. > > Greetings > Thomas Weidner, I18N Team Leader, Zend Framework > http://www.thomasweidner.com > > - Original Message - > From: "aSecondWill" > To: > Sent: Friday, July 24, 2009 8:51 AM > Subject: Re: [fw-general] file de

Re: [fw-general] file decorator not found, while present in latest trunk - gets even stranger

2009-07-23 Thread aSecondWill
Could someone tell me how to set the viewscript for my file elements now then please? This used to work untill updating the framework: $element->setDecorators(array( array('ViewScript',

[fw-general] Re: Re[fw-general] moving Require_once

2009-06-29 Thread aSecondWill
Thanks! I got that working after a bit of fiddling with spaces etc. It made almost no difference to the page load time, even when applied to my extra application libraries, Doctrine etc. - its taking 600ms to proccess everything.(roughly, varies quite a bit - 1st load of a page a bit slower, posib

[fw-general] Re[fw-general] moving Require_once

2009-06-29 Thread aSecondWill
The instructions given here: http://framework.zend.com/manual/en/performance.classloading.html#performance.classloading.striprequires.sed Don't work in terminal on OSX. Does anyone have an alternative ? Is it possible to make a production ready version of the framework available? one with the

[fw-general] Viewscript for MultiCheckbox

2009-06-10 Thread aSecondWill
Hi, Im having trouble displaying a checkbox element with a custom viewscript, what would the default viewscript for these elements look like. atm, i have this in the form: $el = new Zend_Form_Element_MultiCheckbox('userSpecialization'); $el->setLabel('Specialisation:'); $

[fw-general] Populate Zend_Form_Element_Multiselect

2009-01-19 Thread aSecondWill
Can anyone tell me what i pass to $form->populate($articleArray); to populate a Zend_Form_Element_Multiselect in my form if the element is called 'module' ? Ive tried adding $modules= array('0' => 4, '1'=>3); $articleArray['module'] = $modules; but the items with values 4 and 3 don't get s

[fw-general] Jquery AjaxLink HTML validation

2009-01-12 Thread aSecondWill
in the class ZendX_JQuery_View_Helper_AjaxLink around line 282 there is some code like this: $html = '_htmlAttribs($attribs) // . $this->getClosingBracket() . '>' . $label . ' '; I've had to comment out the line getting the closing bracket

Re: [fw-general] Zendx Jquery Datepicker custom viewscript

2008-11-27 Thread aSecondWill
aSecondWill wrote: > > Ill try and find a different way to wrap it with a div. > OK, seem to be a bit cleverer this morning. informed by mats post : http://www.nabble.com/addDecorator-and-dijit-element-td19860515.html mats post i did this: $dateEventEnd->addDecorator(ar

Re: [fw-general] Zendx Jquery Datepicker custom viewscript

2008-11-27 Thread aSecondWill
OK, Thanks Benjamin. Ill try and find a different way to wrap it with a div. I wanted to use the phtml because it is just a bit more obvious whats going on than passing arrays of arrays of decorators. Like you say, this isn't really a datepicker issue, its a form element layout issue. beberl

Re: [fw-general] Zendx Jquery Datepicker custom viewscript

2008-11-26 Thread aSecondWill
hmm, ok. thanks. so can't i specify a phtml file to manage the layout with that? beberlei wrote: > > datepicker needs the UiWidgetElement Decorator, NOT the ViewHelper > decorator. > > -- View this message in context: http://www.nabble.com/Zendx-Jquery-Datepicker--custom-viewscript-tp207

[fw-general] Zendx Jquery Datepicker custom viewscript

2008-11-26 Thread aSecondWill
Hi, I had a jquery datepicker working with my options set like this: $time_event_end = new ZendX_JQuery_Form_Element_DatePicker( 'time_event_end', array('jQueryParams' => array( 'showOn' => "both" , 'buttonImage' => "/images/jquery/calendar.gif", 'dateFor

Re: [fw-general] FCKEditor and Zend_Form integration

2008-11-24 Thread aSecondWill
Thanks for your help guys, i got it working just using the jquery (using the new 1.7 zendx jquery) to change all textarea's with class wysiwyg to fckeditor boxes, as sugested. Didn't use the plugin. easy peasy once pointed the right way. ta. -- View this message in context: http://www.nabble.

RE: [fw-general] FCKEditor and Zend_Form integration

2008-11-20 Thread aSecondWill
These view helpers are great, thanks. Is it possible to apply them to form elements within your form classes , eg Forms_Cms extends Zend_Form so that zend_form populate and validate still works, but with the fckEditor functionality too? Will gammamatrix wrote: > > I created a view helper a

Re: [fw-general] Zend_Acl & MVC Integration is ready for review

2008-10-16 Thread aSecondWill
Aldemar Bernal-3 wrote: > > I just finished the work in this component, comments about it are welcome. > http://framework.zend.com/wiki/pages/viewpage.action?pageId=39025 > Hi Aldemar, thanks for this. Ive implemented this in my application, but am having problems with it using modules. do