[fw-general] Zend_Form radio labels

2008-03-26 Thread LinuxJedi
-- View this message in context: http://www.nabble.com/Zend_Form-radio-labels-tp16300158p16300158.html Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] Zend_Form radio label decorators

2008-03-26 Thread LinuxJedi
It appears that radio buttons in Zend_Form don't use the same radio decorators as everything else, so my question is, how do I change the label decorator for a radio button? -- View this message in context: http://www.nabble.com/Zend_Form-radio-label-decorators-tp16300263p16300263.html Sent from

Re: [fw-general] setDefaultModule Bug

2008-03-26 Thread Matthew Weier O'Phinney
-- Arthur M. Kang <[EMAIL PROTECTED]> wrote (on Tuesday, 25 March 2008, 03:41 PM -0700): > Can somebody confirm this or is it me? :-) Everything works fine otherwise, > including the error controller. > > In bootstrap: > $frontController->setDefaultModule('validmodule'); > $frontController->disp

Re: [fw-general] Zend_Filter_Input and Unicode

2008-03-26 Thread Philip G
I've discovered my issue is related to the /u switch. Interestingly enough, the moment I add /u it no longer matches anything, and returns an empty string. I've even added A-z, a-zA-Z, and [:alpha:] to the pattern at different times. If I remove the 'u' (unicode switch) from the pattern, I get the

[fw-general] Zend_Search_Lucene excluding a field from search

2008-03-26 Thread D Strandburg
I'm having an issue with architecture of my index. I would like to create an index with 4 fields: project_id, project_info, contact_name, and contact_info. My main issue is that I only want the project_id to be searchable when I'm removing it from the index, and not when someone is searchin

Re: [fw-general] setDefaultModule Bug

2008-03-26 Thread Arthur M. Kang
Yes. I do have an errorcontroller in the default module. It works fine otherwise. Matthew Weier O'Phinney wrote: -- Arthur M. Kang <[EMAIL PROTECTED]> wrote (on Tuesday, 25 March 2008, 03:41 PM -0700): Can somebody confirm this or is it me? :-) Everything works fine otherwise, includi

[fw-general] custom validators & multiple validators on a field

2008-03-26 Thread David Mintz
For a change-my-password thing I want to validate the "current password" field: not empty, and matching the value currently stored in the database. I have a custom StringEquals validator pretty much stolen from the example in the docs. It compares the submitted value to the one in the db (there's

[fw-general] Zend_Acl getRoles()

2008-03-26 Thread Jeffrey Sambells
Is there a way to retrieve a list of the roles currently registered in a Zend_Acl object? I know there is a hasRole() but what if you want to know what roles are there (the registration occurs elsewhere in the setup of the code)? - Jeff

[fw-general] Re: custom validators & multiple validators on a field

2008-03-26 Thread David Mintz
To continue the conversation with myself: You can't pass an array(new Model_Validator_StringEquals, 'fields'=>array('password','db_password')) like I am trying to do below. So I guess the question is, how do you set multiple validators when one of them (but only one) needs a FIELDS metacommand? O

[fw-general] Zend_Form::addElement and a stupid PHP bug

2008-03-26 Thread Steve Clay
I'm trying the addElement shorthand straight out of the documentation [1] and getting a fatal error. require_once 'Zend/Form.php'; $form = new Zend_Form; $form->addElement('text', 'username', array( 'validators' => array( 'alnum', array('regex', false, '/^[a-z]/i') ),

Re: [fw-general] Zend_Form::addElement and a stupid PHP bug

2008-03-26 Thread Matthew Weier O'Phinney
-- Steve Clay <[EMAIL PROTECTED]> wrote (on Wednesday, 26 March 2008, 04:53 PM -0400): > I'm trying the addElement shorthand straight out of the documentation [1] > and getting a fatal error. > > require_once 'Zend/Form.php'; > > $form = new Zend_Form; > $form->addElement('text', 'username', array

RE: [fw-general] Speeding up Lucene

2008-03-26 Thread dinok
Hi guys, any other experiences with ZSL? I'm currently thinking about this topic for a long time. Because I want to start a new project in a few days and I'm not sure, if I should use ZSL or maybe a simple like search. Are here any people who have some facts (queries a day, number of docs and so

Re: [fw-general] Speeding up Lucene

2008-03-26 Thread Pete Spicer
Well, I'm using Lucene myself for a specialist search project, with several thousand documents at a time. Search performance is good, I'm throwing queries with multiple terms, including range searches and the odd fuzzy search at it and queries are taking very small fractions of a second, even

[fw-general] Zend Framework 1.5.1 is now available!

2008-03-26 Thread Wil Sinclair
Hi all, It is our pleasure to announce the release of Zend Framework 1.5.1! You can download this new mini-release from the ZF download site: http://framework.zend.com/download As the first mini release for the 1.5.0 branch, 1.5.1 has the first shot at addressing any issues with new features rel

[fw-general] Zend_Form and empty action

2008-03-26 Thread Joó Ádám
Hello List, I was browsing my almost-finished-work using Linx a few days ago, and I experienced that my forms doesn't work as expected. After had a closer look, I realised that the problem is that I used empty action attributes in my form elements to avoid unnecessary typing. However, Linx have a

Re: [fw-general] Zend_Form and empty action

2008-03-26 Thread Steve Clay
Joó Ádám wrote: an empty path is a relative path, and an empty relative path means that the requested URL will be the current one minus the part after the last slash. Then the browser is broken. The empty string is a valid relative URI, and indicates no change from the base URI. Just like rel