On Friday 29 May 2009 06:09:07 Amir Bilal wrote:
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
No he can't
Take a look at : http://zendframework.com/manual/en/zend.view.migration.html
so unless he explicitly specify the lfi protection to false the ../../../
method will not work on 1.8 and it's no recommended anyways.
On Thu, May 28, 2009 at 11:11 PM, Colin Guthrie
'Twas brillig, and Vadim Gabriel at 29/05/09 08:51 did gyre and gimble:
No he can't
Take a look at : http://zendframework.com/manual/en/zend.view.migration.html
so unless he explicitly specify the lfi protection to false the
../../../ method will not work on 1.8 and it's no recommended anyways.
Hi,
If you need to store certain messages across requests then you could use the
FlashMessenger helper. Or write something on your on that mimics it. Another
way is if you don't use Ajax to validate the form but redirect the member to
another page or the same page with the error shown you could
If you mean a link to a packagizer that supports 1.8...there isn't one
available yet. Then you should just use the old way (my way) manually
selecting them.
On Fri, May 29, 2009 at 8:06 AM, mnaveed mnaveed...@hotmail.com wrote:
Thanks for the link, but can anyone give me the link for version
http://framework.zend.com/download/latest#
You will find it under Documentation - Download
On Thu, May 28, 2009 at 11:12 PM, mbneto mbn...@gmail.com wrote:
Hi,
I am looking for the link for the API DOC (download version) for 1.8.2.
Where can I find it?
Thanks.
--
Vincent Gabriel.
Hi,
Not sure if i follow your problem. But why won't you use Dojo? or Jquery
which are included.
On Thu, May 28, 2009 at 11:48 PM, 411161 411...@fedex.com wrote:
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
Hi,
I did not understand where you place the null value in the code above, But
if you do this:
$last_name-setAttrib('disable', null);
this will unset the 'disable' element from the form. It doesn't accept null
values.
On Fri, May 29, 2009 at 1:07 AM, samuel verdier
Hi,
I am pretty sure every ZF developer wondered about the reason why there are
multiple requests made to the MVC when there was only one made by you. The
reason (that the ZF leaders are aware of) is because of the new Apache
rewrite rules.
The old rewrite rules were If it's a resource file
$last_name-setValue('testsamy'); no set the value if the form after
submitting, $last_name = $_POST['last_name'] ($_POST['last_name'] no exist
because last_name is disable) and no testsamy. I want to force this value
because element is disable and when there are errors on the form the element
Hi,
I hope i am understanding you right but if you take a look at
Zend/Form/Element.php
You will find this:
/**
* Set element attribute
*
* @param string $name
* @param mixed $value
* @return Zend_Form_Element
* @throws Zend_Form_Exception for invalid $name
i want just force a value of element after submit.
The problem is setValue no setAttrib :
if i have this :
$last_name-setValue('testsamy');
- I change this value last_name in my interface by testsamy2 and i submit
- i recup testsamy2 but i want recup testsamy because i want to force this
value
HI,
I'm using Zend_Cache to cache all queries from mysql server.
Currently I have about 12.000 cached files and sometimes (1/10) Zend_Cache
takes up to 10 seconds to load the cache.
I'm using file store on a Debian.
is there any way we can speed this up?
10 seconds is a long time to wait
vince. wrote:
$view = new Zend_View();
$view-addScriptPath('/path/to/app/views');
$view-addScriptPath('/path/to/custom/');
P.S BTW i personally use the viewRenderer helper, Makes things easier to
render.
Thanks for the hint. I added this:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
enportugal wrote:
HI,
I'm using Zend_Cache to cache all queries from mysql server.
Currently I have about 12.000 cached files and sometimes (1/10) Zend_Cache
takes up to 10 seconds to load the cache.
I'm using file store on a Debian.
is
This is how i set up my view:
# Set layout and views directories
Zend_Layout::startMvc( MODULE_PATH .'/layouts/scripts' );
# Init views object
$this-view = Zend_Layout::getMvcInstance()-getView();
$this-view-doctype( 'XHTML1_STRICT' );
And besides the manual says that using the file cache is only recommended
when you know you won't have that amount of cached files in the cache
directory. Since in that point the bottleneck will be the cache.
On Fri, May 29, 2009 at 12:37 PM, enportugal bo...@sapo.pt wrote:
HI,
I'm using
Can anyone give me any example on how I could get Zend_Navigation to handle
dynamic entries from a database?
My current idea is to extend Zend_Navigation_Page_Mvc and overload most of
the methods given by Zend_Navigation_Container.
I have a route of /articles/:title and it would be good to
Hi,
What's the problem with retreving the enteries from the DB, Assigning them
into a multi dimensional array and passing it into the zend_nagivation?
On Fri, May 29, 2009 at 1:20 PM, Mary Nicole Hicks
webmas...@marynicolehicks.com wrote:
Can anyone give me any example on how I could get
enportugal wrote:
I'm using Zend_Cache to cache all queries from mysql server.
Be aware that MySql can cache queries (if your setup has this turned on) and
some queries are quicker than a file based cache (I assume your cache is
file based).
enportugal wrote:
Currently I have about
vince. wrote:
Hi,
What's the problem with retrieving the entries from the DB, Assigning them
into a multi dimensional array and passing it into the zend_nagivation?
The problem is that I can not do this for every navigable page on the site
all at once... for every request.
1. Memory
[...]
Currently I have about 12.000 cached files and sometimes (1/10) Zend_Cache
takes up to 10 seconds to load the cache.
if you have more than 1000 cache records, drop your cache and use
hashed_directory_level = 2 as an option for the File backend
Regards
--
Fabien MARTY
Maybe I am a little bit out of the topic,
Has anyone suceed in having hashed_directory_leve different than 0?
In my case, everything works fine when the hashed_directory_level is set to
0 (default).
As soon as I increase the value to 1 or 2 (I have a couple of hundred
thousands articles to be
On Friday 29 May 2009 12:50:09 Mary Nicole Hicks wrote:
What's the problem with retrieving the entries from the DB, Assigning
them into a multi dimensional array and passing it into the
zend_nagivation?
The problem is that I can not do this for every navigable page on the site
all at
Nope... there's no updated API docs for 1.8.2, only for 1.8.1 online, not for
download.
vince. wrote:
http://framework.zend.com/download/latest#
You will find it under Documentation - Download
--
View this message in context:
-- mbneto mbn...@gmail.com wrote
(on Thursday, 28 May 2009, 04:12 PM -0400):
I am looking for the link for the API DOC (download version) for 1.8.2.
Where can I find it?
The download link was missing; I've corrected the situation. You can get
to it from here:
Might using a hidden field do what u want?
On Fri, May 29, 2009 at 12:20 PM, samuel verdier
samuel.verd...@pyxis.orgwrote:
i want just force a value of element after submit.
The problem is setValue no setAttrib :
if i have this :
$last_name-setValue('testsamy');
- I change this value
Yes, in the end I did find Zend_Search_Lucene_Query::getQueryTerms() ;)
Sorry, I've been doing a lot of work in Magento, and its fried my brain
:-(
Matt
Matt Pearson
Internet Solutions Developer
Liz Earle Beauty Co.
From: Matt Pearson
No because i want to display initial value of a disable element after submit
when i have an error.
The hidden element no resolves the problem.
I have a select with a value selected but this select is disable.
when i submit form with a error, i want to redisplay the form and select
element
Op Wednesday 27 May 2009 04:55:54 schreef je:
On 27/05/2009, at 8:05 AM, Jurian Sluiman wrote:
Op Tuesday 26 May 2009 23:31:11 schreef Jonathon Wallen:
Hi Jonathon,
I have a self written content management system. The clients are able
to make
pages anywhere in the navigation structure.
Hi,
I'm trying to reset dt dd decorator for the File Form Element, but I always get
in some error.
What do I have to pass to $fileElement-setDecorators() to reset its decorators?
Thanks
Sergio Rinaudo
_
Più di 100 Emoticon gratis
Hi
I've got a question about this topic. I have a db resource defined in an
array that is passed to Zend_Application.
I don't initialize db in Bootstrap class. When trying to get the resource
inside a controller, $this-getInvokeArg('bootstrap')-getResource('db');
always returns 1. The only way I
Let's say I have a form that has a drop down of two choices. If you pick
choice 1) then the screen should show you another drop down and a text
box. If I pick choice 2) the screen should show 2 additional drop downs
and two text boxes.
I have no problem using either. I ran into some trouble
I am very new to Zend. I have a Books model object that extends
Zend_Db_Table. In my controller, I create a new row like this:
$t = new Books();
$row = $t-createRow();
$row-name = $form-getValue('name');
$row-save();
My table
Hi,
Did you try
$new_id = $t-lastInsertId();
On Fri, May 29, 2009 at 7:24 PM, Jalil F. jalil.feg...@gmail.com wrote:
I am very new to Zend. I have a Books model object that extends
Zend_Db_Table. In my controller, I create a new row like this:
$t = new Books();
I have a form using Zend_Form and want to create several
Zend_Form_Element_Checkbox elements on this form that are created
dynamically.
I like to get an array of all selected Zend_Form_Element_Checkboxes in my
view after the form is posted. Is this possible? If not, what is the best
way to do
Do you want to do it on the client side (JS) or server side?
On Fri, May 29, 2009 at 7:32 PM, Jalil F. jalil.feg...@gmail.com wrote:
I have a form using Zend_Form and want to create several
Zend_Form_Element_Checkbox elements on this form that are created
dynamically.
I like to get an
Hi,
Please reply to the list.
Just use a regular checkbox and in the name specify it as an array
input type='checkbox' name='test[]' value='1' /
input type='checkbox' name='test[]' value='2' /
input type='checkbox' name='test[]' value='3' /
input type='checkbox' name='test[]' value='4' /
Then
vince. wrote:
Do you want to do it on the client side (JS) or server side?
On Fri, May 29, 2009 at 7:32 PM, Jalil F. jalil.feg...@gmail.com wrote:
I have a form using Zend_Form and want to create several
Zend_Form_Element_Checkbox elements on this form that are created
dynamically.
vince. wrote:
Hi,
Please reply to the list.
Just use a regular checkbox and in the name specify it as an array
input type='checkbox' name='test[]' value='1' /
input type='checkbox' name='test[]' value='2' /
input type='checkbox' name='test[]' value='3' /
input type='checkbox'
I wrote a response to a message a few days ago and I have received my
response along with the original message and someone else's response
back at least 20 times. The message subject is 'Server issue or Code?
Domain to ZF module masking...?' Is anyone else getting these? The
original
-- Deanna Bonds deanna.bo...@gpcartel.net wrote
(on Friday, 29 May 2009, 02:44 PM -0500):
I wrote a response to a message a few days ago and I have received my
response along with the original message and someone else's response
back at least 20 times. The message subject is 'Server issue
What is the easiest way to display base64 encoded images from a db in
a partial loop view file. I have been having trouble trying to
figure out how to set its header to read the image.
Any suggestions?
--
Sent from my mobile device
---
Shaun J. Farrell
Washington, DC
Matthew Weier O'Phinney wrote:-
I can't say that I've seen any repeated messages... and they're not
apparently showing up in Nabble. Is it possible it's something on your
mail server?
Don't see them on the mail server, but will rebuild the index of the
mail folder locally to see if that
Is there any way I can use the redirector action helper in an ajax
context?
My problem is I'm using persistent ajax in my application and, on
occasion, need to redirect from one action to another.
When I do this I lose ajax context and the layout is returned. So far
I'm getting around this by
45 matches
Mail list logo