Re: [Catalyst] Componentised actions.

2007-03-31 Thread Robert 'phaylon' Sedlacek
Oleg Pronin wrote: > Because there is no work for perl in this action. And there are a lots > of similar actions. But template that includes this list action dosn't > care about that. It just want forward to something that would be > processed if similar url is called. It would be easier to unders

Re: [Catalyst] Componentised actions.

2007-03-31 Thread Oleg Pronin
Because there is no work for perl in this action. And there are a lots of similar actions. But template that includes this list action dosn't care about that. It just want forward to something that would be processed if similar url is called. 2007/3/30, Robert 'phaylon' Sedlacek <[EMAIL PROTECTED

Re: [Catalyst] Componentised actions.

2007-03-31 Thread Oleg Pronin
The problem is that catalyst cannot forward to actions more complex than 'Local'. 2007/3/30, Robert 'phaylon' Sedlacek <[EMAIL PROTECTED]>: Oleg Pronin wrote: > The problem is that i have no physical /shema/list action: Then I'd try to solve _this_ problem, and not work around it. Why don't yo

Re: [Catalyst] Componentised actions.

2007-03-30 Thread John Napiorkowski
- Original Message From: Nilson Santos Figueiredo Junior <[EMAIL PROTECTED]> To: The elegant MVC web framework Sent: Thursday, March 29, 2007 11:46:48 PM Subject: Re: [Catalyst] Componentised actions. On 3/29/07, Oleg Pronin <[EMAIL PROTECTED]> wrote: > I cannot forw

Re: [Catalyst] Componentised actions.

2007-03-30 Thread Robert 'phaylon' Sedlacek
Oleg Pronin wrote: > The problem is that i have no physical /shema/list action: Then I'd try to solve _this_ problem, and not work around it. Why don't you have one or more physical action(s) for list? .phaylon ___ List: Catalyst@lists.rawmode.org List

Re: [Catalyst] Componentised actions.

2007-03-30 Thread Thomas Wittek
Oleg Pronin schrieb: > This might be useful for including completed components (with logic, > view and model inside) in any website place. > For example you can create url-action which edits some objects and > include it in many templates. This is not like > ordinary template toolkit's include - th

Re: [Catalyst] Componentised actions.

2007-03-30 Thread Oleg Pronin
I have The problem is that i have no physical /shema/list action: ::Controller::Root sub default : Private { load template by path, i.e. for /schema/list url it processes root/src/schema/list.tt (this is because i have many actions which doesn't neet perl work. Only TT &

Re: [Catalyst] Componentised actions.

2007-03-30 Thread Oleg Pronin
These actions (like /schema/list) is processed by default handler in root controller so there are no such actions. See previous post 2007/3/30, Bill Moseley <[EMAIL PROTECTED]>: On Fri, Mar 30, 2007 at 12:46:48AM -0300, Nilson Santos Figueiredo Junior wrote: > On 3/29/07, Oleg Pronin <[EMAIL P

Re: [Catalyst] Componentised actions.

2007-03-29 Thread Bill Moseley
On Fri, Mar 30, 2007 at 12:46:48AM -0300, Nilson Santos Figueiredo Junior wrote: > On 3/29/07, Oleg Pronin <[EMAIL PROTECTED]> wrote: > >I cannot forward to the list actions because they are not private actions > >(they have its own URLs). In docs 'forward' is for private actions. > > If the docs

Re: [Catalyst] Componentised actions.

2007-03-29 Thread Nilson Santos Figueiredo Junior
On 3/29/07, Oleg Pronin <[EMAIL PROTECTED]> wrote: I cannot forward to the list actions because they are not private actions (they have its own URLs). In docs 'forward' is for private actions. If the docs state that, they're wrong. It's perfectly possible to forward to public actions. For exa

Re: [Catalyst] Componentised actions.

2007-03-29 Thread Oleg Pronin
I cannot forward to the list actions because they are not private actions (they have its own URLs). In docs 'forward' is for private actions. To include their templates i must know the names of templates which is not good. I want all-in-one action. Forward to any action of any type (as does dispat

Re: [Catalyst] Componentised actions.

2007-03-29 Thread Robert 'phaylon' Sedlacek
Oleg Pronin wrote: > I'm developing a website based on catalyst and want it to be moduled and > componentised the way like this: > > site.com/object1/list >displays objects 1 in empty design. > > site.com/object2/list >dis

Re: [Catalyst] Componentised actions.

2007-03-28 Thread John Napiorkowski
- Original Message From: Oleg Pronin <[EMAIL PROTECTED]> To: catalyst@lists.rawmode.org Sent: Wednesday, March 28, 2007 5:55:54 PM Subject: [Catalyst] Componentised actions. Greetings! I'm developing a website based on catalyst and want it to be moduled and componenti

[Catalyst] Componentised actions.

2007-03-28 Thread Oleg Pronin
Greetings! I'm developing a website based on catalyst and want it to be moduled and componentised the way like this: site.com/object1/list displays objects 1 in empty design. site.com/object2/list displays objects 2 in empty design. site.com/nicepage displays a page in website design whi