[fw-general] Zend_Search_Lucene - RAMDirectory Support

2007-08-06 Thread Adam Ratcliffe
Is there support for RAMDirectories in Zend_Search_Lucene? I would like to load a filesystem-based index as a RAMDirectory to compare performance with searching the index on the filesystem. Cheers Adam PGP.sig Description: This is a digitally signed message part

[fw-general] unsubscrube

2007-08-06 Thread Tamer Higazi

[fw-general] helo

2007-08-06 Thread Script Connector Corporation

[fw-general]

2007-08-06 Thread Script Connector Corporation

[fw-general] CRUD functionality for ZF

2007-08-06 Thread Gunter Sammet
Hello all: I am in the early stages of writing some classes that do some rapid CRUD application development. I'd be interested in comments about my approach and pointers on how to improve. Here the link to the code: http://www.paste2.org/p/5566 (test) -->This is the class that will define the func

Re: [fw-general] Action Helper versus plugin

2007-08-06 Thread Matthew Weier O'Phinney
-- David Koblas <[EMAIL PROTECTED]> wrote (on Monday, 06 August 2007, 08:49 AM -0700): > Ok that's pretty cool, but I'm not sure it quite fits everything. > > Areas where I'm uncertain: > > • Exceptions -- I assume that if one wanted to throw an exception > and have it wrapped in a friendly

Re: [fw-general] sticky form fields

2007-08-06 Thread Alex Netkachov
I'm using Ajax form submits :-) or the Form classes that I created, they contains all logic like this. Sincerely, On 8/6/07, David Mintz <[EMAIL PROTECTED]> wrote: > Let's suppose you want to render a form back at the user with the same > values they just gave you. In something.phtml you might

Re: [fw-general] Action Helper versus plugin

2007-08-06 Thread David Koblas
Ok that's pretty cool, but I'm not sure it quite fits everything. Areas where I'm uncertain: * Exceptions -- I assume that if one wanted to throw an exception and have it wrapped in a friendly manor it's not possible with a helper. It's always possible to wrap the ...Action() i

[fw-general] sticky form fields

2007-08-06 Thread David Mintz
Let's suppose you want to render a form back at the user with the same values they just gave you. In something.phtml you might have formText('email',$this->email, array('size=>40'))?> .. And this In your controller: function somethingAction() { $this->view->assign($this->_request->getParams

Re: [fw-general] how to create a control to use formSelect view helper

2007-08-06 Thread David Mintz
In your view: this->formSelect('mySelect','',null,array(1=>'one',2=>'two',3=>'three')) OR, in the appropriate controller method: $this->view->assign('options',array(1=>'one',2=>'two',3=>'three')); followed by this in your view: this->formSelect('mySelect','',null,this->$options)) FFI: http:/

RE: [fw-general] retrive data from d atabase to combobox

2007-08-06 Thread 하준용
action controller $table = new Table(); $row = $table->find($id)->current(); $color = $row->color; $this->view->colors = array('R' => 'red', 'G' => 'green', 'B' => 'blue'); $this->view->color = $color; action.phtml $this->formSelect('selectColor', $this->color, null, $this->colors);

Re: [fw-general] Action Helper versus plugin

2007-08-06 Thread Matthew Weier O'Phinney
-- David Koblas <[EMAIL PROTECTED]> wrote (on Monday, 06 August 2007, 07:30 AM -0700): > In past projects I've had a whole separate controller pattern for AJAX > returns, where for a response I could return a PHP array and it would be > serialized out as JSON (or XML) depending on the caller's re

Re: [fw-general] Action Helper versus plugin

2007-08-06 Thread David Koblas
I've got a similar query: In past projects I've had a whole separate controller pattern for AJAX returns, where for a response I could return a PHP array and it would be serialized out as JSON (or XML) depending on the caller's requirements. Including appropriate handlers for exceptions retur

Re: [fw-general] Action Helper versus plugin

2007-08-06 Thread Matthew Weier O'Phinney
-- David Mintz <[EMAIL PROTECTED]> wrote (on Monday, 06 August 2007, 09:35 AM -0400): > I am wondering about when it's appropriate to use/write a plugin versus a > controller Action Helper. It would seem that the plugin is more general -- > error handling, or the two-step view thing -- whereas the

[fw-general] Action Helper versus plugin

2007-08-06 Thread David Mintz
Greetings all. I am wondering about when it's appropriate to use/write a plugin versus a controller Action Helper. It would seem that the plugin is more general -- error handling, or the two-step view thing -- whereas the action helper is somewhat more specific. Yes? But if it's something like aut

Re: [fw-general] registering plugins per module/controller

