On Tue, Sep 23, 2008 at 17:28, Matthew Weier O'Phinney <[EMAIL PROTECTED]>
wrote:
> Yes. Use a QueryReadStore for the combo box data store, and do
> pagination on the server side to return smaller data sets. You can see
> an example of this with grids in my pastebin application, which uses the
> t
Hi Matthew,
thanks, well the question aimed at the constructor of Zend_Config (for
PHP arrays) and Zend_Config_Ini or Zend_Config_Xml. Both Ini and Xml
classes take a parameter $section to just take this section out of the
configuration file.
But I did some thinking and I should have done that be
Hey!
I'm trying to upload some files using the Zend_File_Transfer, so I have this
form:
formFile(
"single_file"
);
?>
formFile(
"multiple_files[]"
);
?>
So, multiple_files[] is an array of files, I create every input file using js,
like gmail's attachments, so, in my
(I'm really sorry if this is being sent repeatedly, but I had some
trouble subscribing -- not really sure what the deal was, but I think
I'm here now.)
Hey there all --
I've been trying to understand ZF recently and I am having trouble
wrapping my mind around something. I think it'll be e
Hi,
Using the tabContainer or borderContainer in programmatic way, I do not get
the dojoType values in the divs when the page is generated.
I have seen other posts about rendering the dojo at the end. I think that is
what I do.
I add the containers in the corresponding view script.
And then on the
I asked him today too, waiting for response...
For sure is a portmanteau, but I don't know the meaning...
Thanks!!
2008/9/23 Bill Karwin <[EMAIL PROTECTED]>
>
>
>
> José de Menezes Soares Neto wrote:
> >
> > People, what "blogoscoped" means? What that owner wants to pass?
> >
>
> http://en.wikipe
José de Menezes Soares Neto wrote:
>
> People, what "blogoscoped" means? What that owner wants to pass?
>
http://en.wikipedia.org/wiki/Google_Blogoscoped
"Google Blogoscoped is a blog authored by Philipp Lenssen covering the
search engine company Google since 2003."
You should probably ask P
Jaka Jančar wrote:
>
> Sorry, but these are not at all equivalent.
>
> Simplest example: if both someTable is empty, my query will return all
> rows from the outer table and NULLs for the other two, while yours
> will return nothing.
>
D'ohh! You're right. Nothing to see here, move alo
The CheckBox Component is unusable in this state, i think i'll have a
look into the zend dojo tests to know how to make it work.
Matthew Weier O'Phinney a écrit :
-- Apsy <[EMAIL PROTECTED]> wrote
(on Tuesday, 23 September 2008, 10:55 PM +0200):
I would like to know if for you my code is cor
Sorry to reply twice, I forgot something :)
On 23. Sep 2008, at 23:26, Bill Karwin wrote:
Another option might be to use a derived table in a full subquery
AFAIK, MySQL, which is what I use, will always materialize subqueries
in FROM, which is not something I want.
The hackish solution I'
On 23. Sep 2008, at 23:26, Bill Karwin wrote:
SELECT `outer`.*, `t2`.*, `t1`.*
FROM `firstTable` AS `outer`
LEFT JOIN `someOtherTable` AS `t2` ON t2.foo = `outer`.foo
INNER JOIN `someTable` AS `t1` ON t1.id = t2.id
This works like the parenthesized join you showed, because t1.id =
t2.id is
no
No, i've reported it on irc, but i don't know if i'm doing something
wrong or not...
And the bug in the tracker (
http://framework.zend.com/issues/browse/ZF-4274 ) is different from my
issue i think.
This issue is when you create your element with the "addElement" method
of the "form", you'll h
You don't need a parenthesized join in your example. Do this instead:
$select = $db->select()->from(array('outer'=>'firstTable'));
$select->joinLeft(array('t2'=>'someOtherTable'), 't2.foo = `outer`.foo');
$select->join(array('t1'=>'someTable'), 't1.id = t2.id');
Generates the following valid S
-- Apsy <[EMAIL PROTECTED]> wrote
(on Tuesday, 23 September 2008, 10:55 PM +0200):
> I would like to know if for you my code is correct, because is so,
> there's a bug in the Dojo Checkbox Component :p
Didn't you report this on the tracker already? If not you, somebody else
has...
>
> $cgu_acce
Alexander Johannesen wrote:
>
> Well, tell us what the appication is all about, what it does and so
> forth. The answer should follow from the spec, I reckon.
>
>
> Alex
>
OK, let's go ;)
The homepage contains only one form. One of the table of the DB is a 'user'
table, with 3 users + 2 "ad
Unless I'm writing a simple console application, I always use an MVC
pattern, regardless of the language. Like object-oriented design, it seems
to be the right solution in virtually every scenario I've encountered,
except perhaps in cases where additional performance is necessary.
As for Smarty, I
I would like to know if for you my code is correct, because is so,
there's a bug in the Dojo Checkbox Component :p
$cgu_accept = new Zend_Dojo_Form_Element_CheckBox('cgu_accept');
$cgu_accept->setDijitParam('invalidMessage', 'You must validate the cgu');
$cgu_accept->setCheckedValue('checked');
He cannot let it die()... if he is using a layout the rest of the page will
not be sent.
Maybe you should make an empty action where you disable the view and forward
to it when the cached action is available.
If you are not using a layout then you should probably cache the action with
a 'Page' fro
Hi!
I'd like to do the following:
$select->joinLeft(new Zend_Db_Expr("(someTable t1 JOIN someOtherTable
t2 ON t2.id = t1.id)"), "t2.foo = outer.foo");
This olmost works as expected, the only problem is that an
automatically generated correlation name (e.g. "AS t1") will get
appended to th
Hey Rustin,
Still working out the details with the modular structure inside the
generated projects. TO solve that, we need to understand how modules
interact with bootstrap files (Both issues have proposals).
In the mean time, you should check out the zf-tool yahoo group.
http://tech.groups.yah
I think what you are touching on is an advanced use case. It seems like you
want sub-layouts, or per-module layouts. This is actually a use case that
influenced the design of Zend_Layout.
I do not have code, but I could point you in the right direction to handle
your problem. Instead of using Z
Hi all,
I have many Zend_Form in different applications.
Many of theses forms are identical.
So, how can I set a different form directory for an application?
I do the same thing with my helpers (method: addHelperPath) but I don't find
the method with Zend_Form
Many thanks,
Guil
Hi there
I'm in the process of designing a security model for my Zend Framework
applications. Essentially what I plan to do, is have a master config on a
module-controller-action basis, which defines whether login is required,
possibly groups who are granted access, and what parameters are allow
On 23/09/2008, Alomon <[EMAIL PROTECTED]> wrote:
> Actually, after the day of today, I am really asking myself about the
> advantages of using Zend without MVC instead of Smarty for such a little
> website (only 5 pages with 4 little tables in a database)... You have an
> answer to this, don't you?
I don't know, but the easiest way to find out is create an example INI, then
output the array that is generated from it for the format.
-Matt
On Fri, Sep 19, 2008 at 2:01 PM, Ralf Eggert <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I know that both Zend_Config_Ini and Zend_Config_Xml support sections
> a
Matthew Ratzloff wrote:
>
> You should listen to your boss. :-)
>
> -Matt
>
Actually, after the day of today, I am really asking myself about the
advantages of using Zend without MVC instead of Smarty for such a little
website (only 5 pages with 4 little tables in a database)... You have an
Hi,
You made an error. With Output frontend, you have to use the start()
method, not the load() one
If you comment your header() call, you will see error messages.
Following code works perfectly for me :
true,
'lifetime' => 3600
);
$backend = 'File';
$backendOpts = array(
'cache_dir' =
Hello,
I've searched about Zend_Tool for modular applications but haven't found
anything yet. There's some reference with the supported commands or
something like this? The standard structure don't contain module
directories...
Best regards.
--
View this message in context:
http://www.nabble.
Hi,
has anyone any idea about this (see forwarded message)? Thanks for
clarification.
Best regards,
Ralf
Ralf Eggert schrieb am 19.09.2008 23:01:
> Hi,
>
> I know that both Zend_Config_Ini and Zend_Config_Xml support sections
> and extending sections for config data definitions. In the manual
People, what "blogoscoped" means? What that owner wants to pass?
Edward Haber wrote:
>
> First of all, had I known you were a Zend engineer...
>
Former Zend engineer. I worked on the project 9/2006-10/2007, mostly on
Zend_Db and PM stuff. I'm no longer contributing the project, but I like
answering questions on mailing lists.
Edward Haber wrote:
>
> I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
routes.tag.route = "tag/:word/:page"
routes.tag.defaults.module = default
routes.tag.defaults.controller = index
routes.tag.defaults.action = tag
routes.tag.defaults.page = 1
José de Menezes Soares Neto schrieb:
> Hi,
>
> I get a Config
-- José de Menezes Soares Neto <[EMAIL PROTECTED]> wrote
(on Tuesday, 23 September 2008, 10:41 AM -0300):
> Hi,
>
> I get a Config.ini with a router:
>
> routes.tag.route = "tag/:word/:page"
> routes.tag.defaults.module = default
> routes.tag.defaults.controller = index
> routes.tag.defaults.acti
-- stav <[EMAIL PROTECTED]> wrote
(on Monday, 22 September 2008, 11:49 PM -0700):
> I have three modules: admin, default, super. My views (and helpers) are
> duplicated under each module. Is there a way to have Zend look at some
> default views and helpers directory, and if a module wants to over
-- Bernd Matzner <[EMAIL PROTECTED]> wrote
(on Wednesday, 10 September 2008, 04:26 AM -0700):
> Hi, I want to add wrap the legend text of a subform in a span tag. Text when
> using setLegend(''.$value.'') - the HTML is converted to html entities. Even
> tried creating a custom fieldset decorator, b
-- Paweł Chuchmała <[EMAIL PROTECTED]> wrote
(on Tuesday, 23 September 2008, 01:18 PM +0200):
> How is the best method to use DojoComboBox with large data set? For
> example i want to do suggest for users.
> I have about 10 records. I want for example query server with 3
> first letters filled
-- [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote
(on Saturday, 13 September 2008, 01:38 AM -0400):
> Can someone explain to me why the first snippet of code works while the
> second one throws an error? Other form elements work fine when written
> in the same way as the second snippet of code. Wh
-- gerardroche <[EMAIL PROTECTED]> wrote
(on Monday, 08 September 2008, 10:17 PM -0700):
> If a file is submitted via Zend_Form_Element_File it returns the files
> location,
>
> i.e. $location = $form->foo->getValue();
>
> but if no file is submitted it returns the the destination directory, i.e.
I think i would have been more reusable for me if one could specifya series
of layout paths for possible use. and on setlayout() the ZF would look into
all the paths to render the specified layout choice.
I just implemented a naming convention for the layout files so i can
differentiate between t
There is only one problem:
The file element in Http does not define a value.
And the component will be changed to reflect this. A related issue was
already attached.
But I have already told you this in your issue.
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweid
Hi Mark,
Thanks for the response. Am not confusing views with layouts. The files in
the structure i specfied are just for illustrative purposes. I have both my
partials and layouts in different folders - just for less confusion for me.
What i decided to do is to move the layout folder to the roo
Hi José,
http://framework.zend.com/wiki/pages/viewpage.action?pageId=43560&focusedCommentId=6324388#comment-6324388
This might be a good addition to the documentation...
Hope that helped,
-Matt
On Tue, Sep 23, 2008 at 9:10 AM, José de Menezes Soares Neto <
[EMAIL PROTECTED]> wrote:
> Hi frien
Hi friends,
I have no idea how to work with both... Zend_Pagination + Smarty
Any suggestions?
Regards,
José
Edward Haber wrote:
>
> First of all, had I known you were a Zend engineer I probably wouldn't
> have opened my big mouth. I'm new to the list. :-) But since it's
> already open, i'll just offer a few points of view from my perspective.
>
> On Sep 22, 2008, at 12:55 PM, Bill Karwin wrote:
Hello,
Yes your right, if you don't want to have a fetch_all_pages method in your
"backend" model, and the same method in your "frontend" model (which would
make it more difficult to update), then one folder for all the models is
probably the best way, for now i don't know if there is any disadva
Chris
I use modules as a way of separating out functionality, such as /default and
/manage. All of my models are in a /models folder at the /application level
(alongside /modules). I do this because of the following: in a site where you
have/need an administration section, most if not all of
On Tuesday 23 September 2008 14:44:31 amithasija wrote:
> i want to create multiple instances of zend_auth class
>
> as i have two modules
>
> Admin
> Front
>
> wats happening is when i login into admin it automatically get logins into
> front or vice-versa.
>
>
> so wat i want is the i can work on
On Monday 22 September 2008 18:34:06 Ralph Schindler wrote:
> For a bit more background: why do you have site wide layouts inside
> specific modules? Shouldn't modules share the same global layout?
>
> -ralph
Layouts need not be specifically site wide, they may be applicable to a
certain list of
First of all, had I known you were a Zend engineer I probably wouldn't
have opened my big mouth. I'm new to the list. :-) But since it's
already open, i'll just offer a few points of view from my perspective.
On Sep 22, 2008, at 12:55 PM, Bill Karwin wrote:
Edward Haber wrote:
Another prob
Well, someone might have a better way, but I would take this a s a two step
process. FIrst, have a three-character wide filed (maxlength=3) thath you
have an onchange JS trigger associated with. When the three are entered, set
of an xhrGet request to pull back the FiltertingSelect or ComboBox fiel
On Fri, Sep 12, 2008 at 11:23 PM, ryanw <[EMAIL PROTECTED]> wrote:
>
> I am trying to use the Zend_Cache engine with the frontend page and backend
> memcached but I am getting an error. The pages cache works properly when
> using the file backend I figured I could just change the backend out and it
Hi,
I get a Config.ini with a router:
routes.tag.route = "tag/:word/:page"
routes.tag.defaults.module = default
routes.tag.defaults.controller = index
routes.tag.defaults.action = tag
And it is working like that:
http://localhost/app/tag/word/123
But I would like to have this working too:
ht
2008/9/23 amithasija <[EMAIL PROTECTED]>:
> wats happening is when i login into admin it automatically get logins into
> front or vice-versa.
If you want that, why are you creating two instances where one would
be sufficient?
--
Giorgio Sironi
Piccolo Principe & Ossigeno Scripter
http://www.sour
I have something similar to that, but I'm not using the layout paths - I'm
just dropping the layout into the views/scripts/ dir for each module, and
for the main site (login screen in my case). You might just have to give it
a try to see what your results are. You can set layouts in the controller
i am using utf8_encode(); for this problem.
thanks everybody!
2008/9/23 José de Menezes Soares Neto <[EMAIL PROTECTED]>
> the problem is inside getParam. Because when i print the char inside the
> html, or inside the php, it shows fine
>
> any ideas?
>
> 2008/9/23 till <[EMAIL PROTECTED]>
>
> On
i want to create multiple instances of zend_auth class
as i have two modules
Admin
Front
wats happening is when i login into admin it automatically get logins into
front or vice-versa.
so wat i want is the i can work on both modules separately after
simultaneous authentication.
regards a
Glad to help! Incidentally, I already have a few implementations of
such validator decorators in the Laboratory here:
http://framework.zend.com/svn/framework/laboratory/library/Zend/Validate/
See the file Array.php, which does exactly what I had mentioned.
Regards,
Bryce Lohr
cvogt wrote:
you probably forward to the same action then. I suggest you just let it
die() since you echo out the desired output anyway.
Bart
Tagger schreef:
With _forward(); enters in a loop infinity.
Tom Graham-2 wrote:
Could it be you need to _forward(); then return; ?
Tom
On 23 Sep 2008, at 10
the problem is inside getParam. Because when i print the char inside the
html, or inside the php, it shows fine
any ideas?
2008/9/23 till <[EMAIL PROTECTED]>
> On Tue, Sep 23, 2008 at 12:46 PM, José de Menezes Soares Neto
> <[EMAIL PROTECTED]> wrote:
> > Hi friends,
> >
> > When I try:
> >
> > p
Hi folks,
I have been battling this problem for a while now. Until recently, I thought
I had network issues, but in the end I wrote my email migration code in
python and managed to connect to the google services with no problems, so
before I write my own client in PHP, I thought I would run this i
On Tue, Sep 23, 2008 at 12:46 PM, José de Menezes Soares Neto
<[EMAIL PROTECTED]> wrote:
> Hi friends,
>
> When I try:
>
> print $this->_request->getParam('query');
>
> The browser prints:
>
> programação
>
> The correct need to be:
>
> programação
>
> And when I try:
>
> print "programação";
>
>
I want to insert "div" between "fieldset" and "dl":
Label1:
Label1:
...
$myForm-> addDisplayGroup(array('name','year','country'),'group');
//here I add aliased
Hi.
How is the best method to use DojoComboBox with large data set? For
example i want to do suggest for users.
I have about 10 records. I want for example query server with 3
first letters filled in combobox.
How can i do that? It is possible to use DojoData with this method?
regards,
--
P
With _forward(); enters in a loop infinity.
Tom Graham-2 wrote:
>
> Could it be you need to _forward(); then return; ?
>
> Tom
>
> On 23 Sep 2008, at 10:54, Tagger wrote:
>
>>
>> Die is not posibble, stops the execution. I need to redirec to
>> another action
>> in the same controller, fo
Hello,
Thx for telling me your thoughts, its good to have different opinions about
how to solve that problem, i still don't know what way is best, but as you
said i think it depends on what you want to achieve ...
the idea of having a folder for models where you put all your models is a
good on
Hi friends,
When I try:
*
print $this->_request->getParam('query');*
The browser prints:
*programação*
The correct need to be:
*programação*
And when I try:
*print "programação";*
It prints correctly!
What it would be?
Sorry, I am from Brasil... but I think yes, its what I need
2008/9/22 Matthew Ratzloff <[EMAIL PROTECTED]>
> No. It would be nice to have a locale-aware version, however. I assume
> that's what you're getting at?
> -Matt
>
>
> On Mon, Sep 22, 2008 at 6:52 PM, José de Menezes Soares Neto <
> [EM
Could it be you need to _forward(); then return; ?
Tom
On 23 Sep 2008, at 10:54, Tagger wrote:
Die is not posibble, stops the execution. I need to redirec to
another action
in the same controller, for example with forward, but something
wrong with
it.
DASPRiD wrote:
-BEGIN PGP SI
My other option would be to move the layout folder from the admin module to
the webapp root - so I can the 'global' access - with lack of a better word
But am trying to avoid the CMS layouts all clustering up with the main site
layouts. I just want to keep both separate and manageable.
Ralph Sc
Die is not posibble, stops the execution. I need to redirec to another action
in the same controller, for example with forward, but something wrong with
it.
DASPRiD wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Well what to do instead? You could simply just "die;"
>
> Tagger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Well what to do instead? You could simply just "die;"
Tagger schrieb:
> In preDispath of Zend_Controller_Action verify the Cache. If the Cache is
> available i don´t want to launch the action, is possible to do this?.
>
>
> DASPRiD wrote:
> Usuall
In preDispath of Zend_Controller_Action verify the Cache. If the Cache is
available i don´t want to launch the action, is possible to do this?.
DASPRiD wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Usually it's 42...
>
> Honestly: to which question?
>
> Tagger schrieb:
>>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Usually it's 42...
Honestly: to which question?
Tagger schrieb:
> does anybody know the answer?
- --
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |_
does anybody know the answer?
--
View this message in context:
http://www.nabble.com/Skip-action-tp19612879p19623715.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Hi Mark,
Thanks for the response. So what you are saying is that as long as i keep
the startMvc() empty and specify my module paths, ZF will always look for
the layout.phtml files within the specified module directories?
In my scenario, i just have one module:admin module - where the cms apps
Matthew Ratzloff wrote:
>
> No. It would be nice to have a locale-aware version, however.
>
I totally agree with that!
Jean-Marc
--
View this message in context:
http://www.nabble.com/Soundex-tp19619868p19622395.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Matthew Weier O'Phinney-3 wrote:
>
> -- Themselves <[EMAIL PROTECTED]> wrote
> (on Sunday, 21 September 2008, 10:17 PM -0700):
>> Hi guys, I'm just playing with the new Dojo forms in 1.6, and so far
>> they're
>> great, I'm just trying to wrap my head around some of the combobox
>> functionality
77 matches
Mail list logo