Hello Bart,
ok i'll close it. In my opinion using the view helpers is really easy, but the
form elements are a bit hard to wield since the Element Decorator structure
is quite complex which spills to the jQuery specific elements and decorators.
greetings,
Benjamin
On Thursday 23 October 2008 2
hi again,
I extended Zend_View_Helper_Action to my own helper as follows:
class MyApp_View_Helper_Block extends Zend_View_Helper_Action
{
public function block($action, $controller, $module = null, array
$params = array(), $title = null, $layout = "block.phtml")
{
$view = new Zen
I am using the following code WITHOUT using fetchAll() .. am I doing it
right?
==
$select = $this->select();
$select->from($this, $cols);
if ($where) {
$select->where($wh
You should be able to set up a guest role and assign that to any user not
logged in. Not sure how you've set up Zend_Auth and Zend_Acl, but thats what
we've been doing.
Every action we define in our projects has an ->allow() call even if
everyone is able to access it.
Tim
On Fri, Oct 24, 2008 a
Hello
I have a controller that displays the latest news on the index page on my
site. Obviously, its called newsController that has the action latestNews
(called from the view's action helper).
Now i am developing the admin side of the site, it makes sense that i put
the add/edit/delete actions
I've been unable to get the Dijit.Editor element to work using trunk or the
the 1.7 preview release. When using Dojo 1.2, from either the official Dojo
1.2 release or CDN, I receive this error: "RichText should not be used with
the TEXTAREA tag. See dijit._editor.RichText docs.". When using Dojo f
Hi,
Please have a look at the "TwoLevels" backend in 1.7 trunk (or in 1.7
PR), it's want you want.
It does exactly this.
Feedback welcome
Regards,
Fabien
On Wed, Oct 22, 2008 at 5:34 PM, Diabl0 <[EMAIL PROTECTED]> wrote:
> Colin Guthrie pisze:
>>
>> Diabl0 wrote:
>>>
>>> Hi
>>>
>>> As i se
>
> It would have been nice if this element would have been completely
> compatible with all the tricks I play.
>
What tricks are those?
-Matt
On Thu, Oct 23, 2008 at 2:57 PM, Bart McLeod <[EMAIL PROTECTED]> wrote:
> Hi Benjamin,
>
> Yes and no. I know where to look to find out what is happenin
On Thu, Oct 23, 2008 at 10:49 PM, Matthew Weier O'Phinney
<[EMAIL PROTECTED]> wrote:
> -- till <[EMAIL PROTECTED]> wrote
> (on Thursday, 23 October 2008, 10:27 PM +0200):
>> On Thu, Oct 23, 2008 at 10:19 PM, Benjamin Eberlei <[EMAIL PROTECTED]> wrote:
>> > you might want to install pecl-xdebug exte
Hi Benjamin,
Yes and no. I know where to look to find out what is happening. It would
have been nice if this element would have been completely compatible
with all the tricks I play. For now, just close the bugreport. If I find
a compatibility issue later, that I can describe more properly, I
Well incase anyone else ever runs into this problem I have found a simple
autoParse function that can be pluged into the Acl Resource systemof
course youl need to change the $this->zendAcl to your own object reference (
but it works like a charm:) )
public function parseResourceList($list, $p
so this is not at all ZendX_JQuery related? its due to your own form
implementation? i have already created a bug report, i will close it then if
you can confirm that.
On Thursday 23 October 2008 23:31:41 Bart McLeod wrote:
> By now, I found that the error is due to some internal magic I use fo
By now, I found that the error is due to some internal magic I use for
my forms. Still a strange error.
I was able to use a ZendX_JQuery_Form_Element_Datepicker, named 'begin'
in a regular form that has no magic to it.
Bart
Bart McLeod schreef:
Hi all,
$elem = new ZendX_JQuery_Form_
Hi all,
$elem = new ZendX_JQuery_Form_Element_DatePicker("begin",
"12.12.2007", array(), array());
$elem->setJQueryParam('dateFormat', 'dd.mm.yy');
$this->addElement($elem);
yields:
*Catchable fatal error*: Argument 4 passed to
ZendX_JQuery_View_Helper_DatePicker::datePic
-- till <[EMAIL PROTECTED]> wrote
(on Thursday, 23 October 2008, 10:27 PM +0200):
> On Thu, Oct 23, 2008 at 10:19 PM, Benjamin Eberlei <[EMAIL PROTECTED]> wrote:
> > you might want to install pecl-xdebug extension to PHP and enable profiling.
> > You can then use Webgrind or KCachegrind to show you
I was looking at the Quickstart again just now - my aforementioned .htaccess
is inflexible with all of those specific extensions. This is better:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^public
On Thu, Oct 23, 2008 at 10:19 PM, Benjamin Eberlei <[EMAIL PROTECTED]> wrote:
> hello,
>
> you might want to install pecl-xdebug extension to PHP and enable profiling.
> You can then use Webgrind or KCachegrind to show you which functions and
> classes use the most processing power in your appliact
hello,
you might want to install pecl-xdebug extension to PHP and enable profiling.
You can then use Webgrind or KCachegrind to show you which functions and
classes use the most processing power in your appliaction.
Have you installed APC or eAccelerator?
On Thursday 23 October 2008 22:04:40 Br
Hi Jani,
I expected something like this with the request process.
I still have the option to call these actions with ajax so they
will be truly independent.
kr, Marko
Jani Hartikainen wrote:
>
> The actions called with the action helper are all called
> inside the same request process as y
Follow at the end
Matthew Weier O'Phinney wrote:
> -- Bruno Friedmann <[EMAIL PROTECTED]> wrote
> (on Tuesday, 21 October 2008, 09:45 PM +0200):
>> Matthew Weier O'Phinney wrote:
>>> -- Bruno Friedmann <[EMAIL PROTECTED]> wrote
>>> (on Tuesday, 21 October 2008, 06:56 AM +0200):
Matthew Weier
The actions called with the action helper are all called
inside the same request process as your main action, so
you can't use Zend_Layout for giving the sub-actions different
layouts.
Perhaps you could render the action-specific layouts inside
the layout itself, using $this->render($layout), and
Hi,
I make calls to another actions with action view helper.
$this->action(action, controller, module, params_array)
For example, I want to call some module/controller/action for the content of
the left pane.
I also pass the param "layout" in action call.
BUT, when I expect the rendered action
http://framework.zend.com/manual/status
Please whoever responsible fix this. All languages are with capital
letter only Bulgarian with small.
български should be Български
Rob Allen-3 wrote:
>
>
> Out of interest, do you have a .htaccess file in your project root
> folder to redirect all traffic to the ./public?
>
>
My index.php/.htaccess setup is modified a bit...
I have an .htaccess file in my project root folder that rewrites all
requests to a index.php w
On Thu, Oct 23, 2008 at 7:51 AM, Rob Allen <[EMAIL PROTECTED]> wrote:
> You can see an example of this working in the tutorial at
> http://akrabat.com/zend-framework-tutorial as I wrote it with the assumption
> that you wouldn't want to go to the hassle of setting up a new vhost just to
> test out
print_r() will not work.
You should not fetch the rows. You should pass the Select object directly
to the Paginator's factory() method. It only selects the rows necessary.
-Matt
On Thu, Oct 23, 2008 at 6:31 AM, ashish.sharma <
[EMAIL PROTECTED]> wrote:
>
> Nothing seems to be working.
>
> Used
Hello all,
I seem to be unable to output an image to the browser via a zf controller
action. relevent code follows.
public function viewAction()
{
$this->_helper->layout->disableLayout();
$this->_helper->ViewRenderer->setNoRender();
if (!$id = $this->_getParam('id', false)) {
return $th
Yes thnx for the help I just got it lol :)
Mon Zafra wrote:
>
> First, put the labelWrap before the Label. Then change the placement of
> label to 'append'.
>
> ... ,
> array(array('labelWrap' => 'HtmlTag'), array(...)),
> array('Label', array('placement' => 'append')),
> ...
>
> On Thu, Oct
First, put the labelWrap before the Label. Then change the placement of
label to 'append'.
... ,
array(array('labelWrap' => 'HtmlTag'), array(...)),
array('Label', array('placement' => 'append')),
...
On Thu, Oct 23, 2008 at 10:25 PM, nwhiting <[EMAIL PROTECTED]> wrote:
>
> Another quick questio
Another quick question
I have gotten everything to render allmost exactly the way i need it to be
using the following
$this->setElementDecorators(array(
'ViewHelper',
array(
array(
'inputWrap' => 'HtmlTag',
),
Embarrassingly enough,
The "1" is coming from my use of print_r() to do debug output. It returns a
"1" as the function, while sending whatever was sent as it's parameter to
the output buffer. Where, in my first use, I was just sending it to the
FlashMessange, so I wasn't even picking up the out
Actually,
as a follow up, it seems that my output method is what's misleading me.
I've changed some things up to display different and I am seeing the error
messages returning an array with the subForm title being listed (as I would
have expected it to).
So, it seems there's something else goin
I probably should have included the code, but I didn't want to make the
message painfully long. Anyway, good guess; writing the regex validator
in the wrong format is exactly what I did.
Cheers,
-- Steven
scieck wrote:
I am guessing here because you posted no code of yours:
if your wrote a
Nothing seems to be working.
Used the code snippet but when I "print_r()" he paginator then I am not able
to see the total number of records, total pages formed etc.
Also, I m not sure whether use of fetchAll is appropriate or not. What is
the use of fetching all the records? Can't we do somethi
Matthew Weier O'Phinney-3 wrote:
>
> SubForms are namespaced -- so you can do the following:
>
> $errors = $form->getMessages();
>
> and look through the keys to that to see which forms threw errors. :)
>
Yup, I've tried something like this:
-
$valid = $form->isValid($data);
if (!$
That works great! Thank you!
Mon Zafra wrote:
>
> Try this:
>
> array('ViewHelper',
> array(array('inputWrap'=>'HtmlTag'),
> array('tag' => 'div',
> 'class' => 'something')),
> array(array('labelWrapClose'=>'HtmlTag'),
> array('
Pass ''escape' => false to the Label decorator
On Thu, Oct 23, 2008 at 3:16 PM, ArticSun <[EMAIL PROTECTED]> wrote:
>
> Hi all!
>
> I'm using Zend_Form for a reservation form. In this form you need to
> check a checkbox to state that you agree with the general conditions. Now I
> want to add a
Don't we all have some layout problems with the zend forms? :confused:
So what did I do? I don't know if it's totally correct but I created an
'form' element like text, file, textarea, ... but than a 'div'...
Something like this:
div.php
FormDiv.php
_getInfo($name, $value, $attribs);
I am guessing here because you posted no code of yours:
if your wrote a Regex validator, check you wrote it the correct way:
$your_element->addValidator('Regex', false, array('/^[a-z]/i'))
not the array above that contains the regular expression, often your error
happens when the regular expres
Damn, I forgot to post these links that really helped me out:
http://framework.zend.com/wiki/display/ZFPROP/Zend_View_Helper_Cycle+-+Kamil+Nowakowski
http://framework.zend.com/wiki/display/ZFPROP/Home <-- search this page
for 'cycle'
monk.e.boy
--
View this message in context:
http://www.na
Kamil N wrote:
>
>
> There is a view helper
> http://framework.zend.com/svn/framework/standard/incubator/library/Zend/View/Helper/Cycle.php
> and here is some docu
> http://framework.zend.com/svn/framework/standard/incubator/documentation/manual/en/module_specs/Zend_View-Helpers-Cycle.xml
>
-- Forwarded message --
From: srikanthreddy mora <[EMAIL PROTECTED]>
Date: Thu, Oct 23, 2008 at 1:06 PM
Subject: Re:
To: sudarsan rao <[EMAIL PROTECTED]>
hai ra
Emiti messages papav shiridi sai babadi
Are ne mobile no miss aindi ,sudhakar ni adigina ledanadu. ne mobile no ma
Hi all!
I'm using Zend_Form for a reservation form. In this form you need to
check a checkbox to state that you agree with the general conditions. Now I
want to add a link to this general conditions, but how do I do this?
When I put a link in the label in front of the checkbox it just echos t
43 matches
Mail list logo