Re: [fw-general] Simple Google Docs code

2009-02-04 Thread Phoenix Kiula
On Wed, Feb 4, 2009 at 3:36 PM, A.J. Brown fynw...@gmail.com wrote: ...snip... Thanks AJ, for the patience. I have ZF installed, and I think, working. I borrowed from the GData spreadsheets code, saved it as a *.php file, and would now like to test out logging into Gmail. The sample code

Re: [fw-general] Zend_File_Transfer_Adapter_Http() Rename Filter issue

2009-02-04 Thread Thomas Weidner
See at http://www.thomasweidner.com examplecode. Editing the $_FILES array can lead to an attacker exception. I would not do this as it's unsecure. Related to your second example: You should set the options like described in the manual: $upload-addFilter('Rename', array('target' = 'image_'

Re: [fw-general] One set of view scripts for many controllers. How?

2009-02-04 Thread Jaka Jančar
In init() of the abstract CrudController: $this-_helper-viewRenderer-setViewBasePathSpec(Bootstrap:: $root.'/application/views'); $this-_helper-viewRenderer- setViewScriptPathSpec('crud/:action.:suffix'); $this-_helper-viewRenderer-initView(); This will work, but the problem is that

[fw-general] Tabbed Dojo Interface

2009-02-04 Thread HenryG
Hi everyone, I'm just starting out with Zend and Dojo and I have a quick question which I hope you can answer. I have built a tabbed dojo interface and some of the tabs contain dojo forms. I have a view helper which validates the dojo form onsubmit. The helper adds some javascript to head which

[fw-general] phpunit : [no default module defined] in unittest in second testcase

2009-02-04 Thread donbosco
Hello, i have tried setting up a unit test with zend framework. The project has been created by zend studio and also the tests. So the whole project structure is a very standard setup. The Problem Ive first created a very simple test case which should dispatch to a given controller and action

Re: [fw-general] [ZF-5660] Zend_Config_Xml: improved inheritance

2009-02-04 Thread Jan Pieper
Yesterday I startet to try to cover all Zend_Config tests to avoid changes between the current state of Zend_Config_Xml and my changes. There are few tricky differences between them. After all tests are covered by my changes I´ll write a comment to my issue ZF-5660. -- Jan

[fw-general] Problemas with ZendX_JQuery Datepicker - CSS and autocomplete

2009-02-04 Thread wesleywillians
Hi folks, I am doing many experiences with Datepicker. Its working fine, but the CSS is been applying. I have downloaded a theme in ui.jquery.com and i call this: link rel=stylesheet type=text/css href=/styles/theme/ui.all.css / All efects which I am expecting dont appear. Any Idea? About the

[fw-general] Re: Generate PDF, DOCX, DOC and RTF with ZF

2009-02-04 Thread Jonathan Maron
Hello all Thank you all for your feedback, both on and off list and in the ZF Wiki. As far as I can see, I have implemented all requested changes and updated the Proposal page: http://framework.zend.com/wiki/display/ZFPROP/Zend_Service_LiveDocx A surprising number of people have asked whether

Re: [fw-general] Questions related to the ZFW QuickStart Guide

2009-02-04 Thread till
On Tue, Feb 3, 2009 at 5:59 PM, A.J. Brown fynw...@gmail.com wrote: On Mon, Feb 2, 2009 at 9:50 PM, till klimp...@gmail.com wrote: 2. The example app use Zend_Config_Ini to read ini file every request, will it be slow in real apps? (since parsing take time) Yes, but keep in mind that you

Re: [fw-general] Problemas with ZendX_JQuery Datepicker - CSS and autocomplete

2009-02-04 Thread Benjamin Eberlei
Hello Wesley, for me the CSS works correctly when downloading a theme. Are you sure, that you that the CSS is correctly included and the css theme versions of DatePicker and the UI JS DatePicker match? is there an error in the theme maybe that the DatePicker related nodes are missing? On the

Re: [fw-general] Problemas with ZendX_JQuery Datepicker - CSS and autocomplete

2009-02-04 Thread wesleywillians
Yep. I saw the source and pasted the css file path. Its Ok. I am sure. But no effects, colors, etc. I am using in my view a sample of zend docs: ?=$this-datePicker(startDate,'',array('defaultDate' = '+7','minDate' = '+7'));? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN

Re: [fw-general] Problemas with ZendX_JQuery Datepicker - CSS and autocomplete

2009-02-04 Thread Benjamin Eberlei
Hey, from the paste it seems your link to the stylesheet is missing a dot in the zf.schoolof.net part. On Wednesday 04 February 2009 16:34:10 wesleywillians wrote: Yep. I saw the source and pasted the css file path. Its Ok. I am sure. But no effects, colors, etc. I am using in my view a

Re: [fw-general] Problemas with ZendX_JQuery Datepicker - CSS and autocomplete

2009-02-04 Thread wesleywillians
Nope, I setup a virtualhost and /etc/hosts, so I work with: zf.schoolofnet beberlei wrote: Hey, from the paste it seems your link to the stylesheet is missing a dot in the zf.schoolof.net part. On Wednesday 04 February 2009 16:34:10 wesleywillians wrote: Yep. I saw the source

