[fw-general] Dijit container example ?

2008-11-26 Thread Superbiji »
Hi All.. i've been trying zf 1.7 and add accordionContainer but without success. please can anyone give me full examples? can't find it in manual yet. in my action: function dojoformAction() { Zend_Dojo::enableView($this-view); } view: ?=

Re: [fw-general] Cannot consume SOAP Service

2008-11-26 Thread Jan Pieper
We got it working (for java) :-) We created a wsdl definition with java and compared it with wsdl definition created by Zend_Soap_AutoDiscover and modified all differences in Zend_Soap components until we got it working. Java seems to have a problem with following element: part

[fw-general] Need help regarding url rewrite for zend framework

2008-11-26 Thread amar4kintu
Hello all, I need some more help. Following is my httpd.conf file. === ## httpd.conf -- Apache HTTP server configuration file ## # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the

Re: [fw-general] Validating JQuery forms via AJAX

2008-11-26 Thread Benjamin Eberlei
Hello Manuel, there is currently no way to validate your form via ajax unless you implement that yourself. I might implement that someday, but the form plugin is not part of jQuery or jQuery UI, so I havent integrated that yet. best regards, Benjamin On Wed, 26 Nov 2008 02:58:18 -0800 (PST),

[fw-general] Validating JQuery forms via AJAX

2008-11-26 Thread manuelpedrera
Hi, I've created a ZendX_JQuery_Form which has some fields with validators. The submit's click event is linked to a javascript function, where I want to check if the input entered is valid or not. When I did this using dojo forms, it was easy through form.isValid(), but I can't figure the way

[fw-general] When the new API PDF will be available

2008-11-26 Thread Martin Klobusnik
Hello, I was just wondering when the new PDF for 1.7.0 API version will become available for download. Thanks Martin

RE: [fw-general] Validating JQuery forms via AJAX

