Hmmm it works by adding these:
Zend_Dojo_View_Helper_Dojo::setUseDeclarative();
and
$this->dojo()->setDjConfigOption('parseOnLoad',true)
I think setusedeclarative should be default option for zend/dojo
regards
2008/12/16 Superbiji » :
> Hi!
> I've played around with Zend/Dojo.. (using 1.
>So I think you do not need to set an base url.
You are right, I don't need to then.
Let me provide more information. I use the following function to
get my Url:
public function getUrl($action = null, $controller = null)
{
// At this point, $url is nothing
$url = rtrim($
if ($form->isValid($formData)) {
//the form is valid, finish moving the file about
$adapter = new Zend_File_Transfer_Adapter_Http();
if ($adapter->isValid() === false) {
print_r($adapter->getMessages());
Hi!
I've played around with Zend/Dojo.. (using 1.7.1) i have made a layout
using vertical split container and both of content pane is HREF
(remote loading)
but i can't enable dojo things in remote loaded page.. while opening
the page itself works..
is there any other way ?
--
Kamus Online - http:
-- monkeyiq wrote
(on Monday, 15 December 2008, 05:25 PM -0800):
>Sorry if this is the incorrect forum for this question, but there seemed
> to be a few Lucene questions here.
>
>I'm wondering what the primary motivations for reimplementing the Lucene
> API in PHP were for the Zend_Search
Hi,
Sorry if this is the incorrect forum for this question, but there seemed
to be a few Lucene questions here.
I'm wondering what the primary motivations for reimplementing the Lucene
API in PHP were for the Zend_Search_Lucene project? For example, as opposed
to using something like CLucen
If both your HTML view and your XML view represent the same data in a
particular controller, you can use a generic controller, and switch the view
based on some variable. For example, In one of my applications I have
routes like this:
http://host.com/contrller/action.xml
and
http://host.com/con
Why do you think you have to use setBaseUrl()? There is no need to.
You have to use setBaseUrl() if your url looks like this:
http://tauren.dev/something/anything/news/show
By default Zend_Controller_Front will use "something" as your controller,
"anything" as your action and "news=show" as requ
-- Ralf Eggert wrote
(on Monday, 15 December 2008, 09:21 PM +0100):
> Hi,
>
> what is the current best practice to create a sidebar with a couple of
> content blocks. Think of a login/logoff block, a search block, a block
> with some categories, a block with a book taken from Amazon or some
> pic
Hi All,
I have implemented a class that extends Zend_Form that looks something like
this:
class MyForm extends Zend_Form {
public function __construct(User $user, $purpose){
parent::__construct();
$this->createCommonElements();
$this->applyPurposeModifications($purpose);
$this-
Hi,
what is the current best practice to create a sidebar with a couple of
content blocks. Think of a login/logoff block, a search block, a block
with some categories, a block with a book taken from Amazon or some
pictures taken from Flickr.
I could write a couple of plugins which could read data
-- Simon Corless wrote
(on Monday, 15 December 2008, 11:20 AM -0800):
> Hi, I was reading with interest a post by Matthew about storing Zend Forms in
> the model. I am now implementing this method after storing the form and
> model separately and utilising the form for validation.
>
> A simple qu
Hi, I was reading with interest a post by Matthew about storing Zend Forms in
the model. I am now implementing this method after storing the form and
model separately and utilising the form for validation.
A simple question (I hope!) how do I merge a couple of forms, for instance I
have a supply
The person who processes CLA's told me she would get through all pending
CLA submissions later today. Sorry, it's been busy around here!
,Wil
> -Original Message-
> From: bparise [mailto:bran...@4mostllc.com]
> Sent: Friday, December 12, 2008 8:57 PM
> To: fw-general@lists.zend.com
> Subj
Hello,
I'm using the ZF to build an application. I have encountered
a problem that I just don't understand. I can't get hold of the
host url with the setBaseUrl() method from Zend_Controller_Front.
Subsequently, all my links, that are made dynamically
with smarty, don't work, because they turn ou
> Of course the code that fetches and possibly massages the raw data belongs
> in the model
>
This was the point I was getting at, this is why I used the word Generating
not Displaying, I am aware XM(ark-up)L is a mark up langauge I was merely
pointing out that genertaing ie building not displayin
The markup surrounding data in an xml document / feed is no different than the
markup of an html page. This belongs in the view layer. Of course the code that
fetches and possibly massages the raw data belongs in the model, but the idea
is to be able to use this data for anything, xml feed, html
Setting document/literal will be possible with the AutoDiscover component
that will
be shipped with the ZF 1.8 release in february next year.
Until then, you should extend and override the specific functions
(setClass, addFunction)
to gain the desired functionality.
greetings,
Benjamin
On Sun,
18 matches
Mail list logo