Thanks for the link, but can anyone give me the link for version 1.8? I
tried google but wasn't able to find anything.
vince. wrote:
>
> You mean this one: http://epic.codeutopia.net/pack/library/1.7.5 Though it
> does not have 1.8 yet.
>
> On Thu, May 28, 2009 at 8:53 PM, Daniel Latter
> wr
Hi,
I am fine with both the Zend_Form or plain HTML. But what I am not able to
understand is: How I will be able to validate the form and show proper error
messages and maintain the submitted values in case of invalid entries.
One way that comes to my mind is that, I should validate the form and
I'm having a wierd issue implementing a very simple test of the
ZendX_Console_Process_Unix class. Basically my process instance executes but
it never updates the isRunning property so my monitoring loop never
terminates. More over, its seems that my custom process class looses
references to itself
hello,
I want to set a value to an element after submitting the form.
I need it because one element is disable and when there are errors on the
form the element has a null value.
this code doesn't works, value = null :
class App_Form extends Zend_Form
{
public function init()
{
I am not using Zend_Form, bu if I have to I will. I basically have a page
that is a form. When a user selects certain options from the form more of
the form appears and in some cases part of the form dis-appears. Currently,
I use onChange and just refresh the page. I found a way to integrate
Proto
Hi,
I am looking for the link for the API DOC (download version) for 1.8.2.
Where can I find it?
Thanks.
'Twas brillig, and monk.e.boy at 28/05/09 16:33 did gyre and gimble:
Hey,
In my views I use a common pagination style across all my modules like
this:
paginationControl($this->paginator, 'Sliding',
'../../../views/scripts/partials/pagination.phtml'); ?>
Changing it to this:
/var/www/ZF-apps
You mean this one: http://epic.codeutopia.net/pack/library/1.7.5 Though it
does not have 1.8 yet.
On Thu, May 28, 2009 at 8:53 PM, Daniel Latter wrote:
> Also, if you can search this list I remember a couple of users posting urls
> to sites that will package components for you with all required
Also, if you can search this list I remember a couple of users posting
urls to sites that will package components for you with all required
dependancies. I have link but not to hand, I can post later if you
like, or alternatively google: "zend framework packagizer", you may
find it that way
Yes you can, You will just need to take a look at the dependencies that
component has and make sure you have just those and your good to go.
Take a look at
http://framework.zend.com/manual/en/requirements.html#requirements.dependencies
On Thu, May 28, 2009 at 8:25 PM, lightflowmark
<1...@lightflo
AFAIK, one of the main design constraints in ZF is that any component can be
used outside the MVC paradigm, and that inter-component dependencies are
reduced as far as possible. So I'm certain the answer is 'yes', although
I've personally never used ZF in this plug-in way.
--
View this message
Can i use Zend_From as an independent component in my existing applications
which are not using any MVC modal?
lightflowmark wrote:
>
> Hi,
> Zend_Form should handle all of this for you, with appropriate settings,
> and might be an easier solution for you.
>
> Have you looked at
> http://f
Hey,
this manual article should answer your question about why you don't
get any output:
http://zendframework.com/manual/en/zend.view.migration.html
To use your multi-module pagination style, I'd suggest you use the
solution Vadim posted instead.
Best regards,
Tobias
2009/5/28 monk.e.boy :
>
>
Personally i usually have inside the application directory a few others
directory which are not necessarily modules. I have a helpers directory
which contains of view helpers that used across all modules. If you need to
have a view that will be shared across modules then just create a directory
cal
According to manual and API doc the locale is "automatically detected" when
you omit it at initialisation.
But when you want to use the default fallback locale instead of the locale
which is detected by looking at the clients browser then you should use
Zend_Locale::ZFFEDAULT as locale instead o
Hi,
First you might want to check Matthews blog, He wrote a few posts about
forms and decorators.
http://weierophinney.net
Second, As a ZF developer i hardly use the Zend_Form to generate my forms. I
usually do that myself using HTML. From various reason both performance and
usability. But one th
Hi Everyone,
I need to pass an array of query terms to another object. Is there a way
of doing this other then iterating through each child query object in
the query and gathering each term from it?
It seems like quite an intensive approach to me, but I can't think of
another way to do it.
Hey,
In my views I use a common pagination style across all my modules like
this:
paginationControl($this->paginator, 'Sliding',
'../../../views/scripts/partials/pagination.phtml'); ?>
Changing it to this:
/var/www/ZF-apps/views/scripts/partials/pagination.phtml
does not work - I get a not
Hi All,
I have just started a new project in ZFW, and stuck in a problem.
I have a form [Login Form] which is being displayed at right side of every
single page of front end. I need to know that what is the appropriate method
to make a form using Zend_Form. Will I have to make a plugin or somethi
Something I've toyed around with is using the Zend_Form object as the
"data police" or some other object for handling validation. IMO, the
controller is responsible for dispatching events or messages to other
objects. It should simply know if something is valid or invalid and
where to send
This would be really easy with a action helper (untested, but you get the idea):
class My_Controller_Action_Helper_Bootstrap extends
Zend_Controller_Action_Helper_Abstract
{
public function __get($name) {
return
$this->getActionController()->getInvokeArg('bootstrap')->getResource($nam
Before 1.8 it was possible to something like this:
if (! class_exists($class)) throw new Exception("$class not found");
If the class wasn't loaded, or couldn't be loaded (using autoloader) it
would just return false.
Now in 1.8 it throws a warning include(...): failed to open stream: No
http://weierophinney.net/matthew/archives/200-Using-Zend_Form-in-Your-Models.html
might be helpful
mnaveed wrote:
>
> Hello,
> I normally do all the validations (e.g. valid email, digits only etc) on
> php script when a page is post back to the server, and if all validations
> are passed then e
Op Thursday 28 May 2009 15:37:26 schreef Elia C.:
> Thank you,
>
> let me do the last question:
> how can I "configure the Autoloader to find the namespace MyApp" ?
>
> Thanks All
>
>
> Elia C.
Check the manual for the Autoloader options:
http://framework.zend.com/manual/en/zend.loader.autoloader
Hello,
I am using Zend_Session with Zend_Session_SaveHandler_DbTable.
I need to associate sessions with registered users to prevent account
sharing, so I am storing the userId in the session table.
However, regenerating the session id destroys the userId entry since
Zend_Session calls
session_
Thank you,
let me do the last question:
how can I "configure the Autoloader to find the namespace MyApp" ?
Thanks All
Elia C.
Jurian Sluiman wrote:
>
> Op Thursday 28 May 2009 15:21:45 schreef umpirsky:
>> Is library in include path?
>> How are you finding it, do you use autoload?
>>
>> Re
Op Thursday 28 May 2009 15:21:45 schreef umpirsky:
> Is library in include path?
> How are you finding it, do you use autoload?
>
> Regards,
> Sasa Stamenkovic.
>
> Elia C. wrote:
> > I create Admin folder in library path, moved AdminControllerAction.php in
> > that folder, then
> > I have renamed
Yes, my library is in include_path (otherwise how can I use ZF ?)
I' m using this string in application.ini
includePaths.library = APPLICATION_PATH "/../library"
nothing else.
umpirsky wrote:
>
> Is library in include path?
> How are you finding it, do you use autoload?
>
> Regards,
> Sasa
Is library in include path?
How are you finding it, do you use autoload?
Regards,
Sasa Stamenkovic.
Elia C. wrote:
>
> I create Admin folder in library path, moved AdminControllerAction.php in
> that folder, then
> I have renamed AdminControllerAction class in Admin_AdminControllerAction
> an
Bug filed. Thank you for your assistance.
Jonathan Maron
On Thu, May 28, 2009 at 2:02 PM, Matthew Weier O'Phinney
wrote:
> -- Jonathan Maron wrote
> (on Thursday, 28 May 2009, 01:32 PM +0200):
>> Thank you for your kind reply.
>>
>> > At this point, you can't.
>>
>> I feel the documentation
I create Admin folder in library path, moved AdminControllerAction.php in
that folder, then
I have renamed AdminControllerAction class in Admin_AdminControllerAction
and declare Admin_IndexController extends Admin_AdminControllerAction.
It can NOT found it again!
(I think i have to use Zend_Appl
Hi.
Here is one way to do it. If you have your lib in library folder, for
example My, move it there and rename to My_ AdminControllerAction.
Regards,
Sasa Stamenkovic.
Elia C. wrote:
>
> Hi,
>
> I made a web application with Zend Framework 1.6, now i want to use the
> new Zend Framework 1.8
Hi,
I made a web application with Zend Framework 1.6, now i want to use the new
Zend Framework 1.8, the problem is that in my old application (with modular
directory structure) i have my personal class that extends
Zend_Controller_Action (in the same path of the other controllers), now ZF
1.8 tel
-- Jonathan Maron wrote
(on Thursday, 28 May 2009, 01:32 PM +0200):
> Thank you for your kind reply.
>
> > At this point, you can't.
>
> I feel the documentation is a little misleading in this case:
>
>
>
> 4.2.2. Adding Zend_Application to your application
>
> [...]
>
> For this tutori
-- Steven Szymczak wrote
(on Thursday, 28 May 2009, 12:24 PM +0100):
> Personally, I try very hard to push all the heavy lifting off to models;
> but, after reading the chapter linked, it seems I have to admit I'm
> guilty of using controllers as "data police".
>
> My scenario: the controller
Hello Matthew
Thank you for your kind reply.
> At this point, you can't.
I feel the documentation is a little misleading in this case:
4.2.2. Adding Zend_Application to your application
[...]
For this tutorial, we will use an INI style configuration; you may, of
course, use an XML or PH
Personally, I try very hard to push all the heavy lifting off to models;
but, after reading the chapter linked, it seems I have to admit I'm
guilty of using controllers as "data police".
My scenario: the controller merges some global/local config information
in order to create a database conne
Hello all
When I try to set the default locale in application.xml with the following:
de_DE
Nothing happens: The locale-aware classes are NOT aware of the default locale.
Line 64 of 'library/Zend/Application/Resource/
-- Jonathan Maron wrote
(on Thursday, 28 May 2009, 11:19 AM +0200):
> For a number of reasons, I prefer to store configuration options in
> XML files and not INI files.
>
> In "application.ini", it is possible to specify constants in the values:
>
> [production]
> bootstrap.path = APPLICATION_PA
-- Jurian Sluiman wrote
(on Thursday, 28 May 2009, 09:12 AM +0200):
> Op Wednesday 27 May 2009 21:58:44 schreef Matthew Weier O'Phinney:
> > With the introduction of Zend_Loader_Autoloader in 1.8.0, a number of
> > issues related to autoloading could finally be closed. All cases where
> > Zend_L
SirEdward wrote:
>
> A view helper is able to access the model so long as it is only reading
> from the model. Most MVC diagrams will show this. As long as the view
> helper is only retrieving data from the model and not writing to it then
> this is fine.
>
> So this makes perfect sense in my
Hello all
For a number of reasons, I prefer to store configuration options in
XML files and not INI files.
In "application.ini", it is possible to specify constants in the values:
[production]
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
resources.frontControl
Hi,
The way I did this was by using the domain name as the name of the config
files which held the layout paths for all site specific media and
stylesheets. The code base was common across all sites and controlled via a
single backend administration module that exposed different functionality to
t
On Thursday 28 May 2009 10:23:57 Eugen_cro wrote:
> Jurian Sluiman wrote:
> > Hi Eugen,
> > I have had the same thoughts about this subject. For me, I'd like to have
> > one
> > cms to control multiple websites at the same time, but the implementation
> > is
> > almost the same as yours.
> >
> > Yo
On 27/05/2009, Eugen_cro wrote:
>
>
> Since the code will be practically the same (library and mvc) what would be
> the best option so I don't have to duplicate code over and over again
> (except storage, that will be pain in the ass to update later)..
The way I do it is by having each site with
Hi,
Zend_Form should handle all of this for you, with appropriate settings, and
might be an easier solution for you.
Have you looked at
http://framework.zend.com/manual/en/zend.form.html
?
The quickstart will run you through validation fairly swiftly.
Cheers,
M
mnaveed wrote:
>
> Hello,
>
Hi - I'm interested in this as I'm not happy with my current method for
handling widgets.
How would your widget helper be different to the action() view helper?
Cheers,
Mark
--
View this message in context:
http://www.nabble.com/Widgets-and-why-do-I-need-a-custom-view-helper.-tp23747369p2375
Jurian Sluiman wrote:
>
> Hi Eugen,
> I have had the same thoughts about this subject. For me, I'd like to have
> one
> cms to control multiple websites at the same time, but the implementation
> is
> almost the same as yours.
>
> You need for each different website a different public folder
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
If I understand you right, you are talking about shared libraries. In
that case I would just create an svn repos which get's linked via
svn:externals in all projects which require it. Then everytime you make
fixes to it, they will be updated in all oth
Op Wednesday 27 May 2009 20:48:33 schreef Eugen_cro:
> I have one theoretical question: lets say I have a web application that
> would be used by 10-20-30 different sites (they will all be hosted on same
> server).
> It's still in early stage of development and I don't want to get too far
> ahead o
On Thursday 28 May 2009 02:27:03 Steven Szymczak wrote:
> Why wouldn't you?
If you have access to a DB instance inside your controller, you're more
inclined to use it. :) Which leads to FSUCs. [1]
[1] http://sn.im/ixdgi
> Dalibor Karlović wrote:
> > On Tuesday 26 May 2009 20:40:38 Vladas Diržys
Op Wednesday 27 May 2009 21:58:44 schreef Matthew Weier O'Phinney:
> The Zend Framework team is pleased to announce the immediate
> availability of the 1.8.2 release. This release is the second
> maintenance release in the 1.8 series. Fixes for this release focus on
> Zend_Db and autoloading impro
52 matches
Mail list logo