2007-08-06 Thread Matthew Weier O'Phinney
-- Hoopes <[EMAIL PROTECTED]> wrote (on Saturday, 04 August 2007, 03:59 PM -0400): > I'm looking for a way to register plugins for the front controller based > on what module (or controller) i'm being routed to. Basically, i'd like > a subset of controllers throughout my app to all have certain d

[fw-general] how to create a control to use formSelect view helper

2007-08-06 Thread Jijo
HI how to create a control to use formSelect view helper Regards Jijo -- View this message in context: http://www.nabble.com/how-to-create-a-control-to-use-formSelect-view-helper-tf4223908s16154.html#a12015602 Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Sending multiples mails with Zend_Mail

2007-08-06 Thread Nico Edtinger
Hi Elisamuel! You might be interested in this task , which is about replacing or removing headers. But if you intend to replace the whole message it would be easier to create a new instance of Zend_Mail and just reuse the transport. You cou

Re: [fw-general] Zend_Session, object unserialize and open_basedir restriction

2007-08-06 Thread Jack Sleight
Yup, setting include_path = "." in php.ini fixes the problem, and all my sessions are working as well. It would be good to find out what's causing it though. -- View this message in context: http://www.nabble.com/Zend_Session%2C-object-unserialize-and-open_basedir-restriction-tf4223089s16154.htm

Re: [fw-general] Zend_Session, object unserialize and open_basedir restriction

2007-08-06 Thread Jack Sleight
I don't think it's a Zend_Session problem any more. At least, not with regard to where it's storing the session data. It seems that if the include_path contains a path that is outside open_base dir, or even an empty path (i.e. include_path = ".;") it throws this error. It all works if you just

Re: [fw-general] Zend_Session, object unserialize and open_basedir restriction

2007-08-06 Thread Jack Sleight
I've managed to replicate the error on my local windows server. Turns out that the path it throws the error on is the name of the class file, and the *last* path specified in the include_path setting *in php.ini*, ignoring any additional paths added via set_include_path(), that is *outside open

Re: [fw-general] Zend_Session, object unserialize and open_basedir restriction

2007-08-06 Thread Simon Mundy
Perhaps the save path of the session is being affected by safe mode? Can you try passing a 'legal' folder to the 'save_path' directive to Zend_Session to see if that helps fix the problem? http://framework.zend.com/manual/en/zend.session.global_session_management.html#zend.session.global_sess

[fw-general] store values in combobox from controller

2007-08-06 Thread Jijo
hi, I have stored 3 to 4 values in an array in controller and my selectbox is in view/script.Can anybody help me how to retrive the strored values and put them in select box in scripts. Thanks , Jijo Anthony -- View this message in context: http://www.nabble.com/store-values-in-combobox-fr

Re: [fw-general] Zend_Session, object unserialize and open_basedir restriction

2007-08-06 Thread Jack Sleight
OK. I think I've verified that this is a ZF bug. Turns out that the file App/Shop/Basket.php, and the resulting class App_Shop_Basket is being successfully included, as are all the other classes for objects stored in the session. It seems that Zend_Session is throwing an exception when it shouldn'

[fw-general] how to present data retrived from db to combobox(using formSelect() method)

2007-08-06 Thread Rohit83
Hello I am new in ZF.Please anybody help me how to write code using formSelect() method given in Zend Framework's documentation -- View this message in context: http://www.nabble.com/how-to-present-data-retrived-from-db-to-combobox%28using-formSelect%28%29-method%29-tf4223422s16154.html

[fw-general] Zend_Session, object unserialize and open_basedir restriction

2007-08-06 Thread Jack Sleight
Hi, I've just uploaded a site to my server, and I'm getting a weird error. The site has a number of custom classes, in the folder application/library/, and this folder is being added to the include path in the same way the ZF library is. The files in this folder use the same naming rules and s

Re: [fw-general] retrive data from database to combobox

2007-08-06 Thread Alex Netkachov
Hi, Query the database using the Zend_Db classes and then use formSelect view helper to create a control. Sincerely, On 8/6/07, Jijo <[EMAIL PROTECTED]> wrote: > > hi, > > can anybody help me how to store data in select box by retriving it from > database > > regards, > Jijo Anthony > -- > View

[fw-general] retrive data from database to combobox

2007-08-06 Thread Jijo
hi, can anybody help me how to store data in select box by retriving it from database regards, Jijo Anthony -- View this message in context: http://www.nabble.com/retrive-data-from-database-to-combobox-tf4222723s16154.html#a12012296 Sent from the Zend Framework mailing list archive at Nabble.c