Matthew Weier O'Phinney schreef:
-- Alexander Johannesen <[EMAIL PROTECTED]> wrote
(on Sunday, 06 May 2007, 08:40 AM +1000):
Hiya,
On 5/6/07, Andries Seutens <[EMAIL PROTECTED]> wrote:
Okay, my first issue is that i need to convert docbook tables to wiki
tables.
Martels declarative version is
Hey Martel,
Thanks a lot, this works really nice! A lot better than a mix of regular
expressions and XSLT :)!
My next issue is newlines and tabs. I'll try to explain with an example:
This is a docbook paragraph spread
on multiple lines to increase readability
The XSLT should remove the
2007/5/6, Andrew Yager <[EMAIL PROTECTED]>:
Hi,
I'm looking for an easy way to do two things.
Problem No 1:
If I have a route with the path /foo/:var1/:var2 - the only time it
will be matched is when a URL is received in the form '/foo/bar/lah'.
I can set a 'default' value for :var1 and :var
Hi,
I'm looking for an easy way to do two things.
Problem No 1:
If I have a route with the path /foo/:var1/:var2 - the only time it
will be matched is when a URL is received in the form '/foo/bar/lah'.
I can set a 'default' value for :var1 and :var2 when creating the
route, so I would lik
I gathered as much ;), just wanted to point it out to save some poor
souls some headaches.
In any case, thank you a lot for your help, this will come in quite
handy for me and probably others. For these kind of questions/problems
the mailing list and it's archives are an invaluable resource th
-- Alexander Johannesen <[EMAIL PROTECTED]> wrote
(on Sunday, 06 May 2007, 08:40 AM +1000):
> Hiya,
>
> On 5/6/07, Andries Seutens <[EMAIL PROTECTED]> wrote:
> > Okay, my first issue is that i need to convert docbook tables to wiki
> > tables.
>
> Martels declarative version is just what you want
-- Maurice Fonk <[EMAIL PROTECTED]> wrote
(on Saturday, 05 May 2007, 10:19 PM +0200):
> That looks like an elegant solution. There's one little thing though.
> You only check for a matching action name to see if it has been
> forwarded, but what if I forward to another controller, but an action
Hiya,
On 5/6/07, Andries Seutens <[EMAIL PROTECTED]> wrote:
Okay, my first issue is that i need to convert docbook tables to wiki
tables.
Martels declarative version is just what you want, and you could just
as easy come up with alternative versions. I guess what I'm asking is
what you want to
That looks like an elegant solution. There's one little thing though.
You only check for a matching action name to see if it has been
forwarded, but what if I forward to another controller, but an action
with the same name? Other than that it looks just fine.
Matthew Weier O'Phinney wrote:
--
Andries Seutens wrote:
Okay, my first issue is that i need to convert docbook tables to wiki
tables.
It's not so hard. Remember XSLT is a declarative language (as opposed to
imperative), so everything you need is to declare templates for each element
parser is going to find.
Hi All,
Then why not just set a variable in the Registry? Or am I overlooking
something?
Regards,
Ramon
Maurice Fonk wrote:
You are right. That's what you get for thinking out loud, you can be
wrong, I don't quote Socrates for nothing ;). You can't use attributes
of the object (controll
-- Maurice Fonk <[EMAIL PROTECTED]> wrote
(on Saturday, 05 May 2007, 08:03 PM +0200):
> You are right. That's what you get for thinking out loud, you can be
> wrong, I don't quote Socrates for nothing ;). You can't use attributes
> of the object (controller instance) that does the forwarding to k
You are right. That's what you get for thinking out loud, you can be
wrong, I don't quote Socrates for nothing ;). You can't use attributes
of the object (controller instance) that does the forwarding to keep
track of the forwarding process. In one of your controllers, try the
following (also t
-- Todd Wolaver <[EMAIL PROTECTED]> wrote
(on Saturday, 05 May 2007, 12:24 PM -0500):
> I agree that there should be a standard way to check for forwards or
> what actions have already been called. Possibly keeping track of this
> in the Front controller?
Feel free to create a proposal. :-)
>
Martel Valgoerad schreef:
Andries Seutens wrote:
PS: I am looking for some people with "good" knowledge of XSLT, to
help me with some minor issues in the wikifized manual. If you're
interested to help out, *please* send me an e-mail and I will provide
you with further details.
Please descri
Andries Seutens wrote:
PS: I am looking for some people with "good" knowledge of XSLT, to help
me with some minor issues in the wikifized manual. If you're interested
to help out, *please* send me an e-mail and I will provide you with
further details.
Please describe your issues, Andries. I
I agree that there should be a standard way to check for forwards or
what actions have already been called. Possibly keeping track of this
in the Front controller?
As far as the forward, even it were not marked final (just for my own
understanding):
Wouldn't setting a parameter when callin
Indeed, that makes perfect sense. Enforcing compatibility between
modules does sound kind of important ;).
Still, having to add aditional parameters to the request, or checking
whether the action name is in the path info feels like a bit of a hack
to me. Furthermore, if I have an index action
-- Maurice Fonk <[EMAIL PROTECTED]> wrote
(on Saturday, 05 May 2007, 03:57 PM +0200):
> Interesting. I wonder why the method is marked final? It seems to me
> like extending it might come in useful, because in your case you have to
> perform additional steps (adding validComponent to the params)
Interesting. I wonder why the method is marked final? It seems to me
like extending it might come in useful, because in your case you have to
perform additional steps (adding validComponent to the params) as well.
MF
Todd Wolaver wrote:
Sorry about that last post... premature sending
The _fo
Sorry about that last post... premature sending
The _forward() method is marked final in Zend_Controller_Action so I
can't add an attribute by extending the class.
This is what I've ended up doing, where validComponent is added to
the params passed to the _forward() method.
public fun
The _forward() method is marked final in Zend_Controller_Action
public function indexAction()
{
if($this->_getParam('validComponent') !== true) throw new
Exception('Can not find page.');
edit processing
Ath_Component::addContent($this->_getPar
Dear frameworkers,
Sorry for cross posting, but this message might also interest fw-general.
This is a short notice to let you know that I have updated the wikifized
manual (english). It now contains the latest revision for the
documentation. There are plans for automizing the wikification aga
23 matches
Mail list logo