[fw-general] How to display validator specific error message in Zend_Form?

2009-02-04 Thread Deepak Shrestha
Hi, I have text element in the form with two validators +--- $mytext= New Zend_Form_Element_Text('mytext'); $mytext-setLabel('Enter Text:'); $mytext-setAttrib('size', '40'); $mytext-setRequired(true);

Re: [fw-general] Re: Generate PDF, DOCX, DOC and RTF with ZF

2009-02-04 Thread Francisco Azevedo
Hi Jonathan Is it possible to assign html code to a variable? Something like this: $phpLiveDocx-assign('mytext', 'This is bbold/b, this is new br / line and this is a image img src=...'); regards Francisco A

[fw-general] Zend Framework Routing

2009-02-04 Thread dbroderick
using ZF 1.7.3 and module/controller/action configuration The current default routing behavior in Zend Framework is as stated in the documentation: 10.5.4. Default routes Zend_Controller_Router_Rewrite comes preconfigured with a default route, which will match URIs in the shape of

Re: [fw-general] Tabbed Dojo Interface

2009-02-04 Thread Matthew Weier O'Phinney
-- HenryG henry.god...@tanist.co.uk wrote (on Wednesday, 04 February 2009, 04:05 AM -0800): I'm just starting out with Zend and Dojo and I have a quick question which I hope you can answer. I have built a tabbed dojo interface and some of the tabs contain dojo forms. I have a view helper

Re: [fw-general] Zend Framework 1.7.4 is now available!

2009-02-04 Thread swilhelm
Wil's post had an unfortunately line break. Issues list can be found http://framework.zend.com/issues/secure/IssueNavigator.jspa?requestId=10944 here (login required). wllm wrote: Hi all, It is my pleasure to announce the release of Zend Framework 1.7.4! You can download this new

[fw-general] Re: Zend Framework 1.7.4 is now available!

2009-02-04 Thread Colin Guthrie
'Twas brillig, and swilhelm at 04/02/09 17:30 did gyre and gimble: Wil's post had an unfortunately line break. Issues list can be found http://framework.zend.com/issues/secure/IssueNavigator.jspa?requestId=10944 here (login required). X-MimeOLE: Produced By Microsoft Exchange V6.5 It's a

RE: [fw-general] Re: Zend Framework 1.7.4 is now available!

2009-02-04 Thread Wil Sinclair
I've been wondering what the problem was there. I've spent some time in the past trying to get the filter link to stay all on one line with no success. Is there anything I can do in Outlook or any other web client to make this happen, or is it strictly an Exchange thing. Maybe I can send it out

Re: [fw-general] Re: Zend Framework 1.7.4 is now available!

2009-02-04 Thread Jason Webster
Wrapping a url in angle brackets is almost always a good bet. I've never seen that fail. On 04/02/2009 10:27 AM, Wil Sinclair wrote: I've been wondering what the problem was there. I've spent some time in the past trying to get the filter link to stay all on one line with no success. Is

Re: [fw-general] Problemas with ZendX_JQuery Datepicker - CSS and autocomplete

2009-02-04 Thread Simon Corless
When did you download the theme? The version of jQuery UI (1.5.2) you are using from the CDN (Google) http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.2/jquery-ui.min.js;, I don't believe supports the new themes you can download from the theme roller today. You need to download jQuery UI 1.6

Re: [fw-general] How to display validator specific error message in Zend_Form?

2009-02-04 Thread A.J. Brown
Hi Deepak, On Wed, Feb 4, 2009 at 8:57 AM, Deepak Shrestha d88...@gmail.com wrote: What I actually wanted to do is: * Empty string will be checked first and shown error message ignoring other validators. So if the string is empty show the error

[fw-general] Zend_Form decorators: adding a css class to a fieldset ?

2009-02-04 Thread gerardroche
Hi, I'm wondering could somebody help with this, in reference to Zend_Form and decorators. Basically I'm trying to add a css class to a fieldset element. My forms are created like Pádraic Bradys in his blog application tutorial,

Re: [fw-general] Zend Framework Routing

2009-02-04 Thread Chris Weldon
David, I think you need to disavow the assumptions in terms of how things are routed and write your own routes for things you need. This will help reduce confusion on how to specify requests from the URL. Documentation on how to do this can be found on the same page:

Re: [fw-general] Zend_Form decorators: adding a css class to a fieldset ?

2009-02-04 Thread Matthew Weier O'Phinney
-- gerardroche bullfrogbl...@live.com wrote (on Wednesday, 04 February 2009, 01:00 PM -0800): Hi, I'm wondering could somebody help with this, in reference to Zend_Form and decorators. Basically I'm trying to add a css class to a fieldset element. My forms are created like Pádraic Bradys

Re: [fw-general] Zend Framework Routing

2009-02-04 Thread dbroderick
Chris, These are not assumptions. This is my understanding after spending the last two days reading the Zend documentation (and every post I could find on the subject). Maybe I am still new enough to Zend not to be able to grasp the routing concepts or maybe they just don't make sense to

