Re: generatelist and Formhelper::Select

2007-08-09 Thread libfree

Will do, thanks!!


On Aug 9, 11:16 am, rtconner <[EMAIL PROTECTED]> wrote:
> Yes you can do it with generateList. Just use the conditions array
> wisely. Depending on the database setup you are using you can include
> the keyword distinct in your conditions. I forget the details. You'll
> have to do a search.
>
> On Aug 8, 2:27 pm, libfree <[EMAIL PROTECTED]> wrote:
>
> > Hi all, I'm new to cake but have been playing with php for a while. I
> > am using Ajax to create a set of select boxes that will create a
> > simple search.  When you select the value in one it will decrease the
> > number of options to select from in the following boxes until it
> > finally displays the narrow list.  I am wondering if there is a way
> > for me to use Generatelist to return only unique values.  I have a
> > table of available items and when I populate the Brand I don't want to
> > have duplicates.  Do I need to do this manually with a custom query?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: RequestHandler not found?

2007-08-09 Thread libfree


That's the worst part about it.  The file is present at cake/libs/
controller/component/request_handler.php .  I have tried copying it to
app/controller/components as well.  I downloaded the framework again
this morning and replaced the cake folder.  I am still getting the
same errors.


On Aug 9, 2:43 am, metasan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The problem seems to be with your framework installation.
> You can check if the file is still present at "cake/libs/controller/
> components/request_handler.php.
> In the worst case you will have to update the framework.
>
> Let me know the issue.
>
> metasan.http://www.pieg.nethttp://www.piegteam.com





--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



RequestHandler not found?

2007-08-08 Thread libfree

I am getting the following error

You are seeing this error because the component class
RequestHandlerComponent you have set in SalesController can't be found
or doesn't exist.


I feel like I have to be making a huge mistake somewhere because I
can't find anyone else that has this problem.  This happens to any
controller that I add the "var $components =
array('RequestHandler');"  Anybody got an idea?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



generatelist and Formhelper::Select

2007-08-08 Thread libfree

Hi all, I'm new to cake but have been playing with php for a while. I
am using Ajax to create a set of select boxes that will create a
simple search.  When you select the value in one it will decrease the
number of options to select from in the following boxes until it
finally displays the narrow list.  I am wondering if there is a way
for me to use Generatelist to return only unique values.  I have a
table of available items and when I populate the Brand I don't want to
have duplicates.  Do I need to do this manually with a custom query?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---