have everything worked out already ;)
Jason Eisenmenger
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idleness is not doing nothing. Idleness is being free to do anything
spaceage [EMAIL PROTECTED] napisał(a):
Is there any way around this, ie. a magic way to signal default/index
for one or both of the controller/action designators and still pass in
parameters in their place(s) without confusing the router?
You are most probably trying to achieve something like
. There is nothing more you can do about it but to customize
the framework code.
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idleness is not doing nothing. Idleness is being free
RewriteRule ^(.*)$ http://www.site.com/user/profile/%1?path=$1
José
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idleness is not doing nothing. Idleness is being free to do anything
Ralf Eggert wrote:
Should I extend the Zend_View_Helper_Url or would it be better to change
the default route if this is possible?
Routes strip trailing slashes prior to matching. Do as Matthew suggested, Ralf - add
your own helper.
Ralf
--
Michał Minicki aka Martel Valgoerad | [EMAIL
it to be by presenting a use case.
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idleness is not doing nothing. Idleness is being free to do anything. --
Floyd Dell
and programming
insights. It needs to keep evolving so it can keep its lead on the web
and please both beginning and experienced programmers alike.
And like Python 3, it should drop backwards compatibility in favor of innovation and
cleanup in my own humble opinion :)
- Jurriën
--
Michał Minicki aka
compatibility in favor
of innovation and cleanup in my own humble opinion :)
vote++
But it's not gonna happen. So maybe we should not get our hopes up ;)
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
how to tell controller to use some default action and treat that '23' as a
parameter??
is that doable at all on ZF ??
Please help. thanks.
http://framework.zend.com/manual/en/zend.controller.router.html
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
not a vital security update after all.
+1 one to make the names consistent.
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idleness is not doing nothing. Idleness is being free to do
Change this:
$url = $this-_view-url(array('page' = $page . '?' .
$_SERVER['QUERY_STRING']));
To:
$url = $this-_view-url(array('page' = $page)) . '?' .
$_SERVER['QUERY_STRING'];
Ashish Sharma
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idleness is not doing nothing. Idleness is being free to do anything. --
Floyd Dell
and removing the trim() line.
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idleness is not doing nothing. Idleness is being free to do anything. --
Floyd Dell
-addRoute('example2', $new);
But it means more work for you as different types of routes have different construct
parameters. If it's sufficient for you, please create a Jira issue and assign it to me,
Jeffrey.
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
Colin Guthrie [EMAIL PROTECTED] napisał(a):
Anyway, I'm using Zend_Controller_Router_Route_Regex, and have found
some odd behaviour that I'm not 100% sure is deliberate and wonder if
someone could confirm this is expected or if it's actually a bug!
Why don't you look at the code and the test
anyways.
,Wil
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idleness is not doing nothing. Idleness is being free to do anything. --
Floyd Dell
ask you to
take it elsewhere.
All conflicts aside, Wil, I think Greg brought up a very interesting idea of integrating
two ZF components which could and even maybe should be working together.
Greg, please create a Jira issue for this.
,Wil
--
Michał Minicki aka Martel Valgoerad | [EMAIL
very strict defaults.
Remember routes are matched in reverse order and first one to match is used.
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idleness is not doing nothing
ZCR_Route_Regex(
'(index(/index)?)?'
array('controller' = 'article', 'action' = 'index')
);
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idleness is not doing nothing
for myself. There is a test for the issue in Jira that isn't
fixed yet:
Zend_Controller_Router_Route_RegexTest
.F
The name of the failing test tells which issue is it
-Matt
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl
marcis [EMAIL PROTECTED] napisał(a):
How do you think it could be done? Through routing? Rewriting the
dispatch method (Zend_Controller_Front or
Zend_Controller_Dispatcher_Standard)?
Any idea? Thanks in advance!!
I tried it creating a new route (I was using the standard one) like this:
subpackages were fixed, Adam:
http://framework.zend.com/fisheye/changelog/Zend_Framework/trunk/library/Zend/Controller/Action/Helper?cs=7385
If you found more or had something else in mind, please reopen the issue and
provide some more details. Patch would also be nice.
Ádám
--
Michał Minicki aka
the desired output would be?
?= $this-headTitle() ? produces titleWelcome/title
I'm asking for a View Helper that would produce Welcome.
So you just need to echo a variable? Then use:
?= $this-escape('Welcome') ?
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
Joó Ádám [EMAIL PROTECTED] napisał(a):
Although Michał fixed the issue that prevented to omit a root level
from Zend_Config_Ini, addConfig() still requires a segment to be
specified. However it doesn't make sense to have a segment for routes
if you have a config file only for them. Should I
Julian Davchev wrote:
Aren't all testcases supposed to revert system as it was after execution
Cause I get tons of files created and left there after executing test suits.
They should, generally. Could you possibly create a Jira issue for this, Julian?
--
Michał Minicki aka Martel Valgoerad
of this should preclude keeping the existing tarball/zip
download.
Exactly.
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idleness is not doing nothing. Idleness is being
eventUpdate.reqs.action = (view|update)
Remove reqs line if it doesn't work (it's late here and I'm half asleep ;)
David Mintz
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idleness
route doesn't match.
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idleness is not doing nothing. Idleness is being free to do anything. --
Floyd Dell
never give you what you want. ;)
Well, this is useful. Thanks, Wil. Not exactly what I had in mind, but it's a
start :)
,Wil
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
in the
use of abstract/concrete classes in place of interfaces, Matthew. But that's
another story ;)
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idleness is not doing nothing
*
good reason).
Any objections?
Thanks.
,Wil
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idleness is not doing nothing. Idleness is being free to do anything. --
Floyd
to make sure that we can take this or that
issue on ourselves?
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idleness is not doing nothing. Idleness is being free to do anything
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idleness is not doing nothing. Idleness is being free to do anything. --
Floyd Dell
?
http://framework.zend.com/issues/browse/ZF-2218
I'll reopen it and will make a fix.
Gunter
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idleness is not doing nothing. Idleness
Ralf Eggert wrote:
From a Google search I learned that this error is caused, when an
exception is thrown in a destructor. Are there any other reasons why
this fatal error could be thrown?
Any hints or comments?
If it's the reason, you can try to log every exception thrown form a
destructor
encoded, so I have to fetch the paramters, url encode
again and re-send them to the helper. That works, but... :-)
It's an excellent suggestion. Could you possibly create a Jira issue for this?
I'll modify the code as soon as I will be able to get my hands on the source.
Johannes
--
Michał
regex route assemble method, then maybe
it would be better to contribute your idea and help improve the core framework
itself?
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
the url.
Is there any way to make it easier?
Create a route, as if you were going to use it in the router, and:
$route = new Zend_C..._Router_Route(...);
$url = 'view/5';
$values = $route-match($url);
var_dump($values);
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http
(
'/admin/:controller/:action/*',
array(
'module' = 'admin',
'controller' = 'index',
'action' = 'index'
)
);
$router-addRoute('admin', $route);
TIA
HTH
Gunter
--
Michał Minicki
/view/latest/(file)/introduction_Workflow.html
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Idleness is not doing nothing. Idleness is being free to do anything. --
Floyd Dell
Thomas Weidner wrote:
Definitly not...
I AM NOT THE FAULT !!
Yeah, right. Judging from emotions you feel guilty already ;)
--
Michał Minicki aka Martel Valgoerad | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
Thomas Weidner wrote:
Yeah, right. Judging from emotions you feel guilty already ;)
No comments on such posts...
I dont feel happy about such messages even if a smilie is attached.
Sorry if it offended you. It wasn't my intention.
Thomas
--
Michał Minicki aka Martel Valgoerad | [EMAIL
diffs occasionally.
As far as I remember, someone mentioned jira and fisheye run under the same
application server. Then maybe fisheye fails when it tries to process such big
commits?
It's just a guess though. I don't have any experience with Altassian software
myself.
--
Michał Minicki
Tony Harrison [EMAIL PROTECTED] napisał(a):
Hello, I currently use the .htaccess file from the manual, but I want to
modify it so that when someone accesses using a subdomain it goes to a
different bootstrap file.
at the moment a request for domain.com and sub.domain.com both goto the
same
Kai Meder [EMAIL PROTECTED] napisał(a):
is there any way that the a view-helper may access the view, in which it
was executed?
I was discussing this problem with Matthew some time ago and he agreed to
do it eventually.
http://framework.zend.com/issues/browse/ZF-936
I have no idea when this
Olivier Sirven [EMAIL PROTECTED] napisał(a):
Sorry it's not line 210 but line 208 ;)
Attached a small script to demonstrate the notice.
Thanks, Olivier. Should be fixed now.
--
Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] |
http://aie.pl/martel.asc
Patrick Veach [EMAIL PROTECTED] napisał(a):
This worked:
$route = new Zend_Controller_Router_Route('testing/:controller/:action/*',
array('controller' = 'test', 'action' = 'index'));
$router-addRoute('testing', $route);
Add this line:
$router-removeDefaultRoutes();
pat
--
Martel
Bill Karwin [EMAIL PROTECTED] napisał(a):
You know you can check out a subdirectory of the ZF tree, right? If all
you need is the library directory, then just sync with the library
directory.
As a developer you need main library, incubator library
and both test directories. So you can't
Matthias Zitzmann [EMAIL PROTECTED] napisał(a):
$routes= array(
'form'= new Zend_Controller_Router_Route('form/:action/*',
array('controller' = 'form', 'action' = 'index')),
'files'= new Zend_Controller_Router_Route('files/view/*',
array('controller' = 'files', 'action'
49 matches
Mail list logo