[fw-general] Unable to show latin characters using zend framework

2009-02-04 Thread prado
I am unable to display latin charcaters like é or even characters like ' . The output is shown as � instead I have tried to Google the solution but unable to find any, a bit frustrated as i can't go further until i resolve this. Any help would be greatly appreciated. I am a newbie to Zend

Re: [fw-general] Zend_Form decorators: adding a css class to a fieldset ?

2009-02-04 Thread gerardroche
Try changing the above to this: protected $_buttonGroupDecorator = array( 'FormElements', array('HtmlTag', array('tag' = 'ul')), array('Fieldset', array('class' = 'elements-group')), ); There is a fieldset decorator already, and you can

Re: [fw-general] Unable to show latin characters using zend framework

2009-02-04 Thread Jason Webster
This sounds like classic content encoding type mismatch. Try explicitly setting the appropriate info in your layout using something along the lines of (set charset to whatever you are using, most likely ISO-8859-1: meta http-equiv=Content-Type content=text/html;charset=utf-8 / in your head.

Re: [fw-general] Unable to show latin characters using zend framework

2009-02-04 Thread prado
Thanks, i should have mentioned this before, i did try meta http-equiv=Content-Type content=text/html;charset=utf-8 / didn't work. What is surprising that these characters work fine with normal PHP scripting, procedural or OOPs style. This problem only propped up when i started using Zend

Re: [fw-general] Unable to show latin characters using zend framework

2009-02-04 Thread Jordan Moore
Try setting Zend_View's encoding to UTF-8. http://framework.zend.com/manual/en/zend.view.html#zend.view.introduction.options On Wed, Feb 4, 2009 at 2:31 PM, prado prados...@hotmail.com wrote: Thanks, i should have mentioned this before, i did try meta http-equiv=Content-Type

Re: [fw-general] Unable to show latin characters using zend framework

2009-02-04 Thread Jason Webster
Yes, but did you try: meta http-equiv=Content-Type content=text/html;charset=iso-8859-1 / ?? On 04/02/2009 2:31 PM, prado wrote: Thanks, i should have mentioned this before, i did try meta http-equiv=Content-Type content=text/html;charset=utf-8 / didn't work. What is surprising that these

Re: [fw-general] Unable to show latin characters using zend framework

2009-02-04 Thread prado
yes! i did same result! -- View this message in context: http://www.nabble.com/Unable-to-show-latin-characters-using-zend-framework-tp21840418p21841733.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Unable to show latin characters using zend framework

2009-02-04 Thread prado
My guess was maybe the escape function is causing those characters to display incorrectly, then i tried without the escape, still � appears for characters like é but this time it didn't happen for ', then i changed é to eacute; in the data, it displayed correctly. Now this is all without the

Re: [fw-general] Unable to show latin characters using zend framework

2009-02-04 Thread prado
My message below might sound confusing where it says to eacute; and into to eacute; on the last line, bcos the forum is encoding, it should say something like ampersand-eacute-; i hope you got that right. cheers prado wrote: My guess was maybe the escape function is causing those

[fw-general] New filter?

2009-02-04 Thread Michał Zieliński
Sometimes you`d like to present the file size in a more friendlier way than 1B. Is not that it is hard to write such view helper or filter to do so but I see that Zend_Validator_Size already do something like this. protected function _toByteString($size) { $sizes =

Re: [fw-general] New filter?

2009-02-04 Thread A.J. Brown
Zend_Measure_Binary will already do the heavy lifting for you. http://framework.zend.com/manual/en/zend.measure.types.html#zend.measure.types.binary On Wed, Feb 4, 2009 at 5:45 PM, Michał Zieliński zie...@gmail.com wrote: Sometimes you`d like to present the file size in a more friendlier way

[fw-general] Zend_Form Decorator on File element

2009-02-04 Thread Paul Reinheimer
Hi All, I've got a form, with a few elements, some, like text boxes work fine $this-addElement('text', 'comments', array( 'label' = 'Comments', 'description' = 'What did you do to the image? What tools did you use?', 'required' = true,

Re: [fw-general] Zend_File_Transfer_Adapter_Http() Rename Filter issue

2009-02-04 Thread Ehask71
Thx Thomas I didnt see the 'target' array key?? The only example I saw that mentioned it was for changing destination. I guess you get to a point when trying so many examples you start losing site LOL Eric -- View this message in context:

Re: [fw-general] How to display validator specific error message in Zend_Form?

2009-02-04 Thread Deepak Shrestha
What I actually wanted to do is: * Empty string will be checked first and shown error message ignoring other validators. So if the string is empty show the error message for empty string validator and exit from validator chain ignoring other validators

Re: [fw-general] Re: Generate PDF, DOCX, DOC and RTF with ZF

2009-02-04 Thread Jonathan Maron
Hello Francisco I can also imagine a lot of applications in which it would be useful to assign formatted text to a variable. This will be possible in a future version of phpLiveDocx. It will be possible to not only specify HTML text, but also blobs of DOC, DOCX or any other supported format. As