2008-11-26 Thread Xavier Vidal
I have an inherited form class from Zend_Form that can validate Ajax forms and render the error messages using JQuery, if someone is interested, i can share my code and we can promote it to ZF. -Mensaje original- De: Benjamin Eberlei [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 26

Re: [fw-general] Validating JQuery forms via AJAX

2008-11-26 Thread Benjamin Eberlei
Hello, you could open up an Enhancement/Feature issue in Jira for me (http://framework.zend.com/issues) and attach the changes. I can review and test them, and we could then think about how to integrate them into ZF. I am very interested to contribute an ajax validation, it should be very robust

[fw-general] Zend_Cache Dojo FilteringSelect

2008-11-26 Thread Brett Scott
Hi Guys, I'm trying to work out the best way to implement caching in my application. I've based my cache setup on Matthew's PasteBin application http://github.com/weierophinney/pastebin/tree/master http://github.com/weierophinney/pastebin/tree/master (which is a great ZF example). What I'd

RE: [fw-general] Validating JQuery forms via AJAX

2008-11-26 Thread Xavier Vidal
Ok, the idea is not complicated, thought. This is the inheritance diagram: Zend_Form -- My_Ajax_Form Zend_Form_Element -- My_Ajax_Form_Element Zend_Form_Element_Text -- My_Ajax_Form_Element_Text ... Zend_View_Helper_FormCheckbox -- My_View_Helper_FormCheckbox Zend_Ajax_Form has some extra

Re: [fw-general] Zend_Cache Dojo FilteringSelect

2008-11-26 Thread Matthew Weier O'Phinney
-- Brett Scott [EMAIL PROTECTED] wrote (on Wednesday, 26 November 2008, 12:14 PM -): I'm trying to work out the best way to implement caching in my application. I've based my cache setup on Matthew's PasteBin application http://github.com/ weierophinney/pastebin/tree/master (which is a

Re: [fw-general] Dijit container example ?

2008-11-26 Thread Matthew Weier O'Phinney
-- Superbiji » [EMAIL PROTECTED] wrote (on Wednesday, 26 November 2008, 04:21 PM +0700): Hi All.. i've been trying zf 1.7 and add accordionContainer but without success. please can anyone give me full examples? can't find it in manual yet. in my action: function dojoformAction()

RE: [fw-general] Validating JQuery forms via AJAX

2008-11-26 Thread Xavier Vidal
You can see a very tiny example here (in spanish, ehem…): http://www.citiers.com/en The server is validating the received data using common validators and filters, but the response is managed with an Ajax class that writes Jquery code and get’s executed in the client (with Ajax’s Jquery

Re: [fw-general] When the new API PDF will be available

2008-11-26 Thread Matthew Weier O'Phinney
-- Martin Klobusnik [EMAIL PROTECTED] wrote (on Wednesday, 26 November 2008, 02:24 PM -): I was just wondering when the new PDF for 1.7.0 API version will become available for download. To my knowledge, we've never offered the API documentation as a PDF -- the manual, yes, but not the API

[fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread vladimirn
I would like to figure this out: On my index.phtml page is a link: --- index.phtml ?=$this-jQuery ();? ?=$this-ajaxLink( Home, /admin/index/hello,

[fw-general] Really slow using DOJO features...

2008-11-26 Thread Php (Absolom)
Hi! I am using Dojo with sevarals input form, and before the view appear, it can take 5 seconds, even in local... When I desactivate Dojo, it really quick. When online, Any idea on how I could improve performance ? Here is my code : AdminController.php : public function

Re: [fw-general] Dijit container example ?

2008-11-26 Thread Jason Webster
Conversely, simply move your head tags, etc, into a layout (it looks as if they're in your view script from your snippets). The layout is rendered after the views, so everything should fire in the correct order. Matthew Weier O'Phinney wrote: -- Superbiji » [EMAIL PROTECTED] wrote (on

Re: [fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread Benjamin Eberlei
You have to give dataType = html as additoinal parameter to the options, because for security by default ajax responses are handled as text. On Wed, 26 Nov 2008 08:07:39 -0800 (PST), vladimirn [EMAIL PROTECTED] wrote: I would like to figure this out: On my index.phtml page is a link:

Re: [fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread vladimirn
THank you for your quick reply. Can you show me how to this, or point me somewhere where i can learn that please? And where to add that? array('update' = '#contentJ', 'noscript' = false, 'method' = 'POST', 'dataType'='html' ) Like that? beberlei wrote: You

Re: [fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread vladimirn
Well, i added dataType to all 3 links, but no changes at all vladimirn wrote: THank you for your quick reply. Can you show me how to this, or point me somewhere where i can learn that please? And where to add that? array('update' = '#contentJ', 'noscript' = false,

[fw-general] View Helper Repository?

2008-11-26 Thread Justin Plock
Does anyone know if there is some sort of site which is collecting useful view helpers to use? Might be a good idea. In any case, here is a view helper I use to convert a UNIX timestamp stored as UTC to a user-defined timezone and locale: class My_View_Helper_FormatDate extends

Re: [fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread Benjamin Eberlei
Hello, i have looked at the issue again, and what you try to achieve is not really possible. Because ajaxLink generally creates jQuery javascript and attaches it to the jQuery stack which you render with ?= $this-jQuery(); ? in your view. Wenn you call the ajax content and return new links

Re: [fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread vladimirn
I went thru http://framework.zend.com/manual/en/zendx.jquery.view.html#zendx.jquery.view.helpers.ajaxlink and it says that dataType = html is default. However, i explicitly gave this to my ajaxLink and still wont work. I tried to change to dataType=text and i am getting code of my hello.phtml

Re: [fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread vladimirn
Thank you for reply. I tried to set up like this, but still wont work. I think that would be big deal to make such thing to work, so one can use ajaxLink inside container requested by another ajaxLInk. Is there anything else i can try? i would not like to abandon this, cause i think its a great

Re: [fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread vladimirn
Just to add this: i looked at source after clicked on first ajaxLink and i have this: # [ Edit ]nbsp; # [ Delete ] Somehow, [ Edit ] is out of a href tags.. -- View this message in context: http://www.nabble.com/jQuery-Ajax-link-inside-container--how-to-make-this--tp20703903p20705645.html

Re: [fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread Benjamin Eberlei
you should probably generalize your jQuery link by writing that on your own. This way you can supply the needed jQuery code already in your main view. I cannot come up with another idea how that would work with the ajaxLink helper. Sorry :-) On Wednesday 26 November 2008 18:34:15 vladimirn

Re: [fw-general] jQuery Ajax link inside container- how to make this?

2008-11-26 Thread vladimirn
Thanks. Can u just tell me why Edit and Delete are not inside a href in hello.phtml? It wont allow me to post how link looks like so i will improvize: href=# id=delete onclick=$.post('/admin/index/hello', {}, function(data, textStatus) { $('#contentJ').html(data); }, 'html');return false;

Re: [fw-general] Really slow using DOJO features...

2008-11-26 Thread Matthew Weier O'Phinney
-- Php (Absolom) [EMAIL PROTECTED] wrote (on Wednesday, 26 November 2008, 05:08 PM +0100): I am using Dojo with sevarals input form, and before the view appear, it can take 5 seconds, even in local... When I desactivate Dojo, it really quick. When online, Any idea on how I could

[fw-general] Zend_Session and rememberMe();

2008-11-26 Thread Tim Nagel
Hello, I am trying to set sessions to be remembered for 2 weeks. I have set remember_me_seconds to 1209600. I call Zend_Session::rememberMe() once the user is authenticated. Works great. The problem occurs that the cookie expiry time is never updated after this point and will expire in 2 weeks

Re: [fw-general] Zend_Session and rememberMe();

2008-11-26 Thread Kevin McArthur
You just need to call setExpirationSeconds again. Tim Nagel wrote: Hello, I am trying to set sessions to be remembered for 2 weeks. I have set remember_me_seconds to 1209600. I call Zend_Session::rememberMe() once the user is authenticated. Works great. The problem occurs that the

[fw-general] Url rewrite problem for index controller

2008-11-26 Thread amar4kintu
I have my site in /certilogo/ folder Following is my .htaccess file == Options +FollowSymLinks RewriteEngine on RewriteBase /certilogo/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond

[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, 'dateFormat' =

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

2008-11-26 Thread Benjamin Eberlei
datepicker needs the UiWidgetElement Decorator, NOT the ViewHelper decorator. On Thursday 27 November 2008 07:03:25 aSecondWill wrote: Hi, I had a jquery datepicker working with my options set like this: $time_event_end = new ZendX_JQuery_Form_Element_DatePicker(

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:

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

2008-11-26 Thread Benjamin Eberlei
i dont know about the layout and phtml file, this is not a topic of the datepicker. what i said is, you have to change your setDecorators call to: $time_event_end-setDecorators(array(array('UiWidgetElement', array(       'viewScript' = '_element.phtml',       'id'      =

[fw-general] SPAM + Zend Filter

2008-11-26 Thread dele454
Hi I just have a question regarding spam prevention on forms. Does Filtering input with the Zend_Filter_StripTags help remove injection headers and tags that could initiate spam sending? Am using the component at the moment for my forms which strips out any tag elements and was